Hi all
Is it possible to program pro mini via HC-06 Bluetooth module ?
thanks
Hi all
Is it possible to program pro mini via HC-06 Bluetooth module ?
thanks
Though "instructables" has a not undeservedly mixed reputation around here, the article's author, dmjlambert, is a regular forum contributor.
You my star thanks alot
Regards
To program an arduino bords wirelessly via Bluetooth passable actually with any Bluetooth device. All needs to be added is extended electronic circuits what generates reset for arduino in exact time what depends on the transmission start and stop. And there is solutions for it as well.
Just who aware for example of that the Arduino before start to upload sketch sends siries of special bytes. What those bytes are?
Yes, but it's not about which bytes, the right time is determined by programming one of the pins on the Bluetooth module to act like a DTR and using that to reset the target Arduino. I don't know if the HC-06 can be programmed like that. But the HC-05 can be programmed like that with the at+polar command which can make the state pin act like DTR (go low and stay low while connected).
You could skip the auto-reset functionality and just press the reset button at beginning of upload, then all you would have to do is program the Bluetooth module for the bootloader's baud rate and connect power, RX, and TX pins.
I've avoided buying HC-06 and just stick with HC-05, because they are about the same price and HC-05 is more versatile, and (in my opinion) easier to program. I have seen several posts where people indicate they can't reprogram their HC-06, and it does not seem to have a factory reset feature. The HC-05 does.
No it doesn't... it just coincidence...
That pin what connecting to dtr is was mint to run the LED wile connected. But likely it's trigers evrytime the new connection esteblished which is dtr do as well. And likely could have 2 states which you can choose.
HC-06 don't have that. Checked. Those Bluetooths non of the actually was designed or meat to program Arduino. Just coincidence.
But to use any Bluetooth device we still need to design an external sercuit to generate the right DTR signal. Lets talk about that. Who knows something about. Pls share.
I have never seen an Instructable yet that is of any use, but that one is probably kosher to the extent that it addresses the HC-05, as I don't think it can be done with an HC-06. It is a slave-only device with a limited set of commands.
You might get something useful here - with HC-05 and Uno.
and some comment on Pro Mini
http://forum.arduino.cc/index.php?topic=218049.0
I don't think it is any more difficult to do this on a Pro Mini, I just don't know anything about them.
There is surely no way that the HC-06 can be deemed difficult to programme. It is ready to go in AT mode as soon as power is applied, and the only problem people can possibly have with programming it is where they try to feed it AT commands that it doesn't understand. There is indeed no reset, but the command set is so small it is hardly necessary.
If you have never seen an Instructable of any use then I think you probably haven't looked at many. It is not hard to find good stuff on Instructable. I find good stuff there all the time. I also find good stuff here, and on the Makezine site. I know it is a popular thing to put down Instructables (I can't say I know why), but perhaps that is why I opened an account there and do my best to raise the quality.
If anybody is interested in using an HC-05 to program a Pro Mini or Pro Micro, I would of course recommend having a look at my Instructables where I cover that sort of thing. But if you are down on Instructables in general and do not wish a pretty easy to follow and high quality guide, don't click the link Runaway Pancake gave. Don't do it, man, step away from the link....
I also have other Instructables which would best be avoided.
Slavka85:
...Bluetooth device we still need to design an external sercuit to generate the right DTR signal. Lets talk about that. Who knows something about. Pls share.
I know about that and have shared. The at+polar command of the HC-05 turns the State pin into a DTR signal and it can be connected directly to the Pro Mini with no extra circuitry. More info at the link Runaway Pancake gave, but only go there if you are daring.