Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
BeagleBone Home Automation Blueprints

You're reading from  BeagleBone Home Automation Blueprints

Product type Book
Published in Feb 2016
Publisher
ISBN-13 9781783986026
Pages 378 pages
Edition 1st Edition
Languages
Author (1):
Rodolfo Giometti Rodolfo Giometti
Profile icon Rodolfo Giometti

Table of Contents (18) Chapters

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:~# ./adc | ./lcd.sh > /dev/tty0

Tip

Note that on the first framebuffer device, we have at least one terminal defined by default, which is referred to by the /dev/tty0 device.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}