![]() | ![]() | ![]() |
| | |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hey guys, I’m looking to build a very cheap POV device for a Human Powered Vehicle (basically a recumbent bicycle) if you want a bit of an idea on what I’m planning on putting this on then go here http://www.pedalprix.com.au/gallery.php?year=2006. Anyway, I need a little help designing it. I want the LED's to be mounted either vertically on the body of the vehicle OR along the spokes of a wheel, however, I am not sure which will be better, as I don’t know whether its mounting position will effect the speed we must be travelling at to get clear "images" (text), whether the LED’s are at risk of serious damage (the vehicles roll frequently) and whether the weight will have a significant effect on the balance of the wheel. So my first question is where do you think the best mounting point is (body or wheel)? I have been doing some research looking at various similar projects, in particular http://www.ladyada.net/make/spokepov/index.html, which uses a Serial to Parallel Latch, what does this do, and is my project likely to need one? The main functions I want to incorporate into this device are periodic display of team name (and possibly school name as well), periodic display of current speed, periodic display of total distance/lap count and maybe some team sponsors too. If the laps are counted I want to be able to store them before power down and be retrievable from a PC (although this isnt a must-have) These are a few constraints that I think I will have to follow to make sure it is cheap, effective and allowed to be mounted. Constraints: Small Lite 8 LED’s (or a few more) (must not be Red, should avoid White this is to keep it within the competition rules) Smallest number of components possible (to keep the size/weight/cost down) Batteries last ~25 hours (length of the race is 24, lights on for 12 6pm-6am) Cheap < AU$20 (or as close as possible) Auto adjust for speed (to keep the display clear and consistent) Must be completed and debugged by 5th of September 2007 (at the very latest) Easy to program/reprogram Operational display between 18Km/h and 40Km/h (lower speeds too, if possible) I plan to get my MCU for free using samples, however I’m not sure which one to go for, must be sampleable, must have enough pins and must be fast enough to be able to monitor speed and update display. The one that seems to be most commonly used is the ATtiny2313, is this a good MCU to use? any better suggestions? I don’t have a programmer apart from a PICAXE programmer, and I want to be able to do in-circuit programming if possible. I also need to choose a language to program it in, I don’t know ASM or C (although I think I could pick up C) and i have never used Basic on a MCU, although i do use VB6 and have used PICAXE Basic (neither of which count for much) Are there any disadvantages/advantages to using Basic over C? Lastly, now that I think I have worked out my design specs, where do I start in building the circuitry? Thankyou PS Sorry for the long post. | |
| |
| | (permalink) |
| Yes best place it to mount in the wheel.Mounting position won't give any effect.But speed is the most important to display the stuff. You can get some ideas from this link.Its all based on propeller clock by Bob Blick. http://www.luberth.com/analog.htm | |
| |
| | (permalink) |
| Ok, thankyou, i'll have a look at that. probably should also have mentioned that the wheels will most likely be 16" (the car is still being built, but we are 99.99% certain we will be using 16") | |
| |
| | (permalink) |
| led's don't weigh anything basically, so balance won't be a problem, unless you mount 40 to one side oooh my 403 post
__________________ The 3 laws of science.... 1. If it smells bad, It's chemistry. 2. If it's mushy, It's biology. 3. If it doesn't work, It's physics. www.laserpointerforums.com A forum for disscusion of lasers and laser shows! www.laserchat.org IRC chat for laser and electronic related stuff. | |
| |
| | (permalink) |
| gratz on the 403rd post well, mostly i was worried about them being scraped along on the road, because you can slide when you roll, i snapped the brake mount off 2 years ago doing that, so i am a touch worried about the effects of bitumen vs LED's but i guess it wont be too much of a problem. btw, whats the weather like in Melbourne - its freezing here | |
| |
| | (permalink) |
| it's kinda cold here, but not to bad (i'm inside)
__________________ The 3 laws of science.... 1. If it smells bad, It's chemistry. 2. If it's mushy, It's biology. 3. If it doesn't work, It's physics. www.laserpointerforums.com A forum for disscusion of lasers and laser shows! www.laserchat.org IRC chat for laser and electronic related stuff. | |
| |
| | (permalink) |
| wow, i didnt realise they were so durable, they always seemed pretty soft to me. will probably mount them in a piece of corflute, we usually use a disk for a hubcap of sorts. Ok, so where do I go from here? I suppose the next step is probably determining the MCU to use, and whether or not I need those latches. So, anyone know which would be the best MCU? im leaning towards the ATtiny2313, purely because it doesnt need a complex programmer, just a Parallel port. | |
| |
| | (permalink) | |
| Quote:
2) speed sensing is a matter of input and timing. Ada's gizmo senses impulses from a magnet, and adjusts the refresh rate of the display accordingly. basically you keep a timer in your code and reset it with the magnet. the code then makes sure to display the entire message in the time allotted. The slower the wheel turns, the fewer times per second the code will be able to display the message, resulting in a poor POV effect, especially in high light conditions. Ada overcomes this by linking multiple displays. Each display starts at the 12 o'clock position (for example), so with two displays, you end up doubling the frames per second, four displays, quadruple. This allows the wheel to turn much slower, but still present enough data the eye can integrate it into an image. Getting this finished in a month is certainly possible, provided you're fluent in programming
__________________ If you don't have a planet, what good are gold bars? want to contact me directly? gmail gordonthree check out my project website: http://projects.dimension-x.net Favorite numbers: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 | ||
| |
| | (permalink) | |
| Quote:
I think with the limited time I will have to go with Basic, however if i had the time I would have liked to try my hand at C. Thanks for the info on the Latch, i wanst able to find it by googling, so im glad you were able to tell me. I dont think i will need 1 because i dont intend to use too many LEDs (need to save batteries). Do you have any advice on the MCU? For the timing I was going to set a timer and see how many seconds elapsed between pulses (i plan to use a hall effect sensor, as a reedeswitch seems unreliable) and then calculate speed with the circumfrence (guess thats the only way to do it anyway). Thankyou PS you wouldnt happen to be anti-DRM would you? | ||
| |
| | (permalink) |
| check out Mikroelectronika's basic: http://www.mikroelektronika.co.yu/ their free trial version is quite generous in what it can do. I like the Microchip PIC series of microcontrollers. I'm not going to argue they're better or worse than any other brand, I just started using them long ago, and stuck with it. the 16F88 is a popular chip for starting out. It has enough IO to handle eight leds directly, and if eight is your magic number, you can deal with bitmapped image data as single bytes, making it easy to store and manage. Displaying the data will be easy too, loading a byte onto one of the '88s 8 bit ports.
__________________ If you don't have a planet, what good are gold bars? want to contact me directly? gmail gordonthree check out my project website: http://projects.dimension-x.net Favorite numbers: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 | |
| |
| | (permalink) |
| Awesome, thanks, I was going to ask Somone Electro which one he uses, because I think it is 100% free, but this will do if his isnt free. Are there any drawbacks to using Basic? Also, is a programmer required for the 16F88? or can it be done like the Atmel chip? | |
| |
| | (permalink) |
| OK, It seems if I go with the 16F88 I have a choice of the following chips ---------------pin---Package ---------------count--type PIC16F88-I/P-----18----PDIP PIC16F88-I/SO---18----SOIC PIC16F88-I/SS---20----SSOP What is the difference betwen package types? and which should I use? (dashes are because the forum removes spaces and i wanted a table) | |
| |
| | (permalink) |
| google or wikipedia will give you all sorts of information on IC package types. I recommend the PDIP - plastic dual in line package ... you can plug it into a breadboard and start building your pov prototype.
__________________ If you don't have a planet, what good are gold bars? want to contact me directly? gmail gordonthree check out my project website: http://projects.dimension-x.net Favorite numbers: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 | |
| |
| | (permalink) |
| I think you're going to have a tough time building a POV device for only $20 AUD. A good PIC or AVR programmer will cost you at least half that much. Being able to use the PICAXE programmer you already have will help you cut costs. You'll probably have to use a 600-line capable chip to do everything you want. Also, I would go with one that has as many I/O lines as you can afford. You can augment your output capability with shift registers, but if you're only buying one or two they'll wind up costing about $3-$4 a piece after shipping is figured in. A minimal display for text would be about 8 leds - twice that if you want it to be double sided. If the PICAXE is fast enough to multiplex the display you can get away with only needing 8 output lines even for a double sided board. Otherwise you'll need 16 output lines just for the leds. Add an input line for the magnetic sensor and you're up to 17 I/O lines. I'd get the 28X or 40X. Even if you don't make it double sided, it will be nice to have the option to do so later (or to increase the display size of a single sided display.) A 28X costs 4.35 British pounds according to this price sheet: http://www.rev-ed.co.uk/docs/micro_pricelist.pdf I've never bought PICAXE processors before, so maybe there's a cheaper supplier. Then you'll have to buy: - prototyping board (pad-per hole or strip board) - IC socket for PICAXE - Hall effect sensor or magnetic reed switch - strong (neodymium) magnet - maybe a transistor or two (if you multiplex the display) - some resistors - battery holder and, of course, the LEDs. You'll want to get ultra-bright LEDs, especially since you'll only have a single POV device. I would expect to spend at least $5 US on the LEDS (shipping incl.) You can probably get a lot more than you need for that price (check on ebay, for instance auctions like this one: http://cgi.ebay.com/100x-5000-mcd-5m...QQcmdZViewItem http://cgi.ebay.com/10x-10mm-Blue-50...QQcmdZViewItem ), but I don't you'll be able to spend less than that even if you only want 8 LEDs. (If you go for the cheap Chinese LEDs you'll want to buy extras anyway - invariably I've gotten a few defective ones with every order I've placed.) I don't know what we're up to, but I think it's easy to see that it's going to be hard to come in under your $20 AUD budget. As for battery life, if you use AA batteries (~2500+ mAH), you should have no problem powering it for entire duration of the race. | |
| |
| | (permalink) | |||||||
| Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I may also be able to get an IC socket off the electronics teacher, or at Jay Car I can get an 18 pin socket for $2.00 (or not even use one) The Hall Effect sensor is a bit more expensive, at Jay Car $4.95 and at Dick Smith's $3.95 (wonder if I can sample one from somewhere...) Strong magnet - this is the hardest part, I'm not sure if I can use one from a Bike Computer and mount to the frame or if I will need to buy one. Dick Smith's doesn’t sell them, but Jay car has a pack of 12 heavy duty magnets (10mm x 10mm x 10mm) for $3.75, however I’m not sure if they will be strong enough here is a link, so if you know about sensitivity of the sensor you may know if these will be good enough http://www.jaycar.com.au/productView...Max=&SUBCATID= Transistors are cheap, ~$0.25 each or a bag of 50 assorted for $6.50 Resistors are also cheap $0.04 each. Battery holder - (most likely going to be makeshift, a couple of cable ties through holes in the strip board/PCB). Contacts will either be soldered or stiff wire sticking out of the board with electrical tape to hold them onto the contacts), If you have a better suggestion, let me know. Quote:
Ignoring LED's though, my total tally so far comes to ~$15.69, assuming I need 8 transistors, 20 resistors and that those magnets are ok. That’s not too far from my budget, and if I can get hold of a 20 pin IC socket for free, then that brings the price down to ~$13.69 however the costs of a programmer will probably fix that My main problems now are: Programming the chip, I want to use in-circuit programming, unless that ends up being more expensive The actual circuit design. Thankyou for your input, it helped me quite a bit; especially since I hadn’t really priced anything or thought too much about the magnet. Last edited by andrew12345678; 2nd August 2007 at 08:45 AM. | ||||||||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| POV Toy Version One | justDIY | Electronic Projects Design/Ideas/Reviews | 2 | 22nd May 2007 01:33 PM |
| Bicycle lights (Batteryless! No friction!) a simple circuit | iwico | Electronic Projects Design/Ideas/Reviews | 17 | 25th November 2006 11:52 AM |
| bicycle dynamo powered soldering iron | wisdumb | Electronic Projects Design/Ideas/Reviews | 10 | 11th July 2006 09:50 AM |
| Connecting bicycle to a computer | bannor32 | Electronic Projects Design/Ideas/Reviews | 4 | 12th July 2003 10:14 AM |