I Want to build a system that can
- Run motor
- Play music
- Take commands over wifi
This is kind of musical mill which rotates (with forward, backward, speed change capability) and play different music tracks based on the commands received from wifi interface.
The challenge is the whole system needs to be Tiny (To give an idea it will be N scale).
By my research, I found the following are the smallest which I can work with..
- AtMega328P chip
- L293D chip for running motor
- ESP 01 module Wifi for communication
- MicroSD card interface for storing music files
- I will get a PCB that connects all these together.
My question is what is the most possible way of reducing the size further and get perfectly working setup?
Also anyone thinks the above idea will not workout because the 328P is not capable of doing all these tasks simultaneously.
Any working prototype will be appreciated..
Thanks in advance.