Q2 is shown as a transistor, where as my understanding a BS170 is a MOSFET, just a bit puzzled ..
Bernard, did you think about adding a ground-plane to the top of the PCB, or is noise not an issue ..
Another point of confusion. In the software it looks like you are doing a calibrate_offset() every 2ms, yet in the project specs you state that the calibration is only done at startup, what am I missing?
In the software code listing, I am not seeing any code for the error tones (i.e missing coil etc )
There are also monotonous sounds, that just fill in a beepdivider value and generate a continuous tone : beepdivider = alternate_beepdivider;
That is the case for the error sound - or low battery sound: a low frequency tone ( in the case of coil error, a continuous tone - in the case of low battery: a low frequency tone : alternate_beepdivider_time.

Leave a comment: