Forum Index > General > Ask an Evil Mad Scientist!
 Gear Position Indicator GPI
 |  Printable Version
By: Anonymous: PeterT () on Wednesday, June 29 2011 @ 07:27 AM PDT  
Anonymous: PeterT

I forgot to mention the 12V 15A electic assist motor controlled by the 40A motor controller, which operates through the front gear shaft, driving through all 28 gears!

And it will also be fully faired as well.

Google 'Down Under Fast Recumbent Quad F-RQ'

PeterT






       
   
By: squall_line (offline) on Wednesday, June 29 2011 @ 07:36 AM PDT  
squall_line

In that case, use the formula and call it a day. Just make sure you continue to call it a "Gear Position Indicator" and not an "nth Gear Indicator".

It honestly sounds like a lot more trouble than it's worth for a simple display, unless the data is also being recorded somewhere, but then again, most people would find some of my hobbies somewhat "more trouble than it's worth", too.


Forum Mad Scientist
Mad Scientist

Status: offline

Registered: 04/13/10
Posts: 96
Iowa, USA

Profile Email    
   
By: Windell (offline) on Wednesday, June 29 2011 @ 10:24 AM PDT  
Windell

but then again, most people would find some of my hobbies somewhat "more trouble than it's worth", too.



Remember, Any sufficiently advanced hobby is indistinguishable from a job. Wink


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   
By: Anonymous: PeterT () on Wednesday, June 29 2011 @ 07:13 PM PDT  
Anonymous: PeterT

The information from the 'clock' gets recorded on the digital video camera positioned just over my left shoulder.

That is why I am making a LED 'clock' so that the displays of speedometer, GPI & Tachometer can be read by the camera positioned so the clock is in the bottom left corner of the forward view. A second camera will be mounted up front facing rearward, both cameras are operated via a switch on the Xbox 360 steering wheel console.

I will be calling it a 'Gear Position Indicator, GPI' as that is what I ask for when I started this thread but thanx for all your help.

With the formula,

(7*(front - 1)) + (rear - 4)

what schematic would I need to power the LED's
And would I need any other code to get it working?

Thanx again,
PeterT






       
   
By: squall_line (offline) on Thursday, June 30 2011 @ 06:07 AM PDT  
squall_line

If you're intent on and insist on using video as a "datalogger", I'm not sure that there's much else I can say on that topic.

As far as code/schematics, you'll need a chip with at least 11 input ports and at least 2 output ports, code to calculate the gear and send output to a driver or pair of driver chips, and/or a multiplexer to drive the 7-segment LEDs.

I think that ready-made applications already exist for multiplexed 7-segment LED drivers, so a search on Google should turn up some stuff in that regard.


Forum Mad Scientist
Mad Scientist

Status: offline

Registered: 04/13/10
Posts: 96
Iowa, USA

Profile Email    
   
By: Anonymous: PeterT () on Thursday, June 30 2011 @ 06:58 PM PDT  
Anonymous: PeterT

Thanx again SO much squall!

Please correct any of the following if I have got it wrong.
Up till this week, I have never designed any sort of complex circuit, so I am throwing myself into a serious learning curve to try & understand what is involved in circuit design. I can build pre-drawn circuits and wire up basic electric circuits, but that is all.

I have worked out 28 in binary is P28(11100), so that is 5 input lines
if those 5 input lines operate through 9 NAND gates(Boolean Equations) I can get products P1-P15 to light up the LED's (haven't finished drawing this part yet, but I believe it should also allow P16-P28 to light up the LED's)

Segment 'a' lights up when binary code says '1';
P1(00001), P4(00100), P11(01011), P14(01110), P21(10101), & P24(11000)

Segment 'b' = '1';
P5(00101), P6(00110), P15(01111), P16(10000), P25(11001), & P26(11010)

Segment 'c' = '1';
P2(00010), P12(01100) & P22(10110)

Segment 'd' = '1';
P1(00001), P4(00100), P7(00111), P11(01011), P14(01110), P17(10001), P21(10101), P24(11000), P27(11011)

Segment 'e' = '1';
P1(00001), P3(00011), P4(00100), P5(00101), P7(00111), P9(01001), P11(01011), P13(01101), P15(01111), P17(10001), P19(10011), P21(10101), P23(10111), P24(11000), P25(11001), P27(11011)

Segment 'f' = '1';
P1(00001), P2(00010), P3(00011), P7(00111), P11(01011), P12(01100), P13(01101), P17(10001), P21(10101), P23(10111), P27(11011)

Segment 'g' = '1';
P0(00000), P1(00001), P7(00111), P10(01010), P11(01011), P17(10001), P20(10100), P21(10101), P27(11011)

P8(01000), P18(10010) & P28(11100) have all segments in LED's turned on.

P10-P19 use P1 to show '1' on LED 2
P20-28 use P2 to show '2' on LED 2

Would I then use something like [P>9 but <20 show P1 on LED 2, P>19 show P2 on LED 2]
If so how eactly would I write it?

Where would the formula (7*(front -1)+(rear -4)) be positioned

I know I need a transistor for each LED, 120ohm resistors to connect to pins of LED's, & a power supply, do I need anything else?

Thanx again for your patience
PeterT






       
   
By: Anonymous: PeterT () on Tuesday, December 06 2011 @ 12:05 AM PST  
Anonymous: PeterT

Quote by: squall_line

If you're intent on and insist on using video as a "datalogger", I'm not sure that there's much else I can say on that topic.

As far as code/schematics, you'll need a chip with at least 11 input ports and at least 2 output ports, code to calculate the gear and send output to a driver or pair of driver chips, and/or a multiplexer to drive the 7-segment LEDs.

I think that ready-made applications already exist for multiplexed 7-segment LED drivers, so a search on Google should turn up some stuff in that regard.



Squall,

I know I said using the use of video to capture the data, but that is only 'cos I am not upto date with data recording devices, or really familiar with connecting them to a mobile vehicle.

How would one connect upto 4 camera(max) to record onto one SD card, switching the cameras in live time, no post editing being done at all. I have made a mounting point for placing a laptop on the beast.
I like the idea of using a 12 key kepad with latching relays, with buttons 1, 4, 6, & 8 being the buttons that control which camera is operating,(1 = forwards, 4 = left, 6 = right, 8 = rear) and using the power through the switch to power the cameras, with the possibiliy of other buttons operating other ideas I might have.

Power supply is ~14V DC which can be dropped down to 5v through appropriate circuitry

Thanx
PeterT






       
   



 All times are PDT. The time is now 11:56 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

Evil Mad Scientist Forum Archives — Read only!

Please visit our new forums for new discussions.


DIY Hardware for Electronic Art


The Original Egg-Bot Kit


Octolively
Interactive LED kits


Meggy Jr RGB
LED matrix game
development kit.


Business-card sized
AVR target boards


Peggy 2
LED Pegboard kits

My Account






Lost your password?