IFTTT Sender icon IFTTT Sender Send web-triggered IFTTT events from ARC/EZ-B: configure Maker Webhooks key and trigger applets to control SmartThings, WeMo and other services. Try it →
Australia
Asked

Sound Servo (PC Speaker)

How do I centre my sound servo to 90 degrees? It is a horizontal servo for a head, set to move between 60 and 120 degrees but always moves to 60 degrees when audio has stopped playing.



Related Hardware (view all EZB hardware)
EZ-B Iotiny by EZ-Robot
Control IoTiny with Synthiam ARC: 100MHz Cortex‑M4 Wi‑Fi IoT/robot controller-camera, servos, ADC, I2C and digital I/O for easy internet automation
Wi-Fi / USB
Servos 8
Camera
Audio
UART
I2C
ADC
Digital

ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

Author Avatar
PRO
Australia
#1  

I found a work around for this by pausing the sound servo. I added to my stop() command the following script: ControlCommand("Sound servo Speaker", PauseOn). My stop command centres the head at 90 degrees. I unpause it when I want to play audio again.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#2   — Edited

Nice! That’ll work:). Are you having a robot head bob to music? Hehe