Timo Karppinen / Mbed OS RCServo_PCA9685_K64F_OS6_tk1
Committer:
timo_k2
Date:
Mon Dec 14 14:59:19 2020 +0000
Revision:
2:3c6a640a1035
Child:
3:a6e6062dcbaf
Testing with MIKROE-3133 Servo click and two RC servos.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
timo_k2 2:3c6a640a1035 1 Servo driver MIKROE-3133 Servo click, PCA9685 PWM IC. The application
timo_k2 2:3c6a640a1035 2 demonstrates a distributed system where the PWM signal clocking and PWM signal
timo_k2 2:3c6a640a1035 3 pulse width generation is performed on an IC on the driver module while the
timo_k2 2:3c6a640a1035 4 microcontroller can use its CPU for any other tasks.
timo_k2 2:3c6a640a1035 5
timo_k2 2:3c6a640a1035 6 NXP FRDM K64F microcontroler board is used. It has got already some sensors
timo_k2 2:3c6a640a1035 7 with I2C communication on board. Almost any other microcontroller board will
timo_k2 2:3c6a640a1035 8 work as well. For other boards (than K64F and others with onboard 1"C sensors)
timo_k2 2:3c6a640a1035 9 it is necessarty to connect 4.7 kOhm pull up resistors between I2C SCL - 3.3V,
timo_k2 2:3c6a640a1035 10 I2C SDA - 3.3V. The other sensors will respond on the I2C scanning.
timo_k2 2:3c6a640a1035 11
timo_k2 2:3c6a640a1035 12 The MIKROE-3133 is used with all default locations for solder jumpers. On the
timo_k2 2:3c6a640a1035 13 board there is a PCA9685 16 channel 12bit PWM driver and LTC2497 16 channel
timo_k2 2:3c6a640a1035 14 16bit ADC for current measurement. Only the PCA9685 is used in this example.
timo_k2 2:3c6a640a1035 15
timo_k2 2:3c6a640a1035 16 DO NOT use the usb and microcontroller board 5V for supplying power to servos!
timo_k2 2:3c6a640a1035 17
timo_k2 2:3c6a640a1035 18 * Connections:
timo_k2 2:3c6a640a1035 19 * K64F -- MIKROE-3133 -- external 5V power supply
timo_k2 2:3c6a640a1035 20 * SCL -- SCL
timo_k2 2:3c6a640a1035 21 * SDA -- SDA
timo_k2 2:3c6a640a1035 22 * 3v3 -- 3V3
timo_k2 2:3c6a640a1035 23 * GND -- OE
timo_k2 2:3c6a640a1035 24 * GND -- GND
timo_k2 2:3c6a640a1035 25 * + -- +5V or 5.2V
timo_k2 2:3c6a640a1035 26 * - -- 0V
timo_k2 2:3c6a640a1035 27 * 4.7k resistor pull up to 3.3v on SDA and SDL lines will be needed if not
timo_k2 2:3c6a640a1035 28 * onboard the microcontroller board like in K64F !
timo_k2 2:3c6a640a1035 29
timo_k2 2:3c6a640a1035 30 Timo Karppinen 16Dec2020 Apache-2.0 licence