Hello forum experts,
Is it possible that to set working voltage 5 Volt for Atmega 168PA MCU like a brown-out detection?
What does it say in the datasheet about brown-out detection?
and tell what you mean by "set working voltage".
If your nominal Vcc level is about 5 volts then you would use the trip level below that, about 4.4V.
You can put lipstick on a pig, but it is still a pig.
I've never met a pig I didn't like, as long as you have some salt and pepper.
If nominal Vcc level drops 4.9Volt, mcu should be off. Is it possible to do it?
Not using the in-built BOD.
I guess you could do something like use the ADC to read the Vcc voltage and put the micro to sleep if it falls to your 4.9V level.
#1 This forum helps those that help themselves
#2 All grounds are not created equal
#3 How have you proved that your chip is running at xxMHz?
#4 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand." - Heater's ex-boss
I would help us if you explained why you need this, then we could provide better answers to your questions.
Also when you say "off" do you mean off as in powered down, or just placed into a low power mode, or held in reset?
Click Link: Get Free Stock: Retire early! PM for strategy
get $5 free gold/silver https://www.onegold.com/join/713...
Yes exactly, I am looking for simple way without using ADC to read the Vcc voltage like brown out detection.
Problem is that brownout is NOT very precise and you do not have many choices.
For example, on the M168, the highest BODLEVEL is 4.3V and that can vary from 4.1V to 4.5V. The BrownOut Detector also takes extra power.
Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net
without using ADC to read the Vcc voltage
Must be a language issue, as the ADC is the simple way to "read" the VCC voltage???
Again it would help to know "why" you need to "read" the VCC voltage!
What is the context of the project?
Gas sensor works for 5 voltage. If voltage is less than 5 voltage, anolog is going up without sensing gas. So, I must avoid this issue.
Gas sensor works for 5 voltage
What gas sensor, part number please or link to datasheet
why do I feel like a dentist pulling teeth?
Thanks for the link, I have worked with similar sensors.
It's the heater circuit that is critical that it maintain a constant voltage.
Two ways to monitor that would be to use the ADC against the internal band gap reference or
use the internal analog comparator to signal when voltage drops.
Set up your software to monitor which method you prefer to use.
Why is the heater voltage changing? Is this a battery powered project?
Yes, I used lithium ion battery.
It sure would be nice to know the destination of this trip, starting with the requirements and schematic. I find it a bit hard to beleive that a sensor is that sensitive to a 0.1V drop. [and then you need to filter out spikes and similar] You haven't answered the questions on what to do. Are you using a regulator with your battery power? Sounds like a waste to me. Can't you make readings ratiometric to the supply V? And what is this problem with using the AVR's ADC to monitor supply voltage?
© 2019 Microchip Technology Inc.