Show Posts
Pages: 1 [2] 3 4 ... 32
16  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.
17  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?
18  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.
19  Using Arduino / Programming Questions / Re: Why is my IF statement ignoring my conditional? on: April 17, 2014, 04:36:07 am
Assignment =
Test of equality ==
20  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: April 17, 2014, 04:14:50 am
I'm at work so I cant access the links you provided. There is a section on how to use code tags in the sticky at the top of the page - How to Use...

You can power the Arduino with the USB cable and the shield with an external power supply as long as the grounds are connected, and with a shield stacked on the Arduino this shouldn't be a problem.
21  Topics / Home Automation and Networked Objects / Re: Arduino GSM Module from ITead Studio on: April 17, 2014, 03:29:44 am
Try the link in my signature...
22  Using Arduino / Project Guidance / Re: Adafruit Ultimate GPS Logger Sheild. on: April 16, 2014, 04:30:55 pm
Post your code. It looks like you are reading data when there is none to read.
23  Using Arduino / Programming Questions / Re: Programming an Arduino Mega and a Mega Sensor Shield V2 for use in a Hexapod on: April 16, 2014, 04:26:23 pm
In brief..
The first line identifies the problem. The code was written some time ago, prior to the introduction of IDE version 1.0 (The sketch ends in .pde rather than .ino?)

The include file, WProgram.h, has been replaced by Arduino.h but if you do a search for WProgram.h you will find a lot of guidance of what you need to change to bring it up to date.

Plan B, not recommended, is download IDE 0022. It should compile then. However, that is going back three years.

24  Community / Gigs and Collaborations / Re: Project - Will pay for completion on: April 16, 2014, 03:58:24 pm
I'm not interested, but for the benefit of others who may be, what level of noise is acceptable?
25  Using Arduino / Programming Questions / Re: Switch a BT module HC-05 to master mode on: April 16, 2014, 03:47:39 pm
You preempted my next question!

No, you can communicate with it using a Mega. You have other hardware serial ports available, use one of those to connect to your module and amend the SerialRelay code as appropriate? (Remove reference to SoftwareSerial, relay the input to one of the other serial ports)

Serial 1: 19 (RX) and 18 (TX); Serial 2: 17 (RX) and 16 (TX); Serial 3: 15 (RX) and 14 (TX).

If you get stuck, post your code!
26  Using Arduino / Programming Questions / Re: Switch a BT module HC-05 to master mode on: April 16, 2014, 03:37:20 pm
I'm a little bit wiser now - you are aware that it is a 3.3 volt device aren't you? And are you using level shifters on the communication pins? Or is it on a module and you don't need to worry about it? Sending 5 volt signals to a 3.3 volt device won't improve it's life expectancy.
27  Using Arduino / Programming Questions / Re: Switch a BT module HC-05 to master mode on: April 16, 2014, 03:25:04 pm
You could try my signature link...  smiley-lol
28  Using Arduino / Programming Questions / Re: Switch a BT module HC-05 to master mode on: April 16, 2014, 03:15:58 pm
I'm not familiar with the device you are on about but...

in very basic terms...

You can upload a program called SerialRelay to your Arduino, and connect that to the device. When you open Serial Monitor anything you send to the Arduino will be sent on to the device, and anything it responds with sent to your screen.
29  Using Arduino / Project Guidance / Re: Problem with gsm remote control sketch on: April 16, 2014, 09:44:10 am
In what way isn't it working? Does it compile and upload? If so what do you see in Serial Monitor?

And could you use code tags, not quote? It's the button with the hash on it.
30  Community / Bar Sport / Re: Maplin UK. on: April 16, 2014, 09:12:22 am
http://arduino.cc/en/Main/Buy

Look under UK, lots of suppliers!
Pages: 1 [2] 3 4 ... 32