Computer Controlled Emergency Lighting?????

This forum is dedicated to helping people with questions about installing radio equipment in vehicles. This can include antenna installs, electrical wiring questions/problems, and mounting systems. Pictures of installs are welcome.

Note: Discussions regarding lighting, sirens, and other equipment now has its own forum in the 'off-topic' section below.

Moderator: Queue Moderator

Post Reply
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Computer Controlled Emergency Lighting?????

Post by jmr061 »

Does anyone know of a computer application out there that can drive relays when a function is selected whether it be via keyboard or touchscreen. I am looking for a "simple" application to switch relays to turn on emergency lights. I am imagining it being controlled through the db9 com port on the laptop computer and being hooked to a controller board which would have outputs to drive the relays.

Anyone know of something in existance for this?

Jason
User avatar
nmfire10
Batboard $upporter
Posts: 4109
Joined: Sat Jun 29, 2002 4:41 pm

Post by nmfire10 »

There are a few companies that have delved into this. There is only one, well maybe two problems.

1. Blue Screen of Death & "This program has preformed and illegal operaton and will be shutdown"

2. Whats wrong with a switch?
"I'll eat you like a plate of bacon and eggs in the morning. "
- Some loser on rr.com

eBay at it's finest:
Me: "What exactly is a 900Mhz UHF CB?"
Them: "A very nice CB at 900Mhz speed!"

:-?
User avatar
Pj
Moderator
Posts: 5147
Joined: Sun Sep 09, 2001 4:00 pm
What radios do you own?: X9000 thru APX

Post by Pj »

I know it has been down, as I have been seeing ad's in Radio Resource and a few others, that combines lights/sirens/radio and a couple of other functions into a dashboard intergrated panel.

As for standalone applications, I have found these, some you need to complie your own programs, but shouldn't be too bad:

http://www.controlanything.com/html/r8x.htm
http://www.quasarelectronics.com/computer_projects.htm
Lowband radio. The original and non-complicated wide area interoperable communications system
Image
User avatar
jim
Posts: 2184
Joined: Sun Sep 09, 2001 4:00 pm

Post by jim »

Not a good idea for a municipal vehicle. If the computer goes down, so does everything else. Imagine a CDPD error while in pursuit.
Also, if it says "Windows", it will fail. Remember...."KISS" (Keep it simple, stupid!)

It sounds like a great idea, but not. It would, however, be fun to try!
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Post by jmr061 »

It would be for my personal vehicle as a toy. Experiementing is fun.

Jason
User avatar
nmfire10
Batboard $upporter
Posts: 4109
Joined: Sat Jun 29, 2002 4:41 pm

Post by nmfire10 »

JMR964 wrote:It would be for my personal vehicle as a toy. Experiementing is fun.
Ah, well that is different. That sounds like something I would try to do, too.
"I'll eat you like a plate of bacon and eggs in the morning. "
- Some loser on rr.com

eBay at it's finest:
Me: "What exactly is a 900Mhz UHF CB?"
Them: "A very nice CB at 900Mhz speed!"

:-?
User avatar
alex
Administrator
Posts: 5762
Joined: Mon Sep 03, 2001 4:00 pm

Post by alex »

You can probably use the parallel port on your computer to do it.

I would grab some books on this - I don't even know where to begin with this. You'd have to send certain pins high/low to control functions - but it's something that's quite common, and you should be able to find lots of information regarding this.

-Alex
User avatar
007
Posts: 1546
Joined: Sat Nov 23, 2002 5:22 am
What radios do you own?: W7 FPP lowband MaraTrac w/AES

Post by 007 »

Jason,

Federal Signal has a working program to to just what you want, but I imagine that it is horribly over-priced. The screen layout is similar to a SmartSiren, but more user-friendly with more colors for the buttons.

I have the info sheet laying around somewhere......I'll send you an email if I find it.

BTW- If you get something working, I would be interested in coming up there to see it :)
Do not make Sig angry...he'll just keep ringing the bell.
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Post by jmr061 »

I have the SignalNet information. I haven't either bothered looking at the price on it. The relay stuff Packy refers to would work fine for me. Just need to get someone to come up with a windows based application for it. I will be checking with a sibling on that but if anyone out there would be able to make a windows based application that sends ascii codes out the serial port via user input that would be great.

Thanks

Jason
User avatar
007
Posts: 1546
Joined: Sat Nov 23, 2002 5:22 am
What radios do you own?: W7 FPP lowband MaraTrac w/AES

Post by 007 »

I went and looked at the first site that Pj listed...that is a neat idea. Kinda like a /\/\ Wildcard box, but computer controlled. I'm gonna do some checking into this also....it's a helluva good idea.
Do not make Sig angry...he'll just keep ringing the bell.
Haloncloud
Posts: 68
Joined: Sun Jan 06, 2002 4:00 pm

Post by Haloncloud »

Here is a few that I have found in past but havent used personally. I think this might be what you might be looking for.

http://electronickits.com/kit/complete/elec/ck1601.htm

http://www.web-tronics.com/pcprinporrel.html

Some intresting links here:

http://www.dai.ed.ac.uk/homes/alexc/
User avatar
jim
Posts: 2184
Joined: Sun Sep 09, 2001 4:00 pm

Post by jim »

Maybe Motoroa will come out with something like this. It will be DOS based and operate only on a 386 or older platform, it will take forever to get licensed- if you can, it will only work with new lightbars and won't work on any older versions, you will need a special cable for every make/model car AND equipment, and if the car crashes while any equipment is on...all of the equipment will self-destruct and have to get sent back to the factory for depot repair. Oh....and it will be available on 5 1/4" floppy, too!
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Post by jmr061 »

Actually Motorola did have system for just this use. It controlled the lights/siren/radio. It supposedly was much more evolved than the MW520 Virtual Control Head program. Motorola soon scrapped it due to no interest by public safety. I personally would love to get my hands on their setup for this if anyone has which I highly doubt.

Moving on....I spoke with one of my siblings and he stated it would be easy for him to develope a windows application to control the relay setup on the http://www.controlanything.com site that Paxton referred to in an earlier reply. He says he can have it ready by the end of May when he will be visiting in my area. So I am looking forward to this little project.

It seems it will be possible and I hope to get the application "looking professional".

Jason
User avatar
nmfire10
Batboard $upporter
Posts: 4109
Joined: Sat Jun 29, 2002 4:41 pm

Post by nmfire10 »

If you do it, you have to make it fancy.

Make a sequencer master button to avoid beating up your alternator. Hit it and it will turn each programmed function on or off in sequence one at a time.

Make flashing outputs. You can have the buttons for alley lights have a timed on-off-on-off-on-off type thing for making them flash in intersections.
"I'll eat you like a plate of bacon and eggs in the morning. "
- Some loser on rr.com

eBay at it's finest:
Me: "What exactly is a 900Mhz UHF CB?"
Them: "A very nice CB at 900Mhz speed!"

:-?
jdebert
Posts: 65
Joined: Fri Feb 21, 2003 11:33 am

Post by jdebert »

Don't let windoze be the control system. I speak from <<shudder>> experience! :evil: That is an exercise reserved solely for masochists.

It would be better to get a small single-board-computer, like a 68HC11-based unit or a BASIC Stamp, etc., to do the work of controlling relays. Then you only need to have the PC tell it what to do: No need for fancy programming, no need to leap tall buildings--just a program or script that talks to the SBC and tells it what to do, leaving the "how" to do it up to the SBC.

Obviously, you will need to program the SBC to do what you want but it will be way easier than trying to get windoze to cooperate.

If you want to do it yourself, check out Circuit Cellar Ink @ newstands or @ http://circuitcellar.com/ CHeck out the adverts...

If you can find them, also check out issues of the defunct Midnight Engineering magazine.

There are also books and tutorials on how to design such control systems.
jd
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Post by jmr061 »

The whole point is the save space. The laptop has mobile internet and aprs on it. Why would I want to add another computer??

Jason
jdebert
Posts: 65
Joined: Fri Feb 21, 2003 11:33 am

Embedded Controllers/SBC's

Post by jdebert »

What is this going to be on? A motorcycle? :wink:

I don't mean that you should get another PC or a big mobo sized SBC.

The SBC's I have in mind are small. They are also referred to as embedded controllers. My 68HC11 development board is slightly larger than an index card. BASIC stamps are smaller: some as small as a large postage stamp. Some OEM production boards are even smaller. Many now come with embedded USB and embedded ethernet and TCP/IP.

You will have to build a control interface, as it is unsafe to drive relays or lights directly from the PC. So you will most likely have room for a small SBC or embedded controller.

With internet and aprs on it already, it has enough to do without trying to make it a controller as well.

Sounds like what you want to do is make your PC a process controller. Even if it's the only thing it ever does, windows can't do the job without breaking several times daily, at least. That will result in distraction if it breaks while you are driving. And distraction--well, you know.

BTW, if you do want to use this on a motorcycle, you might be interested the tech in a bicycle called BEHEMOTH, built by Steve Roberts, N4RVE of Nomadic Research Labs. Might get some useful info or ideas from it. It's at http://www.microship.com/ Lots of other interesting stuff there, too.

And Nuts & Volts also has info on SBC's & embedded controllers. Also has projects articles from time to time.
jd
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Post by jmr061 »

Just an update. I am going with the controlanything.com setup. The unit I will be using a the R810PRO. My brother is developing a WINDOWS base application for this. Once it is done and tested I may make the software available to other batboard members who would like to try this out for their personal vehicles.

If you might be interested in this let me know by leaving me a message either via email or the batboard message system.

Thanks

Jason
User avatar
007
Posts: 1546
Joined: Sat Nov 23, 2002 5:22 am
What radios do you own?: W7 FPP lowband MaraTrac w/AES

Post by 007 »

Jason....Check your PM's. I'm interested.
Do not make Sig angry...he'll just keep ringing the bell.
User avatar
motorolamonster911
Posts: 509
Joined: Mon Dec 02, 2002 3:18 pm

Post by motorolamonster911 »

Check ur PM, I'm interested also!!
MotorolaMonster911



"If at first you don't succeed, read the manual" - Montgomery's Maxim
"The trouble with resisting temptation is it may never come your way again." (E-bay Scenario) - Somebody
User avatar
perthcom
Posts: 280
Joined: Sat Dec 08, 2001 4:00 pm

Post by perthcom »

Ohh this could be cool... since you already have an internet connection, make your controller an internet appliance!

It would be easy to write the screens in HTML

Fancy graphics and all!!

You'd be the first with a mobile router!

Ahh but then everyone would be hacking into it, make for an exciting drive not knowing when the lights would go!

8)
User avatar
alex
Administrator
Posts: 5762
Joined: Mon Sep 03, 2001 4:00 pm

Post by alex »

I've thought about adding 2 antenna's to my truck to feed into a linksys wireless router for mobile computing. Should provide adaquate coverage for your vehicle and others in a convoy of sorts. Also, when I pull up to a building the laptop could be instantly registered on the network.,.. mmm...so many ideas such a thin wallet :)

-Alex
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Post by jmr061 »

Well I have a basic functioning setup now for my Toughbook CF-28 Touchscreen. I am controlling three emergency lights and my daytime running light/auto head light at night CUT OFF via a windows application that sends commands via serial/com port to a http://www.controlanything.com RS810PRO relay board. Once I get my siren back from the Motorola Shop I should be able to control three siren tones and the PA through the same application.
Have a few touch up items that I would like done to the application but it is awesome.

Jason
User avatar
007
Posts: 1546
Joined: Sat Nov 23, 2002 5:22 am
What radios do you own?: W7 FPP lowband MaraTrac w/AES

Post by 007 »

Sweet!!

I am having an equal amount of fun with my install this weekend....great things are happening.
Do not make Sig angry...he'll just keep ringing the bell.
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Post by jmr061 »

I now have this setup fully functional. My RF problem was eliminated by using an R810 board versus an R810PRO.

My brother will be finalizing his software and has told me I can give it away for free but a small donation would be appreciated ( I am going to be giving him a little more than a small donation, he spent a lot of time on this for me).

Thanks for everyones suggestions on the RF problem.

Jason
User avatar
JAYMZ
Posts: 2778
Joined: Sun Sep 09, 2001 4:00 pm
What radios do you own?: Radar Range

Post by JAYMZ »

Excellent program Jason.....

I applaud your brothers programming prowess(sp?)...

But a question. By going into the configuration file I was able to change the labels and such on the buttons. Is there a way to make the buttons momentary?
JAYMZ

"Mom and dad say I should make my life an example of the principles I believe in. But every time I do, they tell me to stop it."
Calvin
User avatar
motorolamonster911
Posts: 509
Joined: Mon Dec 02, 2002 3:18 pm

Post by motorolamonster911 »

So when/where will a copy of the software be availible?

Thanks,

Nick :D
MotorolaMonster911



"If at first you don't succeed, read the manual" - Montgomery's Maxim
"The trouble with resisting temptation is it may never come your way again." (E-bay Scenario) - Somebody
jmr061
was KB9KST
Posts: 3176
Joined: Fri Sep 14, 2001 4:00 pm

Post by jmr061 »

I am still having some minor updates made to it. It might be a litte while before the final program is done. I do have a working application I am using now. One of the items is to be able to set buttons on a timer or make it strickly momentary.

Jason
User avatar
perthcom
Posts: 280
Joined: Sat Dec 08, 2001 4:00 pm

Post by perthcom »

Local police got computer-controlled light controller a few years ago. (Microprocessor controller with remote power switching to light bar)

They were neat, one button would start all lights in sequence (to reduce startup current). It had a "spill resistant" keyboard.

But they were a mega headache!! slide into the seat on a very dry day.. and POOFF! Static electricity would blow it!! Only 4 cars and we couldn't keep enough spares around... they bought the units themselves, but of course it was all our fault for the problems with them.

so... whats wrong with a switch KISS!!

8)
Post Reply

Return to “Vehicle Radio Installs”