Lynxmotion Smart Servos icon Lynxmotion Smart Servos — Compact Lynxmotion Smart Servos with position feedback, safety features and UART TX/RX for Arduino/EZ-B v4; scriptable temp, load, load-dir and ping. Try it →
Asked
Resolved Resolved by Nomad 6R!
2 Participants
Led voice recognition

Led Voice Recognition

I'm sure this has most likely been answered but I did search prior to asking. How to I hook up LEDs in order to use them with voice recognition? For example where would I hook them on the v4 and how would i program it come on and off when i would say "lights on" "lights off" basically making lights for eyes in a helmet and would like to control leds and 2 servos inside the helmet by using voice recognition lights on, lights off, and open close commands



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4 with Synthiam ARCx controls servos, sensors, camera and audio over Wi-Fi or USB serial, no firmware needed.
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

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
Belgium
Thingiverse
#1  

hi

solder a led from 3 volt on a white ( signal ) and a black ( negatif wire ) . you can use any port on the ezbv4. then choose the window PWM set the port you want. then make a script pwm(d0,100) off and pwm(d0,0) is on.sometimes its the other way 100 off and o on. depent on the color.for two eyes is twi pwm windows and two prts. then in speech recog typ L E D  on in first colum in the second colum typ pwm(d0,0) for on.

Author Avatar
PRO
Belgium
Thingiverse
#2  

here's a little video.my englich is not so good.

#3  

Outstanding, seems simple enough. I will try it out. thank you very much for the reply

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#4  

Only use the pwm() command if you want to control the brightness. The pwm() lets you set a value between 0 and 100 for brightness

i recommend using Set() instead of pwm(). Because set() is merely on or off

Author Avatar
PRO
Belgium
Thingiverse
#5  

hi dj

indeed that works better.no need for pwm if you just want on and off . excample set(d0,0)

#6  

Thank you DJ and Nomad your responses are greatly appreciated