thunaivendan
Member level 3
- Joined
- Apr 19, 2013
- Messages
- 61
- Helped
- 0
- Reputation
- 0
- Reaction score
- 1
- Trophy points
- 1,288
- Location
- Chennai, Tamil Nadu, India
- Activity points
- 1,733
help me..and mail me the code..thunaiblue24@gmail.com
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
help me..and mail me the code..thunaiblue24@gmail.com
how to set adc delay time...when it show in lcd proteus...it not fixed..freq is 20mhz..,fosc/64...and delay is 40us..my code
How come u r using 2 LDR when u assigned TRISA=0x01;
If u want to us 2 LDR assign TRISA=0x03;
Why u need 2 LDRs for solar tracking? 1 LDR is enough.
Where u r fixing LDR? on the movable part or it'll fixed separately (LDR will not move)?
Based on that u need to modify ur stepper motor code.
thanks for ur replySun will move in one direction only.
so if u read the LDR whether light falling on it or not. if it is falling then panel is in right direction. otherwise u need to move it little bit or untill the LDR detects full light.
place the LDR on the movable part along with the solar panel.
put small pipe (2 to 3 inch) on the LDR. so that if the sun is straight to the LDR then the light will fall on it othewise it'll become block.
u need two limitswitches to detect the most and least ends.
prog flow:
read the LDR
if it is lighted do nothing
if it is dark // if the LDR is dark - reason 1. Panel not in right position & reason 2. sunset (means night)
read end limitswitch (LSW)
if end LSW is not hited move untill LDR get light
if end LSW hited move reverse untill the start LSW hit. (move to morning position)