-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample Wiring #36
Comments
@red4dj |
I'll see what i can whip up :) |
Anything new? |
Unfortunately, no :( My PhD thesis is due soon, so i will likely not be making any contributions in the near future |
@nsc-de Nice diagrams, but a couple of comments. The Pico runs on 3.3V, but the standard MAX485 is a 5V device. You want to be using a MAX3485 when running on 3V3. Secondly your Receive DMX diagram shows GPIO1 being connected to DI. I think you meant to connect it to RO (Receiver Out) for receiving data. |
An ordinary MAX485 breakout should work fine when the VCC pin of the MAX is connected to the V_BUS pin on the Pico without a level converter. This is for two reasons:
|
I must admit to not having checked that one, but you appear to be right that VIH is min 2V for DE, DI, and nRE according to the datasheet
Officially it is not (I've just checked with colleagues here at Pi Towers). Unofficially, it will stress the GPIOs rather than immediately latch up or fail, but it can't be recommended. |
Oops! Looks like you're right. It is not 5V tolerant. I may have mixed it up with another chip. Nice catch! |
On the plus side, logic level shifters are cheap and easy to source. Which is convenient. There are 3.3v rs485 modules out there, but I've not managed to get any of them to receive dmx yet... Probably my fault somewhere |
Strange as there isn't much to get wrong as long as nRE and DE are pulled low as @nsc-de shows in his diagrams. |
Ahh yeah, the modules I've been using are automatic switching so I shouldn't have to pull any pins high or low supposedly. (From what I can tell, as there are no pins other than the gnd, vcc and tx and rx |
Good luck with those. Then again if you're only receiving that should be their default state. |
Yeah they've been a pain in the ass so far. Will send dmx just fine, no issues. But they just refuse to receive it, and I don't really want to have to do some weird serial stuff, but I fear I might have to learn |
Could simple wiring diagrams be provided for those of us with a software background and not a hardware one? I would appreciate them as a guideline for your examples (input & 8 parallel output) and using them with MAX485 modules.
The text was updated successfully, but these errors were encountered: