Arduino2Android - Android2Arduino - Bluetooth

692 views
Skip to first unread message

Juan Antonio

unread,
Jun 25, 2017, 8:18:54 AM6/25/17
to MIT App Inventor Forum
Hi friends, this is a simple code to connect Arduino <> Android by Bluetooth.

1.- Android to Arduino.

- When write 0 in TextBox and click  Send button, Arduino LED13 is OFF
- When write 1 in TextBox and click  Send button, Arduino LED13 is ON

-------------------------------------------------------------------------

2.- Arduino to Android.

- When click boton2 in Arduino, bluetooth send "Hola amigo" to Android.
- When click boton3 in Arduino, bluetooth send, "Me llamo Juan" to Android.




- More info in Spanish: http://kio4.com/appinventor/9bluetootharduino.htm


- Regards.





p41i_arduino_a_movil.aia
Bluetooh_Dos_Pulsadores.ino
Reply all
Reply to author
Forward
0 new messages