Getting Robogaia Raspberry Pi Temperature Controller to work

I recently got a Robogaia Raspberry Pi Temperature Controller and tried to fire it up.  Their website has the configuration steps as well as sample code.

However, after running through the install steps and attempting to run the samples, I received the following error:

Traceback (most recent call last):
File "test.py", line 9, in
bus = smbus.SMBus(0)
IOError: [Errno 2] No such file or directory

Thankfully, the answer was found on the raspberry pi forums, though about a different device. you simply need to enable i2c via raspi-config -> Advanced

After a reboot, it works great!

Thanks to the Robogaia guys for saving me some work with their handy plate!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s