R rajeev.piyare New Member Licensed User Longtime User May 8, 2013 #1 Hello:sign0085: I am a beginner with basic4android and currently working on a project with Arduino Bluetooth. It would be a great help if someone could advice or show me how to do this. Firstly I would like to connect the Arduino via Bluetooth using b4a. Then access the real time data from the Arduino analog inputs and display a real-time graph on my smartphone. It would be great if you could advice as how can i open serial port for Bluetooth, connect the device and get data. Then using button i can start or stop the graph and display the values on screen. Something very similar to attached picture. Your guidance will be highly appreciated. I hope this will also assist others who are working with micro controllers and trying to connect it to b4a via Bluetooth. Thanks Attachments graph.bmp graph.bmp 14.7 KB · Views: 711
Hello:sign0085: I am a beginner with basic4android and currently working on a project with Arduino Bluetooth. It would be a great help if someone could advice or show me how to do this. Firstly I would like to connect the Arduino via Bluetooth using b4a. Then access the real time data from the Arduino analog inputs and display a real-time graph on my smartphone. It would be great if you could advice as how can i open serial port for Bluetooth, connect the device and get data. Then using button i can start or stop the graph and display the values on screen. Something very similar to attached picture. Your guidance will be highly appreciated. I hope this will also assist others who are working with micro controllers and trying to connect it to b4a via Bluetooth. Thanks
Erel B4X founder Staff member Licensed User Longtime User Jul 3, 2013 #2 The first step is to connect to the device with the Serial library. Check this tutorial: Android Bluetooth / BluetoothAdmin Tutorial And these discussions: Basic4android Search: Bluetooth Upvote 0
The first step is to connect to the device with the Serial library. Check this tutorial: Android Bluetooth / BluetoothAdmin Tutorial And these discussions: Basic4android Search: Bluetooth