Route 1: UARTs Serial port, Com Port, PC (Raspberry Pi) to Arduino communication.
A multi-part workshop starting with UARTs for serial communications.
Syllabus:
- Introduction
- Uarts, Serial bus electrical specs: RS232, RS485, RS422, point to point, multi drop (star topology), ring topology etc.
- Uart protocols: start bits , stop bits, baud rate, bit rate, framing errors, overruns etc.
- Uart chips: 8250, AVR USART, … 6551, software UART.
- Arduino UART, Software UART, polling mode, interrupt mode.
- Teminal programs. hyper terminal, picocom etc.
- PC, (Windows, Unix, Raspberry Pi), FTDI chip.
- Scripted communication with open source libraries python, php, JavaScript, node, C, C++
- Example application portio server, oscilloscope, logic analyser (low speed).
This will be a fully hands on workshop:
Required hardware and software: Please install and procured before the class.
- Arduino IDE, an Arduino board
- Raspberry Pi NOOBS for some of the examples and a Raspberry PI board
- Web server: LAMP (Raspberry PI, Linux), WAMP (Windows), MAMP (Mac OS X)
- Terminal: hyper terminal (already installed on windows), picocom (Linux, Mac OS X, Raspberry PI)
- Secure Terminal: PUTTY Terminal for Windows
- FTDI USB to Serial converter board, breadboard, jumper wires.
- Optional: avr compiler: CrossPack for AVR Development for Mac OS X, avr-gcc for Linux & Raspberry PI, WinAVR for Windows