Here’s a basic way to connect your Dylos to an Arduino. I’m sure it’s far from the most elegant solution, but hopefully someone will contribute an improvement.
- Null modem cable, DB9 connector, M/F
- RS232 level shifter (Sparkfun PRT-00449)
- Male D-SUB connector (Digikey P/N A35105-ND)
STEP 1. Solder the Digikey connector to the level shifter instead of the one that comes from Sparkfun, and solder it on upside-down. Now your Arduino has a male DB9 port. See pic above.
STEP 2. Connect TX-O and RX-I from the level shifter to RX to and TX on the Arduino, respectively. In this case, I used the SoftwareSerial library and configured pin 2 as RX and pin 3 as TX:
STEP 3. Connect the null modem cable between the Dylos and the level shifter, and you’re good to go!
If you end up using this tip in your project, or you have improvements to suggest, please leave a comment below. Thanks!