Reader small image

You're reading from  Learning BeagleBone

Product typeBook
Published inDec 2014
Publisher
ISBN-139781783982905
Edition1st Edition
Right arrow
Author (1)
Hunyue Yau
Hunyue Yau
author image
Hunyue Yau

Hunyue Yau is an electrical engineer who graduated from the California Institute of Technology. He has worked with Linux since the early '90s, starting with the Soft Landing System. He created one of the first embedded Linux devices in 1996 with a custom-made distribution. He has worked on various products such as embedded Linux appliances, embedded BSD-based devices, and embedded Linux mobile devices. As an active member of the BeagleBoard community, he has volunteered at numerous community events, from Maker Faire to Google Summer of Code mentoring. Today, Hunyue synergizes his electrical engineering skills with embedded Linux software skills to provide turnkey embedded Linux consulting services through HY Research LLC (http://www.hy-research.com/), a company founded by him.
Read more about Hunyue Yau

Right arrow

Controlling relay with a BeagleBone


While a transistor can be used to interface with devices that require more current or a higher voltage, a transistor is still electrically connected to the BeagleBone. A relay is a mechanical switch that is activated or deactivated by an electromagnet and can provide electrical isolation. There are a few potential hazards with controlling a relay. This applies to anything that has a coil such as a solenoid, motor, or even an electromagnet. As a group, they are known as inductive loads. Without going into the physics, switching an inductive load can result in voltage spikes, known as an inductive kickback, which can damage the transistors. The following are the points to consider when connecting to a relay:

  • Consider the current required by the relay. Compared to LEDs, relays can require more power. Check the relay specifications. Sometimes, relay specifies a coil resistance. You can use Ohm's law to figure out the current needed to drive it.

  • Relays come in...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning BeagleBone
Published in: Dec 2014Publisher: ISBN-13: 9781783982905

Author (1)

author image
Hunyue Yau

Hunyue Yau is an electrical engineer who graduated from the California Institute of Technology. He has worked with Linux since the early '90s, starting with the Soft Landing System. He created one of the first embedded Linux devices in 1996 with a custom-made distribution. He has worked on various products such as embedded Linux appliances, embedded BSD-based devices, and embedded Linux mobile devices. As an active member of the BeagleBoard community, he has volunteered at numerous community events, from Maker Faire to Google Summer of Code mentoring. Today, Hunyue synergizes his electrical engineering skills with embedded Linux software skills to provide turnkey embedded Linux consulting services through HY Research LLC (http://www.hy-research.com/), a company founded by him.
Read more about Hunyue Yau