Show Posts
Pages: [1] 2 3 ... 3288
1  Using Arduino / Networking, Protocols, and Devices / Re: interfacing a standard gsm modem with serial port to arduino...NOT A SIM900 on: Today at 09:29:41 am
Quote
i have a maestro 100 gsm modem
Your link doesn't seem to do anything.
2  Using Arduino / Networking, Protocols, and Devices / Re: RC522 Module and MFRC522 Library How to know PICC still present on: Today at 09:28:24 am
Quote
I tried checking UID again and again, but this seemed stupid because of EEPROM wears out
Writing to EEPROM wears it out. Reading from it does not. Of course, neither is necessary. Write only when there is new data (that is the value to write is different from what is there now). Read once and remember what you read.

Quote
I can't understand how WakeupA command works.
Does it matter that you understand it? Presumably, you are interested in having the function do something. So, just call it.

Not understanding the arguments it needs is a different story. The argument type is known - pointer to byte - which means that you need to define a byte array where the function will store some data. That data may, or more likely, may not, be of interest. The size of the array is up to you, but the comment suggests that 2 bytes is the minimum, which suggests that the function writes "OK" or "KO" there, depending on its ability to perform the requested function. Try a 10 byte array, first. See what the function actually writes into the array. Then, adjust the size of the array if needed.
3  Using Arduino / Networking, Protocols, and Devices / Re: Z-OSC Library and Seeeduino Ethernet Shield Communication Issues on: Today at 09:20:01 am
Quote
The OSC Message should be sending a 1 or 0,
That's my assumption, too. So, why are you assuming that getFloat() is the correct function to read the value? I'd expect that the value would be an int, and that getFloat() would be the wrong function to use.
4  Using Arduino / Networking, Protocols, and Devices / Re: Xbee and Keyboard input at the same time on: Today at 09:17:57 am
Quote
OK I have a Shield,
Great. Is it one of these:
http://www.shieldsofstrength.com/military-shields/

Quote
got it from e-bay
Oh, great. Some it comes with a guarantee, right?

Quote
ts a funduino one.
Your link doesn't seem to work.

Quote
its not crappy i guess
It's better to deal in facts than in guesswork.
5  Using Arduino / Networking, Protocols, and Devices / Re: XBee point-to-point network on: Today at 09:15:01 am
Quote
If I have the DL & SL accordingly i wouldn't have to do anything else to get those two Xbees to connect with each other right?
Correct.

Quote
I have XBee shields
There are at least 3 in common usage. One is a piece of crap. The other two are not bad.
6  Using Arduino / Networking, Protocols, and Devices / Re: Help Me, Sent audio via Bluetooth on: Today at 09:12:11 am
Quote
Can you describe the way of send audio via bluetooth ?
That is trivial. Just use Serial.write() to send this data:
Quote
getting audio from WTV020-SD-16P mp3. module.

If you post some code, some links to the hardware, and a schematic, you could, I'm sure, get real help.
7  Using Arduino / Storage / Re: Wiring a RedBear Blend Micro and Adafruit SD card breakout on: Today at 09:08:47 am
Quote
CS - SS
The Micro has an SS pin?
8  Using Arduino / Programming Questions / Re: problems with USB shield on: Today at 09:05:34 am
Quote
Q1) how can i get data from the receiver?
Do you see a place to connect the receiver to the Arduino?

You will need to get into the world of USB Host shields and learn the black art of writing USB drivers. Somehow, I suspect that "You can't" is the more likely answer.

Quote
Q2)Is able to send data(such as rpm , temp. ,voltage etc.) from receiver to keyboard?
Sure. But what is the keyboard going to do with the data?
9  Using Arduino / Programming Questions / Re: problems using potentiometer on: Today at 09:02:20 am
Those stupid smiley faces scrolling by contribute NOTHING to your post. The DO irritate the beejesus out of most of the regulars. Don't do that again.
10  Using Arduino / Programming Questions / Re: problem with using interrupt on: Today at 08:59:32 am
Code:
void light ()
{if (state==false)
state=true;
else
state= false;

}
would be so much simpler as:
Code:
void light ()
{
    state = !sate;
}
And, notice how much better it looks with nothing following the { AND properly indented.

Now, you need to tell us what is providing the external interrupt, and what the code actually does.
11  Using Arduino / Programming Questions / Re: Need help please... How to program AL422B? on: Today at 08:56:36 am
Quote
if you have some suggesstion, i would like to hear
Post links to the hardware. Post your code correctly, using the code icon (#), not the quote icon.
12  Using Arduino / Interfacing w/ Software on the Computer / Re: Need help with some syntax on: Today at 08:28:29 am
Quote
How can i do that?
How would you open a file on my computer from your PC? The answer is that you can't. The Arduino is a computer, albeit a tiny little one. It can not open files on another computer.

What it can do is send data to the serial port. Something like "Hey, I need the data in C:\Temp\uselessStuff.txt". If there is an application running on the PC that is listening to the serial port that the Arduino is talking to, that application can parse the data it receives, and discover that it needs to spool a file back out the serial port. The Arduino can then read the serial data as though it was a file.
13  Using Arduino / Project Guidance / Re: Motor Driving on: Today at 08:18:50 am
The homework hotline is down for maintenance. Try again in 6 months.
14  Using Arduino / Programming Questions / Re: Hi, im fairly new to this and i have a question that is probably an easy fix on: Today at 08:12:37 am
Code:
  if(value == newValue){
    digitalWrite(LEDpin, 1);
    newValue = analogRead(ADC0);
First, your code would be a lot less confusing if you used names like currValue for the current value and prevValue for the previous value.

Second, it makes no sense to compare value and newValue when you have not assigned values to either one. The FIRST thing to do in loop is to assign a value to currValue (newValue). Then, compare that to prevValue (value).

Finally, the copy of currValue (newValue) to prevValue (value) should be unconditional.

Code:
void loop()
{
    currValue = analogRead(ADC0);
    if(currValue != prevValue)
   {
      // do something
   }
   prevValue = currValue;
}
15  Using Arduino / Programming Questions / Re: Servo sound scanning on: Today at 08:05:58 am
Code:
// Tell servo to go to 180 degrees, stepping by two degrees
 
  for(position = 35; position < 155; position += 2)
If you are going to have useless comments, you MUST make them correct useless comments. Otherwise, they just piss readers off.
Pages: [1] 2 3 ... 3288