N newbie Member Licensed User Longtime User Jun 30, 2017 #1 i have port the example to a UNO like the example code. Connection is made and the Android device show the millis send from UnO. Pressing the LED-Button on the Android breaks the communication ! No data arrived the UNO, the Timer-event was fired but no data arrived the android. After pressing the RESET-Button , sending works again. The same with a DUE works without problems.
i have port the example to a UNO like the example code. Connection is made and the Android device show the millis send from UnO. Pressing the LED-Button on the Android breaks the communication ! No data arrived the UNO, the Timer-event was fired but no data arrived the android. After pressing the RESET-Button , sending works again. The same with a DUE works without problems.
Erel B4X founder Staff member Licensed User Longtime User Jul 2, 2017 #2 You need to use a level shifter as the HC 05 expects 3.3 volts. Upvote 0
N newbie Member Licensed User Longtime User Jul 3, 2017 #3 Erel said: You need to use a level shifter as the HC 05 expects 3.3 volts. Click to expand... I am using a HC-06 , but the tech-data are the same. I have try a level shifter like this http://www.ebay.de/itm/Logic-Level-...379930?hash=item33c2e8f85a:g:afcAAOSwwpdW38w0 it seems not to be the problem, with and without shifter the reaction is the same !? Upvote 0
Erel said: You need to use a level shifter as the HC 05 expects 3.3 volts. Click to expand... I am using a HC-06 , but the tech-data are the same. I have try a level shifter like this http://www.ebay.de/itm/Logic-Level-...379930?hash=item33c2e8f85a:g:afcAAOSwwpdW38w0 it seems not to be the problem, with and without shifter the reaction is the same !?
Erel B4X founder Staff member Licensed User Longtime User Jul 3, 2017 #4 Which pin is connected to the button? Which pins are connected to the Bluetooth module? Upvote 0
N newbie Member Licensed User Longtime User Jul 3, 2017 #5 Erel said: Which pin is connected to the button? Which pins are connected to the Bluetooth module? Click to expand... Pin 10 and 11 are connected to the Bluetooth-Module, the pin-Button is not connected (try only the receiving data) Upvote 0
Erel said: Which pin is connected to the button? Which pins are connected to the Bluetooth module? Click to expand... Pin 10 and 11 are connected to the Bluetooth-Module, the pin-Button is not connected (try only the receiving data)
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2017 #6 Add log messages to see whether AStream_NewData is raised or not. Try to send a single byte from the Android. Upvote 0
Add log messages to see whether AStream_NewData is raised or not. Try to send a single byte from the Android.
N newbie Member Licensed User Longtime User Jul 5, 2017 #7 Erel said: Add log messages to see whether AStream_NewData is raised or not. Try to send a single byte from the Android. Click to expand... In the meantime i have changed to the actual B4R-Version, and wonder, NOW it works directly ) ???? Upvote 0
Erel said: Add log messages to see whether AStream_NewData is raised or not. Try to send a single byte from the Android. Click to expand... In the meantime i have changed to the actual B4R-Version, and wonder, NOW it works directly ) ????