Skip to content

Ewan the Dream Sheep controlled by Raspberry Pi relay board.

Notifications You must be signed in to change notification settings

willthomson/ewan-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ewan-pi

Ewan the Dream Sheep controlled by Raspberry Pi relay board.

Photo of a Raspberry Pi with a relay board and the internals of a Ewan

When my son stirs, the sounds from Ewan help him go back to sleep. However, going into the room to start it wakes him up. I wanted a way to start Ewan without entering the room, so I created a simple Flask app, running on a Raspberry Pi, which uses a relay board to simulate pressing the buttons.

Hardware

  • Rapsberry Pi 2
  • USB wifi adapter
  • Relay board
  • Electronics from a Ewan, sourced second hand from Ebay

I attached the relay board to the Raspberry Pi, then cut the button off of the desired sound and connected it to one of the relays.

Development

  1. pip install -r requirements.txt
  2. FLASK_APP=app.py flask run
  3. Open http://localhost:5000

About

Ewan the Dream Sheep controlled by Raspberry Pi relay board.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published