Show Posts
Pages: 1 [2] 3 4 ... 152
16  Using Arduino / Programming Questions / Re: Mega2560 timedout. on: August 20, 2014, 06:55:10 pm
This seems to be a chronic problem. I find the reliable solution is to reboot the PC whenever I change boards. Mega seems to be the main culprit but, once it is sorted, it should consistently load OK.

I keep a list of all the COM ports used on various computers by the several boards
17  Using Arduino / Networking, Protocols, and Devices / Re: HC-05 Bluetooth module Arduino Uno problem on: August 20, 2014, 06:34:31 pm
Hi
I have bluetooth module HC-05 and I C=connect with my Uno

I connect with my xperia l by ArduDroid app, I can connect and get data from arduino but I can't send any data, when I open serial monitor at Arduino Ide and send 1 or 0 led is on or off but by android app i can't


I guess you already know that there is nothing wrong with the code, and the wiring sounds fine. I don't know what an xperia is, or anything about ArduDroid, but it sounds like you are using an Android devicee, and are going through the right procedure. If the LED on the Bluetooth is solid, you are connected, and Android should tell you that anyway.

Your code works fine when using Bluetooth Terminal on my Android phone.   I suggest you try that.
18  Using Arduino / Displays / Re: Looking for readable LCD display without backlight on: August 19, 2014, 08:43:21 pm
I find the 5110 just fine. Perhaps your solution is to have a press-button so that the backlight is only used momentarily. 
19  Using Arduino / Networking, Protocols, and Devices / Re: 2 bluetooth shield having hard time to connect (red light) on: August 19, 2014, 01:45:49 am
i thought the bluetooth was just dependent on its configuration, but it seems not (dependent also in the code installed in the arduino?), the codes inside the microcontroller also affects its time of connectivity?


In normal use, bluetooth is just another serial device and runs as configured.  I think it might be possible to have the code affect the connectivity if the bluetooth is in AT mode.

You might find some help here

http://phillipecantin.blogspot.com.au/2012/01/arduino-bluetooth-link.html
20  Using Arduino / Networking, Protocols, and Devices / Re: How to pair 2 bluetooth devices on: August 18, 2014, 06:07:55 pm
http://phillipecantin.blogspot.com.au/2012/01/arduino-bluetooth-link.html
21  Using Arduino / Project Guidance / Re: Sending sensor values over BT on: August 18, 2014, 10:50:25 am
You will probably find that your Android app can read a swag of sensors, it is just a matter of sending the data properly. You send the readings to Android the same way as you send them to the serial monitor, and about all you need change might be the spacing.

With Bluetooth Graphics Terminal, you can display up to three values on a graph.



 
22  Using Arduino / Networking, Protocols, and Devices / Re: Question About Debugging a Serial RX Issue on: August 17, 2014, 11:48:22 pm
Do you have a link to the HS-06 datasheet?

http://www.rasmicro.com/Bluetooth/HC%20Serial%20Bluetooth%20Products%20201104.pdf

Mine is additionally mounted on a backer board - that datasheet is purely for the HS-06 chip. I don't have one for the board that the chip is mounted on.

The board my chip is mounted on it not the popular JY-MCU, but rather labeled as "LC Technology http://www.lctech-inc.com". This appears to be the chip on the manufacture's page:

http://www.lctech-inc.com/Hardware/Detail.aspx?id=684fb223-1a23-4b83-8dbd-4d58c2b3c0cb

It looks like you have a normal HC-06, and anything about an HS-06 has been written by somebody who can't write, possibly the same person who designed the backing board and he was no good at that either. It seems to me that you are doing everything right, and I submit that all this stuff about level conversion and compatibility is nonsense.  The most you might consider is a divider on the Arduino Tx, merely as a precaution, and that is clearly not the problem anyway - it's Arduino Rx.

One has to wonder what those jumpers on the other side of the backboard are for, and particularly why this board has them when no others do. You might even find that Arduino can't receive because Bluetooth can't transmit until a jumper is jumped.

The device could be a dud. It's very rare but it has happened. I submit you would be best off cutting your losses and popping the $7-50 to get a proper HC-05 on JY-MCU. That way you get a free ticket to sing in the same chior as everybody else, which would be cheap at twice the price, and the device you have is still good for a one-way traffic project.
23  Using Arduino / Project Guidance / Re: Which arduino do i need ? on: August 17, 2014, 10:05:22 am
An Arduino is a micro. You buy it, you programme it, and you see the result. The advantage is that the people are friendly.
24  Using Arduino / Networking, Protocols, and Devices / Re: Bluetooth Serial Communication on: August 17, 2014, 09:54:38 am
You are connected when the LED stops blinking. You might find the following background notes useful

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino
25  Using Arduino / Networking, Protocols, and Devices / Re: ethernet shield on: August 17, 2014, 01:37:14 am
Thanks......

http://www.reddit.com/r/arduino/comments/wu84f/beginner_q_duemilanove_vs_uno/

suggests the 2009 is obsolete, maybe the Ethernet shield is too, but there doesn't seem to be much different.
26  Using Arduino / Networking, Protocols, and Devices / Re: ethernet shield on: August 17, 2014, 01:09:35 am
I don't know anything about your current Arduino shield but I understand the Due is a 3.3v device and therefore, if that shield works OK on it, it is a non-standard device and cannot be expected to work on a Mega.   In the meantime the plain vanilla W5100 shield available for $7.50 on eBay works just fine on a Mega, it being made for that purpose.
27  Using Arduino / Project Guidance / Re: Which arduino do i need ? on: August 17, 2014, 12:57:11 am
A Uno will suffice to start with but is not likely to be up to the job in the long run. A Mega will be so, since you actually have a goal in mind and since you ask,  you might as well get a Mega now.

While a Mega has lots more pins than a Uno, that is not what the game is about, it's about memory and, on a Uno, you are likely to run out of that before you run out of pins. 
28  Using Arduino / Project Guidance / Re: Trouble wiring an HC06 Bluetooth module on: August 16, 2014, 06:58:00 am
Reducing the picture to a size a little less insulting, cutting out the excess junk, and having it the right way up might be rather helpful but, if you can get anything at all with 5v power, the real problem is more likely to be code - which is conspicuously absent. There is no way that the jumbling up you refer to is caused by the power supply.
29  Using Arduino / Project Guidance / Re: Trouble wiring an HC06 Bluetooth module on: August 16, 2014, 02:41:33 am
Is there any way to get the module to work on a handmade Arduino Uno without using the 3.3v regulator, or is that unavoidable?

Very probably, but it is entirely dependent on how closely your handmade Arduino resembles a real one. The device you have is a plain-vanilla HC-06 bluetooth and, if you look at the back of the module, you will see that it clearly states that the power Vcc is 3.6 - 6v. This means you should assume 3.3v is not enough,  5v is enough, and indeed is starting to look like a good idea. Another really good idea is to put (nearly) all those resistors in the bottom drawer and forget about them for a while. All you need to know is where the equivalent of the Uno's D0,D1 pins are, and I think you will be wasting your time trying to draw anything.

You might find the following background notes useful

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino

30  Using Arduino / Sensors / Re: Problems getting feedback from DS18B20 thermometer using pregen onewire code on: August 15, 2014, 11:28:21 am
That's fair enough, you will see that the code I posted is essentially the same but streamlined for (I think) better integration into future work. It is derived from the same tutorial.

To get the signal, I would just use a flag

Int flag = 0
loop
if temp>59.99 and flag = 0 then send text. Flag =1
if temp<60.00 then flag = 0

I think that would cover it, but there may be more elegant means!
 
Pages: 1 [2] 3 4 ... 152