[go: up one dir, main page]

0% found this document useful (0 votes)
14 views15 pages

LM3 ELX 308 Programmable MicroController

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views15 pages

LM3 ELX 308 Programmable MicroController

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

1

Introduction to Embedded System

Now that you have learned about the Here's what you will
basics of microcontroller, you may now move learn:
on to the next lesson, which is about the
embedded system.
This lesson is interrelated to the Lesson 1.0. Introduction to
previous study. In connection to that, this Embedded System
lesson will require you to have a set of Arduino • Familiarized with
Uno kit to be able to practice and apply all the embedded systems.
Lesson 1.1 Installing 1.8.13
learnings from the previous and succeeding Arduino Software IDE
studies. An embedded system is a computer
system, a combination of a computer • Familiarized with IDE
• Apply procedure in
processor, computer memory, installing the Arduino
and input/output peripheral devices that have software IDE.
a dedicated function within a more extensive Lesson 1.2 Interfacing
Arduino Software IDE
mechanical or electrical system. It
is embedded as part of a complete tool, often • Familiarized with
including electrical or electronic hardware and Arduino software IDE.
• Apply procedures in
mechanical parts. Because an embedded using the Arduino
system typically controls physical operations software IDE.
• Create your first
of the machine that it is embedded within, it
Arduino code using
usually has real-time computing constraints. blink default sample
Embedded systems contain many devices in code.
everyday use today. Ninety-eight percent of all
microprocessors manufactured are used in
embedded systems.
Modern embedded systems are often based
on microcontrollers (microprocessors with integrated memory and
peripheral interfaces), but ordinary microprocessors (using external chips
for memory and peripheral interface circuits) are also common, especially
in more complex systems. In either case, the processor(s) used may be
types ranging from general-purpose to those specialized in a particular class
of computations, or even custom designed for the application at hand. A
typical standard level of dedicated processors is the digital signal
processor (DSP).
Since the embedded system is dedicated to specific tasks, design
engineers can optimize it to reduce the size and cost of the product and
increase the reliability and performance. Some embedded systems are
mass-produced, benefiting from economies of scale.

2
Lesson 1.1 Installing 1.8.13 IDE Software.
After learning this lesson, you should be able to:

• Familiarized with IDE.


• Apply the procedures to install the software IDE.

An integrated development environment (IDE) is a software


application that provides comprehensive facilities to computer
programmers for software development. An IDE usually consists of at least
a source code editor, build automation tools, and a debugger. Some IDEs,
such as Net Beans and Eclipse, contain the necessary compiler, interpreter, or
both; others, such as Sharp Develop and Lazarus, do not.
The boundary between an IDE and other parts of the broader software
development environment is not well-defined; sometimes, a version control
system or various tools to simplify the construction of a graphical user
interface (GUI) are integrated. Many modern IDEs also have a class browser,
an object browser, and a class hierarchy diagram for use in object-oriented
software development.
Integrated development environments are designed to maximize
programmer productivity by providing tight-knit components with similar user
interfaces. IDEs present a single program in which all development is done.
This program typically provides many features for authoring, modifying,
compiling, deploying, and debugging software.
One aim of the IDE is to reduce the configuration necessary to bring
together multiple development utilities; instead, it provides the same set of
capabilities as one cohesive unit. Reducing setup time can increase developer
productivity, especially in cases where learning to use the IDE is faster than
manually integrating and learning all of the individual tools. Tighter integration
of all development tasks has the potential to improve overall productivity
beyond just helping with setup tasks. For example, code can be continuously
parsed while it is being edited, providing instant feedback when syntax errors
are introduced, thus allowing developers to debug code much faster and more
efficiently with an IDE.
Some IDEs are dedicated to a specific programming language, allowing
a feature set that most closely matches the programming paradigms of the
language. However, there are many multiple-language IDEs. While most
modern IDEs are graphical, text-based IDEs such as Turbo Pascal were in
widespread use before the availability of windowing systems like Microsoft
Windows and the X Window System (X11). They commonly use function keys
or hotkeys to execute frequently used commands or macros.

3
Installing the Software IDE
The Arduino device has a software side called The Arduino Integrated
Development Environment (IDE).
First, you will learn how to properly set up your computer to use your
Arduino device and install the software. The IDE that will be used to program
your Arduino is available for Windows, Mac, and Linux, but the installation is
not the same for all three.
STEP 1: Go to https://www.arduino.cc/en/main/software and locate this page.

You will probably want to download the latest version, Arduino 1.8.13
STEP 2: Download the version of the software that is compatible with
your computer's operating system. In my case, I use the Widow operating
system that why I click window installer for windows seven and up, and click
JUST DOWNLOAD (or choose to contribute if you wish).

4
Step 3. After downloading the software IDE. Click the .exe installation
package to install Arduino-1.8.13-windows.

After reading the license agreement, click, I agree.

5
Click Next.

Choose the destination folder where you want the software to be located, and
then click Install.

6
Wait for few minutes for the installation to be complete

After the installation is completed, click close; you have finished the
installation.
You will see this icon appear on your desktop.

7
Lesson 1.2 Interfacing Software IDE
After learning this lesson, you should be able to:

• Familiarized with the software IDE interface.


• Apply the procedures in using the Arduino software IDE.
• Create your first Arduino code using blink default sample
code.

Arduino Software IDE


The IDE is split up into the Toolbar across the top, the code, or Sketch
Window in the center, and the Serial Output window at the bottom (Fig. 1.0).

Figure 1.0

8
The Toolbar consists of 5 buttons, underneath the Toolbar is a tab, or a
set of tabs, with the filename of the code within the tab. There is also one more
button on the far right-hand side. Along the top is the file menu with drop-down
menus with the headers' File, Edit, Sketch, Tools, and Help. The buttons in
the Toolbar provide convenient access to the most commonly used functions
within this file menu. The Toolbar buttons are listed above. The parts of each
button are as follows (see table 1).
Table 1 Toolbar buttons list

Verify/Compile Checks the code for errors

New Creates a new blank sketch

Open Show list of the sketch in your sketchbook

Save Save the current sketch

Upload Upload the current Sketch to Arduino

Serial Monitor Display serial data being sent from Arduino

Now, you are ready to test your first program with your Arduino board.
1. Open the Blink example sketch by going to File, Examples, 01. Basics,
Blink (Fig. 1.1).

Figure 1.1 "Blink" Example in Arduino IDE

9
2. Select the type of Arduino board you are using: Tools, Board, and your
board type (Fig. 1.2).

Figure 1.2 "Board Type" selection in Arduino IDE

3. Select the serial port that your Arduino is attached to Tools, Port, and
COM Number (Fig. 1.3).

Figure 1.3 "Serial Port" selection in Arduino IDE

10
4. With your Arduino board connected, and the Blink sketch open, press the
"Upload" button (Fig. 1.4).

Figure 1.4 Default Codes of "Blink"

11
5. You should see some LEDs flashing on your Arduino, followed by the
message "Done Uploading" in the status bar of the Blink sketch.

6. If everything worked, the onboard LED on your Arduino should now be


blinking! You just made you're first programmed in Arduino.

12
Reflection / Learning Insight:
Draft a 2 to 5 paragraph short essay regarding module lesson. Give your
instructor an insight of what you had learned in this module and define or
enumerate some points and factors where you are having a hard time
understanding it so that the instructor will be able to assist you before
proceeding to the next lesson. Draft your reflection in a word processing
software and save the document via pdf format then transmit it to your
instructor's email.

Record a video that shows that you have performed the task assign in this
topic (blink default sample code). You may upload the video through your
Google drive and share the link via Google classroom.

13
REFERENCES:

1. Tianhong Pan • Yi Zhu, Designing Embedded


Systems with Arduino. 2018.

2. Wikipedia 2020, Embedded system,


https://en.wikipedia.org/wiki/Embedded_system

3. Wikipedia 2020, MOSFET,


https://en.wikipedia.org/wiki/MOSFET_applications#MOS_integrat
ed_circuit

4. Wikipedia 2020, Integrated Circuit,


https://en.wikipedia.org/wiki/Integrated_circuit

5. Wikipedia 2020, Integrated development Environment,


https://en.wikipedia.org/wiki/Integrated_development_environment

14
DEFINITION OF TERMS:

MOSFET - is the most widely used type of transistor and the most
critical device component in integrated circuit (IC) chips.

Metal–oxide–semiconductor field-effect transistor - (MOSFET,


MOS-FET, or MOS FET), also known as the metal–oxide–silicon
transistor (MOS transistor, or MOS)

Integrated circuit - is a monolithic integrated circuit (also referred to


as an IC, a chip, or a microchip) is a set of electronic circuits on one
small flat piece (or "chip") of semiconductor material that is usually
silicon.

NetBeans - is an integrated development environment (IDE) for Java.


NetBeans allows applications to be developed from a set of modular
software components called modules.

Eclipse - is an integrated development environment (IDE) used in


computer programming. It contains a base workspace and an
extensible plug-in system for customizing the environment

SharpDevelop - is a discontinued free and open-source integrated


development environment (IDE) for the .NET Framework. It supports
development in C#, Visual Basic .NET, F#, IronPython, and IronRuby
programming languages.

Lazarus - is a free cross-platform visual integrated development


environment (IDE) for rapid application development (RAD) using the
Free Pascal compiler.

Tight-knit - of a group of people) united or bound together by strong


relationships and shared interests.

Digital signal processor - (DSP) is a specialized microprocessor chip,


with its architecture optimized for the operational needs of digital signal
processing.

15

You might also like