Introduction: Controlling Arduino Robot With IOS, IPhone, IPad or Android
LOFI control 2.0 is out!
- bluetooth 2.0 support on Android
- new control modes - accelerometer and microphone
- Arduino code complatible with LOFI Blocks app
LOFI CONTROL lets you control an Arduino robot with an iOS device (iPhone or iPad) over Bluetooth LE (Bluetooth 4.0) module such as HM-10 or HM-11.
The app was designed to work with LOFI Brain controller and is compatible with almost any Arduino board.
DOWNLOAD THE APP:
HOW TO USE THE APP:
1. Connect your Arduino with bluetooth module and upload LOFI CONTROLLER sketch to Arduino.
2. Turn on bluetooth on your iPhone/iPad, start the app and connect to Arduino by clicking the bluetooth button in upper right corner of the screen. Arduino code
The code below is for Arduino Leonardo compatible board (Arduino Micro, Sparkfun PRO Micro etc.) tha use Atmega32U4 chips. Leonardo boards have two serial ports Serial – simulated by USB and Serial1 – connected to TX/RX pins which are then connected to bluetooth module thus communication between Arduino -> bluetooth module -> LOFI Control app is on port Serial1. To make the code compatible with Arduino UNO and familiar boards – switch Serial1 to Serial