|
Matronics Email Lists Web Forum Interface to the Matronics Email Lists
|
View previous topic :: View next topic |
Author |
Message |
nuckolls.bob(at)aeroelect Guest
|
Posted: Mon Jun 25, 2012 9:51 am Post subject: OS Wig-Wag Project |
|
|
Greg,
Been up to my fanny in loft beds and plumbing but
while plying the asphalt between here and Wichita
I came up with this idea for getting "more" from
the OS wig-wag module.
How about two switches labeled LANDING and TAXI.
Have each switch provide an active LO to produce
an action on the two lights as follows:
[img]cid:.0[/img]
This would give the builder/installer the option of
both on steady or wig-wag depending on a difference
in paired or separate selection of the two switch
positions. If in single lamp operation, the switches
would both have to be placed at off and the simultaneously
placed to ON to switch to Wig-Wag. Otherwise, the two
switches independently control their respective lamps
in steady-on operation.
Bob . . .
| - The Matronics AeroElectric-List Email Forum - | | Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
http://www.matronics.com/Navigator?AeroElectric-List |
|
Description: |
|
Filesize: |
48.54 KB |
Viewed: |
6197 Time(s) |
|
|
|
Back to top |
|
|
gregmchugh
Joined: 03 Apr 2012 Posts: 42
|
Posted: Mon Jun 25, 2012 2:32 pm Post subject: Re: OS Wig-Wag Project |
|
|
Bob,
That seems to be a good solution. I will spin a version of the
software for this and send another PIC chip along to you.
Probably sent off to you by the end of the week.
Greg McHugh
| - The Matronics AeroElectric-List Email Forum - | | Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
http://www.matronics.com/Navigator?AeroElectric-List |
|
|
|
Back to top |
|
|
gregmchugh
Joined: 03 Apr 2012 Posts: 42
|
Posted: Sun Jul 01, 2012 9:33 am Post subject: Re: OS Wig-Wag Project |
|
|
Bob,
I have a new version of the software that implements the new
control logic and can flash it into a PIC and send it along. I
tested it on a breadboard and it seems to be working fine.
I need to change the sample board you sent to have
individual switches on the two control lines which I will
probably do sometime this week and then I will test the
new version on that board. In any case I will be able to
send a new PIC chip along to you this week that has the
new logic that you can use for your testing.
Greg McHugh
| - The Matronics AeroElectric-List Email Forum - | | Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
http://www.matronics.com/Navigator?AeroElectric-List |
|
|
|
Back to top |
|
|
nuckolls.bob(at)aeroelect Guest
|
Posted: Sun Jul 01, 2012 1:15 pm Post subject: OS Wig-Wag Project |
|
|
Quote: | In any case I will be able to
send a new PIC chip along to you this week that has the
new logic that you can use for your testing.
Greg McHugh
|
Cool! I'll stuff another board here and
confirm. Next are the temperature rise studies
to see just how much current the present board
configuration should be rated for.
Bob . . .
| - The Matronics AeroElectric-List Email Forum - | | Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
http://www.matronics.com/Navigator?AeroElectric-List |
|
|
|
Back to top |
|
|
gregmchugh
Joined: 03 Apr 2012 Posts: 42
|
Posted: Mon Jul 02, 2012 1:12 pm Post subject: Re: OS Wig-Wag Project |
|
|
Bob,
I mailed the new PIC chip off today. Here is the source code for this
version with the new control logic using separate switches for each
lamp.
Greg McHugh
| - The Matronics AeroElectric-List Email Forum - | | Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
http://www.matronics.com/Navigator?AeroElectric-List |
|
Description: |
|
Download |
Filename: |
wigwag.c |
Filesize: |
8.8 KB |
Downloaded: |
415 Time(s) |
|
|
Back to top |
|
|
nuckolls.bob(at)aeroelect Guest
|
Posted: Mon Jul 02, 2012 8:29 pm Post subject: OS Wig-Wag Project |
|
|
At 04:12 PM 7/2/2012, you wrote:
Quote: |
Bob,
I mailed the new PIC chip off today. Here is the source code for this
version with the new control logic using separate switches for each
lamp.
Greg McHugh
|
Just out of curiosity, how much memory did it
take of the total to make it play?
Bob . . .
| - The Matronics AeroElectric-List Email Forum - | | Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
http://www.matronics.com/Navigator?AeroElectric-List |
|
|
|
Back to top |
|
|
gregmchugh
Joined: 03 Apr 2012 Posts: 42
|
Posted: Tue Jul 03, 2012 9:12 am Post subject: Re: OS Wig-Wag Project |
|
|
Bob,
Below is the memory usage summary. As shown, the PRO compiler
($1195) provides optimization compared to the free LITE version I am
using.
Currently I am using 22.9% of the 2K bytes of program memory and
39% of the 128 bytes of data memory. Not using any of the 256
bytes of EEPROM memory at the moment.
Lots of ways to reduce memory usage if you get near the limit but
we probably will not get near it for most of the types of applications
we have discussed so far.
Greg McHugh
-------------------------------------
Memory Summary:
Program space used 1D4h ( 468) of 800h words ( 22.9%)
Data space used 32h ( 50) of 80h bytes ( 39.1%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 1h ( 1) of 1h word (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
Running this compiler in PRO mode, with Omniscient Code Generation
enabled, produces code which is typically 40% smaller than in Lite mode.
The HI-TECH C PRO compiler output for this code could be 187 words
smaller.
--------------------------------
| - The Matronics AeroElectric-List Email Forum - | | Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
http://www.matronics.com/Navigator?AeroElectric-List |
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|