ASCII Art for Arduino Circuit Diagrams
Here are a few handy ASCII diagrams for recording circuit setups inside of your Arduino sketches. I’ve found that making a habit of this is as important as commenting the code. These may look a little funky in your browser but they will line up nicely in plain text Arduino sketches.
Update: for some more current Arduino version ASCII pinouts (Mega, Uno, etc.), check out http://busyducks.com/ascii-art-arduinos.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
--------------------- |arduino duemilanove| | | -| 3V3 D13 |- -| 5V D12 |- | pwm D11 |- -| RST pwm D10 |- -| AREF pwm D9 |- | D8 |- -| A0 D7 |- -| A1 pwm D6 |- -| A2 pwm D5 |- -| A3 D4 |- -| A4 pwm D3 |- -| A5 D2 |- | tx D1 |- | rx D0 |- | | --------------------- 16-pin DIP ---------------- | U | ----| 1 16 |---- ----| 2 15 |---- ----| 3 14 |---- ----| 4 13 |---- ----| 5 12 |---- ----| 6 11 |---- ----| 7 10 |---- ----| 8 9 |---- ---------------- 8-pin DIP ------------- | U | ----| 1 5 |---- ----| 2 6 |---- ----| 3 7 |---- ----| 4 8 |---- ------------- TIP120 Transistor ______ | () | |----| |\_____\ | | | | | TIP | | | 120 | \|_____| | | | B C E | | | 7-Segment Common Cathode LED Display |----------------- 1. | |-------------- 3. | | |----------- 5. | | | |-------- 7. | | | | |----- 9. | | | | | -g--f-----b--a- | a | 7 d | ===== | c c s i | f|| ||b | o a e s | || g || | m t g p | ===== | m h m l | e|| ||c | o o e a | || d || | n d n y | ===== | e t | O | -e--d-----c---- | | | | | | | | | |----- 10. | | | |-------- 8. | | |----------- 6. | |-------------- 4. |----------------- 2. |