-
|
I'm still trying to wrap my head around DOF and how to set everything up. If I went with a sainsmart USB relay board to controll solenoids (and button LEDs), would the night mode toggle via Pinscape Pico still work for those solenoids? Or would they have to be controlled directly by pinscape? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
The Sainsmart USB boards have their own direct USB connection, so they would completely bypass the Pinscape software running on the Pico, and thus Pinscape's Night Mode would not affect the Sainsmart ports. So Night Mode wouldn't work for those. To make matters more confusing, Sainsmart ALSO makes a different kind of relay boards WITHOUT the USB connection. Those are designed for connecting directly to GPIO ports on a microcontroller like an Arduino or a Pico. With those, everything would go through the Pico, so Pinscape's Night Mode would work for those ports. So as long as you go with the second type of relay board - the kind with direct GPIO ports, and no USB port - you can use Night Mode. It'll also simplify your DOF setup, since you only have to set up the Pinscape Pico board in DOF. DOF doesn't see the Sainsmart directly in this case because the Sainsmart board isn't part of the USB environment. One important thing I should add is that relay boards in general aren't the best solution. Relays are mechanical, and they tend to wear out pretty quickly. I've seen a lot of people post in the virtual pinball forums that they have to replace those boards every year or so due to their short operating life. The thing to look for instead is MOSFET boards. Those are essentially exactly the same as the non-USB relay boards as far as the setup goes, so they don't add any complexity on your end, but MOSFETs are solid state devices that should last forever. (You can still break them by overloading them with too much voltage or current, but as long as you don't do that, they won't ever wear out from routine mechanical wear the way relays do.) |
Beta Was this translation helpful? Give feedback.
The Sainsmart USB boards have their own direct USB connection, so they would completely bypass the Pinscape software running on the Pico, and thus Pinscape's Night Mode would not affect the Sainsmart ports. So Night Mode wouldn't work for those.
To make matters more confusing, Sainsmart ALSO makes a different kind of relay boards WITHOUT the USB connection. Those are designed for connecting directly to GPIO ports on a microcontroller like an Arduino or a Pico. With those, everything would go through the Pico, so Pinscape's Night Mode would work for those ports.
So as long as you go with the second type of relay board - the kind with direct GPIO ports, and no USB port - you can use Night M…