I have a lot of AVR Atmega128P boards, and I would like to use it as timers WITHOUT PROGRAMMING, as example, just like 555 timers. Is it possible? If yes, how can I do that?
-
2\$\begingroup\$ You could program them ONCE to (e.g.) read voltages on analog pins and generate timing outputs - clocks, delays etc. Then you could "program" them in circuit by wiring up different resistances. \$\endgroup\$user16324– user163242015年11月20日 16:55:27 +00:00Commented Nov 20, 2015 at 16:55
-
1\$\begingroup\$ Most people start to use MCUs because they've migrated from 555s. \$\endgroup\$Andy aka– Andy aka2015年11月20日 21:55:47 +00:00Commented Nov 20, 2015 at 21:55
1 Answer 1
No, without any (meaningful) program the MCUs don't do anything useful.
As Brian pointed out, you can definitely write a program that samples analog quantities (voltage on certain pins) and perform some tasks or generate digital outputs according to the read values. It might mimic 555 or do anything even more complex.
However, I'd say that mega128 are pretty much overkill for such task.