Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Driver - How hard would this be?
#1
I have been able to write a driver, but not using serial connections.  I have an EverPlex 4CQ Quad processor that takes the 4 camera feeds I have and displays them via analog signal to my TV's.  It has a serial protocol, and apparently quite simple.   My question is - how hard would this be to do, having written one JSON driver and edited quite a few others.  Is there a driver I could use out there as a "go by" to start this one?

Here is the info from the manual:

A computer or a terminal can be used to control the EverPlex 4CQ by sending two-character ASCII command through RS232 connector. These ASCII commands are started with 'K' or 'k'. There are 9 ASCII commands mapped to the 9 keypads in the frontpanel and 1 additional commands to reset the EverPlex 4CQ to the QUAD display state.These 10 ASCII commands are show as below:

K1 Full Screen 1
K2 Full Screen 2 
K3 Full Screen 3
K4 Full Screen 4
K5 Quad Display
K6 Freeze
K7 Sequential Switching
K8 VCR Play Back
K9 SET
K0 Reset the Processor to Quad display
Reply
#2
If they are simple ASCII and it's just one way (outgoing commands) you wouldn't even need to write a driver per se. You could use the generic serial/socket driver, which just lets you pass through text strings to the device.
Dean Roddey
Explorans limites defectum
Reply
#3
(04-12-2019, 10:12 PM)Dean Roddey Wrote: If they are simple ASCII and it's just one way (outgoing commands) you wouldn't even need to write a driver per se. You could use the generic serial/socket driver, which just lets you pass through text strings to the device.

I use this a lot when I don't need polling. It will take ascii or hex. Also, likely assume it needs a carriage return so check that box.
Reply
#4
Thanks, finally got around to running a serial connection to the Quad processor and it works great.  I set it up so that I can access all 4 camera's individually plus the Quad view on the IV, plus use it on two triggers for motion outside to show that particular area in full screen.

My biggest hurdle was the DB-15 connector on it.  I knew there was a good reason why I save all my old wires and vintage PC equipment.  I was able to take an old Game Controller (1980's vintage) that had a 15 pin connector, tear the connector apart to get the DB-15 male pin, then use the ROHS RJ-45 to DB-9 connector and retrofit it to work.
Reply
#5
I'll relate how I do this to make it easier for you next time. I always go to Amazon and buy a couple of the connectors I need. The nicest part about them is that they let you pin the connectors to however you want. If you do this, buy a pin puller also as you'll invariably pin something wrong along the way. Since the last time I did this, there's now a "breakout board" option that allows you to wire them without RJ45. I don't think I'd do this but it's another option.

https://smile.amazon.com/InstallerParts-...B008NXJHI2

I would have given a part number for the actual DB15 but apparently it's made in a VGA style 3 row configuration and a 2 row configuration and I was not sure which you'd want. They both are available for less than $5 though.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Sage Media Server driver (beta) Fonceur 698 258,890 07-26-2020, 04:59 PM
Last Post: sic0048
  RainMachine Sprinkler Irrigation Controller Driver kblagron 50 4,250 06-01-2020, 01:18 PM
Last Post: Dean Roddey
  Russound MCA-66 on TCP driver lapointe.sc@gmail.com 5 429 05-24-2020, 06:23 AM
Last Post: gReatAutomation
  Samsung SmartTV Driver George M 0 160 05-20-2020, 09:04 AM
Last Post: George M
  OpenWeatherMap Weather Driver Using OneCall API kblagron 11 748 05-18-2020, 04:09 AM
Last Post: dlmorgan999
  Tesla Driver Driver kfly 10 1,248 05-08-2020, 08:49 AM
Last Post: gReatAutomation
  JVC D-ILA Driver jokermac 34 5,459 04-13-2020, 01:28 AM
Last Post: Mark Stega
  LIFX Driver bobskie708 15 6,496 01-05-2020, 11:00 AM
Last Post: simplextech
  Universal Devices ISY Insteon Driver wuench 369 177,448 12-28-2019, 05:15 PM
Last Post: simplextech
  RunTimer2 driver rbroders 18 8,206 10-17-2019, 04:38 PM
Last Post: rbroders

Forum Jump:


Users browsing this thread: 1 Guest(s)