Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PWM setup help
#1
Hey guys and gals. New owner of a Robo-tank here and need a bit of assistance. I am having a little trouble declaring pwm jacks on the Reef-Pi. Under connections tab when trying to declare Jacks as outputs. I get unknown pwm port error from channel 2. channel 1 is working even though I have not tested the output. What is the pin-out of the PWM ports on the Robo-tank?

Lets say I want to declare PWM1 as channel 1 of the robo tank hardware PWM2 as channel 2 etcc.
Reply to top
#2
Hi Supernova, not sure what pins you are trying but the two Pi PWM pins aren't used for PWM. All PWM driven ports are from the PCA9685, it controls the 8 LED channels, the 7 DC ports and the feeder port.

For the Jack connectors you would use the PCA9685 driver and then the pin number for the port you want.

Here's a script you can run, it'll add the drivers and all the connectors for each port. Then if you want you can move some DC ports setup as Outlets to Jacks if you want to use them for dosing or whatever.

https://docs.google.com/document/d/1t9ma...5qkcuznso3

In this manual if you go to each port type there's a table showing which driver and pin number control it.

https://docs.google.com/document/d/1Vko1...S_Ebr/edit

And here's some other manuals if you haven't seen them.

https://www.robo-tank.ca/reef-pi_Related_User_Manuals

If you're still stuck or need something else let me know.
Reply to top
#3
(09-24-2021, 08:57 AM)Rob F Wrote: Hi Supernova, not sure what pins you are trying but the two Pi PWM pins aren't used for PWM. All PWM driven ports are from the PCA9685, it controls the 8 LED channels, the 7 DC ports and the feeder port.

For the Jack connectors you would use the PCA9685 driver and then the pin number for the port you want.

Here's a script you can run, it'll add the drivers and all the connectors for each port. Then if you want you can move some DC ports setup as Outlets to Jacks if you want to use them for dosing or whatever.

https://docs.google.com/document/d/1t9ma...5qkcuznso3

In this manual if you go to each port type there's a table showing which driver and pin number control it.

https://docs.google.com/document/d/1Vko1...S_Ebr/edit

And here's some other manuals if you haven't seen them.

https://www.robo-tank.ca/reef-pi_Related_User_Manuals

If you're still stuck or need something else let me know.

Thanks Rob, I had to re-load the PCA9685 driver. Got them working. 
Reply to top
#4
Great, glad they are working now.
Reply to top


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dosing Pump Setup BlakeD 4 1,826 05-18-2023, 09:09 PM
Last Post: Rob F
  PWM Setup plecosam 5 2,118 04-12-2023, 08:46 PM
Last Post: Rob F
  Help with pH board. im_jeremy5 13 5,315 02-01-2022, 04:13 PM
Last Post: Rob F
  Help me understand DC 1,2,3 vs 4,5,6,7 pwest 8 4,239 07-06-2021, 06:44 PM
Last Post: Rob F

Forum Jump:

Current time: 04-19-2024, 03:02 PM