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 - 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.
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.
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 the Laser Cutting Service supply by Seeed.
You can download the Design Drawing by click here.
Then we can fix the Grove Modules to the board. As shown in the figure below.
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.
We assume you have connected your Grove Joint and computer well with USB.
- 1. Download demo code at https://github.com/Lee-Kevin/4.A-Carry-on-UV-Detec...
- 2. Click “Download zip” button on right side of webpage to download all codes.
- 3. Decompress the downloaded zip files to “C:\Users\Administrator\Documents\Arduino\” and remove “-master” in decompressed file name.
- 4. Launch Arduino IDE.
- 5. 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 ”
- 6. 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.
- Button-Press the button to power on/off the detector.
- Micro USB- To charge the battery or update new code.
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.