Demonstration code for iOS and OS X using a RedBearLab Blend board and Bluetooth LE to control a hacked R/C toy.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Arduino
Blender.xcodeproj
Blender Add Temperature Sensor target Dec 4, 2017
BlenderX Exit app when window is closed Dec 4, 2017
Temperature Recorder Tests Add Temperature Sensor target Dec 4, 2017
Temperature Recorder Add Temperature Sensor target Dec 4, 2017
CBCharacteristic+Blender.swift
Hacked Tumbler.jpg
LICENSE Initial commit Aug 13, 2015
Packet.swift
README.md Update video link Nov 26, 2017
RedBearRemoteController.swift Add OS X target and breadboard sketch Aug 13, 2015
RemoteController.swift Update for Swift 4, Xcode 9.x, etc. Nov 30, 2017
Temperature Sensor.fzz Add Temperature Sensor target Dec 4, 2017
Temperature Sensor_bb.png Add Temperature Sensor target Dec 4, 2017
Tumbler Controller.fzz Add OS X target and breadboard sketch Aug 13, 2015
Tumbler Controller_bb.png
ViewController+Blender.swift

README.md

Blender

Demonstration code for iOS and OS X using a RedBearLab Blend board and Bluetooth LE to control a hacked R/C toy. The sketch that runs on the board leverages RedBearLab's BLE library.

The R/C toy started out life as a Thunder Tumbler which features two drive motors that can be controlled independently. It was purchased at a thrift store and was a great candidate for an Arduino hack. Here's how it looks:

the actual toy

See it in action here

Here's a sketch of the circuit, not including the wires that connect the H-bridge to the motors or the power coming from the Tumbler. Pretend that the board shown in the sketch is a RedBearLab Blend instead of a Leonardo.

the circuit

The control circuit is very simple--a single L293D H-bridge chip that is wired to a RedBearLab Blend board. The motor power is supplied by the battery pack on the Tumbler. The board power is supplied by a 9V battery. You can power the board over a USB, but be careful when exercising the motor controls or you are likely to break something.

There's an LED and a piezo thrown in to the mix for fun and to show how various control messages can be sent. The iOS demo project features controls for the motors, the LED, and the piezo. The OS X demo project just controls the LED and the piezo.