You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
4.2 KiB

5 years ago
  1. \documentclass[11pt]{article}
  2. %Gummi|065|=)
  3. \title{ProCAT Flash and Plover}
  4. \author{Steak Electronics}
  5. \date{2019}
  6. \begin{document}
  7. \maketitle
  8. \section{Overview}
  9. I want to use a ProCAT flash with Plover. The ProCAT Flash is a stenography machine. It allows for faster typing, and less strain. Plover is a FOSS Stenography project.
  10. \section{Work Log}
  11. \subsection{Not All ProCAT Flash's will work with Plover}
  12. Some of the plover docs mention that a ProCAT flash will work with a RJ11 to DB9 cable, and that the protocol can be set to Baron. My device must be an older firmware as there is no option to change the protocol, and in fact the RJ11 appears to be only for outbound calling... There is a modem option, and it allows you to call a number. It appears to be for actually calling a phone line.
  13. Instead, there is an arduino sketch of someone who has previously tapped into the serial out of the IO Expander (essentially the board that reads the keys), and helpfully outlined the process. By cutting the motherboard out of the picture, and driving the IO board directly from a 5V Arduino, one can use the ProCAT without the need for its built in modem. Neat.
  14. \subsection{Reading from a ProCAT Flash with an Arduino}
  15. There is a six pin ribbon cable that must be cut in half, and then the arduino connected to it. This is a minimally invasive hack. I can always put the cable back. Let's begin.
  16. The ink ribbon can be easily removed to gain better access to the IO board. The Shift Registers are TI 74HC165 which means this board may be able to be repaired, if needed. There is a conformal coating on the board, both sides. Funny how laptops don't bother with conformal coatings for waterproofing.
  17. Vcc is pin 16, and Gnd is 8. Tracing that back to the 6 pin cable to confirm the pinout of the arduino sketch is right,
  18. \subsubsection{Never Believe the Internet}
  19. The pinout of the sketch was wrong, for my flash. To be fair, my flash is not a Stentura 200, so that's why.
  20. My pinout is:
  21. \begin{verbatim}
  22. On ribbon cable going from left to right looking from above.
  23. RIBBON CABLE:
  24. 1 SH/LD (shift)
  25. 2 GND
  26. 3 CLK
  27. 4 PWR
  28. 5 Serial Out
  29. 6 ??? Goes to Resistor
  30. (INSERT PICTURE)
  31. On my IO board, the pins are staggered, so there is 1,2,3,
  32. then another column of 4,5,6 (columns start at the top,
  33. 1 being a square pad). Confusing.
  34. IO BOARD PADS
  35. 1 ??? Goes to Resistor
  36. 2 PWR
  37. 3 GND
  38. 4 Serial Out
  39. 5 CLK (goes underneath a resistor, then to all clocks)
  40. 6 SH/LD
  41. (INSERT PICTURE)
  42. \end{verbatim}
  43. These pins on the IO board are also soldered to pads (not holes) and fragile. Shit design. Tiny wires. I disconnected one just trying to follow the wires. Also they put some tape w/grease on the wires, and have them in a different order on the PCB from what the ribbon cable wiring is. Shit. Nothing I can't handle, however.
  44. There are three rails going on the top (bottom?) of the IO board. These are CLOCK, SH/LD, and Power. GND is a copper flood on the top (bottom?) of the IO board. Make sure to double check the pins line up with what you are connecting after building this.
  45. If you look closely on the circuit board for the IO expander, you might see labels for the Pins. I have G for gnd, + for Pwr, C for clk, etc..
  46. \subsection{Let's solder new wires on the IO board}
  47. I don't need to use the ribbon cable. Instead, let's take off the wires and use my own cable. I still wish the pads were holes, but I'm not making a new PCB for the IO board (though that is feasible). I might however make a PCB to fit inside the Flash... I'll need to edit the Arduino sketch too.
  48. Not only the IO board, but I'll also need to attach wires to the metal chassis or frame somewhere inside. The Pins of the Steno short the IO expander to ground so I need to have the Arduino connected to chassis as well.
  49. \subsection{Arduino Sketch}
  50. I made some edits to the Arduino sketch. One thing noteworthy to myself is the
  51. \begin{verbatim}
  52. /*
  53. * All inputs are pulled up. Pressing a key shorts
  54. the circuit to
  55. * ground.
  56. *
  57. * We invert the logic here to convert to more
  58. conventional positive
  59. * logic.
  60. */
  61. pressed = !digitalRead(DATA_IN);
  62. \end{verbatim}
  63. Haven't see the !variable logic before. Only in booleans, if(!true)...
  64. \end{document}