3:2 Valve Input Port | 3:2 NC and NO Port Locations | 2:2 Valve Suggested Input and Output Ports |
---|---|---|
![]() |
![]() |
![]() |
Location of 3:2 Bypass Valves in Schematic | Location of 2:2 Valves in Schematic |
---|---|
![]() |
![]() |
%%HTML
<video width="800" height="600" controls>
<source src="CAD_Files/Valve%20Controller%20ESP32/video_2025-01-13_06-40-05.mp4" type="video/mp4">
</video>
%%HTML
<video width="800" height="600" controls>
<source src="CAD_Files/Valve%20Controller%20ESP32/video_2025-01-13_02-32-51.mp4" type="video/mp4">
</video>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/p1VI65QQhWY?si=CWPvj3usDdU_QkLi" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/X3Tl9_7uTFo?si=i8DHLYbLa7ghG9fs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Solder the Twisted +VE and -VE wires together. | Cover the +VE and -VE Wires with Red and Blue Tape Respectively | Cover Both Wires with White Electrical Tape |
---|---|---|
![]() |
![]() |
![]() |
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/wZQJJu3BVaQ?si=W5087UyYZDekMvWc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/eU7W66oj7ew?si=qCxQSxp7oD1-nW6u" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Soldered Header Pins Top View. | Soldered Header Pins Bottom View |
---|---|
![]() |
![]() |
Screwdriver Set | Self Tapping Screw Set |
---|---|
![]() |
![]() |
Breadboard PCB Front View | Breadboard PCB Back View |
---|---|
![]() |
![]() |
Large Pin for Female DC Barrel | Medium Pin for Female DC Barrel (-VE/Ground) | Small Pin for Female DC Barrel (+VE 24V DC) |
---|---|---|
![]() |
![]() |
![]() |
Mounted Female DC Barrel Top View | Mounted Female DC Barrel Back View |
---|---|
![]() |
![]() |
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/NSGyDSS8A6o?si=Hj2SeqhVqWXHubWR" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Yellow Cap Connecting JDVCC to VCC | With Yellow Cap Removed |
---|---|
![]() |
![]() |
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/AeBoMDQxR0c?si=SnWP-SDf5ORfmEci" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/uWn-Gapz5Ao?si=G1uaT5_VHeuVJXGs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/ImgJoVmVWQc?si=RQ9wd_44Z4rsAW5-" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/wVSTnvjBN8k?si=Z9SSMWAJQ06cb4FA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/_w2bWsCGiAE?si=ii3kAeFvO5dK6Xok" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/8OTM_BlqqBo?si=H4VLlSMjX1JK4MVz" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
import serial
import time
valveControllerCOMPort="COM14"
ValveController=serial.Serial(valveControllerCOMPort, timeout=1, write_timeout=0)
time.sleep(5.0)
print(ValveController.is_open)
print(ValveController.get_settings())
True {'baudrate': 9600, 'bytesize': 8, 'parity': 'N', 'stopbits': 1, 'xonxoff': False, 'dsrdtr': False, 'rtscts': False, 'timeout': 1, 'write_timeout': 0, 'inter_byte_timeout': None}
##This will turn all the Relays ON
ValveController.write("11111111\n".encode())
time.sleep(5.0)
##This will turn all Relays OFF
ValveController.write("00000000\n".encode())
time.sleep(5.0)
ValveController.close()
So now we are done. We have successfully assembled and controlled our Valve Controller with Python in our Jupyter Notebook. We will slowly build the other components and bring them all together to assemble our Complete ChronoSeq Device. We can then start orchestrating them together in a single Notebook for more complex behaviors.