Step by Step Introduction
About this project
This work was did by my team, in seeed hackathon, the project name is “Windows”, you can see the scenery and weather through the window, and I know that maybe the scenery isn’t beautiful (may be a little ugly), we don’t have an art designer after all. But it doesn’t matter, we still can see the weather by the weather icon and RGB led.
In this project, I use 2 Wio Link to control RGB Led strip and a Grove - Ultrasonic Ranger as well as a Grove - Recoder. We can get the weather status and temperature by the lighten weather icon and the RGB Led strip. I run a python script on my VPS and get the weather information from internet.
When you stand a long time (about 10 seconds) before the Wio Link, It’ll say hello to you from the recoder.
Now, just follow me, and enjoy the journey of making.
What do we need
- Wio Link
- Grove – Recoder
- Grove - Ultrasonic Ranger
- RGB LED Strip
Setp1: Setup for Wio Link
If this is your first time to use Wio Series product you can put hand on http://iot.seeed.cc/index.html to get more info.
There is a video of how to get started on Wio Link. The Wio Node is similar with Wio Link.
Then following this guide http://www.seeedstudio.com/wiki/Wio_Link#Get_started and configure the Wio Link as the picture below shows.
Setp2: Download the drawings
I made some weather icon using acrylic board. My friend Gao Chao from seeed help me cutting the board. I guess you don’t have a laser cutting at home, you can find some in the hacker space near from you easily. If there's no hacker space nearby, you can try the Laser Cutting Service supply by Seeed.
You can download my drawings as the picture below shows by click here.
Step3 :Assembly Work
1. Prepare the RGB LED Strip and cut the led strip every 3 led as a group, each weather icon need 4 groups led, as the picture below shows.
2. Paste the led strip to the side of the weather icon.
3. Connect
the RGB Led strip of the icons, as the picture below shows. Please note that the
order of the icons, don’t get wrong, the scquencing determined the RGB LED
address.
4. We also need a Led strip to indicate the temperature, in my project I use 30 led, since the Shen Zhen temperature rang form 5℃ to 35℃, so that may be 30 led is enough.
Step4 :Software Work
I have already done the programing work, you can download my code form GitHub.
In addition, don’t forget to change the Wio Link url to your own.
I assume you will excute this code in linux pc
git clone <a href="https://github.com/Lee-Kevin/18.WeatherIndicator">https://github.com/Lee-Kevin/18.WeatherIndicator</a>
Then change wio url to your own
cd 18.WeatherIndicator && vim WindowWeather.py
Then install the library
pip install pytz request
At last, run the code
python WindowWeather.py
The Result
As you can see, the weather of Shen Zhen today is cloudy. And when I stand before the Grove - Ultrasonic Ranger for about 10 seconds, the Grove – Recoder will say “Hello, I am Wio Link”, of course, this is my colleague recorded sound.
The
temperature.
Make. Invent. Do.
This project is made as an Open Source Project. It's a starting point. Let your creativity go wild with the mechanical, electrical and software design. Make the demo your own. Decorate it. Improve the work. No matter what, write a recipe about it.
To share and progress together.





Comments