Introduction: How to DIY an in House Weather-telling Cloud

Picture of How to DIY an in House Weather-telling Cloud

When it comes to weather, what comes into your mind, cloudy, thunder, sunny or rainy? However, these words are somewhat abstract. What if you have a chance to make a cloud, which can not only report the weather with words/numbers, but also show you the current whether via vivid light and sounds? Now, we will show you how to make this cloud step by step.

We will use ReSpeaker, the core hardware module, to make it possible for the cloud to perform the mysterious voice interaction. Since ReSpeaker is open-source, makers like you are free to apply it into your creations! For more details, please visit http://respeaker.io/.

PS: ReSpeaker is on Kickstarter crowdfunding, if you want it, can go here predetermined ~

Step 1: Materials Preparation

Picture of Materials Preparation
  • ReSpeaker, launched by Seeed Studio, is an open-source voice-interaction hardware module. In the near future, we will be able to control household appliances, robots and other machines/tools with voice instead of a remote controller.
  • Iron wires with the diameter of 1.2mm – to build the frame of the cloud
  • Cotton for decoration
  • 5v output portable power bank

Step 2: Setup 7688

Picture of Setup 7688

Since ReSpeaker is powered by the MT7688 Wi-Fi module and ATMEGA32U4 processor, its software runs on MT7688 and Arduino Leonardo(32U4) respectively. The two chips communicate via UART and SPI.

Setup 7688

Connect 7688 to computer with a Micro USB cable. If the USB device cannot be recognized, please click here to download the driver.

Connect 7688:
Baud rate:57600 Software:We’d recommend putty for Windows, and screen for Linux and Mac.

screen /dev/xxx 57600

Connect 7688 to the Internet

Switch AP mode into 7688 station mode and run the following command.

vi /etc/config/wireless

Change configuration files as the followings.(image 1)

Option disabled ‘0’<br>option ssid ‘your ssid’
option key ‘your key’

Run the following command

> uci commit

Make sure your ReSpeaker has already connected to the network.(image 2)

ping seeed.cc

Step 3: Download Arduino Code

Picture of Download Arduino Code

1. Download the Arduino code from GitHub

2. Open the Arduino IDE and open the arduino code file

3. Click Tools -> Board and select "Arduino Leonardo" and select the correct port, as shown below

Click Upload to upload the code to the Arduino. If you see the following results, you’ve successfully downloaded the code to ATMEGA 32U4 .(image1,2)

Step 4: Download MT768 Code

Picture of Download MT768 Code

Open a software terminal; insert the SD card into ReSpeaker card slot. And then run the following command:

root@mylinkit:/# cd /Media/SD-P1<br>root@mylinkit:/tmp/run/mountd/mmcblk0p1#

When navigate to Media/SD-P1, the system will automatically mount SD card to/tmp/run/mountd/mmcblk0p1, run git clone command here to download the code to the SD card:

git clone https://github.com/jerryyip/Smart_Decorative_Cloud

Step 5: Change the Code

Picture of Change the Code

You can change it as you wish, such as thunder sound, the rain sound, etc. You should put audio file into audio folder in advance and add the content in the red box below into the code.(image 1)

In this application, we get the data from OpenWeatherMap.org, where you can get your own appID. And if you need to switch to another city, modify the info in the following red box(image 2)

Step 6: Set Up Auto-run

Create an autorun file in the current SD card to run the programs in the SD card automatically.

vi autorun

And add the following code in this file

#!/bin/sh<br> 
amixer sset Capture 90% 

cd /tmp/run/mountd/mmcblk0p1/Smart_Decorative_Cloud
python demo.py &> /dev/console &
After restarting, you can wake up the device with the keyword “ReSpeaker”. When you hear "Hi" in response from ReSpeaker, you can ask her about the weather.


Step 7: Build Frame for the Cloud With the Wire

Picture of Build Frame for the Cloud With the Wire

Twist six wires with pliers to fasten one end together.(image 1,2)

If you finish the previous step, the wire will look like this and do the same work with the other end.
And then you need to modify it & make it similar to a lantern frame.(image 3)

Now we have the frame for the cloud!

Step 8: Make the Cloud

Picture of Make the Cloud

Use a glue gun to stick the cotton to the wire.(image 1)

Tie up the top with a fish line, which will be used to hang the cloud to the rooftop. Please remember to hide the ReSpeaker module and the power within the cloud.(image2)

Step 9: Done

Picture of Done

Voila! Now we have an interactive cloud, which can interact with you through sounds. Welcome to try and add some other interesting features as you like. You can make a cloud that can blow winds or a cloud that pours rains etc. The sky is not the limit! Don't forget to share your cool projects with us!

Comments

choffee (author)2017-01-24

Has the code changed? The instructions on your github account say to use the pixels_pattern.ino for the arduino rather than the Smart_Decorative_Cloud.ino. Could you update this to reflect that?

Spetznatz1 (author)2017-01-24

Where your instructions state: "1. Download the Arduino code from GitHub", the link is dead. Where can I get the "Smart_Decorative_Cloud" file please?

Thanks!!

Spetznatz1 (author)2017-01-24

I am only slightly familiar with using Arduino codes. This project has me confused. I have my Respeaker connected to my computer and in the Arduino program it recognizes it as an Arduino Leonardo, but I have no idea how to use the code shown in "image 1" or "image 2". Is that somewhere in an Arduino code for this thing. I downloaded the file: "Respeaker_Arduino_Library_Master", but there isn't any code specifically for the respeaker in there except the "Examples" library. Basically I don't understand anything in the Step 2 section after it states: "Connect 7688". What is this "screen /dev/xxx 57600" and where does it fit into whatever Arduino code we are supposed to use?

About This Instructable

1,470views

20favorites

License:

Bio: Howdy, we are application engineers in Seeedstudio. Sharing projects with maker community is awesome. Hope you like it XD
More by Seeed Studio:Diy Smart Home Assistant With Raspberry Pi and ReSpeaker Mic ArrayBuild Google Assistant on Raspberry Pi With ReSpeaker Mic ArrayDIY a Gesture Keyboard That Can Control the Media Player
Add instructable to: