View: 258|Reply: 2

i noticed that some circuits instead od connecting to a gpio pin and ground ...

[Copy link]

6

Threads

9

Posts

48

Credits

Newbie

Rank: 1

Credits
48
Post time 2018-9-8 13:43:24 | Show all posts |Read mode
was going through the manual and i noticed that some circuits instead od connecting to a gpio pin and ground it connects to gpio pin and then either 3.3 volt pin or 5 v could please explain why
Reply

Use magic Report

10

Threads

24

Posts

170

Credits

Registered member

Rank: 2

Credits
170
Post time 2018-9-8 13:46:08 | Show all posts
This is actually a question of programming or circuit design logic. I believe that the picture I provided can explain this problem.
See the attached picture.
Adeept-exm.jpg
Reply

Use magic Report

10

Threads

24

Posts

170

Credits

Registered member

Rank: 2

Credits
170
Post time 2018-9-8 13:46:45 | Show all posts
In the circuit, the current always flows from the high potential side to the low potential.
In the circuit we provided, the anode of the LED is connected to the power supply (High - 3.3V), and the negative pole of the LED is connected to the GPIO of the Raspberry Pi. When we program the GPIO output low level (0V), the circuit is turned on, the current flows from the high level (3.3V) to the GPIO, and the LED ON; when the GPIO output is high, the voltage between the positive and negative of LED is the same, no current flows in the LED, so the LED is OFF.
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules