Arduino codes for TinyBlueX module that combines the ATtiny85 microcontroller and a CC2540/CC2541 Bluetooth Low Energy board
Get your TinyBlueX module: TinyBlueX Bluetooth Board
- Wiring Diagram
- TinyBlueX BLE Chat with the BLExAR iOS App
- Control Code for TinyBlueX
- Sending Temperature Data From TinyBlueX to iOS Device
The TinyBlueX library can be downloaded using git:
git clone https://github.com/makerportal/TinyBlueX
The wiring between the TinyBlueX and Arduino Uno board required for uploading code to the TinyBlueX is given below:
Arduino Uno | TinyBlueX |
---|---|
5V | VCC |
GND | GND |
D10 | 1 |
D11 | 5 |
D12 | 6 |
D13 | 7 |
The TinyBlueX can be connected to the BLExAR iOS app. The code titled:
- 'BLE_chat.ino'
receives text sent from the iOS device and sends it back to the iOS device. It is the simplest example that demonstrates the functionality of the TinyBlueX board.
Use code:
- BLExAR_control.ino
to turn an RGB LED wired to pins 2,3,7 on and off using the BLExAR app. The pins can be controlled using BLExAR pins 2,3,4.
Reading DHT22 temperature and humidity and sending the values to the iOS device via BLExAR.
- To be updated