- USB port
Here we will only discuss how to interface using a bluetooth connection. For this, you will need any simple microcontroller with UART interface and a Linvor Bluetooth module. The Linvor bluetooth module operates on 5V power supply and can be connected to the microcontroller using an UART interface.
MI Device control Application:
On the application side, I modified the Bluetooth chat application example from Android SDK. The application was developed for Gingerbread 2.3. Linvor bluetooth module works using the SPP protocol. The application takes care of initializing the handset’s bluetooth for SPP protocol and also provides options to search for bluetooth devices and sync with them. You can control 3 devices ON-OFF and fan speed from 0 to 99. I used a stepper motor to control the fans regulator/potentiometer and a ULN2803 to control the 3 relays for devices and a stepper motor.
- Connect the VCC ->+5V, GND->GND, TXD->MCU RXD, RXD-> MCU TXD
- As soon as you power up the module, the red LED on the module starts blinking indicating that the module is ready for connection.
- Next, search for bluetooth devices in range using the application.
- The Linvor module will appear as linvor in the found devices list.
- Select and sync the handset with the linvor device.
- Once the handset and the module are connected, the red LED on the module stops blinking and stays ON until the bluetooth connection is terminated.
Also see :
- Google wallet not accepting debit cards
- Low cost and long range RF module-1200 meter/1.2km in India
- Mobile DDR / mDDR / Low Power DDR / LPDDR
- TCS230 RGB color sensor operation and Code