Follow this diagram to add an HC-05 Bluetooth module to the Arduino board:
Now the Arduino doesn't need the USB cord anymore and it's directly powered by the 12 volt power supply.
To pair the HC-05 module with your computer, use the default password "1234".
Check the device properties on your PC to see if it is correctly paired and the COM port is available:
Now, for ease of use you can put all together in a nice enclosure:
Enclosure for the Cock Hero Machine.
Hello and thanks for this great work. I wondered if you could check this schematic because you have coded int rxPin = 2 and int txPin = 3 but the schematic shows RX pin 0 and TX pin 1. Thank you
ReplyDeleteThose are the softwareserial pins. You can use those or the others, it should work either way.
DeleteI understand thank you. I am trying to build the UNO shield. I found the gerber files but no schematic. Do you have that please or at least can you explain the purpose of the Q2 mosfet ? Thanks for your help.
DeleteQ2 is for reverse polarity protection
Deletehow to use HC06? i have a 2 comport:
ReplyDeletecom3(input hc-06) and
com4(output hc-06 SPP Dev
in console i have:
com3 - timeout exeption
com4 - wrong serial connection
can you help me? Or it work only on CH-05
*sorry for my english/ my english is bed =)
I have exactly the same problem (two serial ports) on my HC05.
ReplyDeleteIs it necessary to configure this module somehow?