Showing posts with label shower. Show all posts
Showing posts with label shower. Show all posts

Tuesday, June 16, 2009

LCD difficulties

After putting together a schematic in EAGLE for the shower control circuit, I tinkered a bit trying to get a scrounged Powertip PC1602-G character LCD working. Serial LCDs from SparkFun are easy to use but expensive, in addition to hogging the serial port and being available only in 16x2 and 20x4; I'd like to be able to use cheapo 8x2 or other displays.

I soldered on a pin header and got to breadboarding it with an iDuino, but quickly discovered that the tutorials are pretty haphazard, and I wasn't able to get any output using the LiquidCrystal library in spite of quadruple-checking my schematic and breadboard connections.

I tried Limor's tutorial but got no result, and I think editing the library to set the pins is an odd (wrong?) way for a library to work. I even used the exact same pins-- no dice. I wonder if the scrounged LCDs I'm using have custom commands that makes them incompatible with the library-- I need to try a different LCD, and maybe use Massimo's raw example.

Update: In a comment, Al asked if the LCDs I was trying weren't HD44780-compatible at all and... oops, thats the problem! I got it working fine with an LCD scrounged from an old Brady Labelmaker, which contains an actual Toshiba HD44780.

Monday, March 16, 2009

Ping... ing... ing...

Using a bunch of Arduinos for projects, it makes sense to post about it to help keep track of what I'm doing.

Current in-progress projects:
  • PPAC: Princess and the Pea Alarm clock: "pea" inflates to eject whiny princess (or, um, me) from bed,
  • Intervalometer-in-a-jar or "intervalomejar": time lapse camera controller with beam break, light level, and audio triggers,
  • Mutetater: TV mute control with a potato (seriously),
  • EL-wire suit: audio level meter of EL-wire,
  • Cheapo general-purpose PID-based temperature controller,
  • Growduino w/logging, solar power,
  • Smart shower controller,
  • [more...]