Raspberry Pi - I2C 16 Channel PWM Servo & SPI 23017 x1 - 16 GPIO Board

  

Raspberry Pi - I2C 16 channel PWM Servo & I2C 23017 x1 uln2803 x1 - 16GPIO Board

 

  

                                                      

                         16 channel PWM Servo &  16 GPIO input/output with 16 Blue LED

The PCA9685 is an I2C-bus controlled 16-channel LED controller optimized for LCD
Red/Green/Blue/Amber (RGBA) color backlighting applications. Each LED output has its
own 12-bit resolution (4096 steps) fixed frequency individual PWM controller that operates
at a programmable frequency from a typical of 40 Hz to 1000 Hz with a duty cycle that is
adjustable from 0 % to 100 % to allow the LED to be set to a specific brightness value.
All outputs are set to the same PWM frequency.

PCA9685 also has a built-in oscillator for the PWM control.
However, the frequency used for PWM control in the PCA9685 is adjustable from
about 40 Hz to 1000 Hz as compared to the typical 97.6 kHz frequency of the
PCA9635. This allows the use of PCA9685 with external power supply controllers. All
bits are set at the same frequency.

The PCA9685 has 4096 steps (12-bit PWM)         

 

1. J3 Mini USB 5V input for PWM V+ & GPIO output pin 10 V+                                    

    J2 2P Terminal Block 5V input for PWM V+ & GPIO output pin 10 V+

2. J1 Rs-Pi V2  GPIO output

3 JP13  DA0 ~ DA7   U14 Port A    . JP14 BA0 ~ BA7     U14 Port B

4. R64,R65,R66 ( for  U14 Address select  A0,A1,A2)

5. U14 I2C 23017 -1  Port A,B            23017 Datasheet

6. U15  uln2803 

7. U3 PCA9685 (PWM Port 0 ~ 15)       PCA9685 Data Sheet 

8. R10,R11,R12,R13,R14,R15( for U3 Address select A0,A1,A2,A3,A4,A5)

 

 

                plug in Raspberry Pi with Servo motor        

              

 

 

 in i2cdetect  you can found 2 device in system (21,41)

21 -  23017     41 - 9685

 

Support our Pi_Scratch software   Detail

(1) Servo Motor control

 
 
 2 Servo in  channel 0 & channel 7 
 
   Command "SE"+ "PWM (0-15)" + "a" +"angle"  for Address 41
 
    se7a10   --> channel 7 servo move 10 angle  address 41
    se7a-10  --> channel 7 servo move -10 angle address 41
    se0a10   --> channel 0 servo move 10 angle  address 41
    se0a-10  --> channel 0 servo move -10 angle  address 41

 

(2) PWM  LED output demo

     

 

  
         LED module (Blue, Green,Yellow,Red)

 

LED Scrolling  Command     PWMLED41S0E15D4True
PWMLED”Address” S[Start channel] E[End channel] D[Delay / Timing] [True/False]
 
Address 41, 42,43,44 
Start channel & End channel   0 ~ 15    16 channel
D   1,2,3,4,5    (1 ~ 100) Delay Timing
 
LED Brightness control Command 
PWMLED “Address” “B” “0 ~ 1000“ 
PWMLED41B1000
 
Stop command 
"PWMLED41STOP"

 

 

 

Test Program

servo-40.py    servo-41.py    pwm   

pwm-v2  for Raspberry Pi V2 board

User Manual

 

Package Content

  1x Rs-Pi I2C 9685 -16 channel PWM &  23017-1  16 GPIO board

1x manual 

  

 
 
 

Raspberry Pi

iPad  iPhone

Products  

 

Copyright ?009
www.pridopia.co.uk
All rights reserved

Home           About us           Support           Shopping           Contacts            FAQ