Show Posts
Pages: [1] 2 3 ... 32
1  Using Arduino / Programming Questions / Re: Serial.print() on: Today at 02:45:12 pm
Firstly I would put a Serial.println("Whatever"); immediately after the Serial.begin, just to confirm that things are communicating.

I'm assuming that the hardware is wired up correctly and works? You know that there is a signal on the interrupt pin?

Which Arduino?
2  Community / Website and Forum / Re: Error in http://arduino.cc/en/Hacking/LibraryTutorial on: Today at 02:39:18 pm
There's no 'maybe' about it. People copy a circuit, upload the sketch and it doesn't work. So, thinking they have got something wrong they come to the forum. Only to be told that there is an error in the wiring diagram they followed perfectly.

Shift register tutorial is one specific example.
3  Using Arduino / Programming Questions / Re: Serial.print() on: Today at 02:32:07 pm
Post all the code, including any declarations.
4  Using Arduino / Installation & Troubleshooting / Re: L light is continuously on on: Today at 12:40:58 pm
It's simple enough to turn it off. Put the following code in setup().

Code:
 pinMode(13, OUTPUT);  
  digitalWrite (13, LOW);
5  Using Arduino / Programming Questions / Re: No output, GSM module not responding on: Today at 12:17:23 pm
If that's all of your code then how do you communicate with the shield?

Try the link in my signature might give you more help.
6  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: Today at 10:31:25 am
You have declared LastMess as a String - try putting the L & H in double quotes? LastMess == "H"...
7  Using Arduino / Networking, Protocols, and Devices / Re: MEGA2560 and SIM900 doesn't answer on: Today at 05:49:12 am
Try the following (not tested so may need a tweak!)

Code:
//Serial Relay - Version for Mega

unsigned char buffer[64];  // buffer array for data recieve over serial port
int count=0;               // counter for buffer array

void setup()
{
  Serial1.begin(19200);
  Serial.begin(19200);
}

void loop()
{
  if (Serial1.available())
  {
    while(Serial1.available())
    {
      buffer[count++]=Serial1.read();
      if(count == 64)break;
    }
    Serial.write(buffer,count);
    clearBufferArray();
    count = 0;
  }
  if (Serial.available())
    Serial1.write(Serial.read());
}

void clearBufferArray()
{
  for (int i=0; i<count;i++)
  {
    buffer[i]=NULL;
  }
}

Open up Serial Monitor at 19200 baud - anything you type into Serial Monitor will be relayed to the SIM900, any reply will be sent to screen.
8  Using Arduino / Networking, Protocols, and Devices / Re: Issue sending extended GSM Character using GSM Shield. on: Today at 04:14:57 am
Post your code.
9  Topics / Home Automation and Networked Objects / Re: Arduino GSM Module from ITead Studio on: April 17, 2014, 08:36:26 am


The two rectangular pads towards the top of the illustration.
10  Topics / Home Automation and Networked Objects / Re: Arduino GSM Module from ITead Studio on: April 17, 2014, 08:23:42 am
You are kidding right?

If not it requires the use of a soldering iron and some solder.
11  Topics / Home Automation and Networked Objects / Re: Arduino GSM Module from ITead Studio on: April 17, 2014, 08:14:55 am
Have you soldered the two pads together?
12  General Category / General Discussion / Re: Purchasing Arduino & Accessories in the UK (Great Britain) on: April 17, 2014, 07:51:56 am
See the thread entitled 'Maplin' in Bar Sport section.
13  Using Arduino / Programming Questions / Re: How to grab responses from Serial Terminal? on: April 17, 2014, 06:26:54 am
Code:
SoftwareSerial bleSerial(0, 1); // RX, TX

is connecting to the USB cable, and therefore through to your serial monitor.

Change to 2 & 3, and connect your device to those pins.
14  Using Arduino / Programming Questions / Re: How to grab responses from Serial Terminal? on: April 17, 2014, 06:04:58 am
No, I am saying that they do refer to the same thing, but you should only try to talk to one device per serial port! You seem to be trying to talk to two?
15  Using Arduino / Programming Questions / Re: How to grab responses from Serial Terminal? on: April 17, 2014, 05:45:59 am
Which Arduino are you using?

You could set SoftwareSerial up on pins 2 & 3, and use Serial. to communicate to the computer via the USB cable, and bleSerial. to communicate with your device.

If you want to interact with your device, i.e. enter commands in Serial Monitor, and then display the device's response, try a sketch called SerialRelay. There's a version in my signature link.
Pages: [1] 2 3 ... 32