Tag Archives: Python

Beaglebone Coding 101: Buttons and PWM

Updated Mar 20: Corrected the settings in the “Controlling PWM Using the File System” section. Updated Mar 21: Corrected the max PWM frequency – definitely not 250 Hz! Updated Mar 25: Correct PWM settings example: set duty_cycle to 0 before … Continue reading

Posted in Electronics, Programming | Tagged , , | 40 Comments

Beaglebone Coding 101: Using the Serial and Analog Pins

[Updated Jan 25: Correction! There is a 1.8V voltage source on the Beaglebone: Port 9 Pin 32.  Thanks to Koen Kooi for the info.  I've updated the text with this information] [Update May 5: In kernel version 3.2.14, the file … Continue reading

Posted in Electronics, Gadgets, Programming | Tagged , , , , | 57 Comments

Beaglebone Coding 101: Blinking an LED

[Updated Jan 22 - various improvements to the Python sample code at the end of the article] In November, Texas Instruments, Digi-Key and the other members of Beagleboard.org, the Beaglebone.  This is a simpler, more hobbyist-friendly little brother to the … Continue reading

Posted in Electronics, Gadgets, Programming | Tagged , , , , | 38 Comments

FEZ XBee Sensor: Hat Trick

As mentioned at the end of my Watching the Watcher article, the Netduino Plant Light project is going to take a sharp turn at this point, losing both the Netduino and the Plant Light.  I’m going to spin off some … Continue reading

Posted in .Net, Electronics, Programming | Tagged , , , , , , | Leave a comment

Netduino: Watching the Watcher

Note: This article is an installment in a series about building a plant light controller (and beyond) on the Netduino microcontroller platform.  For previous articles in the series, click here.  It’s been a few months now since the Netduino in this … Continue reading

Posted in .Net, Electronics | Tagged , , , , | 1 Comment

Netduino Meets World

[Updated August 6: Added a couple of tips to the section on using minicom to configure the XBee.] [Updated August 7: Added "Windows Weirdness" section with workarounds for problems with pySerial on Windows] Note: This article is an installment in … Continue reading

Posted in .Net, Electronics, Programming | Tagged , , , , , | Leave a comment

Tweet-A-Watt: Beyond the Twitter, Part Deux

This article continues my earlier post about web-based services for monitoring your electricity usage using Tweet-A-Watt. Last time I focused on Pachube – today I’ll explain the process of connecting a Tweet-A-Watt to Nimbits. Nimbits Overview Nimbits has a lot … Continue reading

Posted in Electronics, Programming | Tagged , , , | 1 Comment

Tweet-A-Watt: Beyond the Twitter

As I’ve written before, I really like the idea behind Adafruit’s Tweet-A-Watt project, which uses a modified Kill-A-Watt box and an Xbee transmitter to create an inexpensive home energy monitor. I’ve been running one 24/7 for over a year, and … Continue reading

Posted in Electronics, Programming | Tagged , , , | 3 Comments

Surviving the Twitter OAuthcalypse with Tweet-A-Watt

When Twitter recently made the OAuth API mandatory for 3rd party applications, the resulting OAuthcalypse silenced the tweets of a lot of code. Among those affected was Adafruit‘s innovative Tweet-A-Watt system, which interfaces with a low cost Kill-A-Watt monitor to … Continue reading

Posted in Electronics, Programming | Tagged , , | Leave a comment