Project tutorial
Circuito Arduino Controller Pad

Circuito Arduino Controller Pad © LGPL

Circuito is a DIY controlling pad that works as a supplementary project can control any Arduino device.

  • 3,013 views
  • 1 comment
  • 9 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)
ROTARY TOOL

Apps and online services

About this project

"Circuito" is a DIY controlling pad. It is a supplementary project for my previous Robotic Arm project. The controlling pad is a computer controlled mechanical constructions that help to move and manage any robotic arm depend on servo motors.

It can be considered kinetic control pad in their own right, but they also can control any other Arduino device.

Step 1: Scenario

Circuito is controlling pad based on Arduino Due.

It makes use for any robotic arm or any project based on Servo motors easy to use after programming of visual patches in the Arduino programming language.

One potentiometer, One joystick and four switch inputs are available for modifying predefined parameters. Toggle switch can be used to further control the software or to switch on and off the lights, manual control using potentiometer to control the acceleration of servo motors, audio reactivity using an audio output buzzer to visualize the controlling and movements.

The module is fully compatible with Arduino boards, and standalone operation is also possible. Circuito outputs is some of previous prepared serial port orders that can be seen on Arduino serial port monitor and its easy to modify. I chose to design the front panel as a real printed circuit board since it is a very cost-effective solution and provides interesting design opportunities using the Inkjet color printer, MDF wooden board and soldermask layers.

Step 2: Design

In my opinion the ​best way to make a life scale product you have Imagine it first, and I designed the controller first on Google SketchUp because its a very effective tool to draw your innovation.

Step 3: Making the Board

I print out the shape on A4 paper, then I cut it out from MDF board as shown. and to give it good look I just cover the wood with printed paper.

Step 4: Installing the Circuit

In the first beginning I started with LED lights that works as an indicator while using the controller, then I fixed the circuit components as shown.

Code

Circuito codeArduino
This code is sample how to use the Controller with servo motors.
int xPin = A1;
int yPin = A0;
int buttonPin = 2;
int buzzer = 9;

int xPosition = 0;
int yPosition = 0;
int buttonState = 0;

//define servos
Servo servo1;
Servo servo2;

void setup() {
  // initialize serial communications at 9600 bps:
  Serial.begin(9600); 
  
  pinMode(xPin, INPUT);
  pinMode(yPin, INPUT);
  pinMode(buzzer, OUTPUT);

  //activate pull-up resistor on the push-button pin
  pinMode(buttonPin, INPUT_PULLUP); 

  // ******* S  13/ B 11/ G 12 / E 10
  servo1.attach(13);  
  servo2.attach(10);  
}

void loop() {
  JoyStickControl();
} 

void JoyStickControl()
{
  xPosition = analogRead(xPin);
  yPosition = analogRead(yPin);
  buttonState = digitalRead(buttonPin);

  // Servos
  xPosition = map(xPosition, 0, 1023, 0, 180);
  servo1.write(xPosition);
  
  yPosition = map(yPosition, 0, 1023, 0, 180);
  servo2.write(yPosition);

  if(buttonState ==0)
  {
    // you may control another servo motor 
    tone(buzzer, 1000); // Send 1KHz sound signal... sound indicator for pressing
    noTone(buzzer);     // Stop sound...
  }

  Serial.print("X: ");
  Serial.print(xPosition);
  Serial.print(" | Y: ");
  Serial.print(yPosition);
  Serial.print(" | Button: ");
  Serial.println(buttonState);

  delay(100); // add some delay between reads
}

Custom parts and enclosures

cad_sfo5mVRNhg.png
Cad sfo5mvrnhg

Schematics

circuito_gAWPOnIYQY.jpg
Circuito gawponiyqy

Comments

Similar projects you might like

Dual Axis Solar Tracker Panel with Auto and Manual Mode

Project tutorial by Giannis Arvanitakis

  • 7,142 views
  • 6 comments
  • 37 respects

Arduino Home Controller Activated by Alexa

Project tutorial by Jose Cruz

  • 2,408 views
  • 6 comments
  • 3 respects

Android App-Based Home Automation System Using IOT

Project tutorial by Team Autoshack

  • 24,826 views
  • 17 comments
  • 75 respects

Wireless weather station (Arduino + ESP8266 + Thingspeak)

Project tutorial by Alin-Constantin Paun

  • 8,862 views
  • 2 comments
  • 11 respects

Making a Cheap Aquarium Parameters Controller

Project tutorial by Boisse Martin

  • 5,025 views
  • 3 comments
  • 16 respects

Fairytale

Project in progress by siliconchris

  • 595 views
  • 3 comments
  • 2 respects
Add projectSign up / Login