Arduino Sunflower - an Electronic Sundancer

31,840

212

13

About: Elecrow is an open hardware facilitation company based in Shenzhen. We integrate resources to serve new era of innovation. To make your making and innovation easier, we offer various development platform, mo...

Maker is always sensitive to the new and funny things. One day, I watched a video, in which the sunflower moves along with the sun. I had a sudden insight then. Why can't I make a electronic device inmitating this biomechanism.

In the following days, I began to carry out my solar tracker project. I selected the crowtail as the microcontroller board, and picked up the componets and accessories in our warehouse. Then, I assembled these parts together. At last, I tested with the led on my phone. You know what, it worked perfectly.

I was so excited and posted the demo video on the social media. I was surprised that many people liked and shared this video, and some of them even sent me messages saying that they want to make this projects too.

So I redid this projects and make a specific tutorial to let more people make this project. Here we go.

(The code we used is referred to geobruce's application: https://www.instructables.com/id/Arduino-Solar-Tracker, and we make adjustment for pan- tilt use.)

Step 1: Preparation

Step 2: Make the Head of the Device

Firstly, we need to cut the two cardboards as the pictures shows, just for half of cardboard. Then the pieces of cardboards can be assembled as a cross shape. At last, paste the stick with the cross, it will play a role as "head", and always point to the sun. On the other hand, it can make the device beautiful and stable.

Step 3: Install 4 Light Sensors

Piercing 4 suitable holes to install the 4 sensors, then dig one mid-hole to thread the stick. I numberd these sensors so that we can distinguish their different seat.

Step 4: Connect the Sensors With Cables

Use the glue gun to fix the stick to the foam, and then plug the cables into the sensors

Step 5: Fix the Stick to the Pan-tilt

We fix the stick to the pan-tilt. the seat of sensor should keep consistent with the picture. sensor “1“ and sensor ”2” located below site.

The pan-tilt is an assembled device with 9G servos. It can cotrol the vertical and horizontal rotation with 180 degrees.fix the the solar pannel on the foam

At last fix the the solar pannel on the foam. (Notice: the two solar pannels is just for decoration, without power supply function.)

Step 6: Upload the Code

Take out our Crowduino and Crowtail- base shield then stacking them together. Before we start to connect the cables onto base board, we need to upload the program code into crowduino, a micro usb cable is neccessary. Connect the crowduino to our computer, and open the Arduino IDE, click here to download the code and open it with Arduino IDE, then upload.

(Notice that this code is written by geobruce, for more info check his site http://xprobe.net )

Step 7: Connect 4 Sensors to the Shield

Now we can start connections. At first, connect the cables of sensors to the shield, with the numbers one-one correspondence as above picture shows.

1-4 cables: Cable "1" to A0; Cable "2" to A1; Cable "4" to A2; Cable "3" to A3.

Step 8: Connect the Potentiometer to the Shield

Connect two potentiometers to A4 and A5 socket of the shield.

There is no difference between the two potentiometers, but you should know that which one connect with the A4 port is acts the role of controling the delay of reaction time, and A5 for servo rotational speed.

Step 9: Connect the Pan-tilt to the Shield

Down servo(Horizontal movement) connect with D9, up sevo(Vertical movement) connect with D10.

Step 10: How to Power It.

The crowduino is the main controller board of this project. We can power this board with an USB power bank or a DC adapter, It's depended on you whether it is to be a mobile device or a fixed device.

Step 11: Have a Try!

Now, close the box, it seems that it can't wait to chase the sunlight, OK. take it easy baby, let's have a test for you now.

I take it to a dark room, then open the phone flshlight, WOW! look at this cute guy!

It looks difficult but is actually quite simple, just do it!And you may help him to looks more powerful and cool!

Share

    Recommendations

    • Make it Glow Contest 2018

      Make it Glow Contest 2018
    • Big and Small Contest

      Big and Small Contest
    • PCB Contest

      PCB Contest

    13 Discussions

    0
    None
    Gadisha

    8 months ago

    Very nice project, I like it!

    2
    None
    _mehrnean_

    Question 8 months ago on Step 6

    Is it ok to use the blue colored arduino? Rather than the crowduino board? Thanks ☺

    0
    None
    syedamsyar96

    2 years ago

    The build was easy enough, but the crowduino board won't communicate with the laptop when trying to upload the code. How can we make that work? Is there an app or program needed, or was there a part left off of your part list that we actually need to communicate with the crowduino board?

    0
    None
    trpeck

    2 years ago

    Hi. The build was easy enough, but the crowduino board won't communicate with the laptop when trying to upload the code. How can we make that work? Is there an app or program needed, or was there a part left off of your part list that we actually need to communicate with the crowduino board? How did it work for you? Thanks!

    0
    None
    splodgie

    2 years ago

    Where did you get the code from, Nice of you remove the Original Coder Geobruce from the ini.

    1 reply
    0
    None
    splodgiesplodgie

    Reply 2 years ago

    Nice to see you you put Geobruce in the downloadable .ini link.

    0
    None
    JakariaHussainHemel

    2 years ago

    From where can I buy the components of this project ?

    0
    None
    miguipda1

    2 years ago

    Hi,

    here is the cheaper way without electronic :

    http://www.josepino.com/?simple_sun_tracker

    1 reply
    0
    None
    john henrymiguipda1

    Reply 2 years ago

    That system has the panel at a not so good angle at peak sun hours. you want it perpendicular to the sun the whole time.
    it's effectively a counter-intuitive system. Also the small solar cell used to momentarily power the motor is also not used to its potential.
    The whole point of using a solar tracker to point a solar panel at the sun is to use the panel at its fullest the whole day. its best to have it tilt than rotate.
    This instructable is more of a toy than a good solar power generator, like that link looks like.

    0
    None
    cromorepetido

    2 years ago

    Proyecto muy bien documentado. Sencillo y potente. En cuanto pueda probaré a construirlo. Muchas gracias por compartirlo.

    Simple and powerfull project. Very well documented.I can try to build it soon

    0
    None
    GustavoG5

    2 years ago

    Excelente, es simplemente una flor de Girasol virtual, que buen trabajo.

    0
    None
    paulm171

    2 years ago

    Nice build, l'm gonna try this !