16 Channel Lighting Sequencer / Chaser, 20X2 version.

adub

New Member
#3
The Patterns Instructions.txt file linked to by Michael is for a program I wrote for him that makes it easier to put the 120 lines of patterns used by his sequencer into usable EEPROM statements. Click, click instead of switch,switch...

The program can be downloaded by visiting http://adub.webs.com/ or directly here http://adub.webs.com/Patterns_v1_1.zip (WARNING BIG File! 5.7 meg extracts to over 20 meg...all debug code is still in it!)

Edit: Finally removed the debug code. Zip file is now 1.2meg and unzipped the folder takes 2.9 meg. Much better! Same url.
 
Last edited:
#4
WIN Pattern Generator, EEPROM Template Code generator.

Here are a couple of Screen Shots for Arvin's Pattern.exe

Each square across represents one of the 16 Output LEDs.
Simply select any of the 16 LEDs to output in a single sequence/chase step.
You can have up to 120 or less individual Steps. (including fully Blank ones)

The Patterns.exe will save a File as either or both, Plain pattern info
or Formatted info which uses the main .BAS file as a template and inserts
the EEPROM Code at the top of the .BAS ready for Download into the Picaxe Chip.
The Plain pattern info can be imported back into Pattern.exe for editing at a later time.
The Formatted info can not be imported back in for editing. New download to Picaxe only.

Note: The "sample" EEPROM code in the .BAS file needs to be #REM-ed out as both
can't exist in a single download. Only if you have been perviously fiddling with the
Sample EEPROM and running it in the Program Editor or SIMulator etc.
 

Attachments

#6
Thanks Westy,

I have a few more bits n bobs that can be added.

This is a neat little Case I've managed to squeeze it all into.

Then there is the 115V or 240V section, it's a DIY Solid State Relay ( SSR ) that
was the initial project, now look what it has turned into ~ ;o)

But I'm not sure on the approach to that side of it in here.

You know the mere mention of "Mains Voltage" in here will get ears pricking, eyes bugging,
knees wobbling and initiate trips to the Kettle, Loo and reference library and the polishing
of Battle Armor.
So I may even post that to the main forum.
I can hear the Brasso and Seel Wool comming out of the cupboard already.
 

Attachments

hippy

Technical Support
Staff member
#8
You know the mere mention of "Mains Voltage" in here will get ears pricking, eyes bugging, knees wobbling and initiate trips to the Kettle, Loo and reference library and the polishing of Battle Armor.
So I may even post that to the main forum.
I can hear the Brasso and Seel Wool comming out of the cupboard already.
The main concern is over people using mains when they don't really know what they are doing or don't appreciate the dangers and can easily make themselves a fatality if they get it wrong or make a simple mistake.

It's the thought of someone using my mains powered design, getting themselves killed, and having the lawyers and authorities head in my direction for retribution which causes my buttocks to clench rather than use of mains itself :)

Both are reasonable concerns, and it's right - even a duty - to express them both.
 
Last edited:
#9
20X2 16-Ch Lighting Sequencer MKII

At Arvin's request I have done a re-design "Arvin's Wish List" the MKII.

This model does away with the 8 Pattern DATA switches and only relies
on the Patterns.exe (WIN Application) to input new Patterns / Code into
the 20X2 chip.

The unit now has switches that resemble a music player etc.

< REV, PAUSE, MAN, FWD >

A STEP (PB) and a RESET (toggle) a Pot for Speed, another PB for the BINARY op / disp.

In MANUAL Step Mode you can also use the <REV function.



BTW Arvin has uploaded a new version of Patterns.exe which is much
smaller in size than the original. See Post #3.

Enjoy :cool:
 

Attachments

#10
The revised .BAS was way too large to insert into a post.
Attached as .txt below.

In Patterns.exe if you rename the Template.txt File to say, Template Old.txt then
save it, now rename the MKII.txt (below) as Template.txt you will be MKII ver ready.
(Remove the DEMO Pattern at the Top of the file first before saving your own patterns)
 

Attachments

#11
Part 2

At this stage I'm sticking with the MkII version of the controller from Post #9.

But what do you do next ?
Well a 110V or 240V Switcher would be a good idea. Not a Dimmer, ON OFF mode only.
There are a couple of ways you could go about this, Relays or Solid State Relays, I've
chosen the latter, both have pros and cons, for me SSRs are the way to go.

This is where things can start getting expensive.
A common 240V SSR with a 10A capacity will set you back around $45.00 AUD/USD
Then you need Mains outlets at around $5.00 ea for IEC style more for others.
Multiply this by 16 Channels and you get the picture. Ouch !

So being the cheapskate I am I made my own version :cool:

It wasn't an easy job but I got there in the end, not recommended for the faint-hearted
And DO NOT Play with MAINS VOLTAGE if you don't know what you are doing.

The circuit I used was directly off the MOCXXXX series of Phototriac Driver Optocouplers
Data Sheet, used to drive Triacs with only LED voltages, 5V etc.
I went for a Zero Crossing type MOC3163 and BT138-600 Triacs.
Why, well I got 50 Triacs cheap, worked for me :)
The 4 way PowerBoards, cheapest way out I could think of at the time, $4.95 a twin pack.

I retained the original AC Neutral and Earth Bus on the 4 way Boards.
The AC Active Bus was cut up into individual terminals, double insulated wires
were then run out the back of the 4 way housing into the main enclosure.

Ch 1 to 8 and Ch 9 to 16 can be split into 2 single AC circuits or joined as one
via the GPO on the side of the case.

Now I just need to save up for all of the 240V Extension Leads :eek:

Michael
 

Attachments

Last edited:
#13
Hi kotan,
Have you sorted out the problem ?
Try Google Translate if your English is not strong.

What Version of Windows do you have ?

I will have to locate the Files from 2x past computers to refresh my mind,
it has been a while ~ :eek:)

Michael
 
Top