Devices & Components
Arduino GIGA R1 WiFi
Arduino Mega 2560 Rev3
Arduino® UNO R4 WiFi
Bottango Servo Shield
Hardware & Tools
Tig Welder
CNC wood router
drill, screwdriver, soldering iron
Software & Tools
Arduino IDE
Project description
Code
The Show Code Playback
python
The Big Playback Code
1#include <Servo.h> 2 3Servo neckServo; 4int micRight = 12; 5int micLeft = 13; 6int servoPin = 9; 7int threshold = 500; 8 9void setup() { 10 pinMode(micRight, INPUT); 11 pinMode(micLeft, INPUT); 12 neckServo.attach(servoPin); 13 neckServo.write(90); 14} 15 16void loop() { 17 int rightSound = analogRead(micRight); 18 int leftSound = analogRead(micLeft); 19 20 if (rightSound > threshold) { 21 neckServo.write(45); 22 } else if (leftSound > threshold) { 23 neckServo.write(135); 24 } else { 25 neckServo.write(90); 26 } 27 28 delay(100); 29}
Downloadable files
Mega
ExpressiveMovementsCodeUno
ExpressiveMovementsCodeUno.ino
TheShowCodeBigPlayback2
Master Giga
TheShowCodeBigPlayback2.ino
Documentation
Warning
Precautionary Note:
Warning Note to Users.txt
The Show Code Instructions
Wiring Info:
Robot and Keyboard Operations Instr.txt
Syntaxx Homepage
Where can find out more information about Syntaxx
https://robotikzinnovations.com/
Imagine A World Not Mine
Syntaxx Video
https://www.youtube.com/watch?v=WTbbxdYEj_s
Comments
Only logged in users can leave comments