[Husband] wanted a way to read a digital caliper electronically measures. He finished by using dashboard to do it, but not all the necessary equipment is seen above. The compass cost him about $7 on eBay, and they have four pins interface makes this hack quite a bit more easy. After a few test establishes their purpose. voltage, ground, clock and data. A bit of scope is proven to be data that were sent in 24-bit burst in the packages that are fairly easy to decode.
Hence, it is just a matter of interfacing with a microcontroller. The chip it uses is a MSP430G2231 runs at 3. 3V, but the logic of the caliper high is only 1. 5v. By constructing a map with a pair of transistors, the data and clock of the compass successful firing pins on the MSP430 low. This is gathered and analyzed by firmware [Mari] and can be read on a PC using a terminal program.
[Thanks Chris]
No comments:
Post a Comment