<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tail -f ZS64.log &#187; iic</title>
	<atom:link href="http://blog.zs64.net/tag/iic/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zs64.net</link>
	<description>Random Ramblings</description>
	<lastBuildDate>Sat, 18 Jun 2011 17:16:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>TEMPer USB Thermometer</title>
		<link>http://blog.zs64.net/2010/01/temper-usb-thermometer/</link>
		<comments>http://blog.zs64.net/2010/01/temper-usb-thermometer/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 20:45:35 +0000</pubDate>
		<dc:creator>stb</dc:creator>
				<category><![CDATA[freebsd]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iic]]></category>
		<category><![CDATA[lm75]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://blog.zs64.net/?p=220</guid>
		<description><![CDATA[Measuring temperature in a PC should be easy: after all, most mainboards have extensive monitoring capabilities for temperature and voltage levels built-in. Unfortunately, very few of these facilities are documented properly, and software support is lacking. Instead of trying to navigate the maze that is lm-sensors (which isn&#8217;t even available for FreeBSD), I decided to [...]]]></description>
			<content:encoded><![CDATA[<p>Measuring temperature in a PC should be easy: after all, most mainboards have extensive monitoring capabilities for temperature and voltage levels built-in. Unfortunately, very few of these facilities are documented properly, and software support is lacking. Instead of trying to navigate the maze that is <a href="http://www.lm-sensors.org/">lm-sensors</a> (which isn&#8217;t even available for FreeBSD), I decided to look for some USB-based solution.</p>
<p>There&#8217;s a reasonably cheap chinese USB thermometer called TEMPer. I got mine from Brando for 12 Euros. It&#8217;s a USB-to-serial chip from WinChipHead. It&#8217;s DTR, RTS, and CTS lines are used to connect a <a href="http://www.national.com/ds/LM/LM75.pdf">LM75</a> I²C temperature sensor. To talk to the LM75, you need some <a href="http://en.wikipedia.org/wiki/Bit-banging">bit-banging</a> driver.</p>
<p>I&#8217;ve put together a <a href="http://wiki.zs64.net/TEMPer_USB_Thermometer">command line utility for the TEMPer</a> that can program the built-in thermostat (TEMPer has a LED connected to that output) and print out temperature measurement data. It does it&#8217;s job, and might serve as an example on how to do I²C over a simple interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zs64.net/2010/01/temper-usb-thermometer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

