Shop OBEX P1 Docs P2 Docs Learn Events
light follower — Parallax Forums

light follower

Lab RatLab Rat Posts: 289
edited 2008-10-19 17:01 in BASIC Stamp
does anyone have a sun following circuit for interfacing with the stamp

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax posesses power beyond belief.

Believe in it.

Comments

  • SRLMSRLM Posts: 5,045
    edited 2008-10-17 18:42
    It's simple enough that you can make your own. The easiest method would probably be to have an array of photoresistors with pipes around them (to point them in a dirrection), then you can find the bright spots.
  • Lab RatLab Rat Posts: 289
    edited 2008-10-17 19:54
    i am limited to a bs1 usb model and i have 4 pins used for the motors. i am using them to move a satelite dish toward the sun for a solar heater

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
  • Lab RatLab Rat Posts: 289
    edited 2008-10-17 19:56
    I want input from 4 photoresistors and an output to control two motors i am going to control the motors with opto isolators and relays the motors are 110 ac and they are three wire so i got them covered and this leaves me with 4 pins left and i have 4 photoresistors to input from

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
  • Lab RatLab Rat Posts: 289
    edited 2008-10-17 19:58
    i just need the simplest circuit available to allow the stamp to read varrying voltages from the photoresistors

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-10-17 20:04
    You can "read" a photoresistor, or any resistor, using RCTIME.
  • Lab RatLab Rat Posts: 289
    edited 2008-10-17 20:17
    that is good but i dont understand the RCTIME function

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-10-17 20:21
    Ooops, you have a BS1, you said.

    There's an equivalent called "POT".
  • Mike GreenMike Green Posts: 23,101
    edited 2008-10-17 20:30
    Have you looked through the BS1 application notes? Use the Resources tab. They're on Parallax's Stamp Downloads page under Basic Stamp Documentation Downloads.
  • Lab RatLab Rat Posts: 289
    edited 2008-10-17 20:38
    ok thanks

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
  • $WMc%$WMc% Posts: 1,884
    edited 2008-10-18 04:36
    · Hello labrat

    ······ I came across a program that used a "sun tracker" program. It was for some solar panels. It may have been in the BS2 forum or maybe Nuts & Volts Maga.s

    ··· I have never used the BS1·so I can't help You much thier.·,I'm better w/ the BS2/Bs2p
    ··
    ··· If I come across that suntracker program·I'll send it to you


    ····················· ____________$WMc%_______out___________·
  • RDL2004RDL2004 Posts: 2,554
    edited 2008-10-18 04:47
    Since the Sun is generally found in the same direction (arc in the sky) at a given location, you could probably do this with two photo detectors and one stepper motor. There is a seasonal change in azimuth, but for your purposes you could probably just concentrate on tracking from east to west as the day goes by. Don't forget to go back to the starting position after sunset.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Rick
  • Lab RatLab Rat Posts: 289
    edited 2008-10-19 17:01
    i have a bs2 so i can recode bs2 codingfor the bs1

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
Sign In or Register to comment.