Home > Projects > Home Automation Projects > The Wondrous Weather Cube Using Arduino

The Wondrous Weather Cube Using Arduino

Summary of The Wondrous Weather Cube Using Arduino


This article describes an Internet-enabled "Companion Cube" that displays NASDAQ stock readings or Princeton's outside temperature by glowing red or green. Powered by an Arduino, the cube changes LED brightness based on real-time data fetched from a host computer. Users select information sources by rotating the cube to face different sides upward. Constructed primarily from scrap foam for easy prototyping and light diffusion, the project serves as both a functional desktop accent and an experiment in LED diffusers.

Parts used in the Companion Cube:

  • Arduino board
  • Red LED arrays
  • Green LED arrays
  • Scrap foam sheets
  • Metal leads
  • Photoresistors
  • Host computer

We created an Internet-enabled companion cube for your computer, which displays different kinds of information by glowing red or green. Depending on its orientation, and which labeled face is oriented upwards, our companion cube displays either stock readings of the NASDAQ or the outside temperature in Princeton. As the temperature or stock index changes, the Arduino inside the cube fetches updated data from the host computer it is connected to, and modulates the brightness of red and green LED arrays inside. We thought it would be a perfect match for the topic of the first lab, LED diffusors, and that it also makes a useful and elegant desktop accent.

The Wondrous Weather Cube

Ideation and Design

We started by thinking about LED diffusers, and found that the most interesting applications for us related to using them to display or convey information. We then considered a number of physical interfaces, including a tree, a panel, and various geometric shapes. We settled on a cube because we expected users to want multiple sources of information from the cube, and we thought rotating the cube was a better interface than configuring it by computer, since it would make use of the different sides of the cube. Since we have some Arduino experience, adding Internet connectivity so the Arduino and computer could talk to each other followed rather naturally.

Construction

We found that there was scrap foam in many different places we looked – the upper levels of the E-Quad, the Architecture building, and Frist among others. We went with that, instead of making our cube out of paper, because foam seemed like an excellent prototyping material. It was easy to cut, already pre-formed into sheets, and most importantly fit together like a jigsaw puzzle, allowing us to assemble the foam simply by pushing metal leads into the joints. Eventually we would want to use a laser-cut enclosure for this kind of box.

Concerns and Conclusions

The Wondrous Weather Cube circuit

We would have preferred a better spectrum of colors from our cube, but we did not have enough tricolored LEDs to produce enough light to be visible through our cube. We ran into a number of problems because of the differences in brightness and voltage between red vs. green LEDs and indicator vs. lighting LEDs, but we managed to circumvent most of those because foam was such a great diffusing material and blocked little light. Finally, we observed that the Cube is sometimes slow to respond as we scrape data from the web, because of latency. So, we’d like to make it faster if possible.

We think our companion cube is pretty and works well. If we had developed the cube further, it would have more applications — possibly one for each side of the cube, including email notifications, Facebook notifications, etc. — and it would use an orientation sensor rather than photoresistors on each side to figure out its orientation.

 

For more detail: The Wondrous Weather Cube Using Arduino

Quick Solutions to Questions related to Companion Cube:

  • How does the cube display information?
    The cube displays stock readings or outside temperature by glowing red or green with modulated brightness.
  • Can users switch between data sources easily?
    Yes, users rotate the cube so the labeled face oriented upwards determines which data is shown.
  • What material was used for the cube construction?
    The creators used scrap foam because it is easy to cut and fits together like a jigsaw puzzle.
  • Does the cube connect to the internet?
    Yes, the Arduino inside fetches updated data from the host computer via Internet connectivity.
  • Why were photoresistors placed on each side?
    Photoresistors are currently used to detect the orientation of the cube instead of using an orientation sensor.
  • What limitations did the team face with colors?
    The team lacked enough tricolored LEDs to produce a better spectrum of visible light through the cube.
  • Is the response time of the cube fast?
    No, the cube can be slow to respond due to latency when scraping data from the web.
  • What future improvements are planned?
    Future versions could include email notifications, Facebook notifications, and use an orientation sensor.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top