67

Better living through microcontrollers

Embed Size (px)

Citation preview

Page 1: Better living through microcontrollers
Page 2: Better living through microcontrollers

Page 3: Better living through microcontrollers

Page 4: Better living through microcontrollers

Page 5: Better living through microcontrollers

USB for programming

Digital ports

External power/BatteryAnalog ports

Serial

ATMega328

Page 6: Better living through microcontrollers

Page 7: Better living through microcontrollers
Page 8: Better living through microcontrollers
Page 9: Better living through microcontrollers
Page 10: Better living through microcontrollers
Page 11: Better living through microcontrollers
Page 12: Better living through microcontrollers
Page 13: Better living through microcontrollers
Page 14: Better living through microcontrollers
Page 15: Better living through microcontrollers
Page 16: Better living through microcontrollers
Page 17: Better living through microcontrollers
Page 18: Better living through microcontrollers
Page 19: Better living through microcontrollers
Page 20: Better living through microcontrollers
Page 21: Better living through microcontrollers
Page 22: Better living through microcontrollers
Page 23: Better living through microcontrollers

ANTENNA CONNECTOR

UHF RADIO

THERMOMETER

GPS MODULEVOLTAGE DIVIDER CONNECTOR FOR SECOND THERMOMETER

Page 24: Better living through microcontrollers

Telemetry

50 bps RTTY FSK

In English…

One tone for 1Another tone for 050 bits per second400Hz difference between the tonesASCII

$$GAGA1,5131,09:58:23,52.2354,0.09

40,3394,7.64,26.1,13.4,64*1E

Page 25: Better living through microcontrollers

Telemetry

50 bps RTTY FSK

In English…

One tone for 1Another tone for 050 bits per second400Hz difference between the tonesASCII

$$GAGA1,5131,09:58:23,52.2354,0.0940,

3394,7.64,26.1,13.4,64*1E

Seconds since boot

UTC

Lat / Long

Altitude

Vertical rate m/sInternal ℃

External ℃

Checksum

Page 26: Better living through microcontrollers

Page 27: Better living through microcontrollers
Page 28: Better living through microcontrollers
Page 29: Better living through microcontrollers
Page 30: Better living through microcontrollers
Page 31: Better living through microcontrollers

SERIAL PORT

Page 32: Better living through microcontrollers
Page 33: Better living through microcontrollers

ATMega328P

Three wires needed:+ve

GNDData

Page 34: Better living through microcontrollers
Page 35: Better living through microcontrollers

Page 36: Better living through microcontrollers
Page 37: Better living through microcontrollers
Page 38: Better living through microcontrollers
Page 39: Better living through microcontrollers
Page 40: Better living through microcontrollers

R2 R1 V0 Level

0 0 0 Sync

0 1 0.3 Black

1 0 0.6 Grey

1 1 1 White

Page 41: Better living through microcontrollers
Page 42: Better living through microcontrollers

No USB. Need FTDI cable

Digital ports

External power/Battery

Analog ports

Serial

ATMega328P

Page 43: Better living through microcontrollers
Page 44: Better living through microcontrollers
Page 45: Better living through microcontrollers
Page 46: Better living through microcontrollers
Page 47: Better living through microcontrollers

Page 48: Better living through microcontrollers

RGB LED

Three wires needed:+ve

GNDData

Start bit

6-Bit Bulb Address

8-Bit Brightness

4-Bit Blue

4-Bit Green

4-Bit Red

Idle bus state: LowStart Bit: High for 10µS0 Bit: Low 10µS, High 20µS1 Bit: Low 20µ, High 10µS

Shift register per LED

Page 49: Better living through microcontrollers
Page 50: Better living through microcontrollers
Page 51: Better living through microcontrollers
Page 52: Better living through microcontrollers
Page 53: Better living through microcontrollers
Page 54: Better living through microcontrollers

Only 142 connections to solder!

Page 55: Better living through microcontrollers
Page 56: Better living through microcontrollers
Page 57: Better living through microcontrollers
Page 58: Better living through microcontrollers
Page 59: Better living through microcontrollers
Page 60: Better living through microcontrollers
Page 61: Better living through microcontrollers
Page 62: Better living through microcontrollers
Page 63: Better living through microcontrollers
Page 64: Better living through microcontrollers
Page 65: Better living through microcontrollers

ATtiny858K of Flash512 byte of SRAM512 bytes of EEPROM5 I/O ports

ATmega32u432K of flash2.5K of RAM

Page 66: Better living through microcontrollers
Page 67: Better living through microcontrollers