![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
If $$$ are an issue then go with the Microchip PIC. You can get free samples from Microchip (please please please don't abuse this service though as it ruins it for the genuine samplers). Programmers can be knocked up for a couple of $$ from the millions of available "free" programmers.
I'd suggest using something like an 18F1320 to start off with - reasonable amount of pins, easier to program than the 16F series, internal oscillator, less gotchas. If you're sampling then also go for the 18F452 (40 Pin). If you're feeling very adventurous, get hold of a MAX232 and you can make your own bootloader with the 1320 and serial program it in circuit but thats a bit more advanced. My favourite processor is the 18F1220/1320 for prototyping (and many finished products) - they are just so easy to use and fairly cheap. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
First I am not a fan off the single pin per led ... just stated for the noob ... second LEDs can happily be pulsed at higher currents as I have indicators running 24 hr 365 days for over 6 yrs and never suffered any led failure(80 milliamp pulses that is 4 times the maximun DC rating but the average is far less then 20 ma ) if in doubt look how they drive IR leds on your TV remote(2 amp pulses) thirdly you dont need 50 times the current forth you can always run high brightness leds requires less current for a given brightness ... and what the hell is charlie plexing .. lol If you read back you noticed I stated mulitplex is the way to go if you know how ... |
||
|
|
|
|
|
(permalink) | ||||
|
Quote:
Quote:
Quote:
Quote:
|
|||||
|
|
|
|
|
(permalink) |
|
@picbits- i will probably do the microchip routine, and will build the inchworm+.
Further down the road, I'll also try out the AVR system as well, as I may find apps I want where that would be more suitable. I don't want to be locked into one system. On further reading about the picaxe, I finally saw that it is the microchip with bootloader already installed, so I assume fuses would be already set, unless I'm still confused. Or is the fuse thing AVR? Must do more reading!! Next question- For keeping current down, can I connect the output pins to a pair of switching transistors npn (source) & pnp (sink) to handle the higher currents to drive the LEDs? Last edited by charlie_r; 23rd July 2007 at 10:26 AM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
__________________
L.Chung |
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
from what i've seen so far, each has it's place.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
50 leds and resistor and a MCU of your choice go kill a few hours. So in breif any led pulsed at resonable speed and 4 times it DC max current will look very bright(close to full brightness) and you would never be able to tell so you only need 4 times the current which is then averaged over x leds per second !!! My Indcators run at 12-30volts 60milliamps (DC average)taken directly from power source they can be seen over 20 ft away (daylight) and drive total of 70 leds ) Note 20 milliamps is consumed by the micro so the leds average is about 40milliamp. |
||
|
|
|
|
|
(permalink) | ||
|
Quote:
And from what I recall about multiplexing studies in the past, once you get to very low duty cycles you have to INCREASE the current pulses substantially to maintain a similar brightness level. Quote:
Presumably your 70 LED's are multiplexed?, and not 1x70, so it doesn't really prove anything about your silly 1x50 suggestion?. |
|||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
Bear in mind these threads and posts are permanent, posting such a useless idea could well make some beginner think it's a practical suggestion! - when (as you appear to agree?) it's completely non-practical. |
||
|
|
|
|
|
(permalink) |
|
Guys-
I didn't mean to open a can of worms here! I would be perfectly satisfied with 1 LED driver per output, or mutiplexed. attached is what I think will work for me. I haven't looked at the datasheet for this particular pic, I just grabbed an 8 pin at random. I could just as easily grabbed an ATtiny for this example. I purposely didn't complete the diagram, and won't until I check the datasheets on a few. What I need to know is if I'm on the right track or not. Last edited by charlie_r; 23rd July 2007 at 11:53 PM. |
|
|
|
|
|
|
(permalink) |
|
That's fine, depending what you want to do - however, it's usually far better to have the LED's fed from the collector of the transistor (much less loss), with resistors feeding the bases.
But is five outputs all you're wanting?. |
|
|
|
|
|
|
(permalink) |
|
That was just an example of what I want. I will probably do more. I am thinking of a relatively long light bar with 15 of those 4 LED sections, and program the pic with two inputs, one for left turn and one for right, controlled by an SPDT switch. Will have to put a "debounce" circuit on each input, might use 555 monostable for that. Unless I can figure out how to use a logic gate for that.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| New to electronics with a project idea | Bluedreamer | General Electronics Chat | 13 | 21st June 2007 09:23 PM |
| An old idea (for the Atari 8 bit computer) | David Brown | Electronic Projects Design/Ideas/Reviews | 3 | 27th May 2005 08:17 PM |
| My project idea - transmitting and recieving and stuff | Neon_Ultra | Electronic Projects Design/Ideas/Reviews | 3 | 8th April 2004 12:43 PM |
| need idea for 'water quality measurement in aquarium' | kumar_3k | Electronic Projects Design/Ideas/Reviews | 2 | 5th November 2003 04:40 PM |
| Business Idea | DB1 | Electronic Projects Design/Ideas/Reviews | 1 | 12th May 2003 05:59 AM |