2022-01-21, 09:04 PM
I am using one of these wired directly to the Arduino on the motor controller
It has 4 channels like this:
I wired pin 8 and 10 on the Pypilot HAT PI header directly to the level shifter and this works fine.
Then I added the 2K4 resistor in series and it no longer works
Reduced the resistor to 1K , and it still does not work.
It would be nice to have optical isolation on the UART interface.
Too bad I can't find any of those 'digital " optos in my country.
I have some 6n138 in my parts bin, I'll try if I can make that work.
It has 4 channels like this:
I wired pin 8 and 10 on the Pypilot HAT PI header directly to the level shifter and this works fine.
Then I added the 2K4 resistor in series and it no longer works
Reduced the resistor to 1K , and it still does not work.
It would be nice to have optical isolation on the UART interface.
Too bad I can't find any of those 'digital " optos in my country.
I have some 6n138 in my parts bin, I'll try if I can make that work.