Arduino Control LED with Fritzing

Posted by:

Fritzinn and Arduino to control a bi-color LED with PWM

  1. Download Fritzing executable Binary for your system (Arch 64 in my case)
  2. Start Fritzing and design your wiring as shown (Breadboard Tab)

    scr-fritzing-bicolor-wiring.png

  3. set up Arduino IDE path if needed in Fritzing preference

    scr-fritzing-arduino-code-setting.png

  4. use firmata_test to check the wiring is working (upload StandardFirmata first)

    scr-arduino-firmata.png

    scr-firmata_test.png

  5. go to Code view in Fritzing, input testing code, save, choose the correct Platform, Board, Port, and then Upload.

    scr-fritzing-coding.png

  6. By uploading the sample code from here, you should see a fading in/out of bi-color led.

    bicolor-led.jpg

0

Add a Comment