CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-18-2006, 10:56 PM
 
Join Date: Oct 2005
Location: US
Posts: 1,220
MrWild is on a distinguished road
LED array sequencer

I made a circuit with discreet componants that works, but I have far too many parts to make a compact system. I don't have enough knowledge on PICs, but they seem like the ticket. I'd be willing to pay for code and circuit that works for my simple needs.

The particulars are:

six LED arrays times two for a total of twelve (12) arrays.

Each array has five LEDs.

power is 12v.

first input causes five arrays of each group to light

Second input takes precedence over the first and causes one group of five arrays to sequence. first time period #1 on, second time period #1 and #2 on, etc. until all five arrays are alight then off for three time periods.

The sixth array is on for four time periods and off for four when the second input is activated.

Third input does the same thing only to the second group of LEDs.

I need the package to fit on a 1" x 4" PCB.

Any ideas, thoughts, or suggestions?
Reply With Quote

  #2   Ban this user!
Old 11-19-2006, 01:00 PM
 
Join Date: Aug 2005
Location: USA
Posts: 1,622
One of Many is on a distinguished road

That looks like 60 LED's?

You might look around this site for LED Array hints and solutions that could apply to your needs.
Discover Circuits

There are some high drive current PIC's, but most will limit the outputs to 20-30mA each, if not in total. That would require external components like BCD 7 segment display drivers to handle the current and utilize 4 BCD coded lines of PIC outputs to control 7 LED's.

It would help to post a diagram of the LED array layout. Then a diagram of each LED output condition expected in the array based on the inputs in the previous desription. Whether they be banks of LED's, all lit, sequenced or individually controlled. I couldn't make sense of the written description for lack of a visual reference in what it should look like when functioning.

My limited experience is with Parallax products, as in Basic Stamps and their SX48 chips.

DC
__________________
Learn cause and effect through experience. Mastering those relationships is the "Common Sense" ability within the art of any trade.

Last edited by One of Many; 11-19-2006 at 01:27 PM.
Reply With Quote

  #3  
Old 11-19-2006, 01:17 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

For compactness you may want to look into 10 element LED bargraph display in a DIP package.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #4   Ban this user!
Old 11-19-2006, 03:34 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

061119-1627 EST USA

MrWild:

If you multiplex the LEDs you can do this with an Intel 8279 and peripheral circuits. The same concept can be done with a micro.

When you multiplex LEDs an illuminated LED is pulsed at high current for a short time at a high repetition rate, above the eye flicker frequency.

If the normal steady-state current was 10 ma, then if the pulse on time is 1/16 the drive current might be 160 ma or higher.

Multiplexing reduces the number of wires and drivers to the LEDs.

.
Reply With Quote

  #5   Ban this user!
Old 11-19-2006, 08:39 PM
 
Join Date: Jul 2005
Location: USA
Age: 42
Posts: 442
pastera is on a distinguished road

Do all five leds in a group come on at the same time or do they sequence on?
If you need to sequence individual LEDs, I don't think you will have the room on a 4 sqr-inch board for all the connections needed.

If you are not in a hurry, I could help you out with a layout and some code but I am busy for the next few weeks.

How are your soldering skills? The best way to make this fit is with small pitch SMT parts that take a good steady hand to solder.

Aaron
Reply With Quote

Sponsored Links
  #6  
Old 11-19-2006, 08:53 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

Ideas? Yes; multiplex them. That means 12 columns, 5 rows. Only 17 led drivers (5 + 12) to manage 60 leds.

Mariss
Reply With Quote

  #7  
Old 11-20-2006, 09:45 AM
Gold Member
 
Join Date: Dec 2004
Location: Newtown, CT, USA
Age: 68
Posts: 517
lerman is on a distinguished road

Originally Posted by Mariss Freimanis View Post
Ideas? Yes; multiplex them. That means 12 columns, 5 rows. Only 17 led drivers (5 + 12) to manage 60 leds.

Mariss
Well, since it is all being done in software, you might as well go all the way and use 8 logical rows and 8 logical columns. Save a driver compared with Mariss's scheme and be able to manage 64 leds. Also, lot's of drivers come in groups of eight. And lot's of processor ports are 8 bits wide.

Ken
__________________
Kenneth Lerman
55 Main Street
Newtown, CT 06470
Reply With Quote

  #8   Ban this user!
Old 11-20-2006, 04:20 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

061120-1716 EST USA

As Mariss suggested the 5 x 12 matrix is probably the better approach because the layout of LEDs probably falls in this arrangement, and also the logical maping in memory is easier to work with if this is the case.

.
Reply With Quote

  #9   Ban this user!
Old 11-20-2006, 04:22 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

If there are patterns of LEDs use a matrix as suggested above in conjunction with a constant current sink that is switched.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #10   Ban this user!
Old 11-20-2006, 11:58 PM
 
Join Date: Oct 2005
Location: US
Posts: 1,220
MrWild is on a distinguished road

Thanks and WOW, totally lost. Not a bad thing if I eventually learn something. What my idea is for, is to create custom turn signals with brake lights incorporated into them for motorcycle use. Many of the custom high brow bikes only leave their turn signals on long enough to pass inspection. Once through the DMV/DOT mess and their bike is titled, off come the ugly, only there for the moment, signals.

I've created some housings that look good enough to leave on after inspections, but the electronics are just way too cluttered when doing it with discrete componants. Because of how fast ideas are stolen and production sent over seas by some of the unscrupulous aftermarket folks, I was leary of looking for help in a public forum. My health is deteriorating though so I decided to bite the bullet and try to get it done while I can.

For this design, the rear signal lights have five arrays of five LEDs. Three of the arrays in each signal will light the center LED as a running light (six total). For brake lights, all the arrays will light. For turn signals, the right or left signal will sequence. If the brake is applied at the same time a signal is operating, the signal takes presadence over the brake light function.

For the front signals I have rear view mirrors with 4-5 (in design phase) LEDs that are centered in the mirror housing.

My circuit works, but in order to hide the electronics in as small a package as possible for uncluttered wiring, I have only the spaces (.625 tall X .980 wide X 4.5" long) in the rear signal housing(s) for the PCB(s). My current design has a PCB in each housing taking care of it's side. Even then it is silly crowded. My circuit uses a 555 timer, decade counter, transistors, diodes, and resistors along with a few capacitors for the 555. For the brake light/signal I'm using a 12v DPDT selenoid and a 7805 for the low voltage requirement of the ICs. Very crowded circuit board with many of the resistors and diodes standing on end.

Another design I'm working on has hidden signals in the stop/running light that motor out when the signal is switched on. Lots of ideas, but my health is going to heck in a hand basket. Docs now say I need the Gamma Knife or Cyber Knife for neuromas (tumors) pressing on my brain stem. This is on top of other problems. I'd like to try to get this all done this winter in case the sh!t hits the fan, so instead of learning all about PICs and the code writing to program them, I decided to ask for help and scratch up the coin to pay for a working PIC design. Don't expect to get rich, but don't think I'm asking for a hand out either. I just want to finish a bike I've spent ten years slowly building. No not a HD. Those were sold long ago to cover med expenses.
Reply With Quote

Sponsored Links
  #11  
Old 11-21-2006, 08:45 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

What became of your AcroMill?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12   Ban this user!
Old 11-21-2006, 11:31 AM
 
Join Date: Oct 2005
Location: US
Posts: 1,220
MrWild is on a distinguished road

Sold it at a loss to a guy in Omaha Nebraska. I listed it on eBay and told the truth of the mill's many problems. Because of that, I only recieved one bid and it sold for just $1,000. At least I can look at myself in the mirror without cringing and sleep a peaceful sleep knowing I'm not scum like the bum that sold it to me.

The new Supermax has a much smaller memory and will only load one program of just 1,000 lines at a time, but it is much more robust and has no mechanical problems while holding very tight tolerences. It also has a working auto drawbar and air operated brake. I'm almost done with an older Dell to use for drip feeding through the RS232 port. I'm much happier and haven't had a hiccup with the new machine at all so far. It really makes the old BP look like the junk it was. I do miss the acroloop though and came close to gutting the controls and selling the mill itself as scrap.

The new standing wheelchair and the supermax seem to go hand in hand. Life is better.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 09:15 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361