booyaa dot org
  • Adverts

  • 123-reg sucks!

    123-reg screwed up the renewal of my domain (booyaa.org). To read all about it click here

  • Link Exchange

    Allotment Vegetable Growing Allotment diaries, photographs, advice about growing vegetables, fruits and herbs with a forum for chatting on the plot.
  • Meta

  • « Web links for February 5th | Home | Environmentally friendly electronics »

    Arduino: bathroom (night)light prototype mobile edition

    By booyaa | February 9, 2008

    I finally acquired a battery pack, DC main connector and a few crocodile clips to make the prototype portable. I opted for a 4 AA battery pack, because I heard/read somewhere that the 9V batteries don’t last very long, where as the 6 volts my battery pack spit out will last longer. Not sure where I heard this, but when I find the proof I’ll post it here.

    The DC mains connector was slightly trickier to source, mostly because I didn’t know what size to pick, I guessed that it would either be a 2.5mm or 2.1mm. In the end I confirmed it was 2.5mm through the Arduino documentation site.

    I found this colour photo on LadyAda’s site showing which wire to connects to which pin. Red (Live/+) goes to the center pin and the Black (Neutral/Ground?/-) goes to the outer pin.

    The only thing left to do was to change the PWR_SEL from USB to EXT to go wireless! I beamed with pride as I saw my little prototype splutter into life without the aid of its USB cable. Twas only a brief moment, because I realised the damn thing wouldn’t fit in the “casing” I had provisioned hastily from last night’s take away.

    Luckily I circumvented disaster, by swapping to a smaller bread board I’d bought, obviously some psychic abilities kicking in there. Next up are some photos and then I’ll conclude my findings.

    The p-type in its coffin, um casing!
    Bathroom night light prototype in its box

    Side shot
    Side shot of the prototype

    Under carriage shot
    Under carriage shot

    And finally an action shot!
    Action shot

    Not a bad start, rather pleased that the takeaway box makes a tidy casing. However, the light is weak, VERY weak. So I think we’ll need about five if not more LEDs, preferably yellows or better still whites. So I anticipate more output pins, I managed to run two LEDs in series, but a third refused to light so I can only assume I ran out current.

    So watch out for the next mini project which involves discovering how many LEDs it takes to make a night light!

    Topics: Uncategorized |

    3 Responses to “Arduino: bathroom (night)light prototype mobile edition”

    1. Alison Says:
      February 9th, 2008 at 6:52 pm

      Mark,
      in the interests of the planet and the annoyance of forever swapping batteries, could you perhaps rig up a set of rechargeables with a tiny solar charger. We have one for our garden shed light that cost about a tenner for the whole unit and would quickly pay back on battery costs.
      Charlie says hello Uncle Boo.
      xxx

    2. booyaa Says:
      February 9th, 2008 at 7:13 pm

      Hi Alison,

      I’ve definitely got this on the todo list: http://www.instructables.com/id/Self-Sufficient-Arduino-Board/

      I’m still on the look out for crank or wind up based solutions, as I feel I’d get better results whilst we appear to be solarly challenged :)

      !!HI YA CHARLIE!!

    3. Environmentally friendly electronics Says:
      February 10th, 2008 at 4:31 pm

      […] Comments booyaa on Arduino: bathroom (night)light prototype mobile editionAlison on Arduino: bathroom (night)light prototype mobile editionbooyaa on Arduino: bathroom light prototypeAngela on Arduino: bathroom light prototypelou on […]

    Comments

    Subscribe without commenting