An
ordinary hat just can be the sunshade and it is not so useful for the workers
who works outside on high place. Thus I want to remake a hat with Crowtail modules for more functions such as detecting the UV intensity to remind user to
have a rest, at the same time. this hat can also offer the correct time info
for workers without a watch when working on high place. Moreover, this hat has
the warning function of the behind vehicle at dusk way.
First
you will need to collect all the modules: a base shield which has stranded
interfaces for convenient connection. Then is a Crowduino which is 100% Arduino
compatible. UV Sensor to measure the UV intensity of the environment. Buzzer to
make noise to remind user and RTC that can provide the right time in low power
consumption. You will need a RGB-LED has the warning function. Users can
control all the LED with only one microcontroller pin. OLED to display the time
information and the UV intensity. Battery is essential.
Then,
you can start this project step by step as follow: install the Crowduino. You
need to sew the Crowduino onto this cap carefully at first to make it steady. You
need to plug the Crowtail- Base Shield into Crowduino. Connect the buzzer to
the Crowtail- Base Shield and connect the buzzer to the Digital ports D4 as
picture. Via this buzzer, you can control the OLED to see whether it is
displaying the current time and UV intensity or not.
Install
the RGB-LED onto the cap. Crowtail - RGB-LED has the function of warning and
when reach the designed time, such as 8:00 pm, it will start blinking
automatically. Users can control all the LED with only one microcontroller pin.
Besides, this module can control every LED with different colors at the same
time.
Install
the UV Sensor. The Crowtail- UV Sensor ML8511 is an easy to use ultraviolet
light sensor. The MP8511 UV (ultraviolet) Sensor works by outputting an analog
signal in relation to the amount of UV light that’s detected. This breakout can
be very handy in creating devices that warn the user of sunburn or detect the
UV index as it relates to weather conditions.
Install
the RTC. This tiny RTC module is based on the clock chip DS1307 which
communicates with microcontrollers with I2C protocol. The clock/calendar
provides correct seconds, minutes, hours, day, date, month, and year
information in very low power consumption.
Install
the OLED. It is used to display the time information and UV intensity. It’s IIC
interface to connect I Port (IIC Port). The display can offer high brightness,
self-emission, high contrast ratio, slim/thin outline, wide viewing angle, wide
temperature range in low power consumption. Choose the 9V battery. It is not
only in small size but it can supply power in a long time.
Download
the Firmware. Use USB to connect the Crowtail with computer and open the
program. Choose your COM interface connecting with Crowduino, here we choose
COM3. Choose the target board. Here we use Crowduino. Upload the program as
picture.
After
all the steps finished, you can check every step to see whether there is a
problem or not and welcome to contact us. Then have a try to see the effect.
With this Arduino intelligent cap, you can have more function s and use it in
your daily life. It’s believed that it can be of great help. Besides this
project, you can also have a look at the previous Arduino project also make full use of
Crowtail modules to care a flagging tree.