Biological Engineering


Step 4. Select a microcontroller



Yüklə 202,98 Kb.
Pdf görüntüsü
səhifə8/16
tarix07.01.2024
ölçüsü202,98 Kb.
#212070
1   ...   4   5   6   7   8   9   10   11   ...   16
Step 4. Select a microcontroller.
There are many general-purpose microcontrollers available commercially, such as the
Microchip PIC, Parallax BASIC Stamp 2, ARM, and Arduino (Arduino, 2019). In this
example, we will select an Arduino UNO microcontroller board based on the
ATmega328P microcontroller (
https://store.arduino.cc/usa/arduino-uno-rev3
) (Figure
2.1.11). The microcontroller has three types of memory: a 2KB RAM where the
program creates and manipulates variables when it runs; a 1KB EEPROM where long-
f
h
h f
f h
ll
d
d 32
fl h
S
OUT
OUT
Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js
How can we help you?





term information such as the firmware of the microcontroller is stored, and 32KB flash
memory that can be used to store the programs you developed. The flash memory
and EEPROM memory are non-volatile, which means the information persists after the
power is turned off. The RAM is volatile, and the information will be lost when the
power is removed. There are 14 digital I/O pins and 6 analog input pins on the
Arduino UNO board. There is a 16 MHz quartz crystal oscillator. ATmega-based
boards, including the Arduino UNO, take about 100 microseconds (0.0001 s) to read
an analog input. So, the maximum reading rate is about 10,000 times a second, which
is more than enough for our desired sampling frequency of every second. The board
runs at 5 V. It can be powered by a USB cable, an AC-to-DC adapter, or a battery. If
an USB cable is used, it also serves for loading, running, and debugging the program
developed in the Arduino IDE. The Arduino UNO microcontroller is compatible with the
LM35 temperature sensor and the desired control objectives of this project.
Figure 
2.1.11
: An Arduino UNO board and some major components (adapted from
https://store.arduino.cc/usa/arduino-uno-rev3
).

Yüklə 202,98 Kb.

Dostları ilə paylaş:
1   ...   4   5   6   7   8   9   10   11   ...   16




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin