Answer the question
In order to leave comments, you need to log in
What is the best library to use to work with PWM?
As I understand it, the RPi.GPIO library is not very suitable for implementing PWM and real-time projects
Answer the question
In order to leave comments, you need to log in
Raspberry PI is generally not suitable for real-time projects.
So if you write in python - RPi.GPIO is quite ok.
If you need honest realtime, you will have to use external modules.
Hello. In your case, the Raspberry Pi can only be used as a "control cabinet". For a tape, this is a very expensive solution. How appropriate. A single-boarder can send a signal to some kind of MK (as already mentioned here), and that, in turn, will generate a PWM signal to the driver that will control the tape. That is, the tape can consume several amperes and the tape cannot be directly connected to the MK, for example, on the Arduino it can only pass 40 mA through its leg, so this will burn out the MK. Therefore, the load is controlled by a different circuit, they are different, it all depends on the power consumption of the tape. In addition, you should be attentive to nutrition and logic levels. The RPi has 3.3V and the Arduino has 5V.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question