Project showcase
Origami Remote Control Robot

Origami Remote Control Robot © CC BY

How to make a remote-controlled origami robot with Arduino.

  • 6,852 views
  • 15 comments
  • 70 respects

Components and supplies

About this project

I like origami. After knowing about Arduino, I have been trying to combine the two.

Code

bluetooth to control 2 DC motorsArduino
#include <SoftwareSerial.h>
SoftwareSerial BT(7,6);
void setup()
{
  BT.begin(9600);
  pinMode(2, OUTPUT); 
  pinMode(3, OUTPUT); 
  pinMode(4, OUTPUT); 
  pinMode(5, OUTPUT); 
}
char a;
void loop()
{
  if (BT.available()) {
    a = (BT.read());
    if (a == '0') {
    BT.println("Beast is stopping!");
    digitalWrite(2, LOW); 
    digitalWrite(3, LOW); 
    digitalWrite(4, LOW); 
    digitalWrite(5, LOW); 
    }
    if (a == '1') {
    BT.println("Beast is forwarding!");
    digitalWrite(2, HIGH); 
    digitalWrite(3, LOW); 
    digitalWrite(4, HIGH); 
    digitalWrite(5, LOW); 
    }
    if (a == '2') {
    BT.println("Beast is backwarding!");
    digitalWrite(2, LOW); 
    digitalWrite(3, HIGH); 
    digitalWrite(4, LOW); 
    digitalWrite(5, HIGH); 
    }
    if (a == '3') {
    BT.println("Beast is turning left!");
    digitalWrite(2, HIGH); 
    digitalWrite(3, LOW);  
    digitalWrite(4, LOW); 
    digitalWrite(5, HIGH); 
    }    
    if (a == '4') {
    BT.println("Beast is turning right!");
    digitalWrite(2, LOW); 
    digitalWrite(3, HIGH);  
    digitalWrite(4, HIGH); 
    digitalWrite(5, LOW); 
    }
  }
}

Comments

Author

Isangmu
isangmu
  • 1 project
  • 12 followers

Additional contributors

  • Strandbeest's structure by Theo Jansen

Published on

April 24, 2019

Members who respect this project

PhotoDefaultAulaLightproPoty pikachu 3 bslnfdw88vPhotoLogo b white background 42mmn9rkh0Photo

and 67 others

See similar projects
you might like

Similar projects you might like

Servo Control with TV Remote Control

Project showcase by eldo85

  • 8,402 views
  • 5 comments
  • 25 respects

Control an LED with the Remote Control

Project showcase by Nicholas_N

  • 3,192 views
  • 2 comments
  • 9 respects

End-Effector and Control Logic for Robot

Project showcase by Team PowerBerry

  • 7,949 views
  • 2 comments
  • 43 respects

Remote Bluetooth Light Control with Python

Project showcase by Noah Huber-Feely

  • 7,586 views
  • 1 comment
  • 12 respects

Line Follower Robot - PID Control - Android Setup

Project tutorial by MJRoBot

  • 30,446 views
  • 9 comments
  • 40 respects
Add projectSign up / Login