I have updated, corrected, and finally finished this example on using the HC05 Bluetooth Library for the Arduino.
10 plus ones
Shared publicly•View activity
View 10 previous comments
- Hi Jerry, have you ever used your library to upload sketches over Bluetooth? I have been trying to do so and not getting very far.Dec 25, 2014
- No, I have not tried that. You might want to make sure you can upload using a hardwired connection to the pins you plan to use with the HC05 before adding the compilation of my library and the HC05.Dec 26, 2014
- No problem loading sketches via sub or ftdii external device.
I will do more diggingDec 26, 2014
- Hello. The HC05 is natively 3v3 volts and about 10mm wide by 20mm long and can be hard to work with if you're not used to smt type soldering. There are varients that are mounted on breakout boards which make them easier to work with and come to in either 3v3 or 5v depending on the mount. The one in your link is the version without the mount and will be 3v3.
I use this version in my project with a arduino pro mini which is 3v3 . Be aware that you cannot directly connect that version to a 5v arduino like an uno etc. You'll need to do some voltage level conversion on both the supply to the hc05 and the tx line from the arduino to the hc05. The tx from the hc05 will be 3v3 and can be directly connected to the rx of the arduino. Jan 20, 2015
- The problem stems form the fact that everyone calls the JC-MCU unit an 'HC-05'. Few people actually buy just an HC=-05, they nearly always buy them on a breakout board.Jan 20, 2015
What should I change in the HC05.h so I can operate the HC05 on the Hardware Serial Port 1 of the Arduino Micro?
According to your description:
Try using the hardware serial port. Comment out line 38 of HC05.h
37 * This macro must be defined even if you are using a software serial
38 * port. You can change this to any serial port supported by your
39 * Arduino (i.e, Serial1, Serial2, etc.)
40 * /
41 #define HC05_HW_SERIAL_PORT Serial
Since it can not be right what?
KWALTERMay 29, 2015