Your shopping cart is empty!
DIY Auto Tissue Paper Dispenser with micro:bit
- Abdulrahman Alhamed
- 18 Nov 2022
- 2437
An auto tissue dispenser device is designed to optimize consumption and avoid unnecessary waste, also it allows fast access and quick refilling. In this tutorial, we will learn how to make one using micro:bit.
Video Tutorial
Components Required
Connection
By following the diagram above:
- Connect the motor to the first terminal
- Connect the ultrasonic sensor to the first grove port in REKA:BIT (P1 to Trig, P0 to Echo)
Code
Connect your REKA:BIT to your computer and open MakeCode editor to start programming.
- Add (REKA:BIT), and (makerbit-ultrasonic) extensions and follow the code block in the picture above
- After completing the code, download it on microbit
You can also view and edit the code by clicking here!
Project Complete
Upon completing the project successfully, once you place your hand under the ultrasonic sensor, the motor will rotate to dispense the tissue.