First time here? Check out the site's "greatest hits" or read a post from the archives. Feel free to leave a comment or ask a question, and consider subscribing to the latest posts via RSS or e-mail. Thanks for visiting!
« Time to update the Ultimate Tools List | Main | May 2005 - What is Scott up to?  »

The second installment of my Coding4Fun column "Some Assembly Required" is up. It's called "It's Getting Hot In Here." This week I use Phidgets to measure the temperature in my cube, but I also interface with a temperature Web Service to find out the temperature outside. Then with some poorman's GDI and WinForms I chart the results over time. There's also a simple plugin system using Reflection and a shared Interface that allows one to add other temperature providers.

(An interesting extension plugin would be one that pulls the current temperature from the motherboard and CPU on-board sensors and compares it to the ambient temperature inside and outside. There's lots of possibilities.)

The Coding4Fun site is of course, about fun, but it's also about presenting basic programming concepts to hobbyists who may not be totally familiar with concepts like OOP or Interface-oriented programming. I try to sneak in a few little tips and tricks to move folks who may not be programmers for a living in the direction of good (or decent) design.

The code isn't perfect or pristine, but it works, and it works pretty well. The Phidgets are a blast to work with, and I hope to move beyond this simple example and perhaps write a robot or a security system or something. I highly recommend them for prototyping any hardware projects you've been putting off. If you're a high-school computer teacher this kind of equipment could introduce coding to a much wider groups of students that would typically be interested.



Saturday, May 14, 2005 12:09:49 PM (Pacific Standard Time, UTC-08:00)
Hi scott
Great Article

Dror
Dror Engel
Tuesday, May 17, 2005 10:18:36 AM (Pacific Standard Time, UTC-08:00)
Hey Scott, cool article. I was debating on what to get my dad for father's day and since he is a weather junkie i'm going to make him one of these. Hopefully this qualifies as one of those "it's the thought that counts presents"!
Comments are closed.

Contact

Sponsors

Hosting By

On this page...

Tags

Calendar

<November 2008>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

Archives

Google Ads