NahojPh / embed

1 stars 0 forks source link

We need a way to control the speed of the motors #3

Open NahojPh opened 2 years ago

NahojPh commented 2 years ago

The motors need to be able to change speed on command. This should probably be done with a analog output using PWM

NahojPh commented 2 years ago

Here is a report on how analog outputs work on rpi https://www.engineersgarage.com/articles-raspberry-pi-python-software-pwm-led-fading/

NahojPh commented 2 years ago

We should probably use the wiring pi library for controlling the gpio http://wiringpi.com/

NahojPh commented 2 years ago

It looks like there is a wiringpi-rs library where we could use PWM, aka a analog signal which would enable us to change speed.