A quick and dirty, accurate (tone pitch, delays) use an Arduino, like a
nano board, and mBlock :
View attachment 144990
mBlock takes your block configuration, and converts this to Arduino code. The above
example should work. Use a Nano board (~$3) to develop, and then use the Nano board
to program a ATTINY85 (8 pin dip) if you want a smaller solution size wise. 1 chip does the
solution.
To code you drag and drop blocks out of its library (2'ond window) into 3'rd window and config
the blocks.
I believe the above example should work. You can easily make more or less notes, even
do a musical jingle.....
Here is an example for a sophisticated sequence timer/pulse generator (just an example of
how capable and simple block programming can be) :
Often users, developers, hobbyists need timed and qualified event generators, many resorting to 555 timers and the like. The venerable 555 has had a long run but its limited in accuracy and capability. This approach uses block language to create...
www.electro-tech-online.com
Nano board :
View attachment 144991
Attiny85 :
View attachment 144993
External you still need the buzzer/piezo.
The ATTINY85 runs from 2V to 5V, pretty low power.
The board is easiest to use as its USB to PC to program by mBlock.
To program the ATTINY85 you need a programmer, and there is
a program firmware in Arduino you can put in Nano board and use
it as programmer.
Regards, Dana.