Ii'm not experiece guy in eletronic .... sorry about that
I'm looking for a microcontroller cheaper for my final project..
I made tests using Attiny85, nice controller but quite expansive.
My program datas:
Sketch uses 2412 bytes (29%) of program storage space. Maximum is 8192 bytes. Global variables use 19 bytes (3%) of dynamic memory, leaving 493 bytes for local variables. Maximum is 512 bytes.
Ports that i'm using at Attiny 85
*Runing at 8Mhz
*2x Analog port A3 and A4
*1x digital input
*2x digital output
powered by 3,7V - 18650 Battery
Aditional data using #include "tinysnore.h" for put uC to sleep mode save battery
Maybe a NE556 dual timer IC with some external components for the timing will do . Or a handful of discrete components (transistors, capacitors and resistors).