Ask Slashdot: Hobbyist-Ready LCD Touch Panel For Embedded Projects? 142
michael_cain writes "I've been asked (by family, friends) to consider several small embedded controller projects. A good starting point for all of them would be a backlit LCD graphics module with touch screen pre-mounted in a plastic enclosure with enough room behind the display for a custom circuit board. 320-by-240 pixels, 3.5 to 4.5 inch diagonal measure, monochrome is sufficient (but color is always cool), easily driven by an AVR or PIC type microcontroller. And priced at a reasonable point for a hobbyist! Anyone seen anything like this?"
Not recommended. (Score:5, Insightful)
There's a few issues with smartphone screens. Given enough effort you can make pretty much anything work, but here's what you'll be up against:
- Knowing what all the pinouts/connectors/voltages/signal levels are.
- Data format: Most of these screens require a proper graphics controller to drive them, capable of clocking RGB data out of a framebuffer into the panel at a pixel clock of several MHz. You might be able to do this with a PIC32, but your code will be blasting data at the panel 99% of the time. You're in the territory of ARM7/ARM9 processors with SDRAM hanging off them when you're making a bare RGB LCD panel work.
- Power: You'll likely have to generate a backlight voltage, and possibly even bias voltages for the LCD panel itself. The LCD may also run at a different voltage node (3.3V or less) while your AVR might end up being 5.0V.
- Touchscreen: Resistive touchscreen isn't too hard to manage. If it's a capacitive touchscreen you might be able to wire it up to an AVR and use their QTouch libraries to make it work. But I'll warn, prototyping a capacitive touch system can be an exercise in frustration - it's not bad when everything sits in one place on a PCB, but you can't breathe on an airwired capacitive touch system without screwing it up.
Honestly, you're best off finding a "smart LCD" with a built-in controller, with a simple SPI/UART/8-bit-parallel/etc interface. Adafruit has an Arduino compatible one up on their site which might be a good starting point, I'm sure there'll be plenty of other suggestions posted here.
Or hell, you're better off keeping the smartphone whole and finding a way to reprogram it to do what you want.
Re:Old smart phone (Score:5, Insightful)
...what else do you want on a hobby board?
The pleasure of doing something yourself?
Hobbyists are more or less the same no matter their particular hobby.
In the remote control world, I've come across guys who could pay for whatever they wanted,
instead they spend their nights and weekends engineering designs and hand fabricating parts.
Haven't you ever heard the expression that the journey is as important as the destination?