EENG 348 with Professor Roman Kuc in Spring 2017
Given a colored m&m, detect its color and display it on the RGB LED.
Includes:
- Learn program to store color mapping to EEPROM
- Using hobbyist commands (eg. analogRead, analogWrite)
- Using register commands to replace analogRead to take in analog input
- Using Fast PWM for varying intensity of a color
- Directly transform measured RGB values to output values of RGB LED
Send a message encoded in dibits via an optical channel. Message is received from Matlab through serial.
Three components:
- Transmitter
- Receiver
- Matlab script to send image to transmitter, read data received from receiver, then plot the error for different delay times.
After user sends s via Serial, the program measures reaction time between when the LED turns on and when the button is pressed. Takes 10 readings.
Three versions:
- Using hobbyist commands (eg. digitalRead, digitalWrite)
- Using register commands (eg. bit manipulations of DDRB, PORTB, PINB etc.)
- Using interrupts (eg. creating an interrupt service routine for button press)