Asked — Edited

Jd Mouth Led

well i finally got the guts to try to solder on the ezbv4 i solder a mouth led straight on the ezb. use a bride led

User-inserted image

User-inserted image

User-inserted image


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

#4  

@nomad18.08

Great Idea!

:D

#6  

Great idea a new idea

United Kingdom
#8  

Not bad @nomad, not bad at all. Fairly simple, but very effective and looks great. Nice thinking and good job.

PRO
Belgium
#9  

i got the tip from rich .next time use a brigher led.

Gibraltar
#10  

that's cool and so simple, it took me a while to find something to flash an LED to sound, I followed this thread https://synthiam.com/Community/Questions/7173 and also found this code I can't remember where

$Soundv4Value = 100
:loop
waitforchange($Soundv4Value)
PWM(D10,$Soundv4Value)
goto(loop)

both work but yours is so easy (EZ)

#11  

@bborastero, The advantage of the script and a digital port is that you can turn it on and off based on whether the robot is speaking or playing music, but Nomad's solution has a simple elegance and avoids all of the issue with the soundservo control. (I find using the script with sound servo it goes out of sync with longer sentences).

Alan

PRO
Belgium
#12  

bborastero

i can use yours too.

PRO
Belgium
#13  

so where do you connect the led?on a digital or anoloog port?

#14  

Quote:

so where do you connect the led?on a digital or analog port?

On a digital port. Then, if using the script bborastero posted, you need a Sound Server V4 object, but you don't need to configure it to a servo (it is just to populate the variable used in the script), then create the script and start it. The LED will blink whenever the EZ-B makes sound and the script is running, and it varies in brightness based on the volume.

That example used port D10, but you can use others, just modify the PWM statement as needed.

Alan

#16  

nomad, Great work and independent thinking! Maybe it will be on the next JD? Steve S;)

#18  

@nomad... Just a reminder the white digital pin can only supply about 20mA... so just be careful what to attach to that pin as anything more than 20mA can damage the port...

PRO
Belgium
#19  

rr

for leds i use only black/red

#20  

@nomad... maybe, but without the digital pin you can control them... PWM is on the digital pin (white) not the red pin. If you are going to use @bborastero's script you will need to use the digital pin not the power pin...

Gibraltar
#21  

@thetechguru

Quote:

(I find using the script with sound servo it goes out of sync with longer sentences).
agreed I've noticed the same thing. still I like the hard wire choice too.

PRO
Belgium
#22  

rr

ah.thanks for telling. so i use black/white and sound servo to get same or better result?

#23  

The results will be about the same. Only advantage of the script and sound servo are that you can turn it off if you want to make other sounds without the mouth blinking.

I think your solution may actually work better.

Alan

PRO
Belgium
#24  

oh really ?

thanks for telling alan

PRO
Belgium
#25  

i changed the mouth led cause it was not chowing up like i wanted. i didn had brighter led but what i got is MP3 volumer. i dont remembet who gave me the tip,sorry for that. so it makes the mp3 file louder and also makes the led chine much better. in the video you see bolt.the older mp3 files and the new ones.

PRO
Belgium
#27  

mtiberia

my test dummy .

#28  

@Nomad.... Good job Patrick..... I like how it completely syncs to speech... no delay...:)

PRO
Belgium
#29  

thanks avery one

yes and its better to see. am almost reddy whit another surprise.hehe

United Kingdom
#30  

@nomad.

The LED change looks so much better. Well done.;)

PRO
Belgium
#31  

steve G

glad you like it

thank you

Australia
#32  

That looks and sounds fantastic @nomad18.08 ! How did you form the oval shaped mouth in JD's head?

PRO
Belgium
#33  

hi tony

its actully round.

Australia
#34  

hi @nomad18.08 so you just drilled a hole? Do you have a small resistor wired into the red line?

Australia
#36  

Thanks @nomad18.08 Would it be a 1K ohm resistor?

PRO
Belgium
#37  

hi tony.

i make a pic cause i dont have knowledge about these things.

Australia
#39  

Thanks @nomad18.08 ! Now I see how you got the neat black trim around the mouth:)

PRO
Belgium
#40  

it clicks together and the led stays in place. the little ring has two sides.one side start the treath in the begin off the ring for , thinner plates.the other side start a little further for thiker plates. i melt the hole whit a little iron screwdriver and then whit a little round vijl, make it bigger.

Australia
#41  

@nomad18.08 you have come up with a simple and excellent solution! Did you get that LED locally or off ebay? I can't find one like that anywhere

PRO
Belgium
#42  

hi tony

i by them from conrad.be or conrad.nl

make sure you test a led whit the resistor on if its bright enough.

Australia
#43  

Thanks @nomad18.08 I'll have a look!

Australia
#44  

Sorry to bother you again @nomad18.08 I have searched through the massive conrad store but cannot find the LED you have shown in your picture on the previous page There are plenty of LEDs without the black socket (as per attached pic) Is the socket a separate item? Do you remember the name of it?

User-inserted image

PRO
Belgium
#45  

tony i will look it up see if i can find it back.

PRO
Belgium
#46  

tony here some links

led fitting

led

maybe someone can chime in for howmany mcd tony will need.

tony you find alot on ebay.us

Australia
#47  

Many thanks for your help @nomad18.08 ! Yes, they are very cheap on ebay!

PRO
Belgium
#48  

i checked my oreders from that year.i see two leds. one 200 mcd and one 4000mcd. i cant remember whits one i used. here a link all kinds off resistors.

resistors