During the hackathon after Droidcon of Turin 2015 we formed a team of strangers: after an hard brainstorming session GRAV team, us, identified that smart cot is a killer product for the next millennium!
The solution consists of UDOO and a plugin for Atooma.
UDOO manages the detection of crying and the subsequent launch of the rocking of the cradle and the lullaby: the detection of crying and the lullaby are managed from the Android, the rocking of the cradle is done by a servo controlled by Arduino.
If after these actions the crying is not finished UDOO updates data on Firebase: realtime plugin Atooma receives updated data from Firebase and allows configuration of actions resulting in Atooma.
Arduino sketch that manage the servo after a message from Android: https://github.com/alessandro-aglietti/smart-cot/blob/master/arduino-test/led_on/led_and_servo/led_and_servo.ino
Android app on UDOO: https://github.com/alessandro-aglietti/smart-cot/tree/master/Smart-cot
See a demo on YouTube: