Editing BicycleLighting

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 57: Line 57:
The photoresistor registers about 140k ohms in inside natural light, held under the bike seat.  In the bathroom with the door mostly shut, simulating nighttime, it registers 22M.  Tentative initial ON value: 20Mohm.
The photoresistor registers about 140k ohms in inside natural light, held under the bike seat.  In the bathroom with the door mostly shut, simulating nighttime, it registers 22M.  Tentative initial ON value: 20Mohm.


Learned a bit of comparator chip circuit theory from David... Have the op amp circuit breadboarded out such that it turns on one LED when the photoresistor is occluded.  Circuit includes a pot for calibration, forming the second voltage divider.
Learned a bit of comparator chip circuit theory from David...
 
Notes on my pots:
 
blue pot ranges from 0 ohms to about 2.35k ohms.  the pair of leads swap resistance levels compared to the single lead, such that the total resistance is always about 2.35k ohms.  When the pot is turned all the way to one side, resistance between the single lead and one of the doubles is 0, and from the single lead to the other of the doubles is 2.35.  When it's turned all the way to the other side, the resistances on the double leads, against the single lead, is swapped.
 
Have the 2 circuit bits combined with a transistor, fully functional.  Drew circuit diagram & breadboarded additional version from diagram to test diagram; made a couple small corrections.  Diagram is correct (possible resistor values s/b changed for optimality as NB supply hadn't anything smaller than 100 ohm).


=== next step ===
=== next step ===
Big(?) capacitor behind seat switch s/b sufficient to keep lights on for some time after seat is vacated.  How big must it be?  Test.
Breadboard out this comparator circuit using a pair of voltage dividers (one with photoresistor, one with potentiometer for calibration).
 
Alternately, I have a scribbled diagram that uses a Schmitt trigger which is claimed to be usable for this purpose... research & poke at this more.


I can create the seat cover with embedded pressure switch whenever, it's just a switch, so it can wait until last.
I can create the seat cover with embedded pressure switch whenever, it's just a switch, so it can wait until last.
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Noisebridge:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)