Touchless hand sanitiser dispenser
Hold your hand under it and a metal-gear servo presses the pump for you.
Shop by category
Shop all componentsThe STSPIN240 is ST's low-voltage dual brushed DC motor driver, up to 10 V and 1.3 A per motor, with current limiting built in. ST's expansion board (X-NUCLEO-IHM12A1) carries it on Arduino-style headers, so it stacks on a Nucleo-64. ST provides the X-CUBE-SPN12 software package with examples for STM32CubeIDE. This project builds the board's example, then changes it to drive a small chassis forward, turn and stop.
Charge 18650 cells with a proper charger and never short them.
Tick anything you already have and the total updates.
ST STSPIN240 dual DC motor driver expansion board
Follow the colours: red is power, dark grey is ground, blue is a signal.
Two 18650 cells (7.4 V) into the expansion board's motor supply; the Nucleo from USB while testing.
Import the example made for your Nucleo, or port its board files to the F410RB.
Current limit is set too low or the cells are flat.
Swap that motor's two wires.
No, the STSPIN240 is for up to 10 V; use a higher-voltage driver for 12 V.
The headers match, but ST's examples are for STM32Cube.
It stops a stalled motor from drawing too much and overheating.
5 parts: STMicroelectronics STSPIN240 Dual DC Motor Driver Expansion Board, STM32F410RB Nucleo-64 Development Board with ST-LINK/V2-1, 2WD Smart Robot Car Chassis Kit, 18650 Battery Holder and 2 × 18650 Li-ion Rechargeable Cell. Tools: Solder Wire 60/40 Rosin Core. On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 3 hours. The build on this page has 6 steps.
About ₹3,648 for the parts at the prices on this page, plus tools if you do not have them. Quantity price breaks lower the cost when you build several.
Using an ST expansion board and its software pack; Current limiting in a motor driver; Building and flashing with STM32CubeIDE.
Charge 18650 cells with a proper charger and never short them.
Hold your hand under it and a metal-gear servo presses the pump for you.
Wave your hand and the lid lifts by itself, then closes after three seconds.
Your first motion project: turn the knob and the servo follows.
Dial in an exact servo angle, 2° per click, shown on screen.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.