Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Beaglebone Python Programming
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Beaglebone Python Programming

Learning Beaglebone Python Programming

By : Alexander C Hiam
close
close
Learning Beaglebone Python Programming

Learning Beaglebone Python Programming

By: Alexander C Hiam

Overview of this book

If you have experience with the Python language and are interested in getting started with electronics, then BeagleBone Black is the perfect platform for you and this book will provide you with the information you need.
Table of Contents (14 chapters)
close
close

Accelerometers


Accelerometers, made abundant and affordable by the cell phone industry, are one of the most common sensors found in embedded devices these days. As their name implies, accelerometers sense acceleration, in one, two, or three axes. This is useful for things, such as pedometers, as you can sense the vibrations from a footstep, and they can also be used for sensing orientation by measuring the acceleration due to gravity on the different axes.

Hooking it up

Let's take a look at interfacing with the analog devices' ADXL345 accelerometer. It can measure acceleration about three axes on a configurable scale of +/- 2 g, 4 g, 8 g or 16 g (where 1 g is the acceleration due to gravity near the Earth's surface, equal to about 9.8 m/s2) about three axes. Both SparkFun and Adafruit sell breakout boards for the ADXL345 (https://www.sparkfun.com/products/9836 and http://www.adafruit.com/product/1231). We'll demonstrate with the SparkFun board, but the Adafruit board will function just the...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Beaglebone Python Programming
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon