Go to advanced search

by xicarusx
Thu Jul 18, 2013 3:12 pm
Forum: Automation, sensing and robotics
Topic: Reed Switch Anemometor
Replies: 23
Views: 5355

Re: Reed Switch Anemometor

I had also thought if I used 5.5v across my circuit I would break the Raspberry Pi. (fry the procesor, or so I am told.) i tried reading input like this. import RPi.GPIO as io io.setmode(io.BCM) io.setup(4, io.in) input_value = io.input(4) while True: print "--" + str(input_value) that gave me a lon...
by xicarusx
Thu Jul 18, 2013 3:03 pm
Forum: Automation, sensing and robotics
Topic: Reed Switch Anemometor
Replies: 23
Views: 5355

Re: Reed Switch Anemometor

Exactly! The wire isn't long at all maybe 4 or 5 feet. It is working if I put a led on the gpio side between the switch and the GPIO pin. The LED will flash as the reed closes. I guess that is my biggest question. How would I go about coding that? something like countibg how many times GPIO.HIGH occ...
by xicarusx
Thu Jul 18, 2013 2:10 pm
Forum: Automation, sensing and robotics
Topic: Reed Switch Anemometor
Replies: 23
Views: 5355

Re: Reed Switch Anemometor

I have the Anemometor plugged in to the wind vane. Then the wind vane rj11 in to a an RJ11 jack on an Adafruit breadboard. The four leads from the RJ11 jack are as follows Pin 4 -----------------------> unused, but is output for Windvane Pin 3 --------(1k resistor)------3.3v pin on GPIO Pin 2 ------...
by xicarusx
Thu Jul 18, 2013 2:36 am
Forum: Automation, sensing and robotics
Topic: Reed Switch Anemometor
Replies: 23
Views: 5355

Reed Switch Anemometor

I am trying to wire a reed switch based anemometer to the GPIO. I have had no luck so far in being able to read anything from it. I was hoping to find help here. I have tried a few different ways of doing this and having a python script count the pulses over a period of time. I have had no luck what...

Go to advanced search