320volt / Electronics Projects/

PIC16F876 Control of 8 Servos Motor 5 Analog Channels I2C bus

Electronics Projects, PIC16F876 Control of 8 Servos Motor 5 Analog Channels I2C bus article "microchip projects, microcontroller projects, pic assembly example, pic16f876 projects, " tagged with

Advertisement

Microcontroller PIC16F876 4Mhz Controlled by the I2C slave module and analog servos technical report describes the design, both from the electronic point of view, as a computer control board for I2C bus 8 standard radio control servos, and 5 analog inputs (analog / digital conversion). The main characteristics of the module are presented as follows:

Acts as Slave by allowing you to select the address dip switches used in the I2C network.

It can be set by both the desired I2C bus position of each servo, as the direction of rotation and the Offset.

Can be read by the I2C bus corresponding to any of the 5 analog inputs of the digital value available (8 bits).

PIC16F876 Servo Motor Control I2C bus Schematic

PIC16F876 Control of 8 Servos Motor 5 Analog Channels I2C bus pic16f876 servo motor control i2c bus schematic

PIC16F876 Servo Test

The advantage you get with these modules is precisely the I2C control bus that allows multiple modules such advantage obtained with these modules is precisely the I2C control bus that allows multiple modules of this type connected the same bus. This way they can control lots of servos from a main controller with little overhead in it. Additionally, analog measurement values ​​is very useful for certain types of sensors.

Note: Master and Slave must be connected by three wires: Ground, SCL and SDA. The module presented includes pullup resistors, so it is not necessary to add them.

source :mundobot.com PIC16F876 Servo Motor Control pic assembly source code schematic files: pic16f876-control-of-8-servos-motor-i2c-bus.rar alternative link2

  1. Electronics Circuits
  2. Elektronisch Projekte