Tatsuro Hokugo
Published © CC BY

Control Theo Jansen's "Mini Rhinocéros" from Smartphone

Make Wind eating beast (Theo Jansen's beast "Mini Rhinocéros") controllable from smartphone vie Bluetooth Low Energy.

BeginnerShowcase (no instructions)927
Control Theo Jansen's "Mini Rhinocéros" from Smartphone

Things used in this project

Story

Read more

Schematics

Basic Concept

At first, I planed to use classic Bluetooth for connection. I failed to solder and decided to use BLE. As a result, I can use ready-made BLE control application.

Schematics of controller

Control Motor from LightBlue Bean. 2Output port connects to motor driver and it can select forward and reverse.

Code

Code on LightBlue Bean

Arduino
Watch Scratch value. If value is 1, go forward. value is 2, go back.
void setup() {
  pinMode(0, OUTPUT);
  pinMode(1, OUTPUT);
  digitalWrite(0, LOW);
  digitalWrite(1, LOW);
  Bean.setScratchNumber(1, 5);
}

void loop() {
  long thisScratch = Bean.readScratchNumber(1);
  if (thisScratch == 1) {
    Bean.setLed(0, 0, 0);
    Bean.setLedGreen(128);
    digitalWrite(0, HIGH);
    digitalWrite(1, LOW);
  } else if (thisScratch == 2) {
    Bean.setLed(0, 0, 0);
    Bean.setLedBlue(128);
    digitalWrite(0, LOW);
    digitalWrite(1, HIGH);
  }else {
    Bean.setLed(0, 0, 0);
    Bean.setLedRed(64);
    digitalWrite(0, LOW);
    digitalWrite(1, LOW);
  }
}

Credits

Tatsuro Hokugo

Tatsuro Hokugo

2 projects • 3 followers
newbie maker.

Comments

Add projectSign up / Login