简体   繁体   中英

How to read data on Android phone sent from Bluetooth UART device connected to microcontroller?

I have an Arduino microcontroller that I will be using this Bluetooth module with . My eventual goal is get the Arduino to be able to speak to my Android phone over Bluetooth. By speak I mean send it data and receive data.

The hardware of this I understand. I will be able to hook this Bluetooth module up and make it a function as I want. The only part I would not know how to do is read the data in.

An awesome toolkit that you should checkout is the Amarino Toolkit ! It was designed specifically for Arduino and Android communication. You can you send data and event triggers from your Android phone to the Arduino. You can also send data from real time sensors connected to the arduino to you phone.

Take a look at SensorGraph example on their main website. It shows you how to do everything from connecting to the Bluetooth UART module to actually sending data to your phone. Also here is a nifty walkthrough related to that same example problem. Cheers'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM