So I have got the DS18B20 hooked up to the BeagleBone’s 1-wire interface, it’s time to look at the over all design of this little project. I’m not sure there is a simpler circuit!? Started up KiCad and took a while to track down the libraries for the BeagleBone headers and the DS18B20. [Look here for the BeagleBone and here the DS18B20]
It took a little hacking with a text editor to extract the parts from the two projects and get them into a KiCad library.. Got to love open source design tools, you can use a text editor to work on a library… Very cool! In practice this took way longer than drawing up the circuit. But a learning curve worth going on.
The simple schematic of the heater control.
Really nice of KiCad to allow you to insert a graphic into your schematic.. very handy when moving to the prototype stage, everything can be noted on the drawing. On my schematic I have the BC547 and the DS18B20 pin-outs as a reference.
My Beaglebone heater control breadboarded..
So there it is.. a first draft on the breadboard. Time to move to the software domain and see if we can get the BeagleBone to drive the relay. The wonderful world of the BeagleBone and GPIO pin mux’ing.
I’m just toying around with a little project I want to get off the ground. Quite simple: I have an office at the end of the garden and now the weather is getting a little colder, I’d like to be able to remotely start a little heater I have there over our home network. I would also like the controller to monitor the room temperature and turn the heater on and off as required.
The famous Arduino Uno!
I’ve tried giving this a go using an Arduino and an Arduino ethernet shield, but have had a load of trouble keeping the TCP/IP stack stable.. My code would work for an hour or two and then the system would crash. This is a really tricky problem to debug, once reset the system is stable and works fine, then all of a sudden it all crashes and requires a reset to start back up. I’ve tried tracing the stack to see if it overflows, etc.. but finally given up on the Adruino solution.
BeagleBone… Wooof Woooof
Enter the BeagleBone.. From a cost point of view its on the money, an Arduino and Ethernet shield come in at around €64, the BeagleBone can be got from RS for €75.. I know the Raspberry Pi is the ticket here, but I can’t get a hold of one any time soon..
I’ve got my BeagleBone hooked up to a Dallas DS18B20 1-wire temperature sensor… So easy to do it’s not funny! The version of Ubuntu I’m using has 1-wire bus ready to go on the P8_6 header pin. Think I’m ready finally start this project!
Wanna develop on the Bone…? Derek Molloy’s videos on YouTube are the first place to look! Excellent tutorial on the Bone and development with cross compiler, tool chains, Eclipse and remote debugging on the board.
The 4 video really got me thinking… I need to look into i2c, more to do…