EOF - The Hardware Hacking Behind the Software Radio
September 28th, 2005 by Dan Rasmussen, Paul Norton and Jon Morgan in
A rotary encoder is a digital input device used to measure angular rotation and direction. It does this by sending two out-of-phase pulse trains. Direction is determined by which pulse arrives first. The pulses then can be counted to determine magnitude of rotation. There are many manufacturers and grades of rotary encoders. We used a unit by Bourns, part number PEC11-4225F-S0024. See the Radii home page for details on how to interface this encoder with a PIC.
When shopping for an LCD, first make sure it is HD44780-compatible. This is the most widely supported interface; anything else could slow down your efforts. The backlight type for the display is also important. Electro Luminescence—think Timex Indiglo—looks great but has unusual power requirements. The fastest and easiest way to go for backlighting is to use an LED backlit display. An LED backlight generally requires standard 5 VDC power. When shopping for an LCD with backlight, be sure to verify the type of backlight before bidding/buying.
The PIC interface levels are TTL-level outputs (that's transistor-transistor logic). With TTL, about 5V is on and about 0V is off. Interfacing this to RS-232/serial port (12V on/0V off) requires the use of a TI MAX232 dual-driver/receiver chip and a handful of resistors/capacitors. The chip does most of the work for you, but some assembly is required for the interface board and the serial cable used.
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-19-09
- Nov-04-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.



Delicious
Digg
StumbleUpon
Reddit
Facebook








Post new comment