Coder Social home page Coder Social logo

Wiring about spotmicro HOT 5 CLOSED

mike4192 avatar mike4192 commented on August 23, 2024
Wiring

from spotmicro.

Comments (5)

OttPeterR avatar OttPeterR commented on August 23, 2024

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.

sffranke avatar sffranke commented on August 23, 2024

I use 2 x PCA9685 too due the current the servos draw.

from spotmicro.

mike4192 avatar mike4192 commented on August 23, 2024

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.

sffranke avatar sffranke commented on August 23, 2024

Thank you for your detailed reply! Mine works with two PCA9685 fine without any modification of the code.

from spotmicro.

binaryhellstorm avatar binaryhellstorm commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.