It searches for the brightest light source like the sun.
Remove these ads by
Signing UpStep 1How it works
I'd made a sensor of 4 LDRs with sheets between them
The withe stips are the LDRs
the four LDRs get the same amount of light on them.
Example1 when the light is left on top:
right-top, right-down, left-down are in the shadow
and left-top get the most light
Example2 when the light is on top
left and right down are in the shadow and top is in the light
| « Previous Step | Download PDFView All Steps | Next Step » |















































yes i am using arduino duemilanova.
but when i uploading the code, its shows problem to uploading to board .
what is my problems actually ?
need some help here !!!!
pleasee..
Binary sketch size: 3794 bytes (of a 30720 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x30
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1230381702/all
I have a continuous rotation Servo Motor Springrc SM-S4303R, and a Servo - Medium Full Rotation (SM-S3317S) (I think springRC) that I'm trying to get working for this same project (a friend is using the S4303R for a different project). I've done a bit of research and it looks like I'll have to add a PWM Input change like you did with Poesis. Would you know exactly what sort of change I'd have to add to the PWM Input to make them move properly? The specs for the S4303R say that 1.5uS is the neutral value for the PWM, so I tried (I'm experimenting with the S4303R while my S3317S comes in the mail) using this same PWM values you suggested to Poesis, but to no avail, and I can't seem to find the PWM values for the S3317S. Help! It's urgent!
- AHiggins
- RobertC.
- Member #148301: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1278145608
might help
http://www.sparkfun.com/products/10189
I am building the same thing. Would you mind telling me what Arduino version you used for this projects?
but i'm using an arduino duemilanove
i got problem to uploading your souce code into my i/o board .
urgently needs help !! pleaseeee .
3-Wire Servo -(http://www.vexrobotics.com/276-2162.html)
but the datasheet says:
""PWM Input:1ms - 2ms will give full reverse to full forward, 1.5ms is neutral""
and the servo library default is min 544µS, max 2400µS
so u have to change:
- horizontal.attach(9);
- vertical.attach(10);
to
horizontal.attach(9, 1000, 2000);
vertical.attach(10, 1000, 2000);
try it!
You just have to change the circuit a little bit
>>They doesn't matter 10K ohm is ok
(voltage change out of the arduino vs frequency change to control the ESC's)
>>The arduino doesn't give a voltage change to control a SERVO
can you give some details of your project and will you send me your code?
thnx
and the value of the potentiometer doesn't matter
because it's just used as an *voltage divider
* http://en.wikipedia.org/wiki/Voltage_divider
It only adjust its position if there is an brighter source of light
you said:
" "dvert" = 86, "dhoriz" = -25,"
it only changes the position if one of the values is bigger than the
tol = 150
if you make tol smaller it should be more sensitive
I should go for A
I'm impressed by the design of the sensor. Did you come up with that by yourself or did u see that somewhere else before?
Great project, definitely on my todo list!
THX Shah
thnx
the ldr I used:
dark > 400kohm
light 100ohm - 20kohm
and I'd set it in series with an 1K resistor
look here:
http://shop.ebay.com/i.html?_nkw=4+x+servo+9g&_sacat=0&_sop=15&_odkw=4+x+servo&_osacat=0&_trksid=p3286.c0.m270.l1313
4 x servo = 10$ shipping included
http://cgi.ebay.com/4-X-Micro-9g-Mini-Servo-Futaba-Hitec-HS-55-GWS-walkera-/160601107472?pt=Radio_Control_Parts_Accessories&hash=item2564926c10#ht_2542wt_1139
or you can find them on dx
http://s.dealextreme.com/search/servo
no problem
I was working in an equatorially mounted solar cooker. All is right, except it lacks a solar tracker!
We really need more details on how you mounted the actual mechanical parts, though.
(just hot glue)