Hey did anyone fere try using SN74HC595N shift register to control one of them china relay boards? If so, can you hook up the output pins directly? I'm kinda looks for a solution that won't require fuckin' with 8 transistors per board
Conversation
Notices
-
Embed this notice
pat (thatcrazydude@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:10:51 JST pat -
Embed this notice
Sir Funk ?? (sophistifunk@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:10:51 JST Sir Funk ?? @ThatCrazyDude isn’t the whole point of relays not using transistors?
-
Embed this notice
Sir Funk ?? (sophistifunk@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:12:03 JST Sir Funk ?? @ThatCrazyDude what’re you building? Solenoid controlled irrigation?
-
Embed this notice
pat (thatcrazydude@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:12:22 JST pat @Sophistifunk absolutely. The thing is though that they need certain amount of current to switch on, and most 3.3V microcontrollers won't deliver enough, so you need to amplify the output
-
Embed this notice
AdamAtSea (adamatsea@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:14:04 JST AdamAtSea @Sophistifunk @ThatCrazyDude What are you planing on using to drive the relays?
-
Embed this notice
pat (thatcrazydude@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:15:39 JST pat @Sophistifunk this particular thing will be for floor hearing in a not-so-mini greenhouse. I want 8 separate zones so I can set different temperatures in different parts
-
Embed this notice
Sir Funk ?? (sophistifunk@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:18:28 JST Sir Funk ?? -
Embed this notice
Sir Funk ?? (sophistifunk@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:19:41 JST Sir Funk ?? @ThatCrazyDude @AdamAtSea if you’re going to all that work, don’t cheap out and accidentally kill everything in a couple of zones to save $20.
-
Embed this notice
pat (thatcrazydude@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:19:42 JST pat @AdamAtSea @Sophistifunk esp32 was the original idea. But if I can do that with a shift register for like 10 cents, I'll prolly go with esp8266.
-
Embed this notice
pat (thatcrazydude@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:47:19 JST pat @AdamAtSea @Sophistifunk yeah, those I have definitely use opto-couplers for galvanic insulation and they seem to have some sort of transistors too. But I can't find a datasheet that would be of much use. They'll tell ya they want 3 to 6 V logic, but that's about it. Nothing about the current. And yeah, I do need at least 4 GPIOs extra.
-
Embed this notice
Sir Funk ?? (sophistifunk@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:47:19 JST Sir Funk ?? @ThatCrazyDude @AdamAtSea if it’s an OC it’s just enough to drive an ir diode, right?
-
Embed this notice
AdamAtSea (adamatsea@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:47:20 JST AdamAtSea @ThatCrazyDude @Sophistifunk It looks like that other board uses optocoupler to drive the relays, just put 3-5v on the appropriate pin and it should trigger, unless you need additional GPIO for other stuff.
-
Embed this notice
AdamAtSea (adamatsea@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:47:21 JST AdamAtSea @ThatCrazyDude @Sophistifunk You can get a 8-channel relay board with an esp8266 onboard. No bread-boarding needed.
-
Embed this notice
pat (thatcrazydude@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:47:21 JST pat @AdamAtSea @Sophistifunk yeah, but I already have the really boards and like 20 WeMos D1 minis collecting dust, so.... ;)
-
Embed this notice
pat (thatcrazydude@noagendasocial.com)'s status on Thursday, 12-Oct-2023 20:55:30 JST pat @Sophistifunk @AdamAtSea you actually have two LEDs in series there (one red indicator LED and whatever sits inside the OC)
-
Embed this notice