I recently bought the HC-06 Bluetooth module.
I connected it as following:
(Ofcourse I used a Arduino Nano, not that thingy)
When I do a Serial.println("HAY"); my bluetooth module loops HAY
But when I try to Serial.read, and print that it does not recieve anything.
I also tried it with the software serial lib and used pin 2,3. This does not work either.
So, can somebody help me let the bluetooth module read?
Like when i put 1 in the bluetooth terminal, the arduino will put a LED on or something?
The HC-06 should work fine. While it is slave-only and not an upgrade, that has nothing to do with your problem, and I bet replacing it with an HC-05 will be a complete waste of time.
The real problem may be in your code, which is apparently a secret, or it may be in the wiring. This may be just badly executed. It is also common practice to use just 1k and 2k resistors rather than what you have but I don't know if the difference is fatal.
You might find the following background notes useful
DuaneDegn:
BTW, When I first heard about HC-05 and HC-06 modules, I also assumed the HC-06 was an upgrade of the HC-05 (but don't tell anyone).
Likewise - so I only have a HC06
@Terick, a slave can send data in both directions. The difference is that a slave can only pair with another device that acts as master so you cannot pair two HC06 devices.
That is why I asked the questions that you did not answer - and why answering them might have saved you some money.