Post by Frisbone on Mar 1, 2013 9:57:26 GMT -5
This is a digital temporal (synchronous) signal that can transmit a range of valued instantly. It is very common in controlling motors and servos.
Here is a board that I found that has more than enough PWM outputs to handle a single controller:
- NXP PCA9685 16-channel PWM controller (www.adafruit.com/products/815)
Here is a quote from the guy who created a breakout box for the controller that may serve useful:
Here is a link for a solution to control the NXP from a Raspberry Pi: www.adafruit.com/products/815) to his raspberry Pi to control multiple PWM outputs (http://www.raspberrypi.org/phpBB3/viewtopic.php?p=105657
Also, here is another micro-controller that can do it: ATmega168P/328P to control 6 PWM outputs (arduino.cc/en/Tutorial/SecretsOfArduinoPWM) - (www.digikey.com/product-detail/en/ATMEGA168P-20PU/ATMEGA168P-20PU-ND/1914548)
Here is a board that I found that has more than enough PWM outputs to handle a single controller:
- NXP PCA9685 16-channel PWM controller (www.adafruit.com/products/815)
Here is a quote from the guy who created a breakout box for the controller that may serve useful:
The analogue signals (joysticks/thump pads and triggers) are created by the use of PWM. This PWM signal is of course first filtered to create an almost perfect (it still has a bit of ripple, but that’s fine for this use) analogue signal. This is done by the use of a resistor and capacitor:
The only problem is that the 18f4550 only has 2 pwm ports, so I used a couple of 12f683’s that I had lying around to create the other 4 pwm signals. The 12f683 get their pwm values from the 18f4550 through a uart connection (they are all hooked up to the same uart port of the 18f4550, the 18f4550 sends a number (250, 251, 252 of 253) to indicate for which chip the value is meant and than sends the PWM value (duty cycle)).
The only problem is that the 18f4550 only has 2 pwm ports, so I used a couple of 12f683’s that I had lying around to create the other 4 pwm signals. The 12f683 get their pwm values from the 18f4550 through a uart connection (they are all hooked up to the same uart port of the 18f4550, the 18f4550 sends a number (250, 251, 252 of 253) to indicate for which chip the value is meant and than sends the PWM value (duty cycle)).
Here is a link for a solution to control the NXP from a Raspberry Pi: www.adafruit.com/products/815) to his raspberry Pi to control multiple PWM outputs (http://www.raspberrypi.org/phpBB3/viewtopic.php?p=105657
Also, here is another micro-controller that can do it: ATmega168P/328P to control 6 PWM outputs (arduino.cc/en/Tutorial/SecretsOfArduinoPWM) - (www.digikey.com/product-detail/en/ATMEGA168P-20PU/ATMEGA168P-20PU-ND/1914548)