How to make, from a shoe box, a fun box

If you like it, share it

The necessary materials are:

* One shoe box.
* Two RC motors, I used the MG996R.
* One NUCLEO-F401RE.
* One 100 ohm resistance.
* One LED diode.
* One toggle switch.

NOTE:
Surely you’ll have to stretch the switch pin to create less effort on the RC motor (we’re using a cardboard box).
To lengthen the switch pin, use an aluminum rod that you will cut to length and glue it on the switch pin (see the videos).

Schematic:

The Software:

All was developed using mBed and is here.
The binary file, ready to upload on NUCLEO-F401RE is here.

Some Photos