Это видео недоступно.
Сожалеем об этом.
DIY Billy Bass ft. Alexa Explained!
HTML-код
- Опубликовано: 27 янв 2019
- This video combines an Echo Dot with Big Mouth Billy Bass to synchronize the fish's animatronics with audio coming from the Echo Dot. For a full walkthrough checkout www.cyber-omelette.com/2019/01/billy-bass-alexa.html
Materials:
Big Mouth Billy Bass: amzn.to/2Dtyvdm
2nd Gen Echo Dot: amzn.to/2T3KAet
Arduino Uno: amzn.to/2WcPfwt
Motor Shield: amzn.to/2W8VMs5
Amplifier: amzn.to/2S92mzX
Ben is there somewhere I can message you? I’m doing your project and so close to the end but stumped on getting the A0 pin to register that music is playing
Yeah dude right here! Stoked you're closing in on the end!
Been a while since I built this though so I may be a bit rusty. Get me back up to speed... what's up with A0? You're expecting a signal out of the little Amp right to register as an input?
To debug you can try printing A0 values as they come in. If it's always 0 there's probably somethin wrong in the circuit. If you see it fluctuate with music, then it could be an issue of boosting the signal, or changing your "music is playing" threshold.
I'm moving this weekend so may disappear a while but I will check back in on you.
Specifically this line: gist.github.com/benrules2/2f5304627c109e4ceb31b8ec12d69ee0#file-billy-ino-L42
Try throwing a Serial.println(sensorValue); before L42 and see if it ever changes.
If not I'd take a hard look at the amp. Turn that little screw on the Amp board to boost the signal until you're seeing something. If you see nothing, I'd be most suspicious that the wiring of the 1/8" audio jack is properly soldered, connected, etc.
@@BenjaminEagan hey thanks for the reply man but yikes, feeling like I’m in way over my head because that was nearly gibberish to me. So I uploaded the audio diagnostic script you made. Playing music and in arduino software I clicked on “serial monitor”. I expected it to show something other than a blank screen in the serial monitor window it opened. I tried skipping this step and just uploading the final script you made and the fishes motors were moving but not like “to the music” even when it was not playing anything. I’m too deep to quit lol but not sure what I’m doing exactly. It’s been a learning process for sure
@@RatkingOddities it’s all good! I’ll turn the technical
jargon down a notch. Let’s start with this - is the speaker actually playing logical
sounds?
@@BenjaminEagan it’s playing music from the Alexa! I have an additional wire running from the “out” part of the amplifier to A0 pin. I saw you’re suggestion on the blog to try moving the wire to the ground side of the amplifier, that didn’t work so it’s back on the “out” side. I have the motor shield attached to the arduino so I guess I’m technically wired to the A0 on the motor board.
On mine, the "Alexa acknowledgement" beep causes the head to come up, followed by 4 or 5 mouth movements, then the head returns to rest. This happens again for the next beep when Alexa stops listening. Any sound from Alexa causes this.
Hey Wayne, nicely done - sounds like you're in the home stretch! The signal processing logic may need a little custom calibration for smooth animations though. I think was happening is the sound on/ sound off input isn't quite right. This can affected by your volume (which affects how strong the signal is), the tuning of the little amp, etc. So I'd suggest playing with the 'quiet threshold' so the arduino agrees alexa isn't talking when the human thinks alexa isn't talking!
Here's the salient line. gist.github.com/benrules2/2f5304627c109e4ceb31b8ec12d69ee0#file-billy-ino-L43
I've also added some heuristic logic for example to assume "talking" animation for the first 3 motions ALWAYS ("sure. here's bohemian rhapsody by queen"). Then the duration of the talking is randomized to give a less robotic feel, but this changes how long your fishy is stuck in one animation cycle. Checkout the lines here: gist.github.com/benrules2/2f5304627c109e4ceb31b8ec12d69ee0#file-animatebilly-h-L82
To understand that duration, checkout the RunMotorOnOff functions - both variations have a delay that locks in an animation duration as well: gist.github.com/benrules2/2f5304627c109e4ceb31b8ec12d69ee0#file-animatebilly-h-L9 . This means they run for at least aniDelay or aniDelay*2 for the two motor version.
Tweaking all of these values will get you closer to the behaviour you want.
Hey currently running through this project - What are the names of the electrical connectors you use when soldering the L+R channel to the LM386 amplifier ? Very aware that the pins are close together and i don't want to short it.
Hey, that's awesome you're working through this project! Did you get the fish torn down and the motor controls going already?
Anyway, I use male/female breadboard jumper wires pretty extensively (like these ones amzn.to/3sdRUpZ). That is what I used for this connection. They can be a little flaky when you're done prototyping though, so you can also just use a soldered wire. Keeping the power to the amp off until you can verify there is no short circuit should be safe. I personally tack a tiny amount of solder onto my wires for tight cases like this, and use a knife after soldering if there has been any spillover.
There are some still images on my blog too that may be helpful, but I'm guessing you've already seen that: www.cyber-omelette.com/2019/01/billy-bass-alexa.html
It starts at 1.54
sorry for being long winded, it's really hard to know when editing a video what will and won't be interesting to people
@@BenjaminEagan Ditch the background Muzak too please.
Hey, thanks so much for this, this is one of my first projects! I got all the way to the point with the audio to the motor shield and I cannot figure out the wires. It looks like in the photos you took the Arduino and Motor Shield apart and connected the audio through the amplified and Alexa to the Arduino but then... How do you put them back together? Do I strip the wires to fit them in the holes? Because the pins do not work if I put the two back together- the plastic part is too large and if I bend them they do not fit either.
Awesome!
Where did you get the billy bass from
Fishing expedition off the coast of Newfoundland
@@BenjaminEagan lololol. classic answer. well played.
@@BenjaminEagan I found it at a thrift store
I have just started this project and I guess I got in over my head because I cant figure out how to upload sketches to the Arduino.. I just cant find the software to use and how I would go about uploading anything if I did. I really want to do this project, I don't know if you still check your comments but I would really appreciate any response.
The mouth keeps moving after the voice stops. How do I prevent this?
THANK YOU for the video and for censoring A-L-E-X-A ;-)
Aha! My Alexa censoring work has finally been acknowledged!!
This video and your blog post is awesome! I’m a bit new to arduino and all of this stuff, but I was wondering if this would work with a google nest mini? This is just what I have on hand so was interested to see if this would be a viable method.
Can’t say how the Nest mini comes apart, but the audio signal out would work exactly the same. So viable yes!
@@BenjaminEagan Great thank you so much for your response!
Ben, i have a weird issue with my project... I did everything just as you did, however i didnt tear down my Echo dot because i wanted to keep it as is and just wired the audio cable accordingly. Otherwise everything is the same. When i power everything up, the fish just starts jittering and spazzing out (looks like a weird seizure) any advice? im so close to the end! audio works well, which is why im stumped..
Hey Hunter, probably just an issue of fine tuning the thresholds for "animation" actions. If the sound is clean, then this is almost definitely something you can fix in code! I don't have it handy so can't share the exact line, but the logic is basically that if the audio signal is above a certain level for long enough, sing or dance.... If your signal comes through different than mine (very plausible), our thresholds will be different.
@@BenjaminEagan Ok, thank you! I'll look into it and see what I can fix in the code, audio os very clean, that too took some fine tuning lol.
Heyya! Im trying to get the functionality of a popular tik tok persons Billy Bass. Does your fish only dance to music or will it sing while dancing. Also can it face you when you say Alexa?
Hey Anthony. Yes it also sings while dancing, and can be made to face you when you say Alexa if you turn on the "boo beep" mic open acknowledgements. That's because its playing sound that makes it react, and the length and intensity of the sound that triggers dancing vs talking animations.
@@BenjaminEagan Thank you! Im so scared of ruining my Billy Bass, do you do commissions?
Haha nah sorry, but believe in yourself! You can do it!!
Would an arduino nano work instead of an uno?
If it has enough pins then it should be fine, there's nothing special about the UNO except it's the one I used and I know for sure it works!
@@BenjaminEagan thanks so much for the response
Is there a way I can do this without using the Alexa if so I would like help thank you
Joe Alexa is pretty prominent in this, what exactly do you want to build?
@@BenjaminEagan I'd like to do this Google Home or mini
If you have a raspberry pi, you can install AlexaPi on it
github.com/alexa-pi/AlexaPi
🥰🥰🥰 AMEI
Excelente.
Oi
Hilarious
Get rid of the background music.