Joe Mirmina
Published © MIT

Voice Activated Baby Rocker Using Alexa And A Raspberry Pi

Our twins loved spending time in their Rock n' Plays. Unfortunately, they didn't rock on their own. Raspberry Pi and Alexa to the rescue!

IntermediateShowcase (no instructions)8 hours1,077
Voice Activated Baby Rocker Using Alexa And A Raspberry Pi

Things used in this project

Story

Read more

Schematics

Raspberry Pi / Motor Schematic

The 12v/60rpm motor I used did not have enough torque to rock the baby, so I had to go with a 24v/100rpm motor. This was a bit too fast, so I added a voltage regulator to lower the voltage. The sweet spot was between 18v and 20v.
Rocker

Completed Motor Control Circuit Board

This is the completed circuit board. The Raspberry Pi was connected to the board with a ribbon cable.
Img 2511

Rocker Arm

This is a close-up of the arm that connects the motor to the Rock 'n Play
Img 2513

All Components

All of the components that make up the baby rocker (Raspberry Pi, circuit board, voltage regulator, and motors)
Img 2514

Connecting Motor to Rock 'n Play

I used a hook and bungee cord to connect the motor to the Rock 'n Play. While basic, it ensured that the rocking was smooth and not too jerky for the babies.
Img 2517

VUI Diagram

This diagram illustrates most interactions with the Baby Rocker along with Alexa's responses. The server keeps track of who is rocking and who is not, and will respond appropriately based on the commands given.
Rockervui

Code

Baby Rocker Code

Credits

Joe Mirmina

Joe Mirmina

1 project • 1 follower

Comments