Comments (5)
Take a look around here for some ideas.
There's no single way to do it, so you can see what you'd like to do and wire it up yourself!
from spotmicro.
I use 2 x PCA9685 too due the current the servos draw.
from spotmicro.
Hi, I do not have a wiring diagram, if I have time I'll try to create a basic one.
The wiring is fairly straightforward, I use one PCA9685 board, but I've heard people use two. This code would need to be modified to work with two boards. I have also heard of the potential current restriction issues, so I shorted the input servo voltage lines directly to the servo power rails to circumvent any such fuses. I've not experienced any issues with this setup, but I guess bypassing a fuse does pose the risk of burning out a servo from over current.
On my spot I have simple power distribution board with headers for ground and +5 V , sourced from a 5 V UBEC powered directly by a 2s lipo.
The Raspberry pi is connected to this 5v power via pin 2, and ground to pin 6.
PCA9684 SDL and SCL pins are connected to corresponding Raspberry pi SDA and SCL pins (pins 3 and 5, respectively).
PCA9685 VCC is connected to +5v power, and GND to ground. V+ port is left unconnected (this is the same as the servo power), as is the 0E pin.
PCA9685 Servo power input (green power block) connected direct to 2s lipo.
The servos are connected to ports 1 through 12 in the order described in the readme.
I additionally have a master power switch for everything, as well as a secondary power switch that only cuts servo power (but keeps the raspberry pi and other electronics powered).
from spotmicro.
Thank you for your detailed reply! Mine works with two PCA9685 fine without any modification of the code.
from spotmicro.
Hi, I do not have a wiring diagram, if I have time I'll try to create a basic one.
The wiring is fairly straightforward, I use one PCA9685 board, but I've heard people use two. This code would need to be modified to work with two boards. I have also heard of the potential current restriction issues, so I shorted the input servo voltage lines directly to the servo power rails to circumvent any such fuses. I've not experienced any issues with this setup, but I guess bypassing a fuse does pose the risk of burning out a servo from over current.
On my spot I have simple power distribution board with headers for ground and +5 V , sourced from a 5 V UBEC powered directly by a 2s lipo.
The Raspberry pi is connected to this 5v power via pin 2, and ground to pin 6.
PCA9684 SDL and SCL pins are connected to corresponding Raspberry pi SDA and SCL pins (pins 3 and 5, respectively).
PCA9685 VCC is connected to +5v power, and GND to ground. V+ port is left unconnected (this is the same as the servo power), as is the 0E pin.
PCA9685 Servo power input (green power block) connected direct to 2s lipo.The servos are connected to ports 1 through 12 in the order described in the readme.
I additionally have a master power switch for everything, as well as a secondary power switch that only cuts servo power (but keeps the raspberry pi and other electronics powered).
Thank you that's exactly what I was looking for. I missed that part of the readme.
from spotmicro.
Related Issues (20)
- IMU
- Raspberry Pi images preloaded with Ubuntu 16.04 and a ROS Kinetic installation failed HOT 3
- Increase Pitch/Roll/Yaw Angle command Speed on Joystick HOT 1
- catkinmake HOT 1
- Cannot find module ros-i2cpwmboard HOT 2
- Problem with catkin build on Ubuntu 16.04 and Ros Kinetic HOT 2
- error cannot launch node of type [i2cpwm...], error cannot launch node type of [spot_micro_motion...] HOT 3
- Control body angle while on walking mode
- CMake Error HOT 1
- problem with i2cpwm_boardConfig.cmake HOT 1
- catkin build error: redefinition of 'struct i2c_msg' HOT 1
- Calibration: Servo doesn't react to commands HOT 1
- ESP32 version :) HOT 2
- The servo configuration does not work, the movements do not coincide in reality
- how to additional ROS packages having windows 10 HOT 3
- the package is not being installed libi2c-dev i2c-tools python3-smbus python3-rpi.gpio
- Electronics with rplidar a1
- All robot parts in coordinates 0, 0 and without textures
- i2c_smbus_read_byte_dataβ was not declared in this scope; did you mean βi2c_smbus_ioctl_data HOT 2
- rviz: No transform from [...] to [...]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotmicro.