User Tools

Site Tools


arduino-blinky-shield-uno

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arduino-blinky-shield-uno [2023/12/10 09:07] – created mralvinarduino-blinky-shield-uno [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
 +====== Blinky Shield for UNO ======
 +
 +This shield adds a LED to every IO-pin of a 'Arduino UNO' or 'Adafruit Metro M4' board (24 LEDs)
 +
 +A push-button is also connected to pins D2 and D3
 +
 +**In your Sketch:** For everything to work well, start the setup() function with a 1-2 milli second (ms) delay.
 +
 +The reason for this is, that each LED is driven by a separate MOSFET. And the gate pin of each MOSFET is pulled LOW by a 3M3 (3.3 mega ohm) resistor, and after power up, then it takes about 1-2 ms for the state of each pin to settle correctly. This is especially true if the sketch is using the pin for input.
 +
 +**No Blinky on a pin:** By removing a jumper, it is possible to completely detach the MOSFET (and the pull-down resistor) from each IO pin - if it for any practical reasons becomes necessary
 +
 +**Technical details:** The LEDs for TX, RX, SDA and SCL pins are reversed, because the resting state of Rx, Tx, SDA and SCL is HIGH. And thus it is easier to see the blink, if the LED is Off by default, and only is lit up when data is being transmitted.
 +
 +A p-channel MOSFET is used for Rx, TX, SDA, SCL pins (these are pulled HIGH). A n-channel MOSFET is used for D0-D13 pins, A0-A5 pins and SPI pins at the ICSP socket (these are pulled LOW).
 +
 +
 +**Project Status:** PCB design-verify (rev.C1 - 2023 May 28) - getting ready for the June PCB production batch
 +
 +Here are some screen shots:
 +
 +   * TOP side
 +   * {{:arduino-shields:blinky-unp-c1-top.jpg?400|}}
 +
 +   * Bottom Side
 +   * {{:arduino-shields:blinky-unp-c1-bot.jpg?400|}}
 +
 +
 +
 +Use the PCB viewer if you would like to see/test the entire copper path as it switches sides and/or connects to several solder points. 
 +   * Link to Free download of the [[https://www.electronic-software-shop.com/lng/en/support/free-viewer-software/?language=en|Sprint-layout Viewer program]]
 +   * {{:arduino-shields:blinky-uno-c1.zip|The PCB design file}} (Status is: PCB UN-tested)
 +
 +====Inspiration - and more Blinky Shields====
 +
 +This Blinky Module is inspired by the [[https://www.cytron.io/c-development-tools/c-maker-series/p-maker-uno-simplifying-arduino-for-education|'Maker UNO']] board, where LEDs are added to 12 IO pins. See all of the interesting [[https://www.cytron.io/c-development-tools/c-maker-series|'Maker Series']] of boards.
 +
 +Sometimes during sketch development, I want some status indication on pins, and I grew tired of using breadboards, wires, LEDs and resistors - so I have now designed this Blinky Shield - this one is for the 'Arduino UNO' board. 
 +
 +See also a [[esp8266-d1-mini-blinky-shield|Blinky Shield for 'Wemos D1 mini']]
 +
 +**More Links:**
 +   * [[https://www.adafruit.com/product/3382|Adafruit Metro M4 board]]
 +   * [[https://store.arduino.cc/products/arduino-uno-rev3|Arduino UNO]]
 +