Serial control for 16-Channel 12-bit PWM/Servo Driver Shield

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
pyriame
 
Posts: 5
Joined: Sun Apr 29, 2018 12:48 pm

Serial control for 16-Channel 12-bit PWM/Servo Driver Shield

Post by pyriame »

hi,

I use this shield with arduino uno.
i install softwareserial to create a virtual connection to pin 7 like this :

Code: Select all

#include <SoftwareSerial.h> 
...
SoftwareSerial Ecouteur(11, NOT_A_PIN); // just RX
...
Ecouteur.begin(9600);
....
Is it possible to control this shield via a virtual serial connection ? (just for reception transfer)

many thx

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Serial control for 16-Channel 12-bit PWM/Servo Driver Sh

Post by adafruit_support_bill »

Communication with the shield is via i2c. You can send serial commands to the Arduino and write an Arduino program to receive the commands via the serial connection and control the shield via i2c.

User avatar
pyriame
 
Posts: 5
Joined: Sun Apr 29, 2018 12:48 pm

Re: Serial control for 16-Channel 12-bit PWM/Servo Driver Sh

Post by pyriame »

thx.
I know . BUT if i want a serial Rx/TX connection to softwareserial via pin 7. It's possible ( from the point of view hardware) .

best regards

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Serial control for 16-Channel 12-bit PWM/Servo Driver Sh

Post by adafruit_support_bill »

Yes it is possible. The shield uses only the i2c bus. On an UNO, that is pins A4 and A5.

User avatar
pyriame
 
Posts: 5
Joined: Sun Apr 29, 2018 12:48 pm

Re: Serial control for 16-Channel 12-bit PWM/Servo Driver Sh

Post by pyriame »

good good news !!!

this shield is perfect :)

thank you

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”