Introduction: Summer Is Coming! Let's DIY a Carry-on UV Detector
Today(21/6/2016) is the Summer Solstice, It means the scorching summer is coming up. So how about DIY a carry-on UV Detector.
Sometimes I want to know the UV series around me. Activities in the field, for example, I need to know if I should do some protective measures. So, I made this project with Grove - Joint(compatible with Arduino) and some other Grove Modules. The Grove - LED Bar indicates the current UV series.
By the time you’re done with the demo you will gain the following experience:
- Be familiar with Arduino/Grove - Joint;
- Show off the work to your friends.
Now, let’s get started.
Step 1: What Do We Need
Grove - Joint shares many similarities with Seeeduino Lotus/Arduino. It is a mini ATMEGA328 Microcontroller development board. It uses an Atmel ATMEGA328P-MU and CH340. ATMEGA328P-MU is a high performance, low power AVR 8-Bit Microcontroller. CH340 is a USB bus converter chip that can realize a USB to serial interface. Grove - Joint v2.0 has two Grove interfaces included I2C port and two digital I/Os. It else support battery powered. You can do some simple applications with it.
Step 2: The Laser Cut Wooden Box
I regard the this UV detector as a work of art, so we should do some decoration work first. Then my friend from Seeed help me cutting the beautiful wooden box. 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 theLaser Cutting Service supply by Seeed.
You can download the Design Drawing by clickhere.
Then we can fix the Grove Modules to the board. As shown in the figure below.
Step 3: Modules Connect
Now we should connect Grove Modules to Grove - Joint. Just as the figure below shows.
Then we should use the GLUE GUN to fix the each side of the box together. As shown in the figure below.
Step 4: Software Work
We assume you have connected your Grove - Joint and computer well with USB.
- Download demo code at https://github.com/Lee-Kevin/4.A-Carry-on-UV-Detector
- Click “Download zip” button on right side of webpage to download all codes.
- Decompress the downloaded zip files to “C:\Users\Administrator\Documents\Arduino\” and remove “-master” in decompressed file name.
- Launch Arduino IDE.
- Click Sketch>Add file to add UV_Detector.ino file from “C:\Users\Administrator\Documents\Arduino\4.A-Carry-on-UV-Detector/ExampleCode/UV_Detector ”
- Press CTRL +U to upload codes to your board. Wait a while, there will be prompt like following figure.
Congratulations, you have already completed the most of the work.
Step 5: Operation Instruction
- Button-Press the button to power on/off the detector.
- Micro USB- To charge the battery or update new code.
Step 6: 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.
We have a be nice policy.
Please be positive and constructive.