Skip to content

Useless box - box closes itself after opening by switch

Notifications You must be signed in to change notification settings

Frank-Bemelman/uselessbox

Repository files navigation

uselessbox

Useless box - box closes itself after opening by switch

Project is about a so-called useless box. The box has a switch in front. If you flip the switch up, the lid of the box opens and an arm comes out that puts the switch to off position. And then the arm goes back and the box closes again.

The following hardware is used:

  1. ESP8266 controller (D1 mini or similar alt text

  1. Two small RC servos, one for the lid and one for the arm alt text alt text

  1. A toggle switch alt text

  1. A small piece of ledstrip with 6 pixel leds (2812) alt text

  1. A small audio amplifier alt text

  1. A small loudspeaker alt text

Load files into the Arduino IDE and save as a new sketch.

Arduino IDE settings: Under File -> preferences: (NL: Bestand -> Voorkeuren) Board Manager URL's: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Under Tools -> Board -> Board Manager -> ESP8266 by community 3.1.2 install (NL: Hulpmiddelen -> Board -> Boord Beheer -> ESP8266 by community 3.1.2 install

Board NODEMCU 1.0 ESP-12E Module
Flashsize: 4MB (FS:2MB OTA~: 1019KB)

Libraries needed:
ESP8266Audio by Earle. F. Philhower Version 1.9.7
Servo by Arduino 1.2.0
FastLED by Daniel Garcia Version 3.6.0

About

Useless box - box closes itself after opening by switch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published