running a circuit with push button

Thread Starter

ali sedaghati

Joined Jul 23, 2017
7
hi everyone,
i wanna run a circuit with a single push button ,
i wanna know that using a micro controller is the only answer??
and if it is, is there a simpler micro than atmega 8 that i can use
because it's really a general purpose device??
 

LesJones

Joined Jan 8, 2017
4,190
You need need to explain EXACTLY what you want the push button to do. Is it just turn it off and on or do you want to enter different commands with a series of pulses like morse code ? There are a number of Atmel 8 pin micros such as the ATtiny13A or the PIC12Fxxx series that are simpler than the atmega series.

Les,
 

DickCappels

Joined Aug 21, 2008
10,187
1. Q: i wanna know that using a micro controller is the only answer??
A: No, it is only one way to control things with a button.

2. Q: is there a simpler micro than atmega 8 that i can use because it's really a general purpose device??
A: There are many simpler controllers. PIC10F222T-I/OT and ATTINY4-TS8R <== Datasheets are on these pages.
 

Thread Starter

ali sedaghati

Joined Jul 23, 2017
7
You need need to explain EXACTLY what you want the push button to do. Is it just turn it off and on or do you want to enter different commands with a series of pulses like morse code ? There are a number of Atmel 8 pin micros such as the ATtiny13A or the PIC12Fxxx series that are simpler than the atmega series.

Les,
THANK YOU so much , well i need pwm too because i wanna control a dc motor .
can you advise me which one should i go for( atmega vs pic)
 
Top