federico-terzi/gesture-keyboard

I'm using arduino uno but can't get it working...

Closed this issue · 13 comments

Hi federico terzi,

I'm using arduino uno, i was able to run the project with usb cable but its not working with Bluetooth.

I'm also using hc-05 do i need to use hc- 06 or Arduino pro micro...

Hi,
If it works with the usb cable, that's a good sign. The problem is related to the bluetooth connection.
Did you select the correct bluetooth serial port?
A good way to find out is to check the serial output from the Arduino IDE.
Have a nice day

Yes, I have chosen the correct serial port ... But I guess Arduino not transmitting data.

Make sure boolean isBluetoothEnabled = true; and the bluetooth module is connected to the right pins ( 10 and 16 )

img_20180218_165910
Are these right pins brother?

federico terzi you there brother ?

Hi,

Sorry for the late reply, I'm very busy these days.
Those pins are not right because the bluetooth module use Software Serial, and not the built in serial interface. You should connect it to 2 ports between 2 and 12 and then change these line with the ones that you chosen:

int rxPin = 10;
int txPin = 16;
SoftwareSerial bluetooth(rxPin, txPin);

Also, I never used the HC-05 module, I don't know if there are differences.

ok thanks for the reply, will surely try it out.

Can you please send me the circuit diagram ?

Are you there?

This is the circuit of the device.

circuito_finale_schem

Thanks alot.

You're welcome