Trying to get my HC-06 to work. The idea is to control a addressable RBG LED strip in the future. Currently I'm using a Arduino UNO, some wires and a HC-06. I connect the VCC pin to 5V, GND to GND, RXD to TX and TXD to RX. The module has a red light flashing for a second and after that nothing happens. Any idea what I should do next?
-
What have you tried to connect to the HC-06 over bluetooth? Is your phone (or whatever you are using) actually connected to the HC-06? How do you know, that it is not working? What do you think should happen? What are you doing with the HC-06 (you didn't include your code)– chrislJan 7, 2020 at 8:47
-
I can't see the HC-06 on my phone, so I can't connect to it. I also found out that the RX pin can only accept 3.3V (previously I only used jumper wires and connected HC-06 directly to Arduino, luckily I have 1k and 2k Ohm resistors if they are needed).The RXD pin on HC is connected to TX (1) on Arduino, TXD is connected to RX (0) on Arduino. For the code I used this: i.imgur.com/MhUev3R.png– JanarJan 7, 2020 at 10:52
-
Probably need to get a breadboard and watch a video if I need to connect the resistors. Maybe if you could help me with a code? Later on I'll have 28 LED's connected to pin ~6 and I'd like to control it via bluetooth on my phone.– JanarJan 7, 2020 at 10:55
-
12 things: 1. Please copy&paste the code as text into your question. 2. Where did you get that code? It uses pin 0 and 1 for software serial, which cannot work, since hardware serial is on these pins. Also I don't see, why the delay should be needed– chrislJan 7, 2020 at 11:37
-
Is it required to use resisistors since RX pin needs 3.3V, I'm using USB atm but will use a 5V power bank in the future?– JanarJan 7, 2020 at 14:06
|
Show 7 more comments