Commit 1439c618 authored by Maryam Ali's avatar Maryam Ali

atmel

parent 64ef1759
Pipeline #154120 passed with stage
in 22 seconds
......@@ -200,6 +200,36 @@ Button is now working as expected:
<h5 id="Individual_Second_Second_Point_Header">9.2.2.2. Atmel Studio. </h5>
In this stage, I will upload the same code (PushButton) created before in Arduino IDE, but I will upload it to my PCB using Atmel Stuido 7. To do that, follow the below steps:
Open Atmel Studio and create a new project from **File** > **New** > **Project**.
![atmel](https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/atmel.png)
Create an **External Tool** from **Tools** top menu.
![externalTools](https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/externalTools.png)
Add a new external tool and set as the following:
![toolSettings](https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/toolSettings.png)
- Title: the title you want.
- Command: click "…" and navegate to your arduino installation avrdude.exe file.
- Arguments: avrdude -c stk500v1 -b 19200 -p attiny44 -P COM8 -e -u -U flash:w:\Users\Maryam\AppData\Local\Temp\arduino_build_218942/Blink.ino.hex
You could change (attiny44) to the avr chip that you are using and (COM8) to the USB port that you are connecting to.
While the part after (w:) can be copied from the arduino IDE after uploading the code.
![code](https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/code.png)
You can see the toold now from the **Tools** menu.
![toolCreated](https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/toolCreated.png)
Click on the tools name and the code should be uploaded now when you see this messgae:
![done](https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/done.png)
......
......@@ -6,8 +6,8 @@
</description>
<link>http://localhost:4000/2020/labs/bahrain/students/maryam-ali/</link>
<atom:link href="http://localhost:4000/2020/labs/bahrain/students/maryam-ali/feed.xml" rel="self" type="application/rss+xml"/>
<pubDate>Thu, 26 Mar 2020 03:07:15 +0300</pubDate>
<lastBuildDate>Thu, 26 Mar 2020 03:07:15 +0300</lastBuildDate>
<pubDate>Fri, 27 Mar 2020 04:23:35 +0300</pubDate>
<lastBuildDate>Fri, 27 Mar 2020 04:23:35 +0300</lastBuildDate>
<generator>Jekyll v4.0.0</generator>
<item>
......@@ -209,6 +209,33 @@ void loop() {
&lt;h5 id=&quot;Individual_Second_Second_Point_Header&quot;&gt;9.2.2.2. Atmel Studio. &lt;/h5&gt;
&lt;p&gt;In this stage, I will upload the same code (PushButton) created before in Arduino IDE, but I will upload it to my PCB using Atmel Stuido 7. To do that, follow the below steps:&lt;/p&gt;
&lt;p&gt;Open Atmel Studio and create a new project from &lt;strong&gt;File&lt;/strong&gt; &amp;gt; &lt;strong&gt;New&lt;/strong&gt; &amp;gt; &lt;strong&gt;Project&lt;/strong&gt;.
&lt;img src=&quot;https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/atmel.png&quot; alt=&quot;atmel&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Create an &lt;strong&gt;External Tool&lt;/strong&gt; from &lt;strong&gt;Tools&lt;/strong&gt; top menu.
&lt;img src=&quot;https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/externalTools.png&quot; alt=&quot;externalTools&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Add a new external tool and set as the following:
&lt;img src=&quot;https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/toolSettings.png&quot; alt=&quot;toolSettings&quot; /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Title: the title you want.&lt;/li&gt;
&lt;li&gt;Command: click “…” and navegate to your arduino installation avrdude.exe file.&lt;/li&gt;
&lt;li&gt;Arguments: avrdude -c stk500v1 -b 19200 -p attiny44 -P COM8 -e -u -U flash:w:\Users\Maryam\AppData\Local\Temp\arduino_build_218942/Blink.ino.hex
You could change (attiny44) to the avr chip that you are using and (COM8) to the USB port that you are connecting to.
While the part after (w:) can be copied from the arduino IDE after uploading the code.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/code.png&quot; alt=&quot;code&quot; /&gt;&lt;/p&gt;
&lt;p&gt;You can see the toold now from the &lt;strong&gt;Tools&lt;/strong&gt; menu.
&lt;img src=&quot;https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/toolCreated.png&quot; alt=&quot;toolCreated&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Click on the tools name and the code should be uploaded now when you see this messgae:
&lt;img src=&quot;https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/done.png&quot; alt=&quot;done&quot; /&gt;&lt;/p&gt;
&lt;hr /&gt;
</description>
<pubDate>Sat, 21 Mar 2020 19:00:47 +0300</pubDate>
......
......@@ -25,4 +25,4 @@ void loop() {
digitalWrite(ledPin, LOW);
}
}
</code></pre></div></div><p>Button is now working as expected:<head><style type="text/css"> .responsiveRapper { overflow:hidden; padding-bottom:56.25%; padding-top:30px; height:0; position:relative; } .responsiveRapper iframe, .responsiveRapper object, .responsiveRapper embed { top:0; left:0; width:100%; height:100%; position:absolute; }</style><body><div class="responsiveRapper"> <iframe src="https://player.vimeo.com/video/400796047" width="500" height="281" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""> </iframe></div><h5 id="Individual_Second_Second_Point_Header">9.2.2.2. Atmel Studio.</h5><hr /><div class="post-links"> <a class="link-to-post" href="/2020/labs/bahrain/students/maryam-ali/posts/2020/03/14/week08.html"> <span class="link-to-post__prev">&#10535; &nbsp;Previous post</span> <span class="link-to-post__title">8. Computer controlled machining</span> </a></div></div></article></main><footer class="blog-footer content-wrapper"><p>&copy; <span class="full-year"></span> Maryam's Fab Academy 2020</footer><script src="/2020/labs/bahrain/students/maryam-ali/assets/js/scripts.js"></script>
</code></pre></div></div><p>Button is now working as expected:<head><style type="text/css"> .responsiveRapper { overflow:hidden; padding-bottom:56.25%; padding-top:30px; height:0; position:relative; } .responsiveRapper iframe, .responsiveRapper object, .responsiveRapper embed { top:0; left:0; width:100%; height:100%; position:absolute; }</style><body><div class="responsiveRapper"> <iframe src="https://player.vimeo.com/video/400796047" width="500" height="281" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""> </iframe></div><h5 id="Individual_Second_Second_Point_Header">9.2.2.2. Atmel Studio.</h5><p>In this stage, I will upload the same code (PushButton) created before in Arduino IDE, but I will upload it to my PCB using Atmel Stuido 7. To do that, follow the below steps:<p>Open Atmel Studio and create a new project from <strong>File</strong> &gt; <strong>New</strong> &gt; <strong>Project</strong>. <img src="https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/atmel.png" alt="atmel" /><p>Create an <strong>External Tool</strong> from <strong>Tools</strong> top menu. <img src="https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/externalTools.png" alt="externalTools" /><p>Add a new external tool and set as the following: <img src="https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/toolSettings.png" alt="toolSettings" /><ul><li>Title: the title you want.<li>Command: click “…” and navegate to your arduino installation avrdude.exe file.<li>Arguments: avrdude -c stk500v1 -b 19200 -p attiny44 -P COM8 -e -u -U flash:w:\Users\Maryam\AppData\Local\Temp\arduino_build_218942/Blink.ino.hex You could change (attiny44) to the avr chip that you are using and (COM8) to the USB port that you are connecting to. While the part after (w:) can be copied from the arduino IDE after uploading the code.</ul><p><img src="https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/code.png" alt="code" /><p>You can see the toold now from the <strong>Tools</strong> menu. <img src="https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/toolCreated.png" alt="toolCreated" /><p>Click on the tools name and the code should be uploaded now when you see this messgae: <img src="https://gitlab.fabcloud.org/academany/fabacademy/2020/labs/bahrain/students/maryam-ali/raw/master/assets/images/week09/done.png" alt="done" /><hr /><div class="post-links"> <a class="link-to-post" href="/2020/labs/bahrain/students/maryam-ali/posts/2020/03/14/week08.html"> <span class="link-to-post__prev">&#10535; &nbsp;Previous post</span> <span class="link-to-post__title">8. Computer controlled machining</span> </a></div></div></article></main><footer class="blog-footer content-wrapper"><p>&copy; <span class="full-year"></span> Maryam's Fab Academy 2020</footer><script src="/2020/labs/bahrain/students/maryam-ali/assets/js/scripts.js"></script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment