<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Electronics Archives &#8211; Make Some Stuff</title>
	<atom:link href="https://makesomestuff.org/tutorials/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>https://makesomestuff.org/tutorials/electronics/</link>
	<description>Build Cool Electronics Projects!</description>
	<lastBuildDate>Sat, 27 Sep 2025 21:59:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/cropped-icon2.png?fit=32%2C32&#038;ssl=1</url>
	<title>Electronics Archives &#8211; Make Some Stuff</title>
	<link>https://makesomestuff.org/tutorials/electronics/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">165766821</site>	<item>
		<title>Tiny-Cairoduino Open-Source DIY Kit</title>
		<link>https://makesomestuff.org/tiny-cairoduino-kit/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tiny-cairoduino-kit</link>
					<comments>https://makesomestuff.org/tiny-cairoduino-kit/#respond</comments>
		
		<dc:creator><![CDATA[Ahmed Ibrahim]]></dc:creator>
		<pubDate>Thu, 03 Feb 2022 15:09:05 +0000</pubDate>
				<category><![CDATA[Electronics Projects]]></category>
		<category><![CDATA[Attiny85]]></category>
		<category><![CDATA[Cairoduino]]></category>
		<category><![CDATA[Tiny-Cairoduino]]></category>
		<guid isPermaLink="false">https://makesomestuff.org/?p=1616</guid>

					<description><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/tiny-cairoduino-kit/">Tiny-Cairoduino Open-Source DIY Kit</a></p>
<p>Introduction And The Big Picture Tiny-Ciaroduino is a small-sized Development board based on the beautiful ATtiny85 chip from Atmel. Don’t get fooled by its small size, it’s powerful with great potential and well-documented resources built around it. We wanted to make a small-sized and low-cost development board that fits in any project without hesitation. You [...]</p>
<p>The post <a href="https://makesomestuff.org/tiny-cairoduino-kit/">Tiny-Cairoduino Open-Source DIY Kit</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/tiny-cairoduino-kit/">Tiny-Cairoduino Open-Source DIY Kit</a></p>

<h2 class="has-text-align-left wp-block-heading" id="introduction-and-the-big-picture" style="text-transform:capitalize">Introduction And The Big Picture</h2>



<p class="wp-block-paragraph">Tiny-Ciaroduino is a small-sized Development board based on the beautiful ATtiny85 chip from Atmel. Don’t get fooled by its small size, it’s powerful with great potential and well-documented resources built around it. We wanted to make a small-sized and low-cost development board that fits in any project without hesitation. You don’t need to give up your expensive Arduino or Raspberry pi board anymore to build your project. Blow up your cheap Tiny-Cairoduino board and buy another one, EASY!</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_151803-scaled.jpg?ssl=1"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="770" height="578" data-id="1762" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_151803-scaled.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1762" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_151803-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_151803-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_151803-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_151803-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="(max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<p class="wp-block-paragraph">There are a lot of open-source Duinos out there, I’m building one more open-source Duino-inspired board but with some addons and features that I was searching for. Tiny-Cairoduino is mainly inspired by the Digispark and the Trinket boards. Thanks to the open-source community. The main goal of the Tiny-Cairoduino board is to integrate the strength points from all the available ATTiny85 based dev boards and come out with a new beast that is easy to program and easy to play with on the hardware level too. And, totally open-source!</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1333888114"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Our plan is to develop a whole set of shields that helps hobbyists and newbies to easily implement their hardware projects like if they are assembling lego bricks. We are currently working on that and we will be publishing these shields very soon.</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Shields-1024x768.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Shields.jpg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1708" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Shields.jpg?w=1200&amp;ssl=1 1200w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Shields.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Shields.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Shields.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Shields.jpg?resize=800%2C600&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">I told you before, Don’t get fooled with its size! Despite being so small The Attiny85 chip has 8K bytes of flash memory and 5 I/O pins. All the 5 GPIO pins can be programmed as digital inputs or digital outputs. Including ADC(analog input) on four pins, PWM(analog outputs) on three pins -more can be achieved with software PWM-. It literally plug and play thanks to the preloaded bootloader that helps you to reprogram the board over USB like any Arduino board. Tiny-Cairoduino is also compatible with Arduino IDE. Even though you can program your Tiny-Cairoduino using the Arduino IDE, it&#8217;s not fully 100% Arduino-compatible. There are some things you trade-off for such a small and low-cost microcontroller!</p>



<ul class="wp-block-list"><li>Tiny-Cairoduino does not have a Serial port connection for debugging so the serial port monitor will not be able to send/receive data. But, you still can reprogram your board through the USB connection.</li></ul>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">Some computers&#8217; USB v3 ports don&#8217;t recognize the Tiny-Cairoduino’s bootloader. Simply use a USB v2 port or a USB hub in between</div></div>



<h2 class="wp-block-heading" id="tiny-cairoduino-specifications">Tiny-Cairoduino specifications:</h2>



<ol class="wp-block-list"><li>Support for the Arduino IDE 1.0 and later (OS X, Windows, and Linux).</li><li>Built-in USB for programming.</li><li>5 I/O pins (2 are used for USB only if your program actively communicates over USB, otherwise you can use all 5 even if you are programming via USB).</li><li>8 KB flash memory (about 6 KB after bootloader),</li><li>I2C and SPI (vis USI).</li><li>PWM on 3 pins (more possible with Software PWM).</li><li>ADC on 4 pins.</li><li>On-board power indicator LED.</li><li>On-board WS2818B addressable RGB led (connected on pin 4).</li><li>Keyboard or other HID devices emulation (mouse, gamepad &#8230;).</li><li>Handy pinout header to easily connect your Tiny-Cairoduino with the outside world.</li><li>On-board RESET button.</li><li>A whole set of shields to maximize and expand the board functionality.</li><li>Four mounting holes!</li></ol>



<h2 class="wp-block-heading" id="guided-tour">Guided Tour</h2>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?resize=770%2C579&#038;ssl=1" alt="Cairoduino Board" class="wp-image-1694" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?resize=1536%2C1155&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_resized-scaled.jpg?resize=800%2C602&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a><figcaption>Tiny-Cairoduino Board</figcaption></figure>



<p class="wp-block-paragraph">Let me take you a tour through your Tiny-Cairoduino development board, Each board is assembled here at Make Some Stuff with love.</p>



<ul class="wp-block-list"><li><strong>Mini-B USB</strong>: We settled on the Mini-B USB for powering the board and code uploading for many reasons. The Mini-B USB is very rigid and solid on the PCB unlike other connector types like the Micro-B connectors which can rip off the PCB easily. Also, the Mini-B USB is a proper connector type, you can grab any USB cable with any length from any hardware store. Some Attiny85 Dev. boards use a PCB that slides into a USB port to cut costs, but that makes it hard to re-program and annoying to power with an external battery pack.</li></ul>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/usb-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/usb-scaled.jpeg?resize=770%2C579&#038;ssl=1" alt="" class="wp-image-1752" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/usb-scaled.jpeg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/usb-scaled.jpeg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/usb-scaled.jpeg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/usb-scaled.jpeg?resize=1536%2C1155&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<ul class="wp-block-list"><li><strong>Power LED</strong>: A cool power indicator LED. It lets you know when your board is powered up by being so lit!</li></ul>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?resize=770%2C579&#038;ssl=1" alt="" class="wp-image-1749" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?resize=1536%2C1155&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/pow_led-scaled.jpeg?resize=800%2C602&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<ul class="wp-block-list"><li><strong>Reset Push-button</strong>: An onboard reset push-button launches the bootloader program when pressed. Making it easy to reprogram the board without unplugging and replugging the board to the computer.</li></ul>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/reset-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/reset-scaled.jpeg?resize=770%2C579&#038;ssl=1" alt="" class="wp-image-1750" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/reset-scaled.jpeg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/reset-scaled.jpeg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/reset-scaled.jpeg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/reset-scaled.jpeg?resize=1536%2C1155&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<ul class="wp-block-list"><li><strong>External reset pin</strong>: We bring out the reset pin so you can reset your board without reaching the onboard reset button. It’s handy when your board is inside an enclosure or a box and it’s hard to reach out, you can wire up a button to this pin to reset your board on the road.</li></ul>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/rest_pin_ext-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/rest_pin_ext-scaled.jpeg?resize=770%2C579&#038;ssl=1" alt="" class="wp-image-1751" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/rest_pin_ext-scaled.jpeg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/rest_pin_ext-scaled.jpeg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/rest_pin_ext-scaled.jpeg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/rest_pin_ext-scaled.jpeg?resize=1536%2C1155&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<ul class="wp-block-list"><li><strong>Breadboard-friendly header</strong>: You can easily plug the board on a breadboard and have a bigger space to wire things up.</li></ul>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/friendly_header-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/friendly_header-scaled.jpeg?resize=770%2C579&#038;ssl=1" alt="" class="wp-image-1748" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/friendly_header-scaled.jpeg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/friendly_header-scaled.jpeg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/friendly_header-scaled.jpeg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/friendly_header-scaled.jpeg?w=1540&amp;ssl=1 1540w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<ul class="wp-block-list"><li><strong>WS2818B RGB LED</strong>: An onboard WS2818B addressable RGB LED connected on pin #4. You can easily control it to make some cool stuff according to your needs.</li></ul>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/WS2818B-scaled.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/WS2818B-scaled.jpg?resize=770%2C579&#038;ssl=1" alt="" class="wp-image-1753" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/WS2818B-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/WS2818B-scaled.jpg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/WS2818B-scaled.jpg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/WS2818B-scaled.jpg?resize=1536%2C1155&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<ul class="wp-block-list"><li><strong>AMS1117-5V regulator</strong>: An onboard 5V 1A voltage regulator. It allows you to supply voltage from 7V to 12V on the Vin pin without fearing the needed 5V for the microcontroller. It does the work for you. Making the Tiny-Cairoduino proper for DIY projects and very easy to connect to a wall adapter, power bank, battery, or any other kind of power source.</li></ul>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/AMS_regulator-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/AMS_regulator-scaled.jpeg?resize=770%2C579&#038;ssl=1" alt="" class="wp-image-1747" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/AMS_regulator-scaled.jpeg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/AMS_regulator-scaled.jpeg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/AMS_regulator-scaled.jpeg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/AMS_regulator-scaled.jpeg?w=1540&amp;ssl=1 1540w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<h2 class="wp-block-heading" id="tiny-cairoduino-pinout">Tiny-Cairoduino Pinout</h2>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Pinout.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="339" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Pinout.jpg?resize=770%2C339&#038;ssl=1" alt="" class="wp-image-1698" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Pinout.jpg?w=1396&amp;ssl=1 1396w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Pinout.jpg?resize=300%2C132&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Pinout.jpg?resize=1024%2C451&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Pinout.jpg?resize=800%2C352&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<h3 class="wp-block-heading" id="power-pins"><strong>Power Pins</strong></h3>



<p class="wp-block-paragraph">Let’s start with the power pins. On the top of the board, you will see three different power pins 5V pin, VIN pin, and GND pin.</p>



<ul class="wp-block-list"><li><strong>5V pin</strong>: It’s a power positive pin connected to the output terminal of the voltage regulator and also connected to the USB 5V terminal. If you are powering your Tiny-Cairoduino board from your computer through the USB cable, you can use this pin to get 5V upto 500mA coming from your computer USB port, with it you can charge a battery, or control some output devices. If you are powering your Tiny-Cairoduino board from an external power source like a battery, power bank, or any other kind of power source through the VIN pin, you can use this pin to get 5V upto 1A coming from the onboard voltage regulator.</li></ul>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">You can use this pin to directly supply 5V power to power up your board. But, we don’t recommend that</div></div>



<ul class="wp-block-list"><li><strong>VIN pin</strong>: You can use this pin to power up your Tiny-Cairoduino board from a battery, power bank, power adapter, or any other type of power source. Connect the positive terminal(+) of your power source to this pin and the ground terminal(-) to the Tiny-Cairoduino GND pin. Your power source needs to be between 7V and upto 12V.</li><li><strong>GND Pin</strong>: It&#8217;s the common ground pin of the Tiny-Cairoduino used for logic and power. It is connected to the USB ground and the AMS1117 voltage regulator. This is the pin you&#8217;ll want to use for any and all ground connections.</li></ul>



<h3 class="wp-block-heading" id="gpio-pins"><strong>GPIO Pins</strong></h3>



<p class="wp-block-paragraph">All the GPIO pins can be used as digital input or digital output pins, you can use them to read data from a sensor, control an LED, reading switch state, … They are all 5V logic pins. Each pin can provide upto 20mA of current. Don’t connect any component that draws more than 20mA directly to the GPIO pins like motors for example. You can use a transistor, relay, or motor driver instead.&nbsp;</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1333888114"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">The first three GPIO pins(#0, #1, #2) are all completely free you can program them without worrying about USB communication interference.</p>



<ul class="wp-block-list"><li><strong>GPIO #0</strong>: It’s connected to the ATtiny85 PB0 pin, it can be used as an output PWM pin, also can be used as MOSI pin(SPI communication), also can be used as I2C data pin(SDA I2C Pin).</li><li><strong>GPIO #1</strong>: It’s connected to the ATtiny85 PB1 pin, it can be used as an output PWM pin, also can be used as MISO pin(SPI communication).</li><li><strong>GPIO #3</strong>: It’s connected to the ATtiny85 PB1 pin, also can be used as SCK(SPI communication clock pin), also can be used as I2C clock pin(SCL I2C pin), also can be used as an analog input pin which is known as A1.</li></ul>



<p class="wp-block-paragraph">The remaining two GPIO pins(#3, #4) are connected to the USB port for USB programming. When the board is in the bootloader mode or in the middle of a program uploading these two pins are used to send/receive data to/from the computer. So, it’s highly recommended to not use them while you are reprogramming your board. Also, it’s recommended to disconnect any connections from these pins while uploading your program.</p>



<ul class="wp-block-list"><li><strong>GPIO #3</strong>: It’s connected directly to the ATtiny85 PB3 pin, It’s also used for USB programming, it also can be used as an analog input pin which is known as A3. it also can be used as a PWM output pin.</li><li><strong>GPIO #4</strong>: It’s connected directly to the ATtiny85 PB4 pin, It’s also used for USB programming, it also can be used as an analog input pin which is known as A2. it also can be used as a PWM output pin. It’s also connected to the onboard WS2818B LED.</li></ul>



<ul class="wp-block-list"><li><strong>RST</strong>: The reset pin is connected directly to the ATtiny85 reset pin and to the reset push button. It can be used to restart your board in case you want to reset it. Or to enter the bootloader mode to easily reprogram your board without unplugging and replugging the USB cable. You can wire a simple push-button from the reset pin to the ground and press it if you want to enter the bootloader mode in case the board is inside an enclosure or a box and it’s hard to reach.</li></ul>



<h2 class="wp-block-heading" id="installing-the-board-drivers">Installing The Board Drivers</h2>



<p class="wp-block-paragraph">To be able to program your board and make it recognizable by your laptop, you need to install some drivers. MAC and Linux operating systems already have the drivers installed. So, MAC and Linux users don’t need this step. Only Windows users need to install the board drivers.&nbsp;</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">Windows 10 users probably can skip this step, because Windows 10 already has many drivers built-in. Try skipping the installation first to see if it&#8217;s unnecessary.</div></div>



<p class="wp-block-paragraph">We need to download the Digispark bootloader Windows drivers from the link down below. After extracting the .zip file, if you are using a 64-bit Windows OS you will need to use this installer “DPinst64”. And, if you are using a 32-bit Windows OS you will need to use this installer “DPinst”.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link has-white-color has-vivid-green-cyan-background-color has-text-color has-background" href="https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Digistump.Drivers.zip" style="border-radius:50px">Donwload Drivers</a></div>
</div>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/DP_instal.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="416" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/DP_instal.jpg?resize=770%2C416&#038;ssl=1" alt="" class="wp-image-1755" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/DP_instal.jpg?w=1366&amp;ssl=1 1366w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/DP_instal.jpg?resize=300%2C162&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/DP_instal.jpg?resize=1024%2C553&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/DP_instal.jpg?resize=800%2C432&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">After finishing the installation process. Plug in your Cairoduino board to your laptop and open the device manager on your windows. Now you should find your Tiny-Cairoduino board listed under the “libusb-win32 devices” as “Digispark Bootloader”.&nbsp;</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="553" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?resize=770%2C553&#038;ssl=1" alt="" class="wp-image-1756" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?w=986&amp;ssl=1 986w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?resize=800%2C574&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">If you did not find it. Click on the “View” tab from the top menu bar and select “Show hidden devices”. Now, you should see “Unknown device” under “Other devices”.&nbsp;</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/show_hidden_devices.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="553" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/show_hidden_devices.jpg?resize=770%2C553&#038;ssl=1" alt="" class="wp-image-1757" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/show_hidden_devices.jpg?w=981&amp;ssl=1 981w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/show_hidden_devices.jpg?resize=300%2C216&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/show_hidden_devices.jpg?resize=800%2C575&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">Press right-click on “Unknown device” and select “Update Driver Software…”</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/updated_board_driver.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="550" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/updated_board_driver.jpg?resize=770%2C550&#038;ssl=1" alt="" class="wp-image-1758" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/updated_board_driver.jpg?w=982&amp;ssl=1 982w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/updated_board_driver.jpg?resize=300%2C214&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/updated_board_driver.jpg?resize=800%2C572&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">select “Browse my computer for driver software”. Then select the location for the drivers we installed in the previous step. You can use the “Browse” button to select the drivers location.</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Browse_select-_driver_loc.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="553" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Browse_select-_driver_loc.jpg?resize=770%2C553&#038;ssl=1" alt="" class="wp-image-1759" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Browse_select-_driver_loc.jpg?w=979&amp;ssl=1 979w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Browse_select-_driver_loc.jpg?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Browse_select-_driver_loc.jpg?resize=800%2C574&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">Once you finish that and see the message “Windows has successfully updated your driver software” now unplug your board and plug it in again. You should now find your Tiny-Cairoduino board listed under the “libusb-win32 devices” as “Digispark Bootloader”.</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="553" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?resize=770%2C553&#038;ssl=1" alt="" class="wp-image-1756" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?w=986&amp;ssl=1 986w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Digistump_libUSB.jpg?resize=800%2C574&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<h2 class="wp-block-heading" id="how-to-program-your-board">How To Program Your Board</h2>



<p class="wp-block-paragraph">After installing the DigiSpark drivers, we are now ready to program our Tiny-Cairoduino board. By default, Arduino IDE does not contain the Digispark boards so we need to add these boards manually by ourselves. To do that, from the Arduino IDE top menu bar press on File &gt; Preferences and add the link below in the Additional Boards Manager URLs then click ‘OK.</p>



<pre class="wp-block-code"><code>http:&#47;&#47;digistump.com/package_digistump_index.json</code></pre>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/device-manager-min.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="564" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/device-manager-min.png?resize=770%2C564&#038;ssl=1" alt="" class="wp-image-1696" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/device-manager-min.png?w=1824&amp;ssl=1 1824w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/device-manager-min.png?resize=300%2C220&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/device-manager-min.png?resize=1024%2C750&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/device-manager-min.png?resize=1536%2C1125&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/device-manager-min.png?resize=800%2C586&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">After that, from the Arduino IDE top menu bar press on tools &gt; Board &gt; Boards Manager and search by “Digistump AVR” then select “Digistump AVR Boards by Digistump” and click on install.&nbsp;</p>



<div class="wp-block-jetpack-slideshow aligncenter" data-effect="slide"><div class="wp-block-jetpack-slideshow_container swiper-container"><ul class="wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="729" alt="" class="wp-block-jetpack-slideshow_image wp-image-1699" data-id="1699" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.36.36-PM-min.png?resize=770%2C729&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.36.36-PM-min.png?w=1790&amp;ssl=1 1790w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.36.36-PM-min.png?resize=300%2C284&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.36.36-PM-min.png?resize=1024%2C969&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.36.36-PM-min.png?resize=1536%2C1454&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.36.36-PM-min.png?resize=800%2C757&amp;ssl=1 800w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="474" alt="" class="wp-block-jetpack-slideshow_image wp-image-1700" data-id="1700" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.37.16-PM-min.png?resize=770%2C474&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.37.16-PM-min.png?w=1824&amp;ssl=1 1824w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.37.16-PM-min.png?resize=300%2C185&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.37.16-PM-min.png?resize=1024%2C631&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.37.16-PM-min.png?resize=1536%2C947&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.37.16-PM-min.png?resize=800%2C493&amp;ssl=1 800w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li></ul><a class="wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white" role="button"></a><a class="wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white" role="button"></a><a aria-label="Pause Slideshow" class="wp-block-jetpack-slideshow_button-pause" role="button"></a><div class="wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white"></div></div></div>



<p class="wp-block-paragraph">After installing the board on your Arduino IDE, now you can select the “Digispark (Default 16.5MHz)” board from Tools &gt; Board under the Digispark AVR Boards.</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.44.55-PM-min.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="553" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.44.55-PM-min.png?resize=770%2C553&#038;ssl=1" alt="" class="wp-image-1701" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.44.55-PM-min.png?w=2348&amp;ssl=1 2348w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.44.55-PM-min.png?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.44.55-PM-min.png?resize=1024%2C735&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.44.55-PM-min.png?resize=1536%2C1103&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-1.44.55-PM-min.png?resize=2048%2C1471&amp;ssl=1 2048w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">Now, you are ready to upload your first program to the Tiny-Cairoduino board. Copy the code down below, paste it into your Arduino IDE and press the upload button. Once you see the message “Plug in device now … (Will timeout after 60 seconds)” in the messages display place on the bottom of the Arduino IDE program, press on the reset button of the Tiny-Cairoduino board. The code will get uploaded on your Tiny-Cairoduino board and the Arduino IDE will display “Micronucleus done. Thank you!”.&nbsp;</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">// NeoPixel Ring simple sketch (c) 2013 Shae Erisson
// released under the GPLv3 license to match the rest of the AdaFruit NeoPixel library
#include &lt;Adafruit_NeoPixel.h>

// Which pin on the Arduino is connected to the NeoPixels?
#define PIN            4

// How many NeoPixels are attached to the Arduino?
#define NUMPIXELS      1

// When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals.
// Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest
// example for more information on possible values.
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_RGB + NEO_KHZ800);

int delayval = 5; // delay for half a second

void setup() {
  pixels.begin(); // This initializes the NeoPixel library.
}

void loop() {
  for (int i = 0 ; i &lt;= 255 ; i++) {
    pixels.setPixelColor(0, pixels.Color(i, 0, 0)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
    delay(delayval); // Delay for a period of time (in milliseconds).
  }
  delay(80);
  for (int i = 255 ; i >= 0 ; i--) {
    pixels.setPixelColor(0, pixels.Color(i, 0, 0)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
    delay(delayval); // Delay for a period of time (in milliseconds).
  }
  for (int i = 0 ; i &lt;= 255 ; i++) {
    pixels.setPixelColor(0, pixels.Color(0, i, 0)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
    delay(delayval); // Delay for a period of time (in milliseconds).
  }
  delay(80);
  for (int i = 255 ; i >= 0 ; i--) {
    pixels.setPixelColor(0, pixels.Color(0, i, 0)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
    delay(delayval); // Delay for a period of time (in milliseconds).
  }
  for (int i = 0 ; i &lt;= 255 ; i++) {
    pixels.setPixelColor(0, pixels.Color(0, 0, i)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
    delay(delayval); // Delay for a period of time (in milliseconds).
  }
  delay(80);
  for (int i = 255 ; i >= 0 ; i--) {
    pixels.setPixelColor(0, pixels.Color(0, 0, i)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
    delay(delayval); // Delay for a period of time (in milliseconds).
  }
  delay(100);
}</pre>



<div class="wp-block-jetpack-slideshow aligncenter" data-effect="slide"><div class="wp-block-jetpack-slideshow_container swiper-container"><ul class="wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" alt="" class="wp-block-jetpack-slideshow_image wp-image-1703" data-id="1703" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?resize=770%2C579&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?w=2184&amp;ssl=1 2184w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?resize=1536%2C1155&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?resize=2048%2C1540&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?resize=768%2C577&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.17.38-PM-min.png?resize=800%2C601&amp;ssl=1 800w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="580" alt="" class="wp-block-jetpack-slideshow_image wp-image-1705" data-id="1705" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?resize=770%2C580&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?w=2180&amp;ssl=1 2180w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?resize=1024%2C771&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?resize=1536%2C1157&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?resize=2048%2C1543&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?resize=87%2C67&amp;ssl=1 87w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.18.02-PM-min.png?resize=800%2C603&amp;ssl=1 800w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li></ul><a class="wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white" role="button"></a><a class="wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white" role="button"></a><a aria-label="Pause Slideshow" class="wp-block-jetpack-slideshow_button-pause" role="button"></a><div class="wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white"></div></div></div>



<p class="wp-block-paragraph">After successfully uploading the code on your Tiny-Cairoduino board, The on-board WS2818B LED should now start breathing between red, green, and blue colors. Congrats! You uploaded your first Arduino code to your Tiny-Cairoduino board.</p>


	<div class="wp-block-jetpack-gif aligncenter">
		<figure>
							<div class="wp-block-jetpack-gif-wrapper" style="padding-top:56%">
					<iframe src="https://giphy.com/embed/mdC1YnkF1otwGt4TQ8" title="https://media.giphy.com/media/mdC1YnkF1otwGt4TQ8/giphy.gif"></iframe>
				</div>
								</figure>
	</div>
	


<h2 class="wp-block-heading" id="board-design">Board Design</h2>



<p class="wp-block-paragraph">Before designing the schematic file, We must settle on the parts and the specific footprints that we will use to build this board. Since we want to make this board as small as possible. We decided to use only SMD parts. All the resistors and capacitors are in 1206 SMD footprint except only one capacitor in 0805 SMD footprint. To regulate the input voltage, we used an AMS1117-5V voltage regulator since it comes in a relatively small form factor but with great power. We used two Schottky diodes, one on the USB port and the other one on the voltage regulator output pin to protect them from any possible reverse current.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1333888114"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">To identify our Tiny-Cairoduino board as a USB device to the host, we need to implement the USB communication circuit. Since, the signaling on the D+ and D− lines should be within 0V to 3.3V rails, while the host-supplied voltage is 5V. So we used two 3.3V Zener diodes on the D+ and D- lines to pull those lines two 3.3V. Ali Shtarbanov explained that part in an amazing way is this <a href="http://fab.cba.mit.edu/classes/863.16/doc/tutorials/FabISP/FabISP_Demystified.html" target="_blank" rel="noreferrer noopener">blog</a>.</p>



<p class="wp-block-paragraph">We put a 5050 SMD 5V addressable LED(WS2818B) on the board. It’s connected directly to pin #4 on the ATtniy85 chip. We used two 22uf SMD 0805 capacitors on the input and output pins of the voltage regulator to eliminate any ripples(noise) from those lines. We used one green 0805 SMD LED connected directly to the 5V line which acts as a power indicator. We used a generic two-pin SMD push button that connected to the ATtiny85 reset pin.</p>



<div class="wp-block-jetpack-slideshow aligncenter" data-effect="slide"><div class="wp-block-jetpack-slideshow_container swiper-container"><ul class="wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="626" alt="" class="wp-block-jetpack-slideshow_image wp-image-1725" data-id="1725" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?resize=770%2C626&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?w=9022&amp;ssl=1 9022w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?resize=300%2C244&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?resize=1024%2C832&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?resize=1536%2C1248&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?resize=2048%2C1664&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?resize=768%2C624&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?resize=800%2C650&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/sch.png?w=2310&amp;ssl=1 2310w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="1258" alt="" class="wp-block-jetpack-slideshow_image wp-image-1724" data-id="1724" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?resize=770%2C1258&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?w=1956&amp;ssl=1 1956w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?resize=184%2C300&amp;ssl=1 184w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?resize=627%2C1024&amp;ssl=1 627w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?resize=940%2C1536&amp;ssl=1 940w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?resize=1253%2C2048&amp;ssl=1 1253w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?resize=768%2C1255&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?resize=800%2C1307&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/brf.png?w=1540&amp;ssl=1 1540w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li></ul><a class="wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white" role="button"></a><a class="wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white" role="button"></a><a aria-label="Pause Slideshow" class="wp-block-jetpack-slideshow_button-pause" role="button"></a><div class="wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white"></div></div></div>



<p class="wp-block-paragraph">We love the open-source community! You can download the PCB Eagle source design files from this link</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-vivid-green-cyan-background-color has-background" href="https://github.com/ahmedibrrahim/Tiny-Cairoduino" style="border-radius:50px" target="_blank" rel="noreferrer noopener">Eagle Source Files</a></div>
</div>



<h2 class="wp-block-heading" id="board-fabrication">Board Fabrication</h2>



<p class="wp-block-paragraph">Before sending the Gerber files to PCBWay to manufacture the Tiny-Cairoduino board, I machined a test board on my Milling machine to test all the functionalities and to make sure that everything is working fine. After that, I sent the Gerber files to <a href="http://www.pcbway.com" target="_blank" rel="noreferrer noopener sponsored nofollow">PCBWay</a> who sponsors this build!</p>



<div class="wp-block-jetpack-slideshow aligncenter" data-effect="slide"><div class="wp-block-jetpack-slideshow_container swiper-container"><ul class="wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" alt="" class="wp-block-jetpack-slideshow_image wp-image-1697" data-id="1697" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/PCB_fab.jpg?resize=770%2C578&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/PCB_fab.jpg?w=1200&amp;ssl=1 1200w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/PCB_fab.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/PCB_fab.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/PCB_fab.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/PCB_fab.jpg?resize=800%2C600&amp;ssl=1 800w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" alt="" class="wp-block-jetpack-slideshow_image wp-image-1728" data-id="1728" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_151534-scaled.jpg?resize=770%2C578&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_151534-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_151534-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_151534-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_151534-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="1077" alt="" class="wp-block-jetpack-slideshow_image wp-image-1729" data-id="1729" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_182553-1-scaled.jpg?resize=770%2C1077&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_182553-1-scaled.jpg?w=1464&amp;ssl=1 1464w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_182553-1-scaled.jpg?resize=214%2C300&amp;ssl=1 214w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_182553-1-scaled.jpg?resize=732%2C1024&amp;ssl=1 732w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/20211216_182553-1-scaled.jpg?resize=1098%2C1536&amp;ssl=1 1098w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="579" alt="" class="wp-block-jetpack-slideshow_image wp-image-1734" data-id="1734" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_2-scaled.jpg?resize=770%2C579&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_2-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_2-scaled.jpg?resize=300%2C226&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_2-scaled.jpg?resize=1024%2C770&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_2-scaled.jpg?resize=768%2C578&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_2-scaled.jpg?resize=1536%2C1155&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_2-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Tiny-Cairoduino-Guided-Tour_2-scaled.jpg?resize=800%2C602&amp;ssl=1 800w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li></ul><a class="wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white" role="button"></a><a class="wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white" role="button"></a><a aria-label="Pause Slideshow" class="wp-block-jetpack-slideshow_button-pause" role="button"></a><div class="wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white"></div></div></div>



<p class="wp-block-paragraph">To make the PCB traces I used a 0.1mm v-bit. And, a 1.5mm 2 flutes square endmill to cut the PCB outline.&nbsp;</p>



<div class="wp-block-jetpack-slideshow aligncenter" data-effect="slide"><div class="wp-block-jetpack-slideshow_container swiper-container"><ul class="wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" alt="" class="wp-block-jetpack-slideshow_image wp-image-1766" data-id="1766" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163012_edited-scaled.jpg?resize=770%2C578&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163012_edited-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163012_edited-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163012_edited-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163012_edited-scaled.jpg?w=1540&amp;ssl=1 1540w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" alt="" class="wp-block-jetpack-slideshow_image wp-image-1768" data-id="1768" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163137_edited-scaled.jpg?resize=770%2C578&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163137_edited-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163137_edited-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163137_edited-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163137_edited-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163137_edited-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163137_edited-scaled.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/20220203_163137_edited-scaled.jpg?resize=800%2C600&amp;ssl=1 800w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li></ul><a class="wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white" role="button"></a><a class="wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white" role="button"></a><a aria-label="Pause Slideshow" class="wp-block-jetpack-slideshow_button-pause" role="button"></a><div class="wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white"></div></div></div>



<p class="wp-block-paragraph">PCBWay is a PCB manufacturer and PCB assembler based in Shenzhen. They offer a broad spectrum of PCB prototyping, assembly, design, and CNC/3D printing services across five factories that are staffed by more than 520 employees. The coolest feature I use a lot before ordering my PCBs is the instant quote tool. PCBWay&#8217;s website is well designed and convenient. You can use the online instant quote tool to get an estimated cost for your board according to the fabrication parameters you select. Which made PCB ordering very easy and fast.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-vivid-green-cyan-background-color has-background" href="https://www.pcbway.com/project/shareproject/Tiny_Cairoduino_Open_Source_DIY_Kiy_fa3aa062.html" style="border-radius:50px" target="_blank" rel="noreferrer noopener">Project On PCBWay</a></div>
</div>



<h2 class="wp-block-heading" id="uploading-the-bootloader">Uploading the bootloader</h2>



<p class="wp-block-paragraph">To be able to program your Tiny-Cairoduino board directly using the USB port, there’s a special program called “Bootloader” that runs on the microcontroller once you supply power to the board. The bootloader program is responsible for making the Tiny-Cairoduino board a USB recognizable device. and taking new programs from you and flashing them on the ATtiny85 chip memory. By default, the ATtiny85 does not come with the bootloader preloaded with any bootloaders. So we need to upload the bootloader to the ATtiny85 microcontroller manually. This is a one-time process.&nbsp;</p>



<p class="wp-block-paragraph">We will use the same bootloader runs on the Digispark board “micronucleus tiny85” boot-loader, originally written by Bluebie. You can use any AVR programmer to upload the bootloader to the Tiny-Cairoduino board or use an Arduino UNO board which we will use in this step.</p>



<p class="wp-block-paragraph">In the first step, we need to configure our Arduino UNO board as an ISP(In-System Programming) to work as an AVR programmer to the Tiny-Cairoduino board. Connect your Arduino UNO to your computer and open Arduino IDE then navigate to File &gt; Example &gt; ArduinoISP and upload the Arduino ISP code.</p>



<div class="wp-block-jetpack-slideshow aligncenter" data-effect="slide"><div class="wp-block-jetpack-slideshow_container swiper-container"><ul class="wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="702" alt="" class="wp-block-jetpack-slideshow_image wp-image-1706" data-id="1706" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.58.33-PM-min.png?resize=770%2C702&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.58.33-PM-min.png?resize=1024%2C934&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.58.33-PM-min.png?resize=300%2C274&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.58.33-PM-min.png?resize=1536%2C1401&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.58.33-PM-min.png?resize=800%2C730&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.58.33-PM-min.png?resize=768%2C701&amp;ssl=1 768w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li><li class="wp-block-jetpack-slideshow_slide swiper-slide"><figure><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="693" alt="" class="wp-block-jetpack-slideshow_image wp-image-1707" data-id="1707" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.59.07-PM-min.png?resize=770%2C693&#038;ssl=1" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.59.07-PM-min.png?resize=1024%2C921&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.59.07-PM-min.png?resize=300%2C270&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.59.07-PM-min.png?resize=1536%2C1381&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Screen-Shot-2022-01-24-at-2.59.07-PM-min.png?resize=800%2C719&amp;ssl=1 800w" sizes="(max-width: 770px) 100vw, 770px" /></figure></li></ul><a class="wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white" role="button"></a><a class="wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white" role="button"></a><a aria-label="Pause Slideshow" class="wp-block-jetpack-slideshow_button-pause" role="button"></a><div class="wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white"></div></div></div>



<p class="wp-block-paragraph">In the second step, we need to connect the Arduino UNO board to the Tiny-Cairoduino board as the wiring diagram down below. We are using a 10uf polarized capacitor on the reset and GND pin of the Arduino board.</p>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Fritzing_wiring_bb.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="505" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Fritzing_wiring_bb.jpg?resize=770%2C505&#038;ssl=1" alt="" class="wp-image-1735" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Fritzing_wiring_bb.jpg?w=1761&amp;ssl=1 1761w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Fritzing_wiring_bb.jpg?resize=300%2C197&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Fritzing_wiring_bb.jpg?resize=1024%2C672&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Fritzing_wiring_bb.jpg?resize=1536%2C1007&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/01/Fritzing_wiring_bb.jpg?resize=800%2C525&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">In the third step, Connect your Arduino UNO board to your computer and open Arduino IDE. Find which port is your Arduino board connected to. In my case, my Arduino UNO board is connected to <code>COM6</code> .We will need that information in the next steps</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">In this step, you will need to use a machine running Windows operating system.</div></div>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/08/UNO_Port.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="350" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/08/UNO_Port.jpg?resize=770%2C350&#038;ssl=1" alt="" class="wp-image-140" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/08/UNO_Port.jpg?w=800&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/08/UNO_Port.jpg?resize=300%2C137&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/08/UNO_Port.jpg?resize=768%2C349&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/08/UNO_Port.jpg?resize=675%2C307&amp;ssl=1 675w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">After this, download the bootloader burning files from the link down below. open the &#8220;Burn_AT85_bootloader.bat&#8221; and change the COM port number &#8220;PCOM5&#8221; with whatever COM port number your Uno is connected to. Save the changes before exiting.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-vivid-green-cyan-background-color has-background" href="https://github.com/ahmedibrrahim/Attiny85-Bootloader-Files" style="border-radius:50px" target="_blank" rel="noreferrer noopener">Bootloader Upload Files</a></div>
</div>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Screen-Shot-2022-02-01-at-2.03.50-AM-1024x91.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="69" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Screen-Shot-2022-02-01-at-2.03.50-AM.png?resize=770%2C69&#038;ssl=1" alt="" class="wp-image-1739" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Screen-Shot-2022-02-01-at-2.03.50-AM.png?w=1254&amp;ssl=1 1254w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Screen-Shot-2022-02-01-at-2.03.50-AM.png?resize=300%2C27&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Screen-Shot-2022-02-01-at-2.03.50-AM.png?resize=1024%2C91&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Screen-Shot-2022-02-01-at-2.03.50-AM.png?resize=800%2C71&amp;ssl=1 800w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<p class="wp-block-paragraph">Now move the edited &#8220;Burn_AT85_bootloader.bat&#8221; and &#8220;ATtiny85.hex&#8221; files into the Arduino IDE root folder (C:\Program Files (x86)\Arduino). After that right-click on the &#8220;Burn_AT85_bootloader.bat&#8221; and select “Run as administrator” it will take about 5 or 6 seconds to burn the bootloader to the Tiny-Cairoduino board. If all went well, you should receive this message &#8220;AVRdude done. Thank you. Press any key to continue&#8230;&#8221;.&nbsp;</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Flashing-Boot-loader-on-ATtiny85.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="110" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Flashing-Boot-loader-on-ATtiny85.png?resize=500%2C110&#038;ssl=1" alt="" class="wp-image-1740" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Flashing-Boot-loader-on-ATtiny85.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2022/02/Flashing-Boot-loader-on-ATtiny85.png?resize=300%2C66&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a></figure></div>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1333888114"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Now, your ATtiny85 chip is flashed successfully with the bootloader. You can now connect the Tiny-Cairoduino board directly to your laptop and use it like any development board.</p>
<p>The post <a href="https://makesomestuff.org/tiny-cairoduino-kit/">Tiny-Cairoduino Open-Source DIY Kit</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://makesomestuff.org/tiny-cairoduino-kit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1616</post-id>	</item>
		<item>
		<title>How I Made My Tiny AVR Programmer</title>
		<link>https://makesomestuff.org/how-i-made-my-avr-programmer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-i-made-my-avr-programmer</link>
					<comments>https://makesomestuff.org/how-i-made-my-avr-programmer/#respond</comments>
		
		<dc:creator><![CDATA[Ahmed Ibrahim]]></dc:creator>
		<pubDate>Mon, 29 Mar 2021 23:28:34 +0000</pubDate>
				<category><![CDATA[Electronics Projects]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[AVR Programmer]]></category>
		<category><![CDATA[Programmer]]></category>
		<guid isPermaLink="false">https://makesomestuff.org/?p=1337</guid>

					<description><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/how-i-made-my-avr-programmer/">How I Made My Tiny AVR Programmer</a></p>
<p>Recently, I have been using a lot of AVR chips and I faced few problems regarding burning the code on these chips using commercial AVR programmers. So, I decided why not building my own AVR programmer and get rid of all of this hassle. And, why not customize it according to my needs. Tiny AVR [...]</p>
<p>The post <a href="https://makesomestuff.org/how-i-made-my-avr-programmer/">How I Made My Tiny AVR Programmer</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/how-i-made-my-avr-programmer/">How I Made My Tiny AVR Programmer</a></p>

<p class="wp-block-paragraph">Recently, I have been using a lot of AVR chips and I faced few problems regarding burning the code on these chips using commercial AVR programmers. So, I decided why not building my own AVR programmer and get rid of all of this hassle. And, why not customize it according to my needs.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="7344212982"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h2 class="wp-block-heading">Tiny AVR Programmer Background</h2>



<p class="wp-block-paragraph">Today, we will take a look at how this board is designed, and I will take you on a journey on how each component is working in this design.</p>



<p class="wp-block-paragraph">If you have just an AVR chip, you need something to program it. the most common way is through ICSP(In-circuit serial programmer). simply, it&#8217;s a board that has 6 pins usually a 0.1&#8243; pitch header that can talk to your AVR chip through the SPI protocol. At the other end, it also can talk with your PC through the USB protocol. So, after compiling your C code using avr-gcc, the programmer board will take and send it to your AVR chip directly. You can think of it as a bridge between your PC and your AVR chip.</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/avr_programming_workflow.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="632" height="404" data-id="1341" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/avr_programming_workflow.png?resize=632%2C404&#038;ssl=1" alt="AVR Toolchain" class="wp-image-1341" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/avr_programming_workflow.png?w=632&amp;ssl=1 632w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/avr_programming_workflow.png?resize=300%2C192&amp;ssl=1 300w" sizes="auto, (max-width: 632px) 100vw, 632px" /></a></figure>
</figure>



<p class="wp-block-paragraph">I did my research for AVR programmers and I found a lot of cool resources. <a href="http://fab.cba.mit.edu/classes/863.16/doc/tutorials/FabISP/FabISP_Demystified.html" target="_blank" rel="noreferrer noopener">this one </a>specifically caught my eye. It&#8217;s the <a href="http://fab.cba.mit.edu/classes/863.16/doc/tutorials/FabISP/FabISP_Demystified.html" target="_blank" rel="noreferrer noopener">FabOptimus AVR programmer</a> built by Ali Shtarbanov which built on the <a href="http://academy.cba.mit.edu/classes/embedded_programming/hello.ISP.44.png" target="_blank" rel="noreferrer noopener">FabISP programmer</a> built by prof. Neil from MIT Media Lab. the FabOptimus documentation is very good and easy to follow if you are a newbie. I decided to make a very small modification to the FabOptimus AVR programmer since it doesn&#8217;t have a power indicator LED, I wanna add one!</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/hello.ISP_.44.res_.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="483" height="1024" data-id="1345" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/hello.ISP_.44.res_.png?resize=483%2C1024&#038;ssl=1" alt="" class="wp-image-1345" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/hello.ISP_.44.res_.png?resize=483%2C1024&amp;ssl=1 483w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/hello.ISP_.44.res_.png?resize=800%2C1696&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/hello.ISP_.44.res_.png?resize=142%2C300&amp;ssl=1 142w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/hello.ISP_.44.res_.png?resize=725%2C1536&amp;ssl=1 725w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/hello.ISP_.44.res_.png?resize=966%2C2048&amp;ssl=1 966w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/hello.ISP_.44.res_.png?w=1066&amp;ssl=1 1066w" sizes="auto, (max-width: 483px) 100vw, 483px" /></a><figcaption class="wp-element-caption">FabISP bt Prof. Neil</figcaption></figure>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-1.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="511" height="1024" data-id="1347" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-1.png?resize=511%2C1024&#038;ssl=1" alt="" class="wp-image-1347" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-1.png?resize=511%2C1024&amp;ssl=1 511w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-1.png?resize=600%2C1202&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-1.png?resize=150%2C300&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-1.png?resize=767%2C1536&amp;ssl=1 767w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-1.png?w=783&amp;ssl=1 783w" sizes="auto, (max-width: 511px) 100vw, 511px" /></a><figcaption class="wp-element-caption">FabOptimus by Ali Shtarbanov</figcaption></figure>
</figure>



<h2 class="wp-block-heading">PCB Design And Circuit In-depth Analysis</h2>



<p class="wp-block-paragraph">First, we need to understand how this board is designed and how each component in this circuit is behaving. </p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Original_FaOptimus_SCH_board.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="602" data-id="1353" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Original_FaOptimus_SCH_board.jpg?resize=770%2C602&#038;ssl=1" alt="" class="wp-image-1353" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Original_FaOptimus_SCH_board.jpg?resize=1024%2C800&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Original_FaOptimus_SCH_board.jpg?resize=800%2C625&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Original_FaOptimus_SCH_board.jpg?resize=300%2C234&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Original_FaOptimus_SCH_board.jpg?resize=87%2C67&amp;ssl=1 87w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Original_FaOptimus_SCH_board.jpg?w=1208&amp;ssl=1 1208w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a><figcaption class="wp-element-caption">FabOptimus Original Schematic and Board Layout</figcaption></figure>
</figure>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="7344212982"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">This AVR programmer is based on the <a href="http://ww1.microchip.com/downloads/en/devicedoc/Atmel-7701_Automotive-Microcontrollers-ATtiny24-44-84_Datasheet.pdf" target="_blank" rel="noreferrer noopener">ATtiny44 AVR chip</a> which by default it comes blank, no code or anything is uploaded to it like any microcontroller chip you buy. Since we are building an AVR programmer, we need to upload a very specific firmware to the ATtiny44 chip that tells exactly the role it should follow and execute. Simply, which is sending some hex files to other AVR microcontrollers. This firmware is called <a href="http://archive.fabacademy.org/archives/2016/doc/programming_FabISP.html" target="_blank" rel="noreferrer noopener">FabISP firmware</a>(more on that later.) </p>



<p class="wp-block-paragraph">So, we need to be able to upload the FabISP firmware to the programmer AVR chip then disable the possibility of reprogramming it. </p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-2.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="511" height="1024" data-id="1357" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-2.png?resize=511%2C1024&#038;ssl=1" alt="" class="wp-image-1357" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-2.png?resize=511%2C1024&amp;ssl=1 511w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-2.png?resize=600%2C1202&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-2.png?resize=150%2C300&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-2.png?resize=767%2C1536&amp;ssl=1 767w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-2.png?w=783&amp;ssl=1 783w" sizes="auto, (max-width: 511px) 100vw, 511px" /></a></figure>
</figure>



<p class="wp-block-paragraph">To be able to upload the FabISP firmware to the programmer AVR chip we need to pull its reset pin to LOW(0 volts). and to disable the possibility of reprogramming it once it has been programmed, we need to pull its reset pin to be always HIGH(5 volts). So, we need to design the circuit in such a way that the reset pin is HIGH(5 volts) by default. But, once another programmer is connected to it, it can pull the programmer AVR chip reset pin to LOW(0 volts). That&#8217;s why we are using a 10k ohm pull-up resistor on the reset pin.</p>



<p class="wp-block-paragraph">As you notice the ATtiny44 chip reset pin is connected to the RST pin on the ISP pin header through a 0 ohm resistor. after uploading the firmware to the ATtiny44 chip we will remove this zero ohm resistor to disable the possibility of reprogramming the board again.</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="511" height="1024" data-id="1361" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy.png?resize=511%2C1024&#038;ssl=1" alt="" class="wp-image-1361" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy.png?resize=511%2C1024&amp;ssl=1 511w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy.png?resize=600%2C1202&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy.png?resize=150%2C300&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy.png?resize=767%2C1536&amp;ssl=1 767w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy.png?w=783&amp;ssl=1 783w" sizes="auto, (max-width: 511px) 100vw, 511px" /></a></figure>
</figure>



<p class="wp-block-paragraph">Since we need to use our programmer board to program other AVR boards, our programmer board will need to be able to provide the reset signal to the other AVR boards that we need to program. So, we are also connecting an I/O pin from the ATtiny44 chip to the RST pin of the ISP pin header to provide the reset signal to the other AVR chips that we need to program.</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default wp-block-gallery-7 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-2.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="511" height="1024" data-id="1367" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-2.png?resize=511%2C1024&#038;ssl=1" alt="" class="wp-image-1367" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-2.png?resize=511%2C1024&amp;ssl=1 511w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-2.png?resize=600%2C1202&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-2.png?resize=150%2C300&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-2.png?resize=767%2C1536&amp;ssl=1 767w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-2.png?w=783&amp;ssl=1 783w" sizes="auto, (max-width: 511px) 100vw, 511px" /></a></figure>
</figure>



<p class="wp-block-paragraph">To reduce any high frequency noise or any voltage drops coming from the power supply we are using 1uf decoupling capacitor between the VCC(5 volts) and GND. </p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default wp-block-gallery-8 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-5.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="511" height="1024" data-id="1368" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-5.png?resize=511%2C1024&#038;ssl=1" alt="" class="wp-image-1368" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-5.png?resize=511%2C1024&amp;ssl=1 511w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-5.png?resize=600%2C1202&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-5.png?resize=150%2C300&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-5.png?resize=767%2C1536&amp;ssl=1 767w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-5.png?w=783&amp;ssl=1 783w" sizes="auto, (max-width: 511px) 100vw, 511px" /></a></figure>
</figure>



<p class="wp-block-paragraph">We also using a 20MHz resonator as a clock source for the ATTiny44 chip instead of it&#8217;s internal clock to achieve more accuracy.</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default wp-block-gallery-9 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-4-1.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="511" height="1024" data-id="1370" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-4-1.png?resize=511%2C1024&#038;ssl=1" alt="" class="wp-image-1370" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-4-1.png?resize=511%2C1024&amp;ssl=1 511w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-4-1.png?resize=600%2C1202&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-4-1.png?resize=150%2C300&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-4-1.png?resize=767%2C1536&amp;ssl=1 767w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FabOptimus2-copy-4-1.png?w=783&amp;ssl=1 783w" sizes="auto, (max-width: 511px) 100vw, 511px" /></a></figure>
</figure>



<p class="wp-block-paragraph">We are using two 3.3v Zener diodes as voltage clippers to regulate the voltage from 5v to 3.3v. According to the V-USB and USB specifications, the voltage on the USB data lines should not exceed 3.3v. Also, we are using a 1.5k ohm pull-up resistor on the D- pin of the USB to make it recognizable as a low-speed device on the host side.</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-10 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FaOptimus_sch_edited_new_new-scaled.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="537" data-id="1373" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FaOptimus_sch_edited_new_new.jpg?resize=770%2C537&#038;ssl=1" alt="" class="wp-image-1373" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FaOptimus_sch_edited_new_new-scaled.jpg?resize=1024%2C714&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FaOptimus_sch_edited_new_new-scaled.jpg?resize=800%2C558&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FaOptimus_sch_edited_new_new-scaled.jpg?resize=300%2C209&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FaOptimus_sch_edited_new_new-scaled.jpg?resize=1536%2C1071&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/FaOptimus_sch_edited_new_new-scaled.jpg?resize=768%2C535&amp;ssl=1 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<p class="wp-block-paragraph">Finally, I made a simple edit to the board. I added a power indicator LED to the board.</p>



<p class="wp-block-paragraph">It&#8217;s a best practice to disconnect the VCC pin on the ISP pin header to make sure that the AVR programmer is not attempting to supply power to the board that we want to program. the board that we want to program should provide its own power. If we didn&#8217;t disconnect the VCC pin on the ISP header, the AVR programmer and the board being programmed will draw their current from the USB port(from your computer). if your USB port can&#8217;t supply that much current or at any short circuit circumstances, that may cause a huge problem to your computer.</p>



<h2 class="wp-block-heading">PCB Manufacturing</h2>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-11 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-11.40.33-AM.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="426" data-id="1380" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-11.40.33-AM.png?resize=770%2C426&#038;ssl=1" alt="" class="wp-image-1380" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-11.40.33-AM.png?resize=1024%2C566&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-11.40.33-AM.png?resize=800%2C443&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-11.40.33-AM.png?resize=300%2C166&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-11.40.33-AM.png?resize=1536%2C849&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<p class="wp-block-paragraph">As you can see, I fabricated this board using a CNC milling machine at Fab Lab Egypt. But, if you are searching for high-quality PCB manufacturing with a solder mask and silkscreen at a very fair price and fast worldwide shipping with no minimum requirements you may order as small as 10 pieces for 5$. you can order yours from <a href="https://www.pcbway.com/" target="_blank" rel="noreferrer noopener">PCBWay</a>. You can also support me by just ordering this board from my link. </p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://www.pcbway.com/project/shareproject/Tiny_AVR_Programmer.html" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">pcbway</a></div>
</div>



<p class="wp-block-paragraph"><br>We love open source. You can download all the board source files from my Github repo.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://github.com/ahmedibrrahim/Tiny-AVR-Programmer" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">github</a></div>
</div>



<h2 class="wp-block-heading">PCB Soldering And Components Placings</h2>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-12 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="684" height="1024" data-id="1376" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?resize=684%2C1024&#038;ssl=1" alt="" class="wp-image-1376" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?resize=684%2C1024&amp;ssl=1 684w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?resize=800%2C1197&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?resize=200%2C300&amp;ssl=1 200w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?resize=1026%2C1536&amp;ssl=1 1026w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?resize=1369%2C2048&amp;ssl=1 1369w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?w=1684&amp;ssl=1 1684w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/EgyptISPComponents.png?w=1540&amp;ssl=1 1540w" sizes="auto, (max-width: 684px) 100vw, 684px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7095-1-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1379" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7095-1.jpeg?resize=770%2C578&#038;ssl=1" alt="An old pencil drawing of Don Quixote and Sancho Panza sitting on their horses, by Wilhelm Marstrand." class="wp-image-1379" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7095-1-scaled.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7095-1-scaled.jpeg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7095-1-scaled.jpeg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7095-1-scaled.jpeg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7095-1-scaled.jpeg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<figure class="is-style-regular wp-block-table"><table><tbody><tr><td><strong>Part Name</strong></td><td><strong>Quantity</strong></td></tr><tr><td>ATTINY44A microcontroller chip</td><td>1</td></tr><tr><td>CER RESONATOR 20.00MHZ SMD</td><td>1</td></tr><tr><td>MINI USB2.0 5POS</td><td>1</td></tr><tr><td>6 Positions Header Connector 0.100&#8243; SMD</td><td>1</td></tr><tr><td>CAP CER 1UF 50V 10% SMD 1206</td><td>1</td></tr><tr><td>RES 10.0K OHM 1-4W 1% 1206 SMD</td><td>1</td></tr><tr><td>RES 1.0K OHM 1-4W 1% 1206 SMD</td><td>1</td></tr><tr><td>RES 499 OHM 1-4W 1% 1206 SMD</td><td>2</td></tr><tr><td>RES 100 OHM 1-4W 1% 1206 SMD</td><td>2</td></tr><tr><td>DIODE ZENER 500MW 3.3V SOD123-</td><td>2</td></tr><tr><td>LED Blue CLEAR 1206 SMD-</td><td>1</td></tr></tbody></table><figcaption class="wp-element-caption">AVR Programmer Board Components </figcaption></figure>



<h2 class="wp-block-heading">Uploading The Firmware To The Programmer</h2>



<p class="wp-block-paragraph">To upload the FabISP firmware to the FabISP AVR programmer board, we need another programmer to help us upload the firmware to our FabISP board. we will use an Arduino UNO board as an ISP programmer and we will connect it to our FabISP AVR programmer board. </p>



<p class="wp-block-paragraph">First, we need to upload the &#8220;ArduinoISP&#8221; sketch to the Arduino UNO board. You can find that sketch from <strong>files-&gt;Examples-&gt;ArduinoISP-&gt;ArduinoISP.</strong> </p>



<figure class="wp-block-gallery has-nested-images columns-default wp-block-gallery-13 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-12.40.21-PM.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="429" data-id="1392" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-12.40.21-PM.png?resize=770%2C429&#038;ssl=1" alt="" class="wp-image-1392" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-12.40.21-PM.png?w=1674&amp;ssl=1 1674w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-12.40.21-PM.png?resize=800%2C445&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-12.40.21-PM.png?resize=300%2C167&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-12.40.21-PM.png?resize=1024%2C570&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2021-03-15-at-12.40.21-PM.png?resize=1536%2C855&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<p class="wp-block-paragraph">After uploading it to the Arduino UNO board. Let&#8217;s connect our FabISP AVR programmer(Target) with the Arduino UNO board(Programmer).</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default wp-block-gallery-14 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/ISP_Wiring_Arduino.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="753" height="1024" data-id="1393" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/ISP_Wiring_Arduino.jpg?resize=753%2C1024&#038;ssl=1" alt="" class="wp-image-1393" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/ISP_Wiring_Arduino.jpg?resize=753%2C1024&amp;ssl=1 753w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/ISP_Wiring_Arduino.jpg?resize=800%2C1089&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/ISP_Wiring_Arduino.jpg?resize=220%2C300&amp;ssl=1 220w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/ISP_Wiring_Arduino.jpg?w=915&amp;ssl=1 915w" sizes="auto, (max-width: 753px) 100vw, 753px" /></a></figure>
</figure>



<p class="has-text-align-center wp-block-paragraph">D10(Arduino) &#8211;&gt; Reset (Target)<br>D11(Arduino) &#8211;&gt; MOSI (Target)<br>D12(Arduino) &#8211;&gt; MISO (Target)<br>D13(Arduino) &#8211;&gt; SCK (Target)<br>GND(Arduino) &#8211;&gt; GND (Target)</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="7344212982"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">As you can notice we are connecting a 10uf capacitor between the Reset and the GND pin of the Arduino UBO board. As you notice, we are not providing power to our target board directly from the Arduino board. We are providing power to the FabISP AVR programmer board(target) by connecting it separately to the laptop through the USB port. And don’t forget to make a common GND between the two boards by connecting the GND of the FabISP AVR programmer board(target) board to the GND of the Arduino UNO(programmer).</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-15 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7102-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1395" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7102-scaled.jpeg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1395" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7102-scaled.jpeg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7102-scaled.jpeg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7102-scaled.jpeg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7102-scaled.jpeg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7102-scaled.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7102-scaled.jpeg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<p class="wp-block-paragraph">After connecting the Arduino UNO board(Programmer) To the FabISP board(Target) we need to compile the FabISP firmware and upload it to the FabISP board. The Arduino UNO board will act as a bridge between my Laptop and the FabISP board. Since I&#8217;m using a Mac machine, I will download <a href="https://www.obdev.at/products/crosspack/index.html" target="_blank" rel="noreferrer noopener">AVR CrossPack</a>. CrossPack is a development environment for Atmel’s AVR® microcontrollers running on Apple’s Mac OS X, similar to AVR Studio on Windows. It consists of the GNU compiler suite, a C library for the AVR, the AVRDUDE uploader, and several other useful tools.” After heading to the AVR CrossPack website, click the “Download” button and install the&nbsp;<strong>.dmg file</strong>. That’s it!</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-16 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.29-AM-scaled.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="468" data-id="1400" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.29-AM-scaled.jpg?resize=770%2C468&#038;ssl=1" alt="An old pencil drawing of Don Quixote and Sancho Panza sitting on their horses, by Wilhelm Marstrand." class="wp-image-1400" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.29-AM-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.29-AM-scaled.jpg?resize=800%2C486&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.29-AM-scaled.jpg?resize=300%2C182&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.29-AM-scaled.jpg?resize=1024%2C622&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.29-AM-scaled.jpg?resize=1536%2C933&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.46-AM-scaled.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="468" data-id="1401" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.46-AM-scaled.jpg?resize=770%2C468&#038;ssl=1" alt="An old pencil drawing of Don Quixote and Sancho Panza sitting on their horses, by Wilhelm Marstrand." class="wp-image-1401" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.46-AM-scaled.jpg?w=2048&amp;ssl=1 2048w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.46-AM-scaled.jpg?resize=800%2C486&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.46-AM-scaled.jpg?resize=300%2C182&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.46-AM-scaled.jpg?resize=1024%2C622&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-1.08.46-AM-scaled.jpg?resize=1536%2C933&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<p class="wp-block-paragraph">Then we need to download the FabISP firmware from the link below. The&nbsp;<strong>Makefile</strong>&nbsp;which is inside the original firmware folder is ready to use with the&nbsp;<strong><em>avrisp2</em></strong>&nbsp;or the&nbsp;<strong><em>usbtiny,</em></strong>&nbsp;if you will use a different programmer from these two options it will not work. So, I made some tweaks to that&nbsp;<strong>Makefile</strong>&nbsp;to make it compatible with the&nbsp;<strong>Arduino Uno</strong>&nbsp;that I use as a programmer. And it&#8217;s now ready to use with your Arduino UNO as a programmer you can download it from the link down below.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://makesomestuff.org/wp-content/uploads/2021/03/fabISP_mac.0.8.2_firmware.zip" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">fabisp firmware download</a></div>
</div>



<p class="wp-block-paragraph"><br>Now, we will open the terminal and navigate to the firmware folder. Then,&nbsp;<strong>clean</strong>&nbsp;any previously compiled files by writing&nbsp;<code>make clean</code>.&nbsp;Then we need to generate a new&nbsp;<strong>.hex</strong>&nbsp;that meets our new&nbsp;<strong>MakeFile</strong>. We will use the&nbsp;<code>make hex</code>&nbsp;command.</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-17 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.02.15-PM.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="517" data-id="1406" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.02.15-PM.jpg?resize=770%2C517&#038;ssl=1" alt="An old pencil drawing of Don Quixote and Sancho Panza sitting on their horses, by Wilhelm Marstrand." class="wp-image-1406" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.02.15-PM.jpg?resize=1024%2C687&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.02.15-PM.jpg?resize=800%2C537&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.02.15-PM.jpg?resize=300%2C201&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.02.15-PM.jpg?resize=1536%2C1030&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.02.15-PM.jpg?resize=270%2C180&amp;ssl=1 270w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.02.15-PM.jpg?w=1756&amp;ssl=1 1756w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.05.39-PM.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="508" data-id="1407" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.05.39-PM.jpg?resize=770%2C508&#038;ssl=1" alt="" class="wp-image-1407" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.05.39-PM.jpg?resize=1024%2C675&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.05.39-PM.jpg?resize=800%2C528&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.05.39-PM.jpg?resize=300%2C198&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.05.39-PM.jpg?resize=1536%2C1013&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.05.39-PM.jpg?resize=370%2C245&amp;ssl=1 370w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-26-at-9.05.39-PM.jpg?w=1786&amp;ssl=1 1786w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<p class="wp-block-paragraph">Then&nbsp;we need to write the <code>make fuse</code> command&nbsp;to set the fuses so the board will use the external clock. You should see a response like the one in the first image. Lastly, use the command&nbsp;<code>make program</code>&nbsp;to burn our firmware to the board to work as an AVR Programmer.</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-18 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/fuses-ok.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="744" height="1024" data-id="1408" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/fuses-ok.jpg?resize=744%2C1024&#038;ssl=1" alt="An old pencil drawing of Don Quixote and Sancho Panza sitting on their horses, by Wilhelm Marstrand." class="wp-image-1408" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/fuses-ok.jpg?resize=744%2C1024&amp;ssl=1 744w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/fuses-ok.jpg?resize=800%2C1101&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/fuses-ok.jpg?resize=218%2C300&amp;ssl=1 218w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/fuses-ok.jpg?resize=1116%2C1536&amp;ssl=1 1116w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/fuses-ok.jpg?w=1364&amp;ssl=1 1364w" sizes="auto, (max-width: 744px) 100vw, 744px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-02-27-at-1.59.59-AM.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="744" height="1024" data-id="1409" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-02-27-at-1.59.59-AM.jpg?resize=744%2C1024&#038;ssl=1" alt="" class="wp-image-1409" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-02-27-at-1.59.59-AM.jpg?resize=744%2C1024&amp;ssl=1 744w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-02-27-at-1.59.59-AM.jpg?resize=800%2C1101&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-02-27-at-1.59.59-AM.jpg?resize=218%2C300&amp;ssl=1 218w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-02-27-at-1.59.59-AM.jpg?resize=1116%2C1536&amp;ssl=1 1116w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-02-27-at-1.59.59-AM.jpg?w=1364&amp;ssl=1 1364w" sizes="auto, (max-width: 744px) 100vw, 744px" /></a></figure>
</figure>



<h2 class="wp-block-heading">FabISP AVR Programmer Testing</h2>



<p class="wp-block-paragraph">After finishing the previous steps, your computer should now recognize the board as an ISP. Since i’m using a MAC machine, click on the Apple logo, then click in “About This MAC”, then “System Report”.</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-2 wp-block-gallery-19 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.17.34-AM.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="403" data-id="1412" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.17.34-AM.jpg?resize=770%2C403&#038;ssl=1" alt="" class="wp-image-1412" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.17.34-AM.jpg?w=1768&amp;ssl=1 1768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.17.34-AM.jpg?resize=800%2C419&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.17.34-AM.jpg?resize=300%2C157&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.17.34-AM.jpg?resize=1024%2C536&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.17.34-AM.jpg?resize=1536%2C804&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.18.46-AM.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="434" data-id="1411" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.18.46-AM.jpg?resize=770%2C434&#038;ssl=1" alt="" class="wp-image-1411" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.18.46-AM.jpg?w=1316&amp;ssl=1 1316w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.18.46-AM.jpg?resize=800%2C451&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.18.46-AM.jpg?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.18.46-AM.jpg?resize=1024%2C577&amp;ssl=1 1024w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.19.05-AM.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="492" data-id="1410" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.19.05-AM.jpg?resize=770%2C492&#038;ssl=1" alt="" class="wp-image-1410" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.19.05-AM.jpg?w=1396&amp;ssl=1 1396w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.19.05-AM.jpg?resize=800%2C511&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.19.05-AM.jpg?resize=300%2C192&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.19.05-AM.jpg?resize=1024%2C654&amp;ssl=1 1024w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<p class="wp-block-paragraph">Then from the left side menu under the “Hardware” section click on “USB”. your programmer should be recognized by your computer with the name&nbsp;<strong>FabISB</strong>. Which means your AVR ISP is now ready to work!</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-20 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.24.47-AM.jpg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="564" data-id="1418" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.24.47-AM.jpg?resize=770%2C564&#038;ssl=1" alt="" class="wp-image-1418" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.24.47-AM.jpg?resize=1024%2C750&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.24.47-AM.jpg?resize=800%2C586&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.24.47-AM.jpg?resize=300%2C220&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.24.47-AM.jpg?resize=1536%2C1125&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/Screen-Shot-2020-03-28-at-3.24.47-AM.jpg?w=1726&amp;ssl=1 1726w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7105-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1419" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7105.jpeg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1419" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7105-scaled.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7105-scaled.jpeg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7105-scaled.jpeg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7105-scaled.jpeg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_7105-scaled.jpeg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<h2 class="wp-block-heading">FabISP AVR Programmer 3d Printed Enclosure</h2>



<p class="wp-block-paragraph">I designed an enclosure for the Tiny AVR programmer you can download it from the links down below. I 3d printed these parts with 20% infill without supports.</p>



<figure class="wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-21 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8269-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1459" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8269.jpeg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1459" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8269-scaled.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8269-scaled.jpeg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8269-scaled.jpeg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8269-scaled.jpeg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8269-scaled.jpeg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8268-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1458" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8268.jpeg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1458" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8268-scaled.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8268-scaled.jpeg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8268-scaled.jpeg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8268-scaled.jpeg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8268-scaled.jpeg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-22 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><a href="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8267-scaled.jpeg?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="578" data-id="1397" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8267.jpeg?resize=770%2C578&#038;ssl=1" alt="" class="wp-image-1397" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8267-scaled.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8267-scaled.jpeg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8267-scaled.jpeg?resize=800%2C600&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8267-scaled.jpeg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2021/03/IMG_8267-scaled.jpeg?resize=1536%2C1152&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></a></figure>
</figure>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://makesomestuff.org/wp-content/uploads/2021/03/Tiny-AVR-Programmer-STLs.zip" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">stl files download</a></div>
</div>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://makesomestuff.org/wp-content/uploads/2021/03/AVR-Programmer-Case.zip" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">step file download</a></div>
</div>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="7344212982"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Here comes the end of the tutorial, thanks for your patience and check our upcoming tutorials on how to use this Tiny AVR programmer and how to program your own circuit boards. Don&#8217;t hesitate to drop down any question you want!</p>
<p>The post <a href="https://makesomestuff.org/how-i-made-my-avr-programmer/">How I Made My Tiny AVR Programmer</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://makesomestuff.org/how-i-made-my-avr-programmer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1337</post-id>	</item>
		<item>
		<title>ATmega328P Standalone Board</title>
		<link>https://makesomestuff.org/atmega328p-standalone-board/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=atmega328p-standalone-board</link>
					<comments>https://makesomestuff.org/atmega328p-standalone-board/#respond</comments>
		
		<dc:creator><![CDATA[Ahmed Ibrahim]]></dc:creator>
		<pubDate>Mon, 23 Dec 2019 00:37:54 +0000</pubDate>
				<category><![CDATA[Electronics Projects]]></category>
		<guid isPermaLink="false">https://makesomestuff.org/?p=911</guid>

					<description><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/atmega328p-standalone-board/">ATmega328P Standalone Board</a></p>
<p>Today we will learn how to build a standalone ATmega328p board. The same chip used in the Arduino UNO board. It&#8217;s Arduino UNO compatible which means that you can program it from the Arduino IDE without any hustle. Used Components Component Quantity ATmega328p microcontroller 1 L7805 voltage regulator 1 PCB DC Socket 1 Slide switch [...]</p>
<p>The post <a href="https://makesomestuff.org/atmega328p-standalone-board/">ATmega328P Standalone Board</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/atmega328p-standalone-board/">ATmega328P Standalone Board</a></p>

<p class="has-regular-font-size wp-block-paragraph">Today we will learn how to build a standalone ATmega328p board. The same chip used in the Arduino UNO board. It&#8217;s Arduino UNO compatible which means that you can program it from the Arduino IDE without any hustle.</p>



<figure class="wp-embed-aspect-16-9 wp-has-aspect-ratio wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Cairoduino Hello World!" width="770" height="433" src="https://www.youtube.com/embed/E2UeiOZyZiI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading">Used Components</h2>



<figure class="is-style-regular wp-block-table"><table><tbody><tr><td><strong>Component</strong></td><td><strong>Quantity</strong></td></tr><tr><td><a href="https://www.ebay.com/itm/DIP-28-ATMEGA328P-PU-Microcontrolle-r-With-ARDUINO-UNO-R3-Bootloader-or-Not-with/272453803548?hash=item3f6f831e1c:m:mHcrn16MSB_3T0buye-pBRQ">ATmega328p microcontroller</a></td><td>1</td></tr><tr><td><a href="https://www.ebay.com/itm/5PCS-IC-L7805CV-L7805-7805-TO-220-Voltage-Regulator-5V-ST-NEW-AF/232444699461?hash=item361ec8a345:g:dngAAOSwuO5ZjnRO">L7805 voltage regulator</a></td><td>1</td></tr><tr><td><a href="https://www.ebay.com/itm/10Pcs-PCB-Mount-5-5-x-2-1-mm-Black-Female-DC-Power-Jack-Plug-Socket-Connector/152836566600?epid=4005059362&amp;hash=item2395c4ee48:g:XcAAAOSwbtNaO21O">PCB DC Socket</a></td><td>1</td></tr><tr><td><a href="https://www.ebay.com/itm/20PCS-3Pin-SS12D00G3-2-Position-SPDT-1P2T-PCB-Panel-Mini-Vertical-Slide-Switch-A/232402751383?epid=872709924&amp;hash=item361c488f97:g:m7MAAOSwYS9ZYfSv">Slide switch</a></td><td>1</td></tr><tr><td><a href="https://www.ebay.com/itm/100pcs-Micro-switch-push-button-6-6-5-mm-new-good-quality/400985254448?hash=item5d5c956a30:g:TDsAAOSwcu5UNir1">Push button</a></td><td>1</td></tr><tr><td><a href="https://www.ebay.com/itm/200Pcs-3V-20mA-3mm-5mm-Round-LED-Light-Emitting-Diodes-Assorted-Kit-5-Colors/273858732261?hash=item3fc340a0e5:m:mYz6mjuwPK14dAIiMKPEdFQ">5mm LED</a></td><td>2</td></tr><tr><td><a href="https://www.ebay.com/itm/10PCS-32-768Khz-125Mhz-Active-Crystal-Oscillators-HC-49S-16MHz-16-000MHz-16M/191964483715?hash=item2cb1f99083:m:m7n-ceLhSJ1IxSY9nPBzLOg">16MHz crystal oscillator</a></td><td>1</td></tr><tr><td><a href="https://www.ebay.com/itm/100nF-100N-Ceramic-Disc-Capacitor-5mm-Pitch-25V-Pack-of-20/113761999708?hash=item1a7cbe5b5c:g:HmAAAOSw4OJc6mHm">100n ceramic capacitor</a></td><td>1</td></tr><tr><td><a href="https://www.ebay.com/itm/100Stks-22pF-50Volt-Ceramic-Disc-Capacitors-10-to-85-20-2-5x-Rated-Voltage/272304121542?hash=item3f669726c6:g:~TMAAOSwAPlXg6gr">22PF ceramic capacitor</a></td><td>2</td></tr><tr><td><a href="https://www.ebay.com/itm/50PCS-50V-10uF-50Volt-10MFD-NP-Non-polarized-Electrolytic-Capacitor-5-11mm/392239567019?hash=item5b534cd0ab:g:6scAAOSwUmpc7pbC">10uf polarized capacitor</a></td><td>1</td></tr><tr><td>330 ohm resistor</td><td>2</td></tr><tr><td>10 kohm resistor</td><td>1</td></tr><tr><td><a href="https://www.ebay.com/itm/10PCS-2-54mm-Header-15Pin-Single-Row-Female-Pin-Socket-connector/283261250485?hash=item41f3afabb5:g:DiQAAOSwWz5b7Qk5">2.54mm Female pin header</a></td><td>2</td></tr></tbody></table></figure>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading">ATmega328P Bare minimum configuration</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="has-regular-font-size wp-block-paragraph">Before building our standalone ATmega328P chip Arduino compatible board, let&#8217;s take a look at the awesome Arduino UNO board and see the main components that used to build that beautiful thing.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="550" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/Arduino_uno_r3.jpg?resize=770%2C550&#038;ssl=1" alt="Arduino UNO board" class="wp-image-937" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/Arduino_uno_r3-scaled.jpg?resize=1024%2C731&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/Arduino_uno_r3-scaled.jpg?resize=800%2C571&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/Arduino_uno_r3-scaled.jpg?resize=300%2C214&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/Arduino_uno_r3-scaled.jpg?resize=768%2C548&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/Arduino_uno_r3-scaled.jpg?resize=1536%2C1097&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Arduino UNO</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">The first main component is the ATmega328P chip which is the brain of the board. A Voltage regulator that regulates the input voltage to a 5V clean output which gets used mainly by the ATmega320p chip. The 16MHz crystal oscillator, that creates an electric signal with a given frequency. Simply it counts the seconds so you don&#8217;t have to. Some LEDs to make you sure that the board is running smoothly and still alive. DC Plug allows you to connect the board to a DC power source. USB Port allows you to connect the board to your computer. Some pin headers to interface it with the external world(sensors, motors, LEDs, ..) through some jumper wires.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="9818672392"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-regular-font-size wp-block-paragraph">After knowing the main components used in the Arduino UNO board, we can make one using the same main components that we stated before which is called the <strong>ATmega328P bare minimum configuration</strong>.</p>



<h3 class="wp-block-heading">Schematic</h3>



<hr class="wp-block-separator has-css-opacity"/>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="621" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfiguration.png?resize=770%2C621&#038;ssl=1" alt="Bare Minimum Configuration" class="wp-image-946" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfiguration.png?resize=1024%2C826&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfiguration.png?resize=800%2C646&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfiguration.png?resize=300%2C242&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfiguration.png?resize=768%2C620&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfiguration.png?w=1098&amp;ssl=1 1098w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Bare Minimum Configuration</figcaption></figure>



<h3 class="wp-block-heading">Wiring Diagram</h3>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="388" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfigurationBB.png?resize=770%2C388&#038;ssl=1" alt="Bare Minimum Configuration On Breadboard" class="wp-image-948" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfigurationBB.png?resize=1024%2C516&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfigurationBB.png?resize=800%2C403&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfigurationBB.png?resize=300%2C151&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfigurationBB.png?resize=768%2C387&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/bareMinimumConfigurationBB.png?w=1458&amp;ssl=1 1458w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Bare Minimum Configuration On Breadboard</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">As you can see, the <strong>bare minimum configuration</strong> means using the smallest possible quantity of components that makes that thing runs without problems. but later on, we will add some more components like LEDs, buttons, pin headers, .. to spice things up.</p>



<p class="has-regular-font-size wp-block-paragraph">the ATmega328P works at 5V that must be well regulated without any spikes that&#8217;s why we are using a 10microfarad capacitor between the 5V power line. in order to make the ATmega328p runs, you have to apply a HIGH logic value &#8220;5V&#8221; on the &#8220;reset&#8221; pin.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">The &#8220;Reset&#8221; pin is an active low pin, which means if you applied a LOW logic value &#8220;0V&#8221; on it, it will restart the chip. So we keep it HIGH to make it disabled.</div></div>



<p class="has-regular-font-size wp-block-paragraph">Usually, the ATmega328P chip works on a 16MHz crystal oscillator placed on the pins 9 and 10 but in order to make it oscillate it needs two 22Picofarad capacitors connected to the GND.</p>



<p class="has-regular-font-size wp-block-paragraph">But we want to spice things up, let us add some more components to give the board more features and make it more user-friendly.</p>



<h3 class="wp-block-heading">Schematic</h3>



<hr class="wp-block-separator has-css-opacity"/>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="513" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/PCB-Schmeatic.png?resize=770%2C513&#038;ssl=1" alt="Final Schematic " class="wp-image-950" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/PCB-Schmeatic-scaled.png?resize=1024%2C682&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/PCB-Schmeatic-scaled.png?resize=800%2C533&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/PCB-Schmeatic-scaled.png?resize=300%2C200&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/PCB-Schmeatic-scaled.png?resize=768%2C512&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/PCB-Schmeatic-scaled.png?resize=1536%2C1024&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/PCB-Schmeatic-scaled.png?resize=270%2C180&amp;ssl=1 270w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/11/PCB-Schmeatic-scaled.png?resize=370%2C245&amp;ssl=1 370w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Final Schematic </figcaption></figure>



<h3 class="wp-block-heading">Cairoduino V1.0 Board</h3>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="525" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Cairoduino-board.png?resize=770%2C525&#038;ssl=1" alt="Cairoduino board" class="wp-image-1023" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Cairoduino-board.png?resize=1024%2C698&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Cairoduino-board.png?resize=800%2C545&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Cairoduino-board.png?resize=300%2C204&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Cairoduino-board.png?resize=768%2C523&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Cairoduino-board.png?resize=1536%2C1047&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Cairoduino board</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">We added some new components to the bare minimum configuration that we discussed before to add more features to the board and make it more simple to use like a very normal Arduino UNO board.</p>



<ol class="wp-block-list">
<li class="">DC Power plug to make connecting the board to a power source easy and fast.</li>



<li class="">L7805 voltage regulator, so you can plug it to any power source ranged between 7V-12V and the L7805 chip will regulate that voltage and give the ATmega328p chip a well-regulated 5V. The difference between the input voltage and the output voltage will go in a form of heat.</li>



<li class="">Reset button, to be able to reset the board easily in case of any misbehaving.</li>



<li class="">power LED as an indicator that tells the user if the board is connected to the power source or not.</li>



<li class="">On&amp;Off switch.</li>



<li class="">pin headers to allow the user to connect any electronic components like sensors, LEDs, switches, &#8230; to the board easily using some jumpers, like any Arduino board.</li>



<li class="">FTDI breakout board, to be able to connect the board to the laptop so you can program and upload the code to it easily without removing the ATmega chip itself.</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="526" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Board-components-value.png?resize=770%2C526&#038;ssl=1" alt="Components Value" class="wp-image-1021" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Board-components-value.png?resize=1024%2C700&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Board-components-value.png?resize=800%2C547&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Board-components-value.png?resize=300%2C205&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Board-components-value.png?resize=768%2C525&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Board-components-value.png?resize=1536%2C1050&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Components Value</figcaption></figure>
</div>


<h2 class="wp-block-heading">PCB Manufacturing</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="has-regular-font-size wp-block-paragraph">This board is designed on <a href="https://www.autodesk.com/products/eagle/overview">Eagle from Autodesk</a>. You don&#8217;t have to be a PCB design expert to make or own this board because it&#8217;s fully open-source you can download the whole project from this link.</p>



<p class="wp-block-paragraph">If you need this eagle project as a template so you can customize it according to your needs, you are very welcome to do anything you want to the project.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://github.com/ahmedibrrahim/Cairoduino-PCB" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">Github</a></div>
</div>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="546" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/PCB.png?resize=770%2C546&#038;ssl=1" alt="Cairoduino PCB Board" class="wp-image-981" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/PCB.png?resize=1024%2C726&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/PCB.png?resize=800%2C567&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/PCB.png?resize=300%2C213&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/PCB.png?resize=768%2C544&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/PCB.png?resize=1536%2C1088&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Cairoduino PCB Board</figcaption></figure>
</div>


<p class="wp-block-paragraph">You can order your own Cairoduino board from <a href="https://www.pcbway.com/">PCBWay</a> in just Two clicks. from this link.</p>



<div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-fe48e5de wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link has-background has-text-align-center wp-element-button" href="https://www.pcbway.com/project/shareproject/Cairoduino.html" style="border-radius:100px;background-color:#00a99d" target="_blank" rel="noreferrer noopener">PCBWay</a></div>
</div>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="383" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.09.34-AM.png?resize=770%2C383&#038;ssl=1" alt="PCBWay project page" class="wp-image-987" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.09.34-AM.png?resize=1024%2C509&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.09.34-AM.png?resize=800%2C398&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.09.34-AM.png?resize=300%2C149&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.09.34-AM.png?resize=768%2C382&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.09.34-AM.png?resize=1536%2C764&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">PCBWay project page</figcaption></figure>



<p class="wp-block-paragraph">From my point of view, <strong>PCBWay</strong> has the most user-friendly web-based interaction design in the industry! You can instantly get the quotation of your PCB, you can also check the order fabrication and processing status online in your account panel, After your PCBs are sent out to your address, you can track your order shipping status online and a lot more.</p>



<h2 class="wp-block-heading">Uploading the bootloader to the chip</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">To be able to use the Arduino IDE to program the chip, we need to burn the bootloader to the Atmega chip. At this step, we need an Arduino UNO board we will use it as a programmer by connecting the MOSI, MISO, SCK pins between the ATmega328p chip and the Arduino UNO board.</p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="9818672392"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">If you already have an ATmega chip with the Arduino bootloader pre-loaded you don&#8217;t need to do these steps.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="336" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Uploading-the-bootloader.png?resize=770%2C336&#038;ssl=1" alt="Uploading bootloader wiring" class="wp-image-993" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Uploading-the-bootloader.png?resize=1024%2C447&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Uploading-the-bootloader.png?resize=800%2C350&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Uploading-the-bootloader.png?resize=300%2C131&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Uploading-the-bootloader.png?resize=768%2C336&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Uploading-the-bootloader.png?resize=1536%2C671&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Uploading bootloader wiring</figcaption></figure>
</div>


<p class="wp-block-paragraph">After connecting the ATmega chip with the Arduino board, we need to open the <strong>Arduino IDE &#8211;&gt; File &#8211;&gt; Examples &#8211;&gt; ArduinoISP &#8211;&gt; ArduinoISP </strong></p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="216" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.53.12-AM.png?resize=770%2C216&#038;ssl=1" alt="ArduinoISP Code" class="wp-image-994" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.53.12-AM.png?resize=1024%2C287&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.53.12-AM.png?resize=800%2C224&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.53.12-AM.png?resize=300%2C84&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.53.12-AM.png?resize=768%2C215&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.53.12-AM.png?resize=1536%2C430&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">ArduinoISP Code</figcaption></figure>
</div>


<p class="wp-block-paragraph">Then, set the Programmer to Arduino as ISP. <strong>Tools &#8211;&gt; Programmer &#8211;&gt; Arduino as ISP.</strong></p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="311" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.00-AM.png?resize=770%2C311&#038;ssl=1" alt="Setting the programmer" class="wp-image-995" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.00-AM.png?resize=1024%2C414&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.00-AM.png?resize=800%2C323&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.00-AM.png?resize=300%2C121&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.00-AM.png?resize=768%2C311&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.00-AM.png?resize=1536%2C621&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Setting the programmer</figcaption></figure>
</div>


<p class="wp-block-paragraph">Now, it&#8217;s the time to burn the bootloader, <strong>Tools &#8211;&gt; Burn Bootloader.</strong></p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="314" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.12-AM.png?resize=770%2C314&#038;ssl=1" alt="Burn the bootloader" class="wp-image-996" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.12-AM.png?resize=1024%2C417&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.12-AM.png?resize=800%2C326&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.12-AM.png?resize=300%2C122&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.12-AM.png?resize=768%2C313&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.12-AM.png?resize=1536%2C626&amp;ssl=1 1536w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-21-at-8.54.12-AM.png?w=1698&amp;ssl=1 1698w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Burn the bootloader</figcaption></figure>
</div>


<h3 class="wp-block-heading">FTDI breakout board</h3>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="640" height="480" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/ftdi_breakout.jpg?resize=640%2C480&#038;ssl=1" alt="FTDI breakout board" class="wp-image-1001" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/ftdi_breakout.jpg?w=640&amp;ssl=1 640w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/ftdi_breakout.jpg?resize=600%2C450&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/ftdi_breakout.jpg?resize=300%2C225&amp;ssl=1 300w" sizes="auto, (max-width: 640px) 100vw, 640px" /><figcaption class="wp-element-caption">FTDI breakout board</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">As we stated before, we are using the FTDI module to connect the Cairoduino board to the laptop so we can program and upload the code to it, also you can send, read some stuff back and forth to the serial monitor through the established serial communication.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="459" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Connecting-the-FTDI.png?resize=770%2C459&#038;ssl=1" alt="connecting the FTDI breakout board" class="wp-image-1007" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Connecting-the-FTDI.png?resize=1024%2C611&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Connecting-the-FTDI.png?resize=800%2C477&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Connecting-the-FTDI.png?resize=300%2C179&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Connecting-the-FTDI.png?resize=768%2C458&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Connecting-the-FTDI.png?w=1458&amp;ssl=1 1458w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">connecting the FTDI breakout board</figcaption></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="628" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/IMG_6234.jpg?resize=770%2C628&#038;ssl=1" alt="Connecting to the laptop" class="wp-image-1002" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/IMG_6234-scaled.jpg?resize=1024%2C835&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/IMG_6234-scaled.jpg?resize=800%2C652&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/IMG_6234-scaled.jpg?resize=300%2C245&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/IMG_6234-scaled.jpg?resize=768%2C626&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/IMG_6234-scaled.jpg?resize=1536%2C1252&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Connecting to the laptop</figcaption></figure>
</div>

<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">Don&#8217;t connect a DC Power source to the board while you&#8217;re connecting it to the laptop. connecting the board to two power sources at the same time is too heavy on it to handle.</div></div>



<h2 class="wp-block-heading">LED Blinking</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">Let&#8217;s try to upload a hello world code to the board to see if it behaving as expected or not. open Arduino IDE &#8211;&gt; Examples &#8211;&gt; Basics &#8211;&gt; Blink</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="184" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-23-at-1.48.11-AM.png?resize=770%2C184&#038;ssl=1" alt="" class="wp-image-1004" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-23-at-1.48.11-AM.png?resize=1024%2C245&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-23-at-1.48.11-AM.png?resize=800%2C192&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-23-at-1.48.11-AM.png?resize=300%2C72&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-23-at-1.48.11-AM.png?resize=768%2C184&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/12/Screen-Shot-2019-12-23-at-1.48.11-AM.png?resize=1536%2C368&amp;ssl=1 1536w" sizes="auto, (max-width: 770px) 100vw, 770px" /></figure>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="9818672392"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">after connecting the board to your laptop and hitting the upload button, you should see the built-in LED which is connected to pin 13 blinking every 1 second. if you want to know more details about how LED blinking works you can check this tutorial which we published before.</p>



<figure class="wp-block-embed aligncenter is-type-wp-embed is-provider-make-some-stuff wp-block-embed-make-some-stuff"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="xfwXusxVsN"><a href="https://makesomestuff.org/arduino-led-blinking/">Arduino LED Blinking</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Arduino LED Blinking&#8221; &#8212; Make Some Stuff" src="https://makesomestuff.org/arduino-led-blinking/embed/#?secret=xfwXusxVsN" data-secret="xfwXusxVsN" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>
<p>The post <a href="https://makesomestuff.org/atmega328p-standalone-board/">ATmega328P Standalone Board</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://makesomestuff.org/atmega328p-standalone-board/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">911</post-id>	</item>
		<item>
		<title>Custom-Made Handclap AC Switch Control Board</title>
		<link>https://makesomestuff.org/handclap-ac-switch-control/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=handclap-ac-switch-control</link>
					<comments>https://makesomestuff.org/handclap-ac-switch-control/#respond</comments>
		
		<dc:creator><![CDATA[Ahmed Ibrahim]]></dc:creator>
		<pubDate>Thu, 10 Oct 2019 20:37:34 +0000</pubDate>
				<category><![CDATA[Electronics Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Logic Control]]></category>
		<guid isPermaLink="false">https://makesomestuff.org/?p=803</guid>

					<description><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/handclap-ac-switch-control/">Custom-Made Handclap AC Switch Control Board</a></p>
<p>Makers always look at the simplest and shortest way to get things done. So, today we will learn how to control our home light switch in the simplest and quickest way. Hardware Components Component Quantity Condensor MIC 1 UA741 op-amp IC 1 Decade counter IC 4017 1 5VDC 5-pin relay 1 2n2222 Transistor 1 1n4007 [...]</p>
<p>The post <a href="https://makesomestuff.org/handclap-ac-switch-control/">Custom-Made Handclap AC Switch Control Board</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://makesomestuff.org">Make Some Stuff</a><br />
<a href="https://makesomestuff.org/handclap-ac-switch-control/">Custom-Made Handclap AC Switch Control Board</a></p>

<p class="has-regular-font-size wp-block-paragraph">Makers always look at the simplest and shortest way to get things done. So, today we will learn how to control our home light switch in the simplest and quickest way. </p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1309125976"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<figure class="wp-embed-aspect-16-9 wp-has-aspect-ratio wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Handclap AC Electronic Switch" width="770" height="433" src="https://www.youtube.com/embed/4ooOUjQTPz0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading">Hardware Components</h2>



<hr class="wp-block-separator has-css-opacity"/>



<figure class="is-style-regular wp-block-table"><table class="has-background" style="background-color:#f3f4f5"><tbody><tr><td class="has-text-align-left" data-align="left"><strong>Component</strong></td><td><strong>Quantity</strong></td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/2x-Mini-MIC-9x7mm-Capsule-Electret-Condenser-Microphone-CR-CZN-15E-micro/192238576954?hash=item2cc24fe53a:g:ErkAAOSw7PJbxaov" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">Condensor MIC</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/TI-UA741CP-Single-Op-AMP-DIL-8/133203844579?hash=item1f03915de3:g:n7YAAOSwYZJdpcA8" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">UA741 op-amp IC</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/5-10-20PCS-CD4017-CD4017BE-4017-DECADE-COUNTER-DIVIDER-IC/263788022713?_trkparms=ispr%3D1&amp;hash=item3d6afdcbb9:m:mgIBoOY90oyujpgKbKyladg&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qWycvEz6V5ckS90SvrTcvg2KOiUu7bGg58%2Fgsxb0%2F5uqIW8jz6K%2Bkge%2Bm3yyHPZta6PUKn9%2BB4PQSOsSqofjNQSqNpq2UNizssfQxM%2BpVh%2FRZ46sKXTCFUmbbxdT4uLRaRb8fZ%2FFQsVTXFMTAgD2npvaM%2FTYsusK0udWRhOXpVjRlJiBZm5krXOpV3Spxlt33l9o3WoEnmZZQUAkoWoUfNYJyvo2gpYUDCcE9eDUsadKFdvREVjDxzb6hO249B9YrGnXaiSvu1pXLnIZkreJZeksh3%2Fps69jhZmx1gaMNmFdZVMo1OYQw8R091n5JDzI1%2Bvd1LHBpRFSjB%2Blgvo%2FaMi3nijOOEpFoZ75X%2BhKIfZqmhuA7oJMG3c86D3Liz4gs50h3kBoklMUgEp3PVfbyzq2qgydC0UE5Y5y%2FivlrDPyYG0DaUAjunhoXm2DFXRZDgs2hZoLhk7xSEY3o7QctVM8y8kUyDOWtGYPYraYISBis%2B3SxPra0JOGFNv0mXHMYV8FvOpUOWLdta%2FaKl3WHSvd9yS4xkY7CrXEwxOKT9QDb3Fo3wI6Xuf0u4JJGkYKHTpPJ9V6Nhlitta%2BsLZoUYkeKaL3gNDdAVMM7pwyDWwnMl%2Bq0qmX2VkawZTXCC4%2BXRIvOBm50fTC01xvFwpz8OvBEwZ%2Bt87vFq7W0HKORz9prqHXLeBTUu%2BtWtmK6y2t5petwkvRJJgWnYa8z%2BDeMJBml6hiO5t%2FNgeb0rER%2BiXiA%3D%3D&amp;checksum=263788022713965f4199ec6b45d5b028a8b0135f5149&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qWycvEz6V5ckS90SvrTcvg2KOiUu7bGg58%2Fgsxb0%2F5uqIW8jz6K%2Bkge%2Bm3yyHPZta6PUKn9%2BB4PQSOsSqofjNQSqNpq2UNizssfQxM%2BpVh%2FRZ46sKXTCFUmbbxdT4uLRaRb8fZ%2FFQsVTXFMTAgD2npvaM%2FTYsusK0udWRhOXpVjRlJiBZm5krXOpV3Spxlt33l9o3WoEnmZZQUAkoWoUfNYJyvo2gpYUDCcE9eDUsadKFdvREVjDxzb6hO249B9YrGnXaiSvu1pXLnIZkreJZeksh3%2Fps69jhZmx1gaMNmFdZVMo1OYQw8R091n5JDzI1%2Bvd1LHBpRFSjB%2Blgvo%2FaMi3nijOOEpFoZ75X%2BhKIfZqmhuA7oJMG3c86D3Liz4gs50h3kBoklMUgEp3PVfbyzq2qgydC0UE5Y5y%2FivlrDPyYG0DaUAjunhoXm2DFXRZDgs2hZoLhk7xSEY3o7QctVM8y8kUyDOWtGYPYraYISBis%2B3SxPra0JOGFNv0mXHMYV8FvOpUOWLdta%2FaKl3WHSvd9yS4xkY7CrXEwxOKT9QDb3Fo3wI6Xuf0u4JJGkYKHTpPJ9V6Nhlitta%2BsLZoUYkeKaL3gNDdAVMM7pwyDWwnMl%2Bq0qmX2VkawZTXCC4%2BXRIvOBm50fTC01xvFwpz8OvBEwZ%2Bt87vFq7W0HKORz9prqHXLeBTUu%2BtWtmK6y2t5petwkvRJJgWnYa8z%2BDeMJBml6hiO5t%2FNgeb0rER%2BiXiA%3D%3D&amp;checksum=263788022713965f4199ec6b45d5b028a8b0135f5149" target="_blank" rel="noreferrer noopener" aria-label="Decade counter IC 4017 (opens in a new tab)">Decade counter IC 4017</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/10pcs-Mini-Power-Relay-5V-DC-SRD-5VDC-SL-C-SRD-5VDC-SL-C-PCB/401563774618?hash=item5d7f10ee9a:m:mf_NTXRyZpicTHzkrToOXYw" target="_blank" rel="noreferrer noopener" aria-label="5VDC 5-pin relay (opens in a new tab)">5VDC 5-pin relay</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/100Pcs-NPN-Transistor-TO-92-2N2222A-2N2222-NEW/311607067106?epid=1001943867&amp;_trkparms=ispr%3D1&amp;hash=item488d3a81e2:g:SQMAAOSwIgNXotih&amp;enc=AQAEAAACMBPxNw%2BVj6nta7CKEs3N0qWeMXkn2F0vRozoVCfXBkbq5yMS9M3q%2BHhhriXLspRjRZC329ZxJDdeo6S6Z8J84wjP642DKOaOmpTsWekCwxEEiza7naG1JltnETr%2FNLI3pr%2Btajkz%2F9it9l4AVCmm%2B2ct8p3phAjpmq7bdRVCqP%2BMIjEpmRvmMlSvxZcRfZ0YFeAjDvX%2B4ClxGbQ6iLQQ1KpLm20AUtZxjM%2BD0eR07xb3P7aekQHA%2FEqdysn2YozMdnwQd5UCBsmlSlz7F55mT%2BaGeEu3cBF5y5YuYvgTIRxwRX1l%2BxPlXQU2gygRjKzMxPWooAzT9qdEfeTHSOwZPLEQ6KM98h8GuwWkiRPJ2EBLWJaZGg%2FRBc1Pxel7ktU%2FklnYKZRpoFQL4eE%2BLYgT4l7S2bIoWComUIp%2BTpdyOwS0A80lfBrz5%2FEbcepmuye9AVrSQ8XQga%2Bo9xoRbtnwI0cI9p6VPCl8DNENXZgqPMqk0GN2O%2FOgnk97%2Bwsbk3vrvyrbgacmL9Bvm1uDznDOmSM1JH8RWUjUDl2NeKY1aikaptvmA%2B2vy7QVBUZH3LHQrwzVgtI2TgTTTwZfpDSKeqpLDSK8Lj9qqfqKsHYQXBiMGv6kW90dEtXZ2JjxEPKQYr2EQb6Bu%2FJHygOvZkPlzz4F8MolyO5fmEjS4k2vaK5eMvPYzR0Nw%2F4za8Im6ll5L1zt%2Bd%2F%2BFLVSKLDtK25e6X2EssRiGXytNMMetKqqRV8m&amp;checksum=3116070671063f6c4fc0cb2248f494ea352a0c3864b2&amp;enc=AQAEAAACMBPxNw%2BVj6nta7CKEs3N0qWeMXkn2F0vRozoVCfXBkbq5yMS9M3q%2BHhhriXLspRjRZC329ZxJDdeo6S6Z8J84wjP642DKOaOmpTsWekCwxEEiza7naG1JltnETr%2FNLI3pr%2Btajkz%2F9it9l4AVCmm%2B2ct8p3phAjpmq7bdRVCqP%2BMIjEpmRvmMlSvxZcRfZ0YFeAjDvX%2B4ClxGbQ6iLQQ1KpLm20AUtZxjM%2BD0eR07xb3P7aekQHA%2FEqdysn2YozMdnwQd5UCBsmlSlz7F55mT%2BaGeEu3cBF5y5YuYvgTIRxwRX1l%2BxPlXQU2gygRjKzMxPWooAzT9qdEfeTHSOwZPLEQ6KM98h8GuwWkiRPJ2EBLWJaZGg%2FRBc1Pxel7ktU%2FklnYKZRpoFQL4eE%2BLYgT4l7S2bIoWComUIp%2BTpdyOwS0A80lfBrz5%2FEbcepmuye9AVrSQ8XQga%2Bo9xoRbtnwI0cI9p6VPCl8DNENXZgqPMqk0GN2O%2FOgnk97%2Bwsbk3vrvyrbgacmL9Bvm1uDznDOmSM1JH8RWUjUDl2NeKY1aikaptvmA%2B2vy7QVBUZH3LHQrwzVgtI2TgTTTwZfpDSKeqpLDSK8Lj9qqfqKsHYQXBiMGv6kW90dEtXZ2JjxEPKQYr2EQb6Bu%2FJHygOvZkPlzz4F8MolyO5fmEjS4k2vaK5eMvPYzR0Nw%2F4za8Im6ll5L1zt%2Bd%2F%2BFLVSKLDtK25e6X2EssRiGXytNMMetKqqRV8m&amp;checksum=3116070671063f6c4fc0cb2248f494ea352a0c3864b2" target="_blank" rel="noreferrer noopener" aria-label="2n2222 Transistor (opens in a new tab)">2n2222 Transistor</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/100pcs-1N4007-Diode-MIC-DO-41-1A-1000V-Rectifie-Diodes-NEW/301924671073?hash=item464c1cde61:g:4f8AAOSwuTxWAg3m" target="_blank" rel="noreferrer noopener" aria-label="1n4007 Diode (opens in a new tab)">1n4007 Diode</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/20Pcs-1W-1-Watt-Metal-Film-Resistor-1-1K-910K-Ohm-1-K-910-K-Free-Shipping/192252609011?_trkparms=ispr%3D1&amp;hash=item2cc32601f3:m:mR2rCX05fL53k9RopChCPFw&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qV3B7vV1K4PzE5%2Fv%2FTVh6yTMvSd%2FQzVXUQbZlRdlRWNu9TFhtuzshbZ%2BowFXmArbUDgTczLd289kcBy7WkLuQMig5Ltt8IpLRtHlHVCzTP6uMp%2BFySXhLu9BnO4ZsThSmIcYkIiyBVyBAl%2Fsz3YDyES%2BQPTv6nmX5cOWBZt0ezdYlSp9CnEmisgLYOErkIxrcxE%2BEgFGHZCCitFbi60r2BODcQd7AcMPpwZaOZPLv435YSz0qe4ci1GRQY8EeXxiutN862ZsPFKQnpnrH98XMro6KkuI2hmsqzJ92ToPPrE5rZtkp6b8X6bln3Qrv2Esx18NSRFCYjfzMXitkKmzm8F7NbPGiUlhGyg0lRxq81xjQQv0v%2Fa%2B0LRXAm%2F3oWbEWKp%2BMfacoQfh4eIzZP9Pl%2BL1IuTXtFzFcXDSXTThJ%2B8I5VKoxLg3GW785Mak%2B4qVSmCwjS8hkt%2B%2F5XrgKc%2FLtmCVfpfGFf6BP6hAEgzn9v74VGh2IXuB8vk5BujnrX1UAUDmgJ4ZDL8UwxU8G7%2BVoVpMcUTLmxmUO5NchPRzjvufn4VMmPL4jLN%2Bn%2FZJyEcL3FMnXvd0jqN78iXFodgLesg2U3QoxkxPdMfOiBJv66CMI6KDxsRvKVT42sf2%2B9yWK%2Bk7dxLM3DamX%2BzylWY9ufM%2FB8ObFyYvDKfvwfunjLyfLDNivN5BURoblfGen30vqY86vseiCO6omOpwyIiWgUDRPcpZYy4sjxEiUXGKqiJ1w%3D%3D&amp;checksum=192252609011c1068ae05e8943578f48a0ed283c0a1b&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qV3B7vV1K4PzE5%2Fv%2FTVh6yTMvSd%2FQzVXUQbZlRdlRWNu9TFhtuzshbZ%2BowFXmArbUDgTczLd289kcBy7WkLuQMig5Ltt8IpLRtHlHVCzTP6uMp%2BFySXhLu9BnO4ZsThSmIcYkIiyBVyBAl%2Fsz3YDyES%2BQPTv6nmX5cOWBZt0ezdYlSp9CnEmisgLYOErkIxrcxE%2BEgFGHZCCitFbi60r2BODcQd7AcMPpwZaOZPLv435YSz0qe4ci1GRQY8EeXxiutN862ZsPFKQnpnrH98XMro6KkuI2hmsqzJ92ToPPrE5rZtkp6b8X6bln3Qrv2Esx18NSRFCYjfzMXitkKmzm8F7NbPGiUlhGyg0lRxq81xjQQv0v%2Fa%2B0LRXAm%2F3oWbEWKp%2BMfacoQfh4eIzZP9Pl%2BL1IuTXtFzFcXDSXTThJ%2B8I5VKoxLg3GW785Mak%2B4qVSmCwjS8hkt%2B%2F5XrgKc%2FLtmCVfpfGFf6BP6hAEgzn9v74VGh2IXuB8vk5BujnrX1UAUDmgJ4ZDL8UwxU8G7%2BVoVpMcUTLmxmUO5NchPRzjvufn4VMmPL4jLN%2Bn%2FZJyEcL3FMnXvd0jqN78iXFodgLesg2U3QoxkxPdMfOiBJv66CMI6KDxsRvKVT42sf2%2B9yWK%2Bk7dxLM3DamX%2BzylWY9ufM%2FB8ObFyYvDKfvwfunjLyfLDNivN5BURoblfGen30vqY86vseiCO6omOpwyIiWgUDRPcpZYy4sjxEiUXGKqiJ1w%3D%3D&amp;checksum=192252609011c1068ae05e8943578f48a0ed283c0a1b" target="_blank" rel="noreferrer noopener" aria-label="1kohm resistor (opens in a new tab)">1kohm resistor</a></td><td>4</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/3mm-5mm-monochrome-flash-light-red-blue-white-emerald-green-orange-yellow-LED/293081666256?hash=item443d0752d0:m:mmyBl8s76nluOWJ59z7zGCQ" target="_blank" rel="noreferrer noopener" aria-label="5mm LEDs (opens in a new tab)">5mm LEDs</a></td><td>3</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/20Pcs-1W-1-Watt-Metal-Film-Resistor-1-1K-910K-Ohm-1-K-910-K-Free-Shipping/192252609011?_trkparms=ispr%3D1&amp;hash=item2cc32601f3:m:mR2rCX05fL53k9RopChCPFw&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qV3B7vV1K4PzE5%2Fv%2FTVh6yTMvSd%2FQzVXUQbZlRdlRWNu9TFhtuzshbZ%2BowFXmArbUDgTczLd289kcBy7WkLuQMig5Ltt8IpLRtHlHVCzTP6uMp%2BFySXhLu9BnO4ZsThSmIcYkIiyBVyBAl%2Fsz3YDyES%2BQPTv6nmX5cOWBZt0ezdYlSp9CnEmisgLYOErkIxrcxE%2BEgFGHZCCitFbi60r2BODcQd7AcMPpwZaOZPLv435YSz0qe4ci1GRQY8EeXxiutN862ZsPFKQnpnrH98XMro6KkuI2hmsqzJ92ToPPrE5rZtkp6b8X6bln3Qrv2Esx18NSRFCYjfzMXitkKmzm8F7NbPGiUlhGyg0lRxq81xjQQv0v%2Fa%2B0LRXAm%2F3oWbEWKp%2BMfacoQfh4eIzZP9Pl%2BL1IuTXtFzFcXDSXTThJ%2B8I5VKoxLg3GW785Mak%2B4qVSmCwjS8hkt%2B%2F5XrgKc%2FLtmCVfpfGFf6BP6hAEgzn9v74VGh2IXuB8vk5BujnrX1UAUDmgJ4ZDL8UwxU8G7%2BVoVpMcUTLmxmUO5NchPRzjvufn4VMmPL4jLN%2Bn%2FZJyEcL3FMnXvd0jqN78iXFodgLesg2U3QoxkxPdMfOiBJv66CMI6KDxsRvKVT42sf2%2B9yWK%2Bk7dxLM3DamX%2BzylWY9ufM%2FB8ObFyYvDKfvwfunjLyfLDNivN5BURoblfGen30vqY86vseiCO6omOpwyIiWgUDRPcpZYy4sjxEiUXGKqiJ1w%3D%3D&amp;checksum=192252609011c1068ae05e8943578f48a0ed283c0a1b&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qV3B7vV1K4PzE5%2Fv%2FTVh6yTMvSd%2FQzVXUQbZlRdlRWNu9TFhtuzshbZ%2BowFXmArbUDgTczLd289kcBy7WkLuQMig5Ltt8IpLRtHlHVCzTP6uMp%2BFySXhLu9BnO4ZsThSmIcYkIiyBVyBAl%2Fsz3YDyES%2BQPTv6nmX5cOWBZt0ezdYlSp9CnEmisgLYOErkIxrcxE%2BEgFGHZCCitFbi60r2BODcQd7AcMPpwZaOZPLv435YSz0qe4ci1GRQY8EeXxiutN862ZsPFKQnpnrH98XMro6KkuI2hmsqzJ92ToPPrE5rZtkp6b8X6bln3Qrv2Esx18NSRFCYjfzMXitkKmzm8F7NbPGiUlhGyg0lRxq81xjQQv0v%2Fa%2B0LRXAm%2F3oWbEWKp%2BMfacoQfh4eIzZP9Pl%2BL1IuTXtFzFcXDSXTThJ%2B8I5VKoxLg3GW785Mak%2B4qVSmCwjS8hkt%2B%2F5XrgKc%2FLtmCVfpfGFf6BP6hAEgzn9v74VGh2IXuB8vk5BujnrX1UAUDmgJ4ZDL8UwxU8G7%2BVoVpMcUTLmxmUO5NchPRzjvufn4VMmPL4jLN%2Bn%2FZJyEcL3FMnXvd0jqN78iXFodgLesg2U3QoxkxPdMfOiBJv66CMI6KDxsRvKVT42sf2%2B9yWK%2Bk7dxLM3DamX%2BzylWY9ufM%2FB8ObFyYvDKfvwfunjLyfLDNivN5BURoblfGen30vqY86vseiCO6omOpwyIiWgUDRPcpZYy4sjxEiUXGKqiJ1w%3D%3D&amp;checksum=192252609011c1068ae05e8943578f48a0ed283c0a1b" target="_blank" rel="noreferrer noopener" aria-label="10kohm resistor (opens in a new tab)">10kohm resistor</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/8433" target="_blank" rel="noreferrer noopener" aria-label="Terminal block 3-legs (opens in a new tab)">Terminal block 3-legs</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/9806" target="_blank" rel="noreferrer noopener" aria-label="Small rotary potentiometer 103 (opens in a new tab)">Small rotary potentiometer 103</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left">Custom PCB manufacture  </td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/107" target="_blank" rel="noreferrer noopener" aria-label="LM7805 voltage regulator (opens in a new tab)">LM7805 voltage regulator</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/119" target="_blank" rel="noreferrer noopener" aria-label="DC Plug socket (opens in a new tab)">DC Plug socket</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.ebay.com/itm/Electrolytic-Capacitor-400V-1uF-2-2uF-3-3uF-4-7uF-6-8uF-8-2uF-10uF-15uF-22uF-MFD/253868081098?_trkparms=ispr%3D1&amp;hash=item3b1bb77fca:m:meSEyfOe3-BtuyT-AjTECow&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qWCutv4hY0VZQN1ROmap%2BrdD8x7r3GrmZGpHZq7B%2Ba9q8jvnDsMVNie7nijDCWwD8LPkfriJemfPJz1uIsgr8d7OV5n5Xn8C9PROelWb3IbJpqVtj5nZhW8QeFO3ARjhLIyqTpXywyz6TgC4Jw9VQDbodQWykaFw1oRhd67ZL0SCgu5BGg%2FQ3U7bwlCeBcShfRHz15o%2B6F0thy2yPiC317PQdjSS1ezSgOS9c7m%2BOk%2FLkhyuEALlJN%2BZP0Se9ev8Hh498dIeuCZgdJY2IQ4ZoeGsErEI9SIlshUUvKAUXZZa67p%2BDxk7mqqSI9xDt8mRz8q8EG5eqwoN8MqGnr2iwl8OYg0QowSFI%2FOZwLgqQsQGP4%2FZJcO2rJldq3Oe3XxUK6z09Q3QpntQyFTiSTWvWWJocJeDC47aDAhdQZxqYcT2FXGjrUMaRrWL2PtDdJRdrVXQ5JqB9bEY7RC3yBXaMjp%2BugNdKKo0Vc7uU7UF2vhfG%2F33v8%2FGHAqGTKEbIF8LQ7fjLzjRhd8c%2F7nNS%2BosKVhOKtqle5T4GhZyTFV0S54xjoeDy%2FX7Up%2FuElrD66ubA7b6x2ivWbnRYC3OFTtk%2FGybMHquAuZ6jJYavUEssO4G35Y9qkqgMrIaEfCLCK9nuo3wp98Xc19h4NRXS9QwM2wcUg6MxM7FT2Qcn8hSWRj9Tk9tQvoSwXRD4iCROEo56Nqodc3sYgCM2yQ0YPnynkIQ95BxHH3YN7e94hITDSypg%3D%3D&amp;checksum=253868081098108cf4971fbc492298adeebbab8fd020&amp;enc=AQAEAAACQBPxNw%2BVj6nta7CKEs3N0qWCutv4hY0VZQN1ROmap%2BrdD8x7r3GrmZGpHZq7B%2Ba9q8jvnDsMVNie7nijDCWwD8LPkfriJemfPJz1uIsgr8d7OV5n5Xn8C9PROelWb3IbJpqVtj5nZhW8QeFO3ARjhLIyqTpXywyz6TgC4Jw9VQDbodQWykaFw1oRhd67ZL0SCgu5BGg%2FQ3U7bwlCeBcShfRHz15o%2B6F0thy2yPiC317PQdjSS1ezSgOS9c7m%2BOk%2FLkhyuEALlJN%2BZP0Se9ev8Hh498dIeuCZgdJY2IQ4ZoeGsErEI9SIlshUUvKAUXZZa67p%2BDxk7mqqSI9xDt8mRz8q8EG5eqwoN8MqGnr2iwl8OYg0QowSFI%2FOZwLgqQsQGP4%2FZJcO2rJldq3Oe3XxUK6z09Q3QpntQyFTiSTWvWWJocJeDC47aDAhdQZxqYcT2FXGjrUMaRrWL2PtDdJRdrVXQ5JqB9bEY7RC3yBXaMjp%2BugNdKKo0Vc7uU7UF2vhfG%2F33v8%2FGHAqGTKEbIF8LQ7fjLzjRhd8c%2F7nNS%2BosKVhOKtqle5T4GhZyTFV0S54xjoeDy%2FX7Up%2FuElrD66ubA7b6x2ivWbnRYC3OFTtk%2FGybMHquAuZ6jJYavUEssO4G35Y9qkqgMrIaEfCLCK9nuo3wp98Xc19h4NRXS9QwM2wcUg6MxM7FT2Qcn8hSWRj9Tk9tQvoSwXRD4iCROEo56Nqodc3sYgCM2yQ0YPnynkIQ95BxHH3YN7e94hITDSypg%3D%3D&amp;checksum=253868081098108cf4971fbc492298adeebbab8fd020" target="_blank" rel="noreferrer noopener" aria-label="1uf electrolytic capacitor (opens in a new tab)">1uf electrolytic capacitor</a></td><td>1</td></tr><tr><td class="has-text-align-left" data-align="left"><a href="https://www.sparkfun.com/products/8375" target="_blank" rel="noreferrer noopener" aria-label="100n capacitor (opens in a new tab)">100n capacitor</a></td><td>1</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Introduction</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="has-regular-font-size wp-block-paragraph">Today, we will learn how to control home light switches by just hand-clapping, Cool ha! to build that project we will use some new electronic components like the decade counter CD4017 IC and the UA741 op-amp, and a condenser MIC as a sound sensor. So, let&#8217;s do it</p>



<h2 class="wp-block-heading">Working Scenario</h2>



<hr class="wp-block-separator has-css-opacity"/>



<ul class="wp-block-list">
<li class=""><strong>Sensing </strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">The main part of the project is sensing the hand-clap, we used an <strong>electret condenser MIC</strong> to do that job. which converts sound energy into electrical energy. this electrical signal will be an input signal to the UA741 IC. that electret MIC is very sensitive, easy to use, and cheap.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="760" height="588" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?resize=760%2C588&#038;ssl=1" alt="Condenser MIC output signal" class="wp-image-852" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?w=760&amp;ssl=1 760w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?resize=300%2C232&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?resize=260%2C200&amp;ssl=1 260w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Circuit-using-Electret-Condenser-Microphone.png?resize=87%2C67&amp;ssl=1 87w" sizes="auto, (max-width: 760px) 100vw, 760px" /><figcaption class="wp-element-caption">Condenser MIC output signal</figcaption></figure>



<ul class="wp-block-list">
<li class=""><strong>Triggering </strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">After sensing the hand-clap, the generated electrical signal will go to the input pin of the <strong>UA741 op-amp</strong> which works in this project as a comparator, the UA741 IC will compare the MIC input signal with a specific reference voltage if the input signal is higher than that reference voltage it will output logic value <strong>&#8220;HIGH&#8221;</strong>. And will output <strong>&#8220;LOW&#8221;</strong> when the reference voltage is higher than the input voltage.</p>



<p class="wp-block-paragraph">We are using a potentiometer connected with the UA741 chip to adjust the reference voltage, which works just as setting the sensitivity of the circuit.</p>



<p class="has-regular-font-size wp-block-paragraph">The UA741 IC output value goes to the <strong>&#8220;Clock&#8221;</strong> pin of the <strong>counter 4017 IC</strong> to turn on and off the relay.</p>



<ul class="wp-block-list">
<li class=""><strong>Driving high voltage/current load </strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">You know, we are building this circuit to control AC high voltage loads. So, we used a 5VDC relay to make our small poor circuit able to communicate with that beefy AC high voltage load.</p>



<h2 class="wp-block-heading">UA741 op-amp works as a comparator</h2>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="600" height="287" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/UA741CN-IC.jpg?resize=600%2C287&#038;ssl=1" alt="UA741 IC" class="wp-image-865" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/UA741CN-IC.jpg?w=600&amp;ssl=1 600w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/UA741CN-IC.jpg?resize=300%2C144&amp;ssl=1 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /><figcaption class="wp-element-caption">UA741 IC</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">The typical use of the UA741 IC is to amplify a specific signal. Essentially it takes an input voltage, amplifies it by a specific gain, then outputs an amplified voltage. That&#8217;s it. It&#8217;s mostly used in the speaker circuits to amplify the input signal to make the sound loud and clear.</p>



<p class="wp-block-paragraph">But today, we will use the UA741 op-amp as a comparator, not as an amplifier. </p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="284" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/4aefab13524603cb961d26705d54bfdf.png?resize=500%2C284&#038;ssl=1" alt="UA741 as comparator" class="wp-image-820" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/4aefab13524603cb961d26705d54bfdf.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/4aefab13524603cb961d26705d54bfdf.png?resize=300%2C170&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /><figcaption class="wp-element-caption">UA741 as comparator</figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">As you can see, there&#8217;s a positive pin called &#8220;non-inverting terminal&#8221; and the negative pin called &#8220;inverting terminal&#8221;. these two pins are the input voltage pins. Also, there&#8217;s the voltage output &#8220;Vo&#8221; pin, and obviously the two power supply pins VCC, and GND.</p>



<p class="has-regular-font-size wp-block-paragraph">Since the gain naturally of the op-amp is very huge, then what happens when we feed the op-amp two input pins?  </p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="284" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-.png?resize=500%2C284&#038;ssl=1" alt="Comparator work logic" class="wp-image-823" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-.png?resize=300%2C170&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /><figcaption class="wp-element-caption">Comparator work logic</figcaption></figure>
</div>


<p class="wp-block-paragraph">If the input voltage on the positive terminal<strong>&#8220;Non-inverting pin&#8221;</strong> is higher than the input voltage on the negative terminal <strong>&#8220;Inverting pin&#8221;</strong> Even by a tiny amount. the op-amp will try to amplify the difference between those two inputs by a huge gain and the output voltage from the op-amp will equal <strong><em>(the difference between the two input voltages * the huge gain)</em></strong> which is a very large amount like hundred and hundred thousands of volts or something. But it can&#8217;t do it since you are powering your circuit by a 12V or 5V or even 15V. </p>



<p class="wp-block-paragraph">As a result, it will saturate at the amount of voltage which you are powering your op-amp with. Which is the<strong> VCC</strong>.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="284" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-1-1.png?resize=500%2C284&#038;ssl=1" alt="Comparator work logic" class="wp-image-824" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-1-1.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/higher-than-1-1.png?resize=300%2C170&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /><figcaption class="wp-element-caption"><em>Comparator work logic</em></figcaption></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">Vice versa, if the input voltage on the negative pin &#8220;inverting terminal&#8221; is higher than the input voltage on the positive pin &#8220;non-inverting terminal&#8221; even by a tiny amount, the output voltage will equal the <strong>-VCC (GND)</strong>.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"> As a general rule, when the positive pin(Non-inverting pin) input voltage &gt; the negative pin(inverting pin), the output voltage will equal to +VCC. And if opposite the output voltage will equal to GND</div></div>



<h4 class="wp-block-heading">UA741 Op-amp Pinout</h4>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="385" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/800px-741_pin_assignment_01_dPengo.svg_.png?resize=770%2C385&#038;ssl=1" alt="UA741 pinout" class="wp-image-819" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/800px-741_pin_assignment_01_dPengo.svg_.png?w=800&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/800px-741_pin_assignment_01_dPengo.svg_.png?resize=300%2C150&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/800px-741_pin_assignment_01_dPengo.svg_.png?resize=768%2C384&amp;ssl=1 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption"><em>UA741 pinout</em></figcaption></figure>
</div>


<ul class="wp-block-list">
<li class=""><strong>Pin 1 and 5</strong> <strong>(Offset null)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">We can set the op-amp <strong>gain value</strong> by connecting a capacitor on pins <strong>1</strong> and <strong>5</strong> but we don&#8217;t have to use those pins in this application, we will keep them unconnected.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 2 and 3</strong> <strong>(Inputs)</strong></li>
</ul>



<p class="wp-block-paragraph">Voltage input pins. We are connecting a potentiometer on the negative terminal (Inverting pin) to adjust the sound sensor sensitivity (Reference voltage). So, you can make the sensor very sensitive and feel the hand-clap from a long distance. Or decrease the sensitivity if there&#8217;s a lot of noise around you or something.</p>



<ul class="wp-block-list">
<li class=""><strong>Pins 4 and 7</strong> <strong>(GND, VCC)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">Easy! it&#8217;s the power supply pins. Pin 7 is VCC and 4 is GND. This chip can handle an input voltage from 5V to 15V.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 6</strong> <strong>(Output)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">The voltage output pin.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 8</strong> <strong>(Not Connected)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">Pin 8 is unconnected.</p>



<h2 class="wp-block-heading">CD4017 IC Decade Counter</h2>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="450" height="450" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=450%2C450&#038;ssl=1" alt="CD4017 IC" class="wp-image-866" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?w=450&amp;ssl=1 450w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=100%2C100&amp;ssl=1 100w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/CD4017-IC.jpeg?resize=370%2C370&amp;ssl=1 370w" sizes="auto, (max-width: 450px) 100vw, 450px" /><figcaption class="wp-element-caption">CD4017 IC</figcaption></figure>
</div>


<p class="wp-block-paragraph">Each output of this chip will turn on, one at a time, sequentially or in succession. For example, let&#8217;s say that we are connecting ten LEDs with the chip. Each LED is connected on a different output pin, each LED will light, one at a time unless all have been turned on at the same time. After it reaches the last output pin<strong>(Q9)</strong> it will start over again and repeats and repeats infinitely.</p>


<div class="su-note"  style="border-color:#e5e54c;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;"><div class="su-note-inner su-u-clearfix su-u-trim" style="background-color:#FFFF66;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;">This IC called decade counter because it&#8217;s simply can count from 0 to 9 or from 1 to 10 and that&#8217;s why this IC named &#8220;Decade&#8221; (remember it, a decade is made up of 10 years) Actually, I wanna kiss the guy who came up with that name.</div></div>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1309125976"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">This counting behavior is working by a command from the 4017 IC <strong>&#8220;Clock&#8221;</strong> pin which plays a big role in <strong>4017</strong> <strong>chip</strong>, without this pin the chip will not work at all. Once the <strong>&#8220;Clock&#8221;</strong> pin goes from <strong>LOW</strong> to <strong>HIGH</strong>, at this point the chip knows that it is the time to turn off the <strong>current</strong> output and turn on the <strong>next</strong> output. So, it knows when to act based on the <strong>clock signal</strong>.</p>



<h4 class="wp-block-heading">CD4017 IC Pinout</h4>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="840" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?resize=770%2C840&#038;ssl=1" alt="4017 Chip Pinout" class="wp-image-842" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?w=939&amp;ssl=1 939w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?resize=800%2C872&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?resize=275%2C300&amp;ssl=1 275w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/IC4017.png?resize=768%2C838&amp;ssl=1 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">4017 Chip Pinout</figcaption></figure>
</div>


<ul class="wp-block-list">
<li class=""><strong>Pins 1,2,3,4,5,6,7,9,10,11</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">It&#8217;s the output pins where we place the load which we need to control. The outputs are numbered from <strong>Q0 to Q9.</strong> In our case, we will use only two output pins <strong>(Q0, Q1)</strong> to turn on and off the relay, the transistor which controls the relay state will be connected on <strong>Q0</strong>, and a normal LED on <strong>Q1</strong> to indicate that the relay state is off.</p>



<ul class="wp-block-list">
<li class=""><strong>Pins 8 and 16</strong> <strong>(GND, VDD)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">Power supply pins, this chip can handle an input voltage from <strong>3.3V to 18V</strong>.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 15</strong> <strong>(Reset)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">It resets the count back down to <strong>output 0 (Q0)</strong>, normally it&#8217;s grounded. This means when it brought to a <strong>HIGH</strong> logic level it will reset the count down back to<strong> output 0 (Q0)</strong>.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 14</strong> <strong>(CLK)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">As we stated before, It&#8217;s the pin that tells the chip when to start/stop counting.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 13</strong> <strong>(EN)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">The enable pin is an active low pin, which means it will normally be connected to the ground to make the chip active and operating properly, once it is brought to a HIGH logic level, the chip will stop operating.</p>



<ul class="wp-block-list">
<li class=""><strong>Pin 12 (CO)</strong></li>
</ul>



<p class="has-regular-font-size wp-block-paragraph">The carry-out pin remains HIGH as long as the counting is on the first half<strong>(Q0 &#8211; Q4)</strong> and it turns LOW when the counter reaches the second half<strong>(Q5 &#8211; Q9)</strong>.</p>



<h2 class="wp-block-heading">Control high voltage appliances</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">Relay is an electromagnetic switch that turns on/off a circuit with a low power signal. Like in our case we need to drive a 220VAC load. But, our circuit can&#8217;t do that on its own so we added a relay to switch the AC on/off by the CD4017 output signal.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="500" height="362" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/5v-relay-driver-circuit-module-circuit-diagram_0.png?resize=500%2C362&#038;ssl=1" alt="" class="wp-image-845" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/5v-relay-driver-circuit-module-circuit-diagram_0.png?w=500&amp;ssl=1 500w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/5v-relay-driver-circuit-module-circuit-diagram_0.png?resize=300%2C217&amp;ssl=1 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></figure>
</div>


<p class="has-regular-font-size wp-block-paragraph">It&#8217;s very important to add a diode to protect your controller or your IC from any back-EMF. </p>



<p class="wp-block-paragraph">We a re using a 5VDC relay which has 5 pins as shown in the figure below.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="486" height="249" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Relay-Pinout.png?resize=486%2C249&#038;ssl=1" alt="Relay pinout" class="wp-image-854" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Relay-Pinout.png?w=486&amp;ssl=1 486w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Relay-Pinout.png?resize=300%2C154&amp;ssl=1 300w" sizes="auto, (max-width: 486px) 100vw, 486px" /><figcaption class="wp-element-caption">Relay pinout</figcaption></figure>
</div>

<div class="su-box su-box-style-default" id="" style="border-color:#000000;border-radius:3px;max-width:none"><div class="su-box-title" style="background-color:#333333;color:#FFFFFF;border-top-left-radius:1px;border-top-right-radius:1px">How Do Relays Work?</div><div class="su-box-content su-u-clearfix su-u-trim" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px">Simply, the relay is just an electromagnetic switch operated by a small voltage that can control another high voltage/current circuit.</p>
<p>Relay&#8217;s most important component is the coil, it consists of a coil that turns into a magnet once a current flows through it. when a current flows through the coil there is a magnetic field that will get generated to attract a contact to turn on (close) the load circuit.</p>
<p>And vice versa, when there is no current is flowing through the coil, a spring will attract the contact back to its original position to turn off(open) the load circuit.</div></div>



<p class="has-regular-font-size wp-block-paragraph">The <strong>&#8220;COM&#8221;</strong> is the contact that closes or opens the load circuit based on the coil state, is it energized or not?  <br><br>The <strong>&#8220;Normally Closed&#8221; (NC)&#8221;</strong> is the pin that is closed by default when there is no current flowing through the coil, it will get disconnected from the <strong>COM</strong> pin only when current flows through the coil. <strong>&#8220;Normally Open&#8221; (NO</strong>) is the pin that is opened by default when there&#8217;s no current flowing through the coil, it will get connected with the <strong>COM</strong> pin only when current flows through the coil.</p>



<h2 class="wp-block-heading">Schematic</h2>



<hr class="wp-block-separator has-css-opacity"/>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="301" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=770%2C301&#038;ssl=1" alt="Circuit Schematic" class="wp-image-857" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?w=1170&amp;ssl=1 1170w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=800%2C312&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=300%2C117&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=768%2C300&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Hand-clap-circuit-schematicEdited.png?resize=1024%2C400&amp;ssl=1 1024w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Circuit Schematic</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong>This circuit works on 12V, not 9V.</strong></p>



<h2 class="wp-block-heading">PCB Manufacturing</h2>



<hr class="wp-block-separator has-css-opacity"/>



<p class="wp-block-paragraph">I designed this circuit using Autodesk Eagle software. all the PCB files are open-source you can access it from the following link. Because we love open source.</p>



<div class="aligncenter wp-block-button"><a class="wp-block-button__link has-background wp-element-button" href="https://www.pcbway.com/project/shareproject/Handclap_AC_circuit_Control.html" style="border-radius:100px;background-color:#00a99d">PCB Files</a></div>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="395" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=770%2C395&#038;ssl=1" alt="PCB Board" class="wp-image-850" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?w=1170&amp;ssl=1 1170w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=800%2C410&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=300%2C154&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=768%2C394&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/PCB.png?resize=1024%2C526&amp;ssl=1 1024w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">PCB Board</figcaption></figure>
</div>


<p class="wp-block-paragraph"><strong>You can order your own PCB From&nbsp;<a href="https://www.pcbway.com/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">PCBWay</a>&nbsp;company these guys have a very good reputation in this field and they ship to more than 170 countries around the world with reasonable prices. all you have to do is to open the project&nbsp;<a rel="noreferrer noopener" aria-label="PCB files link (opens in a new tab)" href="https://www.pcbway.com/project/shareproject/Handclap_AC_circuit_Control.html" target="_blank">PCB files link</a>&nbsp;and press “Add to cart”. That’s it!</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="770" height="440" src="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=770%2C440&#038;ssl=1" alt="Add to cart!" class="wp-image-862" srcset="https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?w=1170&amp;ssl=1 1170w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=800%2C457&amp;ssl=1 800w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=300%2C171&amp;ssl=1 300w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=768%2C438&amp;ssl=1 768w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=1024%2C584&amp;ssl=1 1024w, https://i0.wp.com/makesomestuff.org/wp-content/uploads/2019/10/Screen-Shot-2019-10-19-at-2.49.34-AM.png?resize=900%2C515&amp;ssl=1 900w" sizes="auto, (max-width: 770px) 100vw, 770px" /><figcaption class="wp-element-caption">Add to cart!</figcaption></figure>
</div>


<h2 class="wp-block-heading">Final</h2>



<p class="wp-block-paragraph">I will assume that you built it and you are happy now. CONGRATS FAM! in this tutorial we learned how does the CD4017 decade decoder IC work, also we learned how to use the UA741 op-amp as a comparator, and how to drive an AC voltage load using a simple relay. Lastly, we build a hand-clap AC control switch which is dope! </p>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4043148098486780" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-4043148098486780" data-ad-slot="1309125976"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
<p>The post <a href="https://makesomestuff.org/handclap-ac-switch-control/">Custom-Made Handclap AC Switch Control Board</a> appeared first on <a href="https://makesomestuff.org">Make Some Stuff</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://makesomestuff.org/handclap-ac-switch-control/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">803</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: makesomestuff.org @ 2026-06-04 23:19:08 by W3 Total Cache
-->