2

The module you have includes a resistive sensor and a comparator which produces a 1-bit value (0 or 1). There's nothing you can do to get a more detailed signal from that module. There are two main approaches which allow to read analog values from resistive sensors with devices which don't have analog pins, such as raspberries. External ADC: simulate this ...


2

It is inadvisable to mix libraries. You can control a servo with https://gpiozero.readthedocs.io/en/stable/recipes.html#servo See https://gpiozero.readthedocs.io/en/stable/api_output.html#servo for documentation of the servo class. NOTE that gpiozero, by default uses RPi.GPIO GPIO Zero builds on a number of underlying pin libraries, including RPi....


1

In my case the current from my power supply to the relay module was not sufficient at 1.0 amps. I swapped it out with one rated at 2.0 amps and that got my relays switching. Thank you all.


1

Answer Part 1 Part 2 / to continue, ... Discussion, conclusion, and recommendation / to continue, ... What next / to continue, ... References (1) Adafruit PCA9685 16-Channel PWM / Servo Controller Tutorial - Lady Ada / to continue, ... Appendices / to continue, ... Photos / to continue, ... Schematics / to continue, ... Figures Figure 1 - ...


1

Answer Part 1 - Over simplified explanation of the L298N Dual Bridge Motor Driver Now let us first look at the picture below. (1.1) Suppose the switches SW1 and Sw2 are in their positions as shown. The electric current will flow from +12V, following the little pink arrows, passing through the coil, I mean the motor coil, and the motor will turn happily ...


Only top voted, non community-wiki answers of a minimum length are eligible