Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20577

BASCOM-AVR : how to save more power ? : REPLY

$
0
0
Hi Everybody, I see that this interrest a lot :-) Ok I will explain little more about the mosfet etc. ... The wireless remote is powered by a Li-ion 3,7V Then this type of battery don't like to go under about 3V. Then all the circuitry is power by the mosfet that is powered by the ATmega 88. To start the circuitry first, I must put a USB to the charger devices. This devise sent voltage to the battery, and to the ATmega. Then the ATmega start, read with the ADC the Battery, and If the voltage is correct then output a 1 to a pin that send voltage to the gate of the mosfet too. Then I can output the USB and the circuitry stay in power. When I'm using the remote, the Atmega is wake up, do what it must, then go to the ADC routine to see the battery, and if the voltage is good go in powerdown mode, if not the output pin on the mosfet go in logic 0 then the power is off on the circuitry. Then this mosfet is alway ON , this is why the circuitry is consuming little power. To evert: This remote is with Azoteq IQS devices that is "Touch" technology, and all the Azoteq devices are in I2C. Then this is so because I can just use this I2C. And it's true that the I2c if I want have good speed communication then the pull up resistor on SCL and SDA are 1,5K. This take a lot of current. At the End of all the program and all tests, I will probe to disable the I2C and UART during the powerdown mode, because the IQS device has a READY line that send a interrupt to the Atmega, then I don't must have the I2C during the powerdown mode. Best regards everybody Vincent

Viewing all articles
Browse latest Browse all 20577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>