Comments (9)
@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.
@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.
@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.
Has there been any further work on PWM support?
from gobot.
@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.
We should close this since pwm support has been added, or are we waiting for release?
from gobot.
This has been released and I tested with a servo and led on a raspi b+
from gobot.
@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.
You might want to open a new issue @matipan this one has been closed for a long time.
from gobot.
Related Issues (20)
- roadmap(i2c): MMA8452 3-Axial Accelerometer
- roadmap(I2C): VCNL4010 distance/light sensor module
- roadmap(1-wire): add support for 1-wire protocol HOT 1
- roadmap(serial): create a common serial adaptor HOT 1
- roadmap(ble): implement support for more peripherals HOT 2
- Support for Sphero BOLT HOT 3
- adafruit_driver.go contains shared variables and init() HOT 1
- avoid master/slave terminology HOT 1
- code and test contains data race HOT 2
- PCA9685 wrong initialisation HOT 2
- golangci-lint v1.55.2 is there HOT 1
- raspi with gpio.servo not work (like expected) HOT 1
- HX711 Support HOT 2
- Go 1.22 is released
- Write pwm export() failed for id xx "with open gpiochip0" HOT 4
- Stepper over MCP23017
- Stepper driver DRV8825 HOT 1
- Drones
- Do you have any plan to add Waveshare LCD Driver?
- roadmap(AIO): use variadic constructor functions to allow for additional params, similar to i2c drivers HOT 1
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 gobot.