@petoknm you have no connection to setup between the uC and the BT module as it is only a serial to bluetooth converter. The only "setup" is Serial.begin(9600) from the Arduino library. Then I only have to use Serial.print(value, DEC) in my arduino sketch to send data to the bluetooth module.
I use 4 pins on the BT module: gnd, vcc, tx and rx, that's pretty straightforward.
@goeb1 so you cant change the name of the bluetooth module or connect to different devices...the device has to connect to the module, right? and then its just an ordinary serial communication...
@petoknm you can change the name of the device or change its bind code, its baud rate or do plenty of other things by connecting a 5th pin (KEY) to vcc and sending AT commands @38600 bauds to the dongle.
Search for "linvolV1.5" for example on google, this is a popular firmware for these cheap dongles.
what bluetooth module did you use? how did you interface it to the uC? please...id like to create something with bluetooth... thanks
petoknm 1 month ago
@petoknm this is a cheap $8 bluetooth/serial TTL module I got on ebay. It is interfaced with the uC using the UART (Serial class in arduino)
goeb1 1 month ago
@goeb1 but how you can set up the connection ...which device it should connect to...what are all the pins u used ?
petoknm 1 month ago
@petoknm you have no connection to setup between the uC and the BT module as it is only a serial to bluetooth converter. The only "setup" is Serial.begin(9600) from the Arduino library. Then I only have to use Serial.print(value, DEC) in my arduino sketch to send data to the bluetooth module.
I use 4 pins on the BT module: gnd, vcc, tx and rx, that's pretty straightforward.
goeb1 1 month ago
@goeb1 so you cant change the name of the bluetooth module or connect to different devices...the device has to connect to the module, right? and then its just an ordinary serial communication...
petoknm 1 month ago
@petoknm you can change the name of the device or change its bind code, its baud rate or do plenty of other things by connecting a 5th pin (KEY) to vcc and sending AT commands @38600 bauds to the dongle.
Search for "linvolV1.5" for example on google, this is a popular firmware for these cheap dongles.
goeb1 1 month ago
@goeb1 thanks a lot...i googled really good page :D thx
petoknm 4 weeks ago