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
  RunTimer2 driver rbroders 18 6,019 Yesterday, 04:38 PM
Last Post: rbroders
  Writing Driver - Varying commands based on checksum gReatAutomation 3 308 07-22-2019, 01:08 PM
Last Post: Dean Roddey
  Samsung HLxxA750 DLP Beta Driver jrunde 37 19,629 07-19-2019, 01:24 PM
Last Post: gReatAutomation
  Amazon Echo Hue Simulator Driver wuench 123 53,306 07-08-2019, 09:53 AM
Last Post: Dean Roddey
  Cytech Comfort Driver znelbok 6 788 04-10-2019, 05:39 PM
Last Post: znelbok
  OpenHAB Driver whozeawhat 6 2,628 01-16-2019, 06:45 AM
Last Post: greymatter
  LIFX Driver bobskie708 14 4,373 01-10-2019, 06:36 PM
Last Post: Dean Roddey
  XBMC Driver wuench 428 190,924 12-28-2018, 11:07 AM
Last Post: dogman
  Driver for Bigass Fan lleo 7 1,191 11-25-2018, 08:57 AM
Last Post: Dean Roddey
  Generic Modbus Driver - Serial & IP znelbok 25 15,151 10-09-2018, 08:59 AM
Last Post: Ron Haley

Forum Jump:


Users browsing this thread: 1 Guest(s)