Commit 08d37381 authored by Teddy Warner's avatar Teddy Warner
Browse files

embedded programming media

parents 185ea1e6 497237e5
Pipeline #224798 passed with stage
in 36 seconds
# 6. Architecture Types
This week's assignment was to learn about and analyze different workflows for diferent types of architectures.
This week's assignment was to learn about and analyze different workflows for different types of architectures.
## PI Setup
## Raspberry Pi
The first type of architecture we wanted to try was Raspberry Pi
### PI Setup
![](../images/week06/RaspPI_Imager.jpg)
......@@ -13,15 +17,15 @@ This week's assignment was to learn about and analyze different workflows for di
![](../images/week06/raspberry_pi_setup.jpg)
## GPIO Control
### GPIO Control
![](../images/week06/raspberry_pi_photo_of_code.jpg)
![](../images/week06/raspberry_pi_troubleshooting.jpg)
After a good bit of troubleshooting with very simple codes, we finally found 2 possible reasons the LED was not blinking. The first thing we found was that instead of using a 330 ᘯ resistor, we were accidentally using a 1,000,000 ᘯ resistor. While the LED would technically still turn on, it would be so dim that the change would not be visible. The reason we were using the incorrect resistor was that the 1,000,000 ᘯ resistor were in the 330 ᘯ resistor box and we did not check the value with a multimeter. This, however, did not solve our issue.
After a good bit of troubleshooting with very simple codes, we finally found 2 sources of error. The first thing we found was that instead of using a 330 ᘯ resistor, we were accidentally using a 1,000,000 ᘯ resistor. While there would still be some amount of current passing through the LED, it would be so slight that there would be no visible change. The reason we were using the incorrect resistor was that the 1,000,000 ᘯ resistor were in the 330 ᘯ resistor box and we did not check the value with a multimeter. This, however, did not solve our issue.
Our second possible issue was the LED itself. To test it out, we just connected the LED directly to ground and VCC (with the 330 ᘯ resistor, ofcourse) to see if the LED itself might have been the problem. We discovered that it was not turning on like this. This meant we had identified the problem, which was just that we had a faulty LED. When we tested out another LED, it turned on and blinked when we uploaded the code.
Our second possible issue was the LED itself. To test out this theory, we made a very simple circuit consisting only of a power source, ground, the LED, and a 330 ᘯ resistor. If the LED was working correctly, it should turn on immediately after completing this circuit. Since it did not, however, turn on, we identified that the problem was the LED. When we tried the same circuit with a different LED, it turned on. When we used this new LED in the blink circuit that was connecte to the Raspberry Pi, it worked flawlessly.
<iframe width="560" height="315" src="https://www.youtube.com/embed/sh8Dp8q2XmM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
......
......@@ -5,8 +5,11 @@ This group includes [Teddy Warner](http://fabacademy.org/2021/labs/charlotte/stu
<iframe width="900" height="650" src="https://www.youtube.com/embed/r6Nm2AUASLg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<figcaption>Pizza Pizza CNC Introduction Video</figcaption>
<<<<<<< HEAD
During this machine-building assignment, our lab group of students split into two separate groups to build machines, as we concluded that four people working on each machine would give each of the group members a fair amount of work, without leaving the work to a couple of students. We split these groups base off on each students strengths, putting all mechanically inclined students in one group, consisting of [Graham Smith](http://fabacademy.org/2021/labs/charlotte/students/graham-smith), [Grant Fleischer](http://fabacademy.org/2021/labs/charlotte/students/grantfleischer), [Charles De Mey](http://fabacademy.org/2021/labs/charlotte/students/charles-demey), and [Teddy Warner](http://fabacademy.org/2021/labs/charlotte/students/theodore-warner/), and putting the software-oriented students in a separate group, who's machine page can be found [here](http://fabacademy.org/2021/labs/charlotte/Group%20Assignments/week07%20%28Other%20group%29/). That being said, this split allowed each group to challenge themselves, not solely focusing on their strengths but also being required to complete the entirety of the system. The entirety of our group's machine documentation can be found [here](INSERTLINK), while this page will focus on parts of the system that I completed or worked on.
=======
>>>>>>> 497237e5c2607c9583b56799db52fe1a569a69d0
<iframe width="900" height="650" src="https://www.youtube.com/embed/Tk6OREM7gic" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<figcaption>Pizza Pizza CNC Preparing a Small Pizza</figcaption>
......@@ -352,9 +355,13 @@ and then view the generated *.gcode* in Esltcam's GCODE preview window, shown be
![](../images/week09/EstlcamToolpath.jpg)
<<<<<<< HEAD
#### GCODE Testing
This process left Teddy with generated gcode of a single circle, that Teddy could later manipulate into our pizza preparing gcode. Teddy ran a quick test of this generated gcode on my personal CNC, just to confirm it's working, shown in the video below.
=======
This process left me with generated gcode of a single circle, that Teddy could later manipulate into our pizza preparing gcode. Teddy ran a quick test of this generated gcode on my personal CNC, just to confirm it's working, shown in the video below.
>>>>>>> 497237e5c2607c9583b56799db52fe1a569a69d0
<iframe width="900" height="650" src="https://www.youtube.com/embed/azvfDjM_h1E" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
......
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