With the JeeLabs Energy Monitor prototype hooked up in the meter cabinet, it’s now very easy to explore things a bit. One interesting test is to look at the analog signal from the AC power supply + divider, which is connected to pin PA0.
Here is some code which samples that signal and prints it out until a key is pressed:
: a1 +adc begin pa0 adc . key? until ; a1 4029 4031 4030 4030 [.
↧