Arduino Project Hub
Project tutorial

Intel Arduino 101 BLE Blynk Tank © GPL3+

Intel Arduino 101 based tank using Blue Tooth Low Energy to communicate with a Blynk remote control on your phone.

  • 2,769 views
  • 2 comments
  • 22 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

Intel Arduino 101 based tank with BLE and Blynk!

This project uses the Intel Arduino 101 board that has built in IMU and (BLE) Blue Tooth Low Energy. For the remote control I used the free Blynk app which is is available for Android and iPhone, it allows you to rapidly drag and drop some buttons to create a user interface. The Chassis is a Dagu DG012 from Sparkfun.

I tried to power the whole rig from the 5 AA battery pack that came with the chassis but the Arduino kept resetting on low voltage. Ideally I would use a nice LiPo battery pack but to keep things simple and not expect beginners to learn about the care and feeding of LiPos and purchase a charger, I chose to power the motors separately from the Arduino using a USB Battery pack. Be sure to remove the optional battery jumper on the Adafruit motor shield or you can fry some things, the power sources need to be separate.

The video tutorial is broken into two videos, first hardware, mounting, powering the electronics.

The second video covers creating the phone app and Arduino code.

Quick start instructions:

Parts

  • Tank Chassis or whatever platform you like.
  • Polarized battery connector JST (Pictured I made one with header pins)
  • 4 jumper wires
  • Arduino 101 board
  • Motor driver board (Adafruit Motor/Stepper Shield V2)
  • 4 M2.5 nylon standoffs with nuts and screws
  • 5 AA Batteries (For motors)
  • USB Battery pack (For Arduino)
  • Short USB A to USB B cable
  • 1” heat shrink
  • A few male and female header pins 0.1
  • Two Zip ties

Hardware

  • Assemble the tank chassis, the instruction picture included is adequate, leave the top plate off of the chassis.
  • Mount the Arduino to the top plate using standoffs. I prefer M2.5 nylon standoffs.

Wiring

  • Use jumper wires to connect the motors to M1 and M2 headers on the Arduino Motor Shield.
  • Install Polarized connector between the Motor Shield and the 5 AA battery pack. LEAVE THE MOTOR SHIELD JUMPER REMOVED TO ISOLATE MOTOR POWER FROM ARDUINO POWER!
  • Remove the top plate and instert some Ziptyes to hold the USB battery connector.

Blynk App

  • Download the Blynk App for Android or iPhone and create a new app
  • Drag four buttons, a slider, and the BLE widget to your new app.
  • Edit the slider, it needs to write 0-255 to V0
  • The buttons are configured as momentary push buttons, they send a one while pressed and a 0 when released: Left Forward = V1, Right Forward = V2, Left Backward = V3 Right Backward = V4.
  • From the Blynk app configuration click the button to email the authentication token to yourself, we will use this in the Arduino App.

Arduino Software

  • Open the sketch using the latest Arduino IDE
  • Open Tools –> Board –> Board Manager and search for “Arduino 101”, and make sure the board is installed, you can also upgrade to the latest version.
  • Open Sketch –> Include Library –> Manage Libraries and search for “Adafruit Motor”, install the Adafruit Motor Shield V2 Library.
  • Replace the auth[] Tolken with the one you emailed to yourself from the Blynk app created above.
  • If you have multiple Arduino 101 boards rename the blePeripheral.setLocalName and blePeripheral.setDeviceName variables so the names will be unique.

IT’S GO TIME

  • From the Blynk app click on the BLE widget, connect to your Arduino 101
  • Put the Blynk App in run mode
  • Play!

Here are a couple other arduino 101 chassis projects that I gained some inspiration from.

https://www.hackster.io/shadeydave/arduino-101-ble-rover-05fa85?ref=search&ref_id=arduino%20101%20ble&offset=1

https://www.hackster.io/29284/ble-bot-9000-c150b8?ref=search&ref_id=arduino%20101%20ble&offset=2

Code

Arduino101_BLE_Blynk_AdafruitMotorV2
Arduino sketch for Arduino 101 BLE Blynk tank

Comments

Similar projects you might like

Ambient 2 click board on Arduino101

by Team Makers NS

  • 55 views
  • 0 comments
  • 2 respects

Giftduino - The Perfect Arduino Gift Box

Project tutorial by circuito.io team

  • 123 views
  • 0 comments
  • 3 respects

Easiest Way to Add A Full Color LCD Display

by Ushijima

  • 4,863 views
  • 2 comments
  • 6 respects

Happy birthday melody on Arduino Nano with 3-way polyphony

Project tutorial by Liss

  • 1,512 views
  • 6 comments
  • 22 respects

Kaleidoscope Infinity Mirror

Project tutorial by Lucas Ainsworth

  • 3,540 views
  • 0 comments
  • 29 respects
Add projectSign up / Login