License

Public Domain

Tags
Recommend Projects

FlipFlopMC

3 months ago 58
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

One button power control scheme.

Implemented power management for the Atmega328 microcontroller.

When the button is pressed, the microcontroller will receive power and start up. On startup, drives D4 high to maintain power through the transistor.

The microcontroller monitors the time or button presses (on the D2 Int0 line) for shutdown actions.

The tracking of button presses is carried out by the microcontroller along the D2 input line (which is pulled up to power supply) when it goes into a low state.

In the example sketch, connect the button module: GND and Vcc to an external power source.

Output: GND to Arduino GND, Vcc to Arduino Vin, P (power control) to Arduino D13 (or D4), B (button input) to Arduino D2 (Int0).

The complementary pair of AO4606 transistors can be respectively replaced by IRLML6402TRPBF and IRLML0030TRPBF transistors respectively of polarity. AO4606 is a convenient compact case, the IRLML6402TRPBF and IRLML0030TRPBF transistors have better characteristics.

The diode BAV70WT1G can be replaced by two 1N4148WTs.

Documents

Sheet_1

PCB_FlipFlopMC

FlipFlopArduino 14.3v

BOM

ID Name Designator Footprint Quantity
1 BAV70WT1G D1 SOT-323-3_L2.2-W1.3-P1.30-LS2.1-BR 1
2 1N4148WT-7 D2,D3 SOD-523_L1.2-W0.8-LS1.6-RD 2
3 Header-Male-2.54_1x4 H1,H1 HDR-TH_4P-P2.54-V-M-1 2
4 Power Input 2.54_1x2 P1 HDR-TH_2P-P2.54-V-F 1
5 Power Input 14.3V 2.54_1x2 P1 HDR-TH_2P-P2.54-V-F 1
6 AO4606 Q1 SOP-8_L4.9-W3.9-P1.27-LS6.0-BL 1
7 100k R1,R1,R3,R3 R1206 4
8 330 R2,R2,R5,R5 R1206 4
9 68k R4 R1206 1
10 B3F-1000 SW1,SW1 KEY-TH_4P-L6.2-W6.2-P4.50-LS6.5 2

Attachments

Filename Download
FlipFlopButton.ino
Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.