John Bostwick
TVWBB Wizard
I noticed my light is not blinking any more. And when I log into the heatermeter it logs with the correct time.
Originally posted by Bryan Mayland:
The connection to your LCD for the backlight: the transistor collector connects to the LCD backlight ground and 5V is wired up separately to the 5V backlight input. So +5V goes to pin 15, then a wire from pin 16 to the transistor collector. Your emitter and base sound right. This is a "low side driver" so we're basically strobing the ground on and off and leaving 5V connected to the LCD at all times.
Yeah that is pretty odd. When it boots, the Arduino should start immediately at power on (in less than 1s). Once the router boots and the linkmeter daemon is started it does send some commands to the Arduino to get the current configuration (probe names, rf maps, pid parameters, etc). Now here's the interesting part: when the router is sending data to the AVR, it is toggling pin 2. Didn't you say that if you touch pin 2 the LCD starts working? Sounds like the same thing.Originally posted by John Bostwick:
I do have a question about boot time. mine Boots up in about 2 minutes it seems and when the router connects starts getting info from the Arduino, the lcd then turns on. Is that how it usually turns on I don't understand why the ATMega does not Turn on sooner then the router. Does the Router send a command to the controller to turn on?
Originally posted by RJ Riememsnider:
Oh, and the web interface looks to work well on Android devices. So far anyway.....
Yeah it is slow as the dickens! I've flashed this way before and it is painful. jcw over at Jeelabs has an isp_repair sketch that supposedly can flash the bootloader and the blink sketch in a few seconds using a similar process.Originally posted by Ed Pinnell:
Your last question first: I program them myself, using the STK500 that I bought some years ago. If you have two Arduinos, you can program the bootloader that way, or if you want to solder a pin header on the Arduino Dieciwhatever or Deumajiggy you can bit-bang it as shown here and here. I've done this and it works well but I haven't tried to get it working with the new Optiboot bootloader, and it's a slow process that takes several minutes.
When operating in 4 bit mode, data is transferred in two 4 bit operations using data bits DB4 - DB7. DB0 - DB3 are not
used and should be tied low. When using 4 bit mode, data is transferred twice before the instruction cycle is
complete. First the high order nibble is transferred then the low order nibble. The busy flag should only be checked
after both nibbles are transferred.
Originally posted by Bryan Mayland:
Even more odd is that they're using an NPN transistor on a high side driver which is confusing because I thought PNP transistors were used in that setup. Well the grounding of the extra 4 pins seems like the way to go though.