Salta al contenuto
Note per Studenti Arduino in the Microelectronics Laboratory Report

Arduino in the Microelectronics Laboratory

The Arduino part of the program is covered by notes written for the laboratory of Signals and Measurement; this note only says which note answers which program topic.

Program topic Note
Arduino platform: hardware Arduino PlatformArduino is a family of open single-board microcontroller boards built on Atmel AVR chips (UNO, Mega, Micro), extended with stackable shields and programmed through its own IDE.Arduino Platform →
Arduino: programming elements Lab 7 - Programming ArduinoLaboratory 7 introduces Arduino programming with setup and loop, the basic instructions and data types, the Blink sketch with LED resistor sizing, push buttons and a three-LED selector sketch.Lab 7 - Programming Arduino →
Arduino: serial interface, I2C and SPI Serial Interfaces for Arduino - UART, I2C and SPISerial transmission sends one bit at a time on few wires; asynchronous (UART) frames each byte with a start bit, 5-8 data bits, optional parity and 1-2 stop bits (10 bits per 8-bit byte, 80% efficiency, bit time BT = 1/bps, receiver samples at 1.5 BT, 2.5 BT, ... and tolerates about 5.3% clock mismatch); synchronous buses are I2C (2 wires SDA and SCL with pull-ups, one master, 7-bit addresses, 9-bit bytes with ACK, 100 or 400 kbit/s) and SPI (4 wires MOSI, MISO, SCK, CS, full duplex, 4 modes CPOL/CPHA); physical levels are RS232, RS422/RS485 and the 0-20 mA current loop.Serial Interfaces for Arduino - UART, I2C and SPI → and Lab 10 - Arduino Standalone and Serial ProtocolsLaboratory 10 builds a standalone ATMega328P on a breadboard (16 MHz crystal, bootloader via ArduinoISP, or 8 MHz internal clock) and introduces the synchronous serial protocols I2C and SPI used to connect Arduino boards and peripherals.Lab 10 - Arduino Standalone and Serial Protocols →
Arduino: interfaces and sensors Lab 8 - Analog Output and Sensors with ArduinoLaboratory 8 covers digital input modes, PWM analog output with analogWrite (LED fading), the 10-bit analogRead input, the map and constrain functions, trimmer and photoresistor exercises, the LM35 temperature sensor and two additional exercises (hysteresis and potentiometer-controlled data logger).Lab 8 - Analog Output and Sensors with Arduino → and Lab 9 - Arduino Libraries and Sensor IntegrationLaboratory 9 shows how to install and write Arduino libraries, connect the DHT11 temperature and humidity sensor, wire a 16-pin HD44780 LCD with a contrast trimmer, drive it with the LiquidCrystal library and combine sensor and display.Lab 9 - Arduino Libraries and Sensor Integration →
Arduino circuits Lab 8 - Analog Output and Sensors with ArduinoLaboratory 8 covers digital input modes, PWM analog output with analogWrite (LED fading), the 10-bit analogRead input, the map and constrain functions, trimmer and photoresistor exercises, the LM35 temperature sensor and two additional exercises (hysteresis and potentiometer-controlled data logger).Lab 8 - Analog Output and Sensors with Arduino →, Lab 9 - Arduino Libraries and Sensor IntegrationLaboratory 9 shows how to install and write Arduino libraries, connect the DHT11 temperature and humidity sensor, wire a 16-pin HD44780 LCD with a contrast trimmer, drive it with the LiquidCrystal library and combine sensor and display.Lab 9 - Arduino Libraries and Sensor Integration →, Lab 10 - Arduino Standalone and Serial ProtocolsLaboratory 10 builds a standalone ATMega328P on a breadboard (16 MHz crystal, bootloader via ArduinoISP, or 8 MHz internal clock) and introduces the synchronous serial protocols I2C and SPI used to connect Arduino boards and peripherals.Lab 10 - Arduino Standalone and Serial Protocols →, Lab 11 - WiFi and Internet with ArduinoLaboratory 11 connects an Arduino UNO to WiFi through an ESP8266-01 module (pinout, 3.3 V level shifting and supply, baud rate fix with AT commands), tests the WiFiEsp library examples and posts sensor data to the dweet.io cloud service with an HTTP GET request.Lab 11 - WiFi and Internet with Arduino →

What each note contains

The oscilloscope and multimeter used to check these circuits are in The OscilloscopeThe oscilloscope displays the joint trend of two or more quantities; its functional blocks are input channels, trigger and synchronization, time base and acquisition and display, and its input impedance, bandwidth, rise time, coupling, hold-off and probe compensation determine how faithfully a signal is shown.The Oscilloscope → and Electrical Measurements - Voltmeter and MultimeterAnalog and electronic instruments (voltmeter, ammeter, ohmmeter, wattmeter) compare the measurand with the unit; the loading effect is a systematic error predicted by voltage and current dividers, and digital multimeters are specified by digits, resolution, input impedance and an accuracy of the form k1 times reading plus k2 times range.Electrical Measurements - Voltmeter and Multimeter →.

Program topics without a note

The program also lists Arduino circuits with TFT and touch displays, custom sensors (distance sensor, heart-rate meter) and rover control (IR remote, WiFi, autonomous). No certified source on these specific projects is available; the closest material is the HD44780 LCD in Lab 9 and the WiFi link in Lab 11.

Versione ripasso