GithubHelp home page GithubHelp logo

Comments (9)

zankich avatar zankich commented on June 21, 2024

@razic The problem is that the raspberry pi adaptor does not currently support pwm. In order for pwm to work we need to implement support for pi blaster https://github.com/sarfata/pi-blaster.

from gobot.

razic avatar razic commented on June 21, 2024

@zankich great. sounds like we're almost there. is it possible you would be able to explain on a high level a bit more in-depth what it would take to get the pi blaster support going?

correct me if i'm wrong, but it seems like pi-blaster is either a process or a script that needs to be run at least once. then, we can write values to /dev/pi-blaster?

from gobot.

zankich avatar zankich commented on June 21, 2024

@razic I created a branch with initial pi-blaster support https://github.com/hybridgroup/gobot/tree/raspi_pwm. In order to get this to work you'll have to follow the installation instructions for pi-blaster. I don't currently have access to a raspberry pi, so I only tested locally with manually verifying values and it should work.... If you're feeling brave you can check out that branch and let me know how it goes!

from gobot.

SellJamHere avatar SellJamHere commented on June 21, 2024

Has there been any further work on PWM support?

from gobot.

zankich avatar zankich commented on June 21, 2024

@razic and @SellJamHere pwm support has just landed in the master branch. You need to follow the instructions here to enable PWM pins.

from gobot.

edgarsilva avatar edgarsilva commented on June 21, 2024

We should close this since pwm support has been added, or are we waiting for release?

from gobot.

zankich avatar zankich commented on June 21, 2024

This has been released and I tested with a servo and led on a raspi b+

from gobot.

matipan avatar matipan commented on June 21, 2024

@zankich Do you have an example I could follow? I'm trying with a MG90 servo tower connected to GPIO 11 on a pi b+ but it does not seem to be working

from gobot.

deadprogram avatar deadprogram commented on June 21, 2024

You might want to open a new issue @matipan this one has been closed for a long time.

from gobot.

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.