Single button start-shutdown in MCP1640 circuit with modes

Thread Starter

Cascade

Joined Jan 12, 2020
2
I am trying to modify this circuit incorporating a n.o. pushbutton to power it on and off, and to have different modes depending on how long the pushputton is pressed. I would like to use an Attiny13 to control the logic for the modes and control the on-off but I am new to circuit design and wondering if anyone could help.

1578888280303.png
 

danadak

Joined Mar 10, 2018
3,793
Use mBlock, take a look at this thread -

https://forum.allaboutcircuits.com/threads/push-button-long-press-on-off-dual-function.130963/#post-1427020


Here is an example of a pulse sequence generator done in mBlock -

https://forum.allaboutcircuits.com/threads/pulse-sequence-generation.161138


Here a V to PWM circduit using mBlock -

https://forum.allaboutcircuits.com/threads/push-button-digital-potentiometer-understanding.163196/#post-1432987



Other block languages, Visuino, Snap4Arduino, Scratch for Arduino, Adublock, each with own unique capabilities,
but also common characteristics. You learn one, the rest easy to use as well. Many videos on web to learn.

All of these generate Arduino code, C like code, that you can view, learn from should you want to
learn C. The IDE in each of these takes your block configuration and generates the Arduino code
for you, then programs part.

Programming ATTINY85 easiest done by using Arduino Uno or Nano board as a programmer.




Regards, Dana.
 
Last edited:
Top