Menu

Brown out detector

Help
2019-07-20
2019-07-21
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-07-20

    Bonjour.
    Is there any operation (interrupt ? ) associated with the brown out detector on the AVR's, so it would be possible to start some operations while the processor is still running (if possible), before voltage disappears completely ?
    Thanks for any answer ...

     
  • Anobium

    Anobium - 2019-07-20

    Direct programming or via the Serial bootloader? That would be the first thing to check. If using serial bootloader what are the switches set to ? Then, look at the datasheet.

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-07-20

    Programming with the STK200, Mega8515. I found the fuses, but I am looking for support in GCB : I didn't find a corresponding interrupt in help ... "Voltage Fail" seems to be only for Microchip, and Voltage Regulator for ATmega16HVA only. So ... ?

     

    Last edit: Bertrand BAROTH 2019-07-21
  • stan cartwright

    stan cartwright - 2019-07-20

    on a uno, if you run it at 3.3v the clock runs slower. So if drop from 5V wanted then maybe?? check clock.

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-07-20

    Thanks Stan, but I use a "self-made-board", with a 6 MHz external crystal oscillator ...

     

    Last edit: Bertrand BAROTH 2019-07-20
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-07-21

    The problem, and the solution :
    1) I noticed with 90S8515 that during power down the turnouts on my railroad layout got random pulses, which caused erratic movements. And I saw that the 90S8515 has NO BUILT IN BOD at all.
    2) So I moved to Mega8515 (resp 162, I have a stock of both of them), enabled BOD at 4v resp 4.3 v ... and the "clicks" disappeared !
    Problem solved !

     
  • Bertrand BAROTH

    Bertrand BAROTH - 2019-07-21

    No interrupts needed ...

     

    Last edit: Bertrand BAROTH 2019-07-21

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.