bornach,
@bornach@fosstodon.org avatar
bornach,
@bornach@fosstodon.org avatar

Three potentiometers control the duty cycle for pulse width modulation of the three colour channels of an RGB LED strip (non-addressable). The PWM signal is generated by #opamps (#LM358) configured as an oscillator and 3 comparators. An NPN transistor sinks the current for each of the LED colours.
#LEDs #electronics

RGB LED strip connected to a breadboard circuit consisting of three LM358 dual opamps, 3 NPN transistors, and a few resistors. Three linear potentiometers control the PWM duty cycle for each of the three colour channels: red, green, and blue.

bornach, (edited )
@bornach@fosstodon.org avatar

Using 7 dual #opamps (LM358) to generate PWM signals for driving a non-addressable RGB LED strip so that only one linear potentiometer is needed to sweep through the colours of the #rainbowFlag

Project inspired by
https://youtu.be/KMuTTQeQ4_c
in which @blitzcitydiy used a microcontroller to map a potentiometer to the range of hues

#PrideMonth #electronics #opampChallenge #LEDs

bornach,
@bornach@fosstodon.org avatar

My video on how the various #OpAmp circuits were combined to map RGB rainbow colors to a single 10K potentiometer
https://youtu.be/Xqs-TMLpqKY

My project page for the @hackaday #opampChallenge
https://hackaday.io/project/191418-rainbow-led-effects-using-pwm-generated-by-opamps

#electronics #LEDs #analog

blitzcitydiy,
@blitzcitydiy@mastodon.social avatar

@bornach sweet!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • InstantRegret
  • khanakhh
  • Durango
  • rosin
  • Youngstown
  • slotface
  • cubers
  • cisconetworking
  • kavyap
  • ethstaker
  • thenastyranch
  • ngwrru68w68
  • megavids
  • everett
  • GTA5RPClips
  • osvaldo12
  • love
  • modclub
  • tacticalgear
  • mdbf
  • normalnudes
  • Leos
  • provamag3
  • tester
  • anitta
  • JUstTest
  • All magazines