Go to Post Achieving a goal by merely finishing, or reaching mediocrity is not acceptable; Excellence is the only satisfactory result. - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-07-2006, 14:51
Red-Rx7 Red-Rx7 is offline
Registered User
no team
 
Join Date: Jul 2006
Location: Kansas City
Posts: 10
Red-Rx7 is an unknown quantity at this point
How To Question: Illuminate LED on passover?

To all of those Electronic Guru's out there, I have a "how to" question. How do I build an optical/electronic/magnetic/alien technology unit, that can power an LED light when a beam or signal is lined up?

I have a situation where I have a fixed base object, with an "arm" on it. The arm rotates in a 360 degree rotation. I need to know when it passes by or resides over, a specific spot.

An example would be a regular clock. I need to illuminate an LED when the big hand is placed over the 2:00 hour tick. See the attached picture as an example:


Notice I drew on there a Pink and Green Dot. These are the markers that I need to have the LED light up when they are over each other. So in the example of the picture, the LED light would not be on. yet, if it were 2:00PM, it would be on.

How do I do something like this?

Thanks!
  #2   Spotlight this post!  
Unread 27-07-2006, 15:22
Noggin Noggin is offline
Registered User
no team
 
Join Date: Jun 2006
Location: Pea Ridge, FL
Posts: 6
Noggin is an unknown quantity at this point
Re: How To Question: Illuminate LED on passover?

Maybe a proximity detector unit? Like at http://www.instructables.com/id/E8HK...T5AC/?ALLSTEPS, just use an led instead of a speaker or use the relay to control whatever.
  #3   Spotlight this post!  
Unread 27-07-2006, 15:32
FIRST JerseyKid's Avatar
FIRST JerseyKid FIRST JerseyKid is offline
Alumni
AKA: Erik Cokeley
FRC #0025 (Team Mercury)
Team Role: Alumni
 
Join Date: Oct 2002
Rookie Year: 1996
Location: Hightstown New Jersey
Posts: 52
FIRST JerseyKid is on a distinguished road
Send a message via AIM to FIRST JerseyKid Send a message via Yahoo to FIRST JerseyKid
Re: How To Question: Illuminate LED on passover?

I might use a ir emitter and detector, from radio shack for a couple bucks. Then put the detector through a comparator with an led on the output. You need to put the appropriate resistors and power supplies in.

If you'd like a quick diagram and resistor values and power supply values just ask.
__________________
Team 1089 alumni coach.
  #4   Spotlight this post!  
Unread 27-07-2006, 15:43
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How To Question: Illuminate LED on passover?

The simplest thing I can think of is a reed switch and magnet combination. That's what many door/window alarm sensors use. Put the magnet on the moving arm, and use the reed switch to close the circuit for whatever you want to power.

(My first impression was that you wanted to light up an indicator from 15 Nissan through 22 Nissan...)
  #5   Spotlight this post!  
Unread 27-07-2006, 16:49
Hiteak's Avatar
Hiteak Hiteak is offline
Improving the Technology World
AKA: Dan Schneiderman
FRC #3157
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: Henrietta, NY
Posts: 680
Hiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond reputeHiteak has a reputation beyond repute
Send a message via AIM to Hiteak
Re: How To Question: Illuminate LED on passover?

Quote:
Originally Posted by Alan Anderson
(My first impression was that you wanted to light up an indicator from 15 Nissan through 22 Nissan...)
I feel better now that I wasn't the only one who misread it now
__________________
RIT '13
Computer Science House Member

Working towards improving technology policy

Student: Team 1930, 2005-2008
Mentor: Team 2999, 2009
Ruckus: 2006 -2010
Volunteer:
NJR: 2008
FLR: 2009, 2010
  #6   Spotlight this post!  
Unread 27-07-2006, 18:36
Juggernaut's Avatar
Juggernaut Juggernaut is offline
Registered User
AKA: Jeff
FRC #5404 (Gearaffes)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2001
Location: Lansdale, PA
Posts: 15
Juggernaut is an unknown quantity at this point
Re: How To Question: Illuminate LED on passover?

You could use a photo voltaic cell on the spot that you want to know if the arm is over and a LED attached to the moving arm. When the arm moves over the photo cell it will create a current which you can use to power the LED that you want to turn on.
  #7   Spotlight this post!  
Unread 27-07-2006, 20:29
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: How To Question: Illuminate LED on passover?

Whats the end application?
__________________
1139 Alumni
  #8   Spotlight this post!  
Unread 28-07-2006, 03:34
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,016
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: How To Question: Illuminate LED on passover?

If the lighting around the object remains consistent, a photo resistor might work. It has the advantage of being excedingly cheap, if the environment allows for it.

As an aside, many 'motion activated' toys and novelties really just have a photo resistor. When you move by or wave you're hand in front it will cast a shadow and set it off. They are surprisingly sensitive and rarely cause a false alarm. Slowly changing lighting does not set it off, only abrupt changes. The 'range' is entirely dependent on the lighting situation, as that changes the length of the shadow the objects would cast.

It's fun working in a toy store when turning the lights off at the end of the day. The whole place starts squawking with every other toy thinking someone walked in front of it. It's a little creepy the first few times.

-Local
  #9   Spotlight this post!  
Unread 28-07-2006, 11:41
Red-Rx7 Red-Rx7 is offline
Registered User
no team
 
Join Date: Jul 2006
Location: Kansas City
Posts: 10
Red-Rx7 is an unknown quantity at this point
Re: How To Question: Illuminate LED on passover?

Thanks for all of the replies!

I have looked at a few of the options presented here, and decided to try to use an Absolute encoder, coupled to a PIC and PCB which will illuminate the LED's. Alternatively, I was thinking about using a cheap SBC which I can write the code for as well.

This is in theory, for I have no idea how to burn PIC chips, and make them work on a PCB. I am willing to learn though!

Ultimately, it needs to be cheap. And the Absolute encoder runs about 30.00, plus any costs for the PIC & PCB & any other parts that go on it.

With regards to the "end-usage", I am trying to solve a problem with a robot we are building which will be used in police engagements. The robot is based off the MGAe Tarantula chassis, which has four "tank style" treads. The front and rear axles rotate in a 360o rotation thus rotating the two front or rear tank treads; in addition to the treads moving in a forward/reverse direction.

This vehicle is operated in a first person view, and the positioning of the rear "legs" or "treads" cannot be seen visually. I need a cheap solution to notify the driver of the leg positions.

This is the encoder I plan on using (with a gear on the shaft):
http://www.usdigital.com/products/ma2/

Since it outputs both PWM and Analog voltage, I was thinking I could program the PIC chip to "apply power" to a specific LED when the voltage or PWM is in a specific range (which is mapped to the 360o orientation of the legs).

Again, in theory. Would someone mind offering further assistance with the PIC setup? Or if you have another solution (cheaper, very reliable, compact, easy to implement); I would love to hear it.

Thanks again!
Mike
  #10   Spotlight this post!  
Unread 28-07-2006, 13:59
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: How To Question: Illuminate LED on passover?

Instead of PICs (Leave it to me to be the one guy on a PIC loving forum who doesn't like PICs) you might consider Atmel AVR 8-bit RISC chips. They're very easily flashed and have a free open source C compiler based on the GNU GCC toolchain. If you go with a PIC anyway, google around for the No-Parts PIC Programmer circuit and software, but you'll still need a compiler unless you want to learn to do this in assembly, which is doable, but not as easy as C. If you go the AVR route feel feel to PM me with any questions I'll do my best to answer them.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #11   Spotlight this post!  
Unread 31-07-2006, 21:39
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: How To Question: Illuminate LED on passover?

I am more of the make it simple school. Digikey sells a variety of opto sensors that are meant to read a reflected light beam. They contain an LED and a phototransistor. A simple wiring job with a 5 volt-9 volt supply and two resistors should be able to sense the hour hand. Choose an opto sensor that will fit behind the face, drill a hole behind the face at the appropriate spot for sensing the position of the hour hand. The addition of some reflective tape on the back of the hand should be enough to trigger the sensor, then it is a simple matter to mount the sensor so that it just begins to read the position when the hand moves to the correct spot. A variable resistor in the photo transistor circuit will allow you to adjust the sensitivity so it only senses the hand and not ambient light. Use the switched output to trigger whatever device you want. (Sonalert, another LED, etc.)
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #12   Spotlight this post!  
Unread 01-08-2006, 00:12
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: How To Question: Illuminate LED on passover?

Quote:
Originally Posted by Red-Rx7
With regards to the "end-usage", I am trying to solve a problem with a robot we are building which will be used in police engagements. The robot is based off the MGAe Tarantula chassis, which has four "tank style" treads.

...I need a cheap solution to notify the driver of the leg positions....
these two statements are contradictory. Why would a robot used for important police work need (want?) to be made cheaply?!

I would think reliability would be the primary requirement.

or is this something they use for community relations or PR stuff?

I dont mean to criticize, I think maybe you need to rethink the What and Why of this design requirement. If its important then foremost it has to be reliable.
  #13   Spotlight this post!  
Unread 01-08-2006, 00:54
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: How To Question: Illuminate LED on passover?

Cheaply made as in low cost, something doesn't need to be expensive to be reliable, and something cheap isn't automatically unreliable. There's nothing wrong with trying to get more bang for the buck. I'm working with the poster on this project privately and I can assure you we've already made concessions for price versus performance, but still made sure the bottom line wasn't a ludicrous cost.

There's no reason to assume cheap = unreliable though, I've seen some ingeniously simply and low cost things do a much better job than some ridiculously expensive thing meant to do the same thing.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #14   Spotlight this post!  
Unread 19-08-2006, 23:46
eshteyn's Avatar
eshteyn eshteyn is offline
WOOPS! shorted the deep cycle batt.
AKA: the supply seargent, Eugene
FRC #0375 (the robotic plague)
Team Role: Mechanical
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Staten Island, New York
Posts: 213
eshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really nice
Send a message via AIM to eshteyn Send a message via Yahoo to eshteyn
Re: How To Question: Illuminate LED on passover?

There is an even easier way. All you have to do is make a circuit with 2 small wires. As thin as u can the better, connect it to the housing on the big hand. The way clocks work is the big hand is on the outer axle, the minute hand is connected to an axle inside the big hand and the second hang is inside the minute hand. If u put a wire on the big hand and then put the other wire in a stationary place where the 2 wires would meet when its 2 o'clock you get a very easy circuit that is run by the mechanics of the clock.
__________________
--------------------------------------------

Championship - Delphi "Driving Tomorrows Technology"
  #15   Spotlight this post!  
Unread 20-08-2006, 14:56
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: How To Question: Illuminate LED on passover?

Quote:
Originally Posted by Matt Krass
Instead of PICs (Leave it to me to be the one guy on a PIC loving forum who doesn't like PICs) you might consider Atmel AVR 8-bit RISC chips. They're very easily flashed and have a free open source C compiler based on the GNU GCC toolchain. If you go with a PIC anyway, google around for the No-Parts PIC Programmer circuit and software, but you'll still need a compiler unless you want to learn to do this in assembly, which is doable, but not as easy as C. If you go the AVR route feel feel to PM me with any questions I'll do my best to answer them.
I have to admit that the 16F series are hard to program in C(no free compilers) but for the 18F series you can just use the MPLAB with C18. Then you can use the RC code as a guide and even use Kevin Watson's codes without too much modification.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ask a question Mike Programming 10 03-02-2008 19:29
Easter or Passover Traditions Jessica_166 Chit-Chat 11 25-04-2003 23:09
Question for Drivers: How Was Your Visibility? DanL General Forum 11 09-03-2003 20:48
Passover seder 4/7 -plans coming together archiver 2001 0 24-06-2002 02:49
Passover and the Nationals archiver 2001 2 23-06-2002 22:11


All times are GMT -5. The time now is 04:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi