PWM Control of D5 water pumps
-
Hello,
We want to use Isadora to play 4k video while controlling the speed of three D5 pumps using PWM and switching three 12V DC relays via a MIDI score synced to the video. The part we are stuck on is the PWM control for the pumps. To get started, we are looking for patch/hardware suggestions and general advice? The pumps are this type, used in liquid-cooled PC setups. In previous pieces (here is one example) we used these pumps with a Windows machine, and we could control the pump speed through the BIOS, but it was fixed and not interactive. In this instance, the work is running on an M4 Mac Mini and we would like to be able to modulate and control the speed of the pumps as the video plays.
Many thanks for any tips, we are looking forward to using Isadora for an installation that will be presented later this year in a biennale.
Thanks in advance!
Melissa and Aaron
-
My guess is that you will have to interface the pumps via some microcontroller. Maybe an Arduino.
This appears to be a starting point: 12VDC Pump control using PWM - Other Hardware / Motors, Mechanics, Power and CNC - Arduino Forum
Once the Arduino can control the pumps, it won't be to hard to extend the Arduino to listen to commands from Isadora. -
@dusx Thank you! We will continue down the Arduino path and then come back to Isadora. In our previous installations, OSC data from a Unity simulation is controlling an Arduino (relays/air solenoids> soft robot manta). Does OSC seem appropriate for controlling Arduinos from Isadora?
-
@dubbindavidson said:
Does OSC seem appropriate for controlling Arduinos from Isadora?
If you have done that before, then sure. OSC allows you more distance between the PC and Arduino. If you used USB/serial you would be limited by the USB cable length.
-
@dusxthis Thank you, this is helpful.