特價

38. 樹莓派 Raspberry Pi I2C 16 channel PWM / L293D-2 4組馬達控制擴充板(附直流電源供應)

NT$ 2,299 NT$ 2,138

 

英國Pridopia公司設計製造

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

適用樹莓派A/B

售價含稅,隨貨附發票

歡迎來信選購或洽詢

描述

Print Friendly, PDF & Email

38. 樹莓派 Raspberry Pi I2C 16 channel PWM / L293D-2 4組馬達控制擴充板(附直流電源供應)

Raspberry Pi – I2C 16 Channel PWM Servo & L293D-2 4 & DC Power Motor Board

rs-pi-L293d-9685-pw-tv

一、產品特色

1. This board use RS-Pi GPIO 17,18,27,22,23,24,25,4

GPIO 17,18,27,22   for MA1, MB1

GPIO 23,24,25,4     for MA2, MB2

2. GPIO 28 ~31  (need V2 – P5 connector) for ultrasonic sensor connector (2GPIO , one for Trig, one for Echo) or other devices

3. 2 extra I2C input for sensors  (5V or 3v3) (5V port with Level converter)

switch S1 TO S5 ( use GPIO 7,8,9,10,11 signal)  (SPI signal)

4. LM2596S  STEP DOWN POWER MODULE

Input voltage range: DC 7.2V to 12V (input voltage must be higher than the output voltage above 1.5V. Could not boost)

Output voltage range: DC voltage from 5V to 10V continuously adjustable, high efficiency (92%) of the maximum output current of 2A.

二、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)

rs-pi-L293d-9685-pw-demo01

Rs-Pi- 16channel PWM & 4 Motor Power Board plug in Raspberry Pi

三、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-L293d-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 40, 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-41.py

pwm 

pwm-v2  for Raspberry Pi V2 board

2motor.py

4motor.py

五、產品內容

1x Rs-Pi I2C 9685 -16 channel PWM &  L293D  4 Motor & DC Power board

1x Manual

商品評價

目前沒有評價。

搶先評價 “38. 樹莓派 Raspberry Pi I2C 16 channel PWM / L293D-2 4組馬達控制擴充板(附直流電源供應)”