O'Reilly logo

BeagleBone Home Automation Blueprints by Rodolfo Giometti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Final test

To test the prototype, I used some tricks to simulate the baby: I got the crying sound on the Internet and simply reproduced it with an audio player. Regarding the breath, I used doll, manually pressurizing its chest in time with my breathing. I admit it's not the best test, but my children are too big to help me in these experiments!

To set up all peripherals and drivers, we can use SYSINIT.sh, as in the following command:

root@beaglebone:~# ./SYSINIT.sh
done!

Note

This command can be found in the chapter_06/SYSINIT.sh file in the book's example code repository.

Then, I executed both the adc and lcd.sh programs by using the following command line in order to send all outputs to the terminal that runs on the tiny LCD:

root@beaglebone:~# ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required