Unfortunatly it is some sort of wrong kind of data because if I send char "a" from my phone via SENA BTterm I get 0 (as int) and some weird character (if I store this data in char variable). Hardware serial connection - with no success on Serial1/Serial2/Serial3 BUT here at least when I check Serial1 (for example) for incoming bytes I get info about 1 byte incoming. SoftwareSerial connection - which gives me literaly nothing when I check BTSerial.available()>0(sending data to any of mentioned devices works correct). Unfortunalty I can't receive any correct data from my devices. I successfully managed to pair my BT module with both phone and tablet (one at the time ofc), also I had no problems with sending data throu my BT module to this devices (phone/tablet). I've used this schematic to connect my arduino and BT. I wanted to check if my bluetooth module for arduino works so I've looked for simple tutorials how to connect and program arduino in order to use bluetooth with it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |