Well, I'm using arduino-0012 on Linux with a call to:
- Code: Select all
in the setup() function.
Are there any known bugs in the library?
I could draw a schematic in Eagle and attach the .sch or Postscript output, but the netlist is extremely simple:
820 Ohm resistor from Vcc to Zener cathode.
.1uF cap from Zener cathode to ground.
4K7 resistor from Zener cathode to Arduino AREF.
Zener anode to ground.
I expected this to force about 1mA through the Zener when it's eventually plugged into a 3.3V Arduino Pro (about 3mA while it's on 5V), providing a nice stable 2.50V at the Zener cathode. Which it's doing. The problem seems to be that the AVR sucks more juice into Aref than I expected, so the voltage at the pin is lower than palnned.