3. INVENTORY
This prototype will be a simple LED flash
and a dial that will push data to a serial
terminal:
Potentiometer
Arduino Mega Board
Wires
LED
Breadboard
4. HOW DO YOU ACCESS
YOUR BIOS?
Research how to access the BIOS on your computer
What keys/combination do you need to access the BIOS on your computer?
• Restart your computer and hold F10 until the BIOS screen appears.
Do you have virtualization enabled on your laptop?
• The virtualization was initially disabled. I was able to enable it in the BIOS.
5. The design calls for a host windows computer running a virtual machine with
Ubuntu Linux. From Ubuntu, we will connect via USB to Arduino.
7. Flowchart with the following steps:
• Install Virtual machine
• Install Linux on the VM
• Install Arduino on the Linux image
• Install the RTOS library for
Arduino
• Set up the Arduino hardware
• Run the Arduino from the VM
8. VmWare was more effective than Virtual Box
for my needs. Installation is very
straightforward. 4 GB of RAM are allotted,
with 2 CPU Cores, and 25GB or storage.
9. I installed Ubuntu and set up the desktop. I then made a Ubuntu account
which automatically handles most of the updates. The first run was pretty
choppy, which led me to adjust my VM configuration settings.
12. How do you open a terminal window?
• Right click and select Open Terminal
Name a browser and Office software you see in Ubuntu:
• Firefox and Libreoffice
How would you compare the Linux desktop to other OS’s you have used (Windows, Mac)?
• Easier to find software, updates are more transparent. Runs Faster.
13. The Ardiuno program is available on Ubuntu’s
software repository, which makes finding and
installing very fast and easy.
16. What is a tar file?
• An archived backup of a file or directory.
What is the sudo command?
• Invokes the command as the root user.
How would you compare installing software on Linux versus Windows or Mac?
• Linux has multiple ways to install, and is much safer. Windows is unreliable and
risky.
17. We have to install an RTOS library in Arduino so that both the LED and
the potentiometer sensor can operate simultaneously.
20. What does RTOS mean?
• Real Time Operating System. It processes information in devices automatically within a
specified time fram.
Why is RTOS important in IoT?
• It allows multiple tasks to run at once on the connect IoT Device. Devices needs to perform
functions quickly and independently without manual user decision making.
22. I will now connect the Arduino to my host computer and communicate to the
virtual machine. A special command in Linux is required to set the correct port.
23. Activity Requirement(s) Points
Running LED and
Potentiometer from Virtual
machine
Picture or video 30
Data display Picture 25
Set permissions on serial port Explanation of command 5
26. What command did you use to change the permissions of the port?
Sudo usermod –a –G dialout zach
Why did you have to do this?
The Virtual Machine needs to communicate with the Host
27. Project Challenges
I faced two challenges during this project. The first was configuring the virtual machine properly
for optimal performance. This required adjustment of the CPU cores and RAM allotted to the VM.
The second problem was connecting the Arduino to the virtual machine. The USB was not
detected until I restarted the host computer.
28. Career Skills Learned
Linux and Virtual Machines are a major tool in the industry. Learning how to set up and use
them was critical to my future career. The networking and security topics were also valuable.
This course facilitated the creation of my first homelab.
29. Conclusion
We covered Linux Ubuntu and Fedora, Virtual Box and VmWare, Network Devices, and Security
Protocols. We also discussed the Cloud, IaaS, PaaS, and SaaS. The biggest takeaway for me is there is a
golden world of opensource software.