Raspberry Pi L298N motor controller: Difference between revisions

From wikiluntti
Line 1: Line 1:
== Introduction ==
== Introduction ==


RPi GPIO works on 3.3V.
RPi is powered by 5V, but on board it is reduced to GPIO 3.3V (GPIOs) and processors and memory (1.8V).
 
If needed to connect a 5V sensor to Pi, first reduce the 5V to 3.3V by using eg 2 resistors as voltage divider.
However, note that in the digital line the 1 bit is at __V.


=== L298N ===
=== L298N ===

Revision as of 15:52, 12 November 2025

Introduction

RPi is powered by 5V, but on board it is reduced to GPIO 3.3V (GPIOs) and processors and memory (1.8V).

If needed to connect a 5V sensor to Pi, first reduce the 5V to 3.3V by using eg 2 resistors as voltage divider.

However, note that in the digital line the 1 bit is at __V.

L298N

Connections

Python

References