UNIT II - Controllers and Relay Crop
UNIT II - Controllers and Relay Crop
UNIT II - Controllers and Relay Crop
HOME AUTOMATION
UNIT - II
Arduino Uno, Node MCU and Raspberry Pi controller: Construction, pin details, board descriptions and
applications - Construction and working principle of relay
DR.C.PAZHANIMUTHU
ASSISTANT PROFESSOR (SL.G)/EEE
KPR INSTITUTE OF ENGINEERING AND TECHNOLOGY
COIMBATORE
❖ Microcontroller: ATmega328
❖ Operating Voltage: 5V
❖ Input Voltage (recommended): 7-12V
❖ Input Voltage (limits): 6-20V
❖ Digital I/O Pins: 14 (of which 6 provide
PWM output)
❖ Analog Input Pins: 6
❖ DC Current per I/O Pin: 40 mA
❖ DC Current for 3.3V Pin: 50 mA
❖ Flash Memory: 32 KB of which 0.5 KB
used by bootloader
❖ SRAM: 2 KB (ATmega328)
❖ EEPROM: 1 KB (ATmega328)
❖ Clock Speed: 16 MHz
MCU ATmega328P
Architecture AVR
Operating Voltage 5V
Input Voltage 6V – 20V (limit)
7V – 12V (recommended)
Clock Speed 16 MHz
Flash Memory 32 KB (2 KB of this used by bootloader)
SRAM 2 KB
EEPROM 1 KB
Digital IO Pins 24 (of which 6 can produce PWM)
Analog Input Pins 6
Control Pins EN, RST The pin and the button resets the microcontroller
Analog Pin A0 Used to measure analog voltage in the range of 0-3.3V
GPIO Pins GPIO1 to GPIO16 NodeMCU has 16 general purpose input-output (GPIO) pins on its board
SPI Pins SD1, CMD, SD0, CLK NodeMCU has four pins available for serial peripheral interface (SPI)
communication.
UART Pins TXD0, RXD0, TXD1, NodeMCU has two UART interfaces, UART0 (RXD0 & TXD0) and UART1 (RXD1 &
RXD1 TXD1). UART1 is used to upload the firmware/program.
I2C Pins NodeMCU has I2C (Inter-Integrated Circuit protocol) functionality support but due
to the internal functionality of these pins, you have to find which pin is I2C.
B Yes 2019
Raspberry Pi 4 BCM2711 2 GB | 4 GB Yes
4 GB | 8 GB 2020 No
400
Pico No 2021
Raspberry Pi Pico RP2040 264 KB No
W Yes 2022
Nov 19, 2024 45
RASPBERRY PI
Specifications of Raspberry PI 3 board:
Quad-Core 1.2GHz Broadcom BCM2837 64bit CPU
1GB RAM
BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board
100 Base Ethernet
40-pin extended GPIO
4 USB 2 ports
4 Pole 3.3mm stereo output and composite video port
Full-size HDMI CSI (Camera Serial Interface) camera port for connecting a camera
DSI (Display Serial Interface) display port for connecting a touchscreen display
Micro SD port
Micro USB power port (up to 2.5A)
Size – 85 x 56 x 17 mm
Nov 19, 2024 46
RASPBERRY PI
Raspberry Pi-3 Technical Specifications
Microprocessor Broadcom BCM2837 64bit Quad Core Processor
Processor Operating Voltage 3.3V
Raw Voltage input 5V, 2A power source
Maximum current through each I/O pin 16mA
Maximum total current drawn from all I/O pins 54mA
Flash Memory (Operating System) 16Gbytes SSD memory card
Internal RAM 1Gbytes DDR2
Clock Frequency 1.2GHz
GPU Dual Core Video Core IV® Multimedia Co-Processor. Provides Open GLES
2.0, hardware-accelerated Open VG, and 1080p30 H.264 high- profile
decode.
Capable of 1Gpixel/s, 1.5Gtexel/s or 24GFLOPs with texture filtering and
DMA infrastructure.
Ethernet 10/100 Ethernet
Wireless Connectivity BCM43143 (802.11 b/g/n Wireless LAN and Bluetooth 4.1)
Operating Temperature -40°C to +85°C
Name Description
Ethernet Base T Ethernet Socket
USB 2.0 (Four sockets)
Audio Output 3.5mm Jack and HDMI
Video output HDMI
Camera Connector 15-pin MIPI Camera Serial Interface (CSI-2)
Display Connector Display Serial Interface (DSI) 15 way flat flex cable connector with two data
lanes and a clock lane.