Sunday, 21 July 2019

Wireless Cock Hero Machine

To get rid of the annoying USB cord, all we need is a little HC-05 module and a PC with bluetooth connection.
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.

6 comments:

  1. 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

    ReplyDelete
    Replies
    1. Those are the softwareserial pins. You can use those or the others, it should work either way.

      Delete
    2. I 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.

      Delete
    3. Q2 is for reverse polarity protection

      Delete
  2. how to use HC06? i have a 2 comport:
    com3(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 =)

    ReplyDelete
  3. I have exactly the same problem (two serial ports) on my HC05.
    Is it necessary to configure this module somehow?

    ReplyDelete