The DressingGlass




Introduction: The DressingGlass

This project is a decorative thermometer showing the temperature by its brightness, the user could get a more precise understanding of the weather without reading the measurement, but tell from how bright the thermometer is. You can use it as an indoor/outdoor decoration and hang aside your window, or simply place it on your desk. It could assist you to choose your outfit for the day.

Step 1: Parts, Tools, Supplies

Step 2: Circuit Diagram and Code

Connect you temperature sensor and neopixel strips with the WiFi board, and play with the code to get a desired color affect.

void loop() {
  // read the temperature sensor
  delay(2000); //  Pause for a few seconds between measurements

  // Reading temperature or humidity takes about 250 milliseconds!
  // Sensor readings may also be up to 2 seconds 'old' (its a very slow sensor)
  humidity = dht.readHumidity();
  // Read temperature as Celsius (the default)
  temperatureC = dht.readTemperature();
  // Read temperature as Fahrenheit (isFahrenheit = true)
  temperatureF = dht.readTemperature(true);

  // Check if any reads failed and exit early (to try again).
  if (isnan(humidity) || isnan(temperatureC) || isnan(temperatureF)) {
    Serial.println(F("Failed to read from DHT sensor!"));

The code below allows you to control the number of lights based on the data from your temperature sensor.

 temperaturePixels = map(temperatureC, 0, 100, 0, strip.numPixels());
  Serial.print("number of pixels to light up based on weather: ");

  for (int i=0; i

Step 3: Circuit Construction From Prototype to Soldered

In order to have everything fit into the plastic ball, the first step is to measure the desired length of your neopixel strips and wires before soldering. Then solder each part and test it before putting them together.

Step 4: Form & Material

Place your complete circuit and neopixel strips inside the hollowed sphere, add some polyfill to decorate and hide the wires.

Time to cut your metal fabric. Use a sharp scissor to cut out a small piece of material to test out the softness and play with it. Then, cut out a triangular fabric that is relative large to the plastic sphere, wrap around your plastic ball to get a round shape and start to sculpt the material into a desired shape.

Use the glue gun to glue your plastic ball and metal fabric together.

Step 5: Celebrate

You made it! Congratulations :)

Be the First to Share


    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest
    • Make It Bridge

      Make It Bridge