This may be a disability or laziness. (not meant offending)i've mentioned before
No, surely you don´t need to calculate _every_ step but you should "be able" to do so.....even if im an expert I don't need to recalculate every step i work on
That´s the point. Someone needs to do this. But in my opinion this is the job of the designer.or someone else
Hi
im done with the regulator section of my project & it works great till now
i want to know how to calculate the voltage drop of a resistor or how to calculate what resistor i have to use before the regulator or zener diode?
now lets go back to the ADC reading
i was reading about the external reference voltage & i have some questions i need your help with
if i have stable 4.9v for my circuit & i have 4.7 zener diode i want to use it as a reference how to decide what resistor i have to use before the diode ?
if i use 4.7v ass reference does it make a problem if my voltage on the ADC pin goes high to 5v?
the atmega328 have 6 ADC inputs i use 2 as SCL & SDA for the I2C devices 1 for measuring voltage & 1 for measuring LDR
so 2 free pins left & i have connected a 10k pull down resistors but later i read there is internal 32k on the adc pins
so what is the best to do ?
any help will be appreciated
I don´t know. To answer it I had to read the datasheet. Better you read it.if i use 4.7v ass reference does it make a problem if my voltage on the ADC pin goes high to 5v?
I don´t know what you want to do / what you are asking for.so 2 free pins left & i have connected a 10k pull down resistors but later i read there is internal 32k on the adc pins
so what is the best to do ?
if i use 4.7v ass reference does it make a problem if my voltage on the ADC pin goes high to 5v?
thanks DanaI Think this is a better design procedure to do the worst case design for the
Zener regulator.
Solved Problems On Zener Diode - Electronics Post
Solved Problems On Zener Diodeelectronicspost.com
Regards, Dana.
Hi guysNow read the zener datasheet for the zener current.
To this value you have to add the current drawn from this "reference" (I gess it´s neglegible)
& after 2 days of reading & calculating & trying there is something wrong then i used my magnifier & on the zener c4v7 is writtenThats too low a input value to make a workable design, eg. the 4.9V.
Because of tolerances, etc.. A 5% zener would worst could be either
at 4.7 +/- 5% = 4.94, which means it would not be in regulation,
You have the V into regulator, use that as source.
This will help. https://www.redcrab-software.com/en/Calculator/Electronics/Zenerdiode-Resistor-Fix
This is rather straigt forward .. with one small hurdle to pass.i've tried to read the ATMEGA328P datasheet with searching everything about Aref but i couldnt find what current the Aref pin consumption is
I´m an electronics designer for decades now. Every single day "it´s my first time" doing things. It´s part of the daily job of an electronics designer. My personal opinion: If it becomes too hard for me to "do things the first time" in my job ... I had to stop calling me a "designer". Mabe even quit my job.its my first time read about
I can´t believe this.Actually its my first time need to take care about the current in my projects
I´m not surprised with this.i guess i know the reason of alot of problems i had before
actually im using microcontrollers in everything i work on but when using it for control relays or leds using 5A PSU to drive about 500mA its ok i guess (but sure not reliable all times for measuring asap precisely or workin 24h withous stop)* Never used a LED on a microcontroller? --> it needs to read the LED datasheet for voltage and current. It needs to calculate the current limiting resistor. It needs to read the microcontroller datasheet for outptu current characteristics (loaded output voltage, maximum current). It needs to calculate the current limiting resistor.
(you never experienced that a red LED needs less voltage than a blue one .. and maybe a blue, white, violet one is not even able to properly be driven from a 3.3V supply)
* How did you plan a supply circuit for a microcontroller or other circuitry? Trial and error?
* Never used a transistor?
so for my calculations of the Aref voltage & current do i have to take care of Aref pin consumption ?
as i read in the datasheet there is no problem if i used 4.3v reference & get 5v on the ADC pin
But how to know what current this ADC pin consumes ?
hi@OP
The Atmega Vref pin is a nominal of 32K per datasheet, no min or max. So one has
to use some detective and interpretive work to design for worst case.
We do not know the source of what creates this impedance, but in datasheet its labeled as
a resistance, so if we look at pullup pulldown resistance range we see they vary
View attachment 183133
Fortunately we have the above data over T and V variation, some datasheets only give this
at nominal T and V, making the task even more difficult. Also be aware some datasheets
can label things as impedance and actually mean resistance. Only way to move thru that
mine field is contact a FAE (Field Application Engineer) at vendor and they (hopefully)
will not do an ass pull and just comment but contact design or production or test
engineering to clarify.
So a "safe" bet would ~ +/- 50%. Translate min R then is 16K, which is max current it will need
coming thru zener R. Rest of current thru zener R is for zener to keep it in regulation.
So take max Vref current (Vzmax / Rrefmin) and add Iz test current from datasheet at
Vzmin and I would double that, eg. operate Zener at 2X needed current just calculated.
Should be safe. This is what I consider the "art" part of design, some common sense
wrapped up in experience with a dab of detective work.
As an aside if we ignored ancillary load current, and operated Vz at knee, load current
could then cause the drop across Rz to pull Vz out of regulation, and then operating
point has V at zener to "walk" upward and to right, no longer enough V to operate
the zener. Another consideration is in some design we have to be cognizant of Pdiss
in zener and the dropping R. Here we are only in mA range, low voltages, so only
concern is saving power. But in higher power designs we may actually need power
Rs and heat sink in zener design. Handbook covers all this.
Regards, Dana.
hiWhere do you get the "needs 250 mA" figure from ?
The Test current, hence regulator Vz, is only 5 mA. Thats the min current you should
design the R for (and include the max current of load).
So use the calculator provided earlier : https://www.redcrab-software.com/en/Calculator/Electronics/Zenerdiode-Resistor-Fix
View attachment 183174
You use worst case values for all entries, for example Input V min it will be, Vz its max.......to
make sure the R never drops too much V and takes the Zener out of reg.
Regards, Dana.
hiWhere do you get the "needs 250 mA" figure from ?
The Test current, hence regulator Vz, is only 5 mA. Thats the min current you should
design the R for (and include the max current of load).
So use the calculator provided earlier : https://www.redcrab-software.com/en/Calculator/Electronics/Zenerdiode-Resistor-Fix
View attachment 183174
You use worst case values for all entries, for example Input V min it will be, Vz its max.......to
make sure the R never drops too much V and takes the Zener out of reg.
Regards, Dana.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?