This modular box is a 3-tier set. Once on, it provides basic weather station information (temperature, humidity, atmospheric pressure) but becomes a "Mood box", here a jukebox actually, when properly activated.
This project is a group project (FaB team) carried out during a French hybrid training program called "Fabrication numérique" (CNC machining and fabrication) - class of 2018, July.
This final group project involves some of the know-how acquired during the training program and seals the deal. It is complementary with the "Bentolux" project which should be documented and referenced soon on wikifab.org.
Instructions for the project were:
After some thought our group decided to create a musical tier - we called it "Mood box" - to complement the weather station using the base-tier and the LCD-tier.
Expected behavior is described here below.
When properly plugged in, the box can be started by using the switch on the front.
Starting the box triggers the following events:
If no other action is made right away, the box goes in "sleep mode".
In "sleep mode", temperature and humidity are displayed with a custom message on LCD screen.
These custom messages as well as the color set for both the LED-ring and LCD screen depend on current temperature:
Necessary materials are listed here below by category.
Tools used during this project are hereby grouped by use.
Goal was to create a new tier to the original box by using laser cutting of course but also laser engraving.
An engraving pattern was found.
This image file was reproduced using Inkscape and Beziers curves.
This newly designed pattern was then added to the cutting pattern.
The components to be 3D-printed are the following:
For this step, Inkscape, TinkerCAD and Blender were used.
Laser cutting - and engraving - has been carried out within the EdFab in Saint-Denis, France, under the kindly direction of Lola and Arthur: big thanks to both of them!
2 other identical tiers have been made using SqyLab facility in La Verrière, France, with the benevolent help of Francis in discovering yet a new source file pre-processing due to a different machine. An equal big thanks to him!
All printings needed for the project were made on a Prusa i3 MK3.
Those are shown as opposite:
Sensors and other elements are connected to the base-shield set on top of the Arduino Uno as described here after with port numbers.
It's important to notice that all in all, components need a lot of power to work properly. There is not enough power available through USB connection (about 5V) and a 9V battery will be depleted faster than you'd like.
This is why we used an adaptor that can be plugged into a wall-socket and deliver enough power steadily.
Programming was a bit tricky due to Arduino native sequential working.
Workarounds must have been found in order to animate several parts of the box not only sequentially but also simultaneously.
The first 3 screenshots as shown opposite exhibit declarations for each component of the box and the MoodBox tier.
Main program is a loop which executes the sequence as requested with regards to user interaction. Each sequence is identified with a number:
Waiting time management, especially for counting how many times the bar was touched, is using the millis() function to avoid using the delay() function where the whole program is put on hold.
To bypass the sequential functioning, the AccelStepper.h library was used as well as combined commands programmed within routines called from the main loop. This allows for example simultaneousness for both LED-ring effects and step motor spinning.
Main program calls libraries functions specific to sensors and components used in the box. Those are listed below:
Arduino Uno, potentiometer and main switch are connected to the power supply inside and on the base tier of the box (lower tier).
LCD screen is installed in side the LCD tier (middle tier).
MoodBox tier (upper tier) is composed as described here below.
On box walls are fixed:
Right underneath and throughout the MoodBox top cover are fixed:
On top of the MoodBox tier are fixed:
MoodBox tier is now up and able to run.
Please refer to Introduction and overall specifications to properly use it!
Thank you for your interest :)
Figurine used for final presentation comes from Thingiverse (https://www.thingiverse.com/thing:570654).
It was chosen by default. First idea was to recreate in 3D the fabulous Fantasia dancing couple: Hyacinth and Ben Ali Gator.
"Bentolux" project - main box design - to be available soon on WikiFab (around July 2018).
French page describing this project can be found here: https://wikifab.org/wiki/MoodBox