Adafruit 16 Channel Servo Driver and PI 2

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
eschneider777
 
Posts: 20
Joined: Sat Feb 28, 2015 6:53 pm

Adafruit 16 Channel Servo Driver and PI 2

Post by eschneider777 »

I'm trying to get some servos working and these instructions are not working.

Error when running Servo_Example.py

IOError: [Errrno 2] No such file or directory.

When following these directions:
https://learn.adafruit.com/adafruit-16- ... pi-for-i2c

There is no file: raspi-blacklist.conf

And the feedback page does not work.

Also this command: sudo i2cdetect -y 1 or sudo i2cdetect -y 0
does not work.

Error: Could not open file
'/dev/i2c-0' or '/dev/i2c/0': no such file or directory

I checked and these is no dev/i2c folders.

It looks like no one has tested these instructions on the Raspberry OS.
Keep in mind I'm a Windows guru not a linux guy.

User avatar
matt8588
 
Posts: 12
Joined: Sat Nov 30, 2013 3:42 pm

Re: Adafruit 16 Channel Servo Driver and PI 2

Post by matt8588 »

sudo raspi-config, under Advanced Options select i2c and enable it

User avatar
eschneider777
 
Posts: 20
Joined: Sat Feb 28, 2015 6:53 pm

Re: Adafruit 16 Channel Servo Driver and PI 2

Post by eschneider777 »

that was done.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit 16 Channel Servo Driver and PI 2

Post by adafruit_support_mike »

Take a look at this post over in the RasPi forums: http://www.raspberrypi.org/forums/viewt ... 58#p675658

The gist of it is that the latest version of Raspbian uses a system called Device Tree Overlays to configure the GPIO pins. It's the direction Linux is going in the future, but getting there involves some turbulence. A lot of things that used to work don't any more, but the post explains how to set things up again.

User avatar
eschneider777
 
Posts: 20
Joined: Sat Feb 28, 2015 6:53 pm

Re: Adafruit 16 Channel Servo Driver and PI 2

Post by eschneider777 »

Really, so now I need to be a Linux OS expert to get this stupid board working?

How about a Raspbian distro that actually works? Hell I even bought that stupid NOOBS SD card to avoid all this and that didn't work!

And people wonder why everyone uses windows.

This way too much bs for some hobbyist to do, and you should explain that on your sales page.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit 16 Channel Servo Driver and PI 2

Post by adafruit_support_mike »

Clearly you don't remember Windows's rich history of DLL conflicts and Registry hacking.

Every operating system provides users with a basic working environment suitable to a set of standard use cases. People who want to work beyond that predefined set are expected to learn more about the operating system and hardware.

If that doesn't appeal to you, send a note to [email protected] with a link to this thread and the people there will arrange a refund...

User avatar
eschneider777
 
Posts: 20
Joined: Sat Feb 28, 2015 6:53 pm

Re: Adafruit 16 Channel Servo Driver and PI 2

Post by eschneider777 »

Um, Yes I do, but that has nothing to do with loading a hardware device. And windows solved this problem at around 1995

The difference here is, it's a Raspberry OS, and a Raspberry add-on, and you guy obvious do have a base configuration ready to download and use.

I tried just disabling DT with 'Device_Tree=' that does not work.

Does anyone at Adafruit have it working? If so here's a thought, make a zip file for people to download...

User avatar
eschneider777
 
Posts: 20
Joined: Sat Feb 28, 2015 6:53 pm

Re: Adafruit 16 Channel Servo Driver and PI 2

Post by eschneider777 »

ok got the ic2 test working, trying to run the servo_example.py but nothing happens.

Have servos attached, batteries for board also.

Any ideas what to check?

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”