特價

28. 樹莓派 Raspberry Pi I2C 32 PWM 擴充模組

NT$ 1,459 NT$ 1,328

 

英國Pridopia公司設計製造

工廠直營,提供技術支援,保固3個月

適用樹莓派A/B,B+以上版本可架高或外接GPIO排線使用

售價含稅,隨貨附發票

歡迎來信選購或洽詢

描述

Print Friendly, PDF & Email

28. 樹莓派 Raspberry Pi I2C 32 PWM 擴充模組

rs-pi-9685-2-tv

32 channel PWM / Servo

一、PCA9685簡介            

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)            PCA9685 Data Sheet

二、產品特色

1. J3 Mini USB 5V input for PWM V+

J2 2P Terminal Block 5V input for PWM V+

2. J1 Rs-Pi V2  GPIO output

3. U2 PCA9685 (PWM Port 0 ~ 15)

4. R4, R5, R6, R7, R8, R9( for U2 Address select A0,A1,A2,A3,A4,A5)

5. U3 PCA9685 (PWM Port 0 ~ 15)

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

7. Red power-good V+ LED

8. 1.6A PolySwitch Fuse for V+ input protect.

三、plug in Raspberry Pi with Servo motor

rs-pi-9685-2-demo02

四、in I2C detect  you can found 2 device in system (40,41)

rs-pi-9685-2-i2c-status

五、Scratch驅動應用範例 Detail

(1) Servo Motor control

scratch-pwm-demo01

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

9685-2-pwm-led-demo01

pwm-4led-block-s

scratch-pwm-led-demo03

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”

scratch-pwm-led-demo01

六、範例程式下載

servo-40.py

servo-41.py

pwm

servo-4041.py

pwm-v2  for Raspberry Pi V2 board

七、產品內容

1x Rs-Pi I2C 9685-2  32 channel PWM / Servo board

1x Manual

商品評價

目前沒有評價。

搶先評價 “28. 樹莓派 Raspberry Pi I2C 32 PWM 擴充模組”

您可能也喜歡…