Difference between revisions of "MoodBoxByFaBteam"

Line 85: Line 85:
 
}}
 
}}
 
{{ {{tntn|Materials}}
 
{{ {{tntn|Materials}}
 +
|Step_Picture_00=MoodBoxByFaBteam_015_MoodBoxByFaBteam_OutilsEtMateriaux_DSC_0071_1528657594768.jpg
 +
|Step_Picture_01=MoodBoxByFaBteam_014_MoodBoxByFaBteam_OutilsEtMateriaux_DSC_0070_1528657596593.jpg
 +
|Step_Picture_02=MoodBoxByFaBteam_013_MoodBoxByFaBteam_OutilsEtMateriaux_DSC_0072.jpg
 +
|Step_Picture_03=MoodBoxByFaBteam_012_MoodBoxByFaBteam_OutilsEtMateriaux_IMG_4014.jpg
 +
|Step_Picture_04=MoodBoxByFaBteam_011_MoodBoxByFaBteam_OutilsEtMateriaux_IMG_4011.jpg
 
|Material=Necessary materials are listed here below by category.
 
|Material=Necessary materials are listed here below by category.
  
==== Box materials ====
+
==== For the box ====
 
* poplar plywood 3mm-thick for laser cutting
 
* poplar plywood 3mm-thick for laser cutting
 
{{Idea|Poplar is pretty cheap and allows precise and fast laser cutting}}
 
{{Idea|Poplar is pretty cheap and allows precise and fast laser cutting}}
 
* brass bar 80x7x2mm - to change and increase the touching area with regards to the capacitive sensor
 
* brass bar 80x7x2mm - to change and increase the touching area with regards to the capacitive sensor
 
{{Info|A 1m-length brass bar can be found in DIY store for about 7€ but is easily replaceable by any conductive material whatever is shape.}}
 
{{Info|A 1m-length brass bar can be found in DIY store for about 7€ but is easily replaceable by any conductive material whatever is shape.}}
* Transparent PLA for 3D printing:
+
* transparent PLA for 3D printing:
 
** access door to base tier
 
** access door to base tier
 
** figurine's stand and support - the stand will also diffuse the LED-ring light
 
** figurine's stand and support - the stand will also diffuse the LED-ring light
 
** button for volume control
 
** button for volume control
 
** lateral joints
 
** lateral joints
* Colored PLA (according to maker's preference) for the figurine and/or scenery set on top of the box
+
* colored PLA (according to maker's preference) for the figurine and/or scenery set on top of the box
  
 
==== Electronic supplies ====
 
==== Electronic supplies ====
Line 117: Line 122:
 
* some screws to fasten sensors and other components inside the box tiers
 
* some screws to fasten sensors and other components inside the box tiers
 
* cables and jumper wires
 
* cables and jumper wires
|Tools=
+
|Tools=Tools used during this project are hereby grouped by use.
 +
 
 +
==== CAD & programming ====
 +
* Inkscape, 2D CAD software to create and adapt cutting and engraving patterns for the box
 +
* TinkerCAD, Blender or any 3D CAD software to create or modify figurine and other box printable components
 +
* Arduino IDE, programming environment adapted to Arduino and used to create and transfer the code managing all interactions between sensors and the outside world
 +
{{Idea|All 2D- and 3D- source files (.svg, .stl) are available on this page's "Files" tab. }}
 +
 
 +
==== Machines & tools ====
 +
* laser cutter, usually available in FabLabs
 +
{{Warning|Regarding the wood panels to be laser cut, the more plane - hence not warped -  they are the better for precision cut. When buying those panels of plywood, don't hesitate to tell the vendor they will be used for laser cutting.}}
 +
* 3D printer, also available in FabLabs
 +
* soldering iron and materials
 +
{{Warning|Besides the obvious burning danger for oneself and/or surroundings when handling the soldering iron, some electronic components might be very sensitive to heat and need to be kept away from too much heat exposure. One must use caution and proceed gradually - no more than 2-3 seconds at a time.}}
 +
* screwdriver, wire cutters, saw, etc.
 +
* Dremel-like tool
 
}}
 
}}
 
{{ {{tntn|Separator}}}}
 
{{ {{tntn|Separator}}}}

Revision as of 18:47, 14 July 2018

Author avatarAnne JANNIER | Last edit 9/12/2019 by Clementflipo

MoodBoxByFaBteam 000 MoodBoxByFaBteam Introduction.jpg
Modular box: minimalist weather station and jukebox with Arduino
Difficulty
Medium
Duration
100 hour(s)
Categories
Art, Decoration, Electronics, Music & Sound
Cost
50 EUR (€)
Other languages:
English

Introduction

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.

Preamble

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:

  • create a new tier to the box designed and developed during the course of the training program (3 available tiers: 1 base, 1 in Plexiglas, 1 for LCD screen);
  • use newly acquired knowledge for this new tier: 3D printing, laser cutting, etc.;
  • program with Arduino at least one user interaction (free choice).

Overall specifications

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.

Starting the box

When properly plugged in, the box can be started by using the switch on the front.

Starting the box triggers the following events:

  • figurine set on top spins on its stand;
  • LED-ring light effect shows through the figurine's translucent stand;
  • LCD screen displays a welcome message.

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:

  • LCD and LED-ring color varies from blue to red when temperature rises;
  • LED-ring sparkles at a random frequency to add some animation;
  • custom message is displayed on LCD screen according to the temperature range currently reading.

Mood box activation and functionalities

Mood box is activated when the user touches the brass bar placed on top of it - this bar is connected to a capacitive sensor set inside the box.

Upon activation, figurine, LED-ring and LCD wake up.

Cette activation est accompagnée d'une animation conjointe de la figurine, de l'anneau de LEDs et de l'écran LCD.
If no other tap is made within 5 seconds following activation, Mood box is deactivated and goes back into sleep mode.

A new tap triggers play mode.

Using the bar has been made simple: the LED-ring shows current tap count as it grows - from 1 to 4 LEDS lit in white

First time, playlist begins with the first title on the list.

The potentiometer button - placed under the on/off switch on the front - is then active and serves as volume control for music.

The brass bar remains also active and stands by pending new user interaction.

While music plays, action differs depending on how many times the bar is touched:

  • 1 tap: "pause/play", i.e. the music is paused if playing before or begins playing if paused before and LCD displays a message accordingly;
  • 2 taps:"next", i.e. the player jumps to the next title on the list;
  • 3 taps:"previous", i.e. the player changes the current title for the previous one;
  • 4 taps or more: "stop", i.e. the box returns to sleep mode after a short animation of figurine, LED-ring and LCD screen.

During play time, LED-ring lights up in a rainbow sequence and figurine spins on top of its stand.

Note: Each time a play/pause/next/previous action is taken into account, figurine spins in other direction.

Deactivating the Mood box

After activating the Mood box or when the music is stopped, if the bar remains idle for more than 5 seconds, sleep mode kicks in and deactivation occurs.

Note: When exiting sleep mode and resuming playing music, the player starts from where it was when deactivated.

Video overview

Materials

Necessary materials are listed here below by category.

For the box

  • poplar plywood 3mm-thick for laser cutting
Poplar is pretty cheap and allows precise and fast laser cutting
  • brass bar 80x7x2mm - to change and increase the touching area with regards to the capacitive sensor
A 1m-length brass bar can be found in DIY store for about 7€ but is easily replaceable by any conductive material whatever is shape.
  • transparent PLA for 3D printing:
    • access door to base tier
    • figurine's stand and support - the stand will also diffuse the LED-ring light
    • button for volume control
    • lateral joints
  • colored PLA (according to maker's preference) for the figurine and/or scenery set on top of the box

Electronic supplies

  • 1 Arduino Uno Rev.3
  • 1 MW power supply: 1500mA Rotary Switch Adaptor
  • 1 reversing switch KNX-1, 3A, 250V AC, to be used as main switch
  • 1 Seeed Studio potentiometer: Grove Rotary Angle Sensor (P)
  • 1 Seeed Studio capacitive sensor: Grove Touch Sensor
  • 1 Adafruit LED-ring: Neopixel Ring 12 x 5050 RGB
  • 1 Seeed Studio MP3-player: Grove MP3 v2.0
  • 1 micro SD-Card to store the playlist
  • 1 Seeed Studio Gear Stepper Motor with Driver: Step Motor 28BYJ-48 5V DC
  • 1 Adafruit BME280 sensor: temperature, humidity, pressure (ADA2652)
  • 1 Seeed Studio "Base Shield V2"

Misc.

  • wood glue, to assemble and joint laser cut parts of the box tiers
  • cyanoacrylate glue
  • some screws to fasten sensors and other components inside the box tiers
  • cables and jumper wires

Tools

Tools used during this project are hereby grouped by use.

CAD & programming

  • Inkscape, 2D CAD software to create and adapt cutting and engraving patterns for the box
  • TinkerCAD, Blender or any 3D CAD software to create or modify figurine and other box printable components
  • Arduino IDE, programming environment adapted to Arduino and used to create and transfer the code managing all interactions between sensors and the outside world
All 2D- and 3D- source files (.svg, .stl) are available on this page's "Files" tab.

Machines & tools

  • laser cutter, usually available in FabLabs
Regarding the wood panels to be laser cut, the more plane - hence not warped - they are the better for precision cut. When buying those panels of plywood, don't hesitate to tell the vendor they will be used for laser cutting.
  • 3D printer, also available in FabLabs
  • soldering iron and materials
Besides the obvious burning danger for oneself and/or surroundings when handling the soldering iron, some electronic components might be very sensitive to heat and need to be kept away from too much heat exposure. One must use caution and proceed gradually - no more than 2-3 seconds at a time.
  • screwdriver, wire cutters, saw, etc.
  • Dremel-like tool

Step 1 -

Comments

Draft