Jump to content

current from gio pins on stm32 discovery and digtal pwm


psmmacker

Recommended Posts

hi was was looking at a raspberry pi gio pins

with a single led on the gnd and gio + pin

and was thinking we get red leds light up only when we dont use any 5volt

power pack plus the led that flashes when you flash the firmware

also makes the leds on the panels blink slighty dim

wondering i resistors could of been used to take down the red pwm

only 

  • Resistor for Red: (3.3v – 2.0v) / .02A = 65Ω
  • Resistor for Blue: (3.3v – 3.2v) / .02A = 5Ω
  • Resistor for Green: (3.3v – 3.2v) / .02A = 5Ω

ae_1493492840707.thumb.jpg.d8570ce2fef5d45f768bcde01e72d4a3.jpg

received_1262483353874036.png.4cd6463160358370916abf4768a2c7af.png

https://www.electronics-notes.com/articles/electronic_components/resistors/variable-resistors-potentiometers.php

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...