opensource hardware with arduino, why pid is hard

22
OPEN SOURCE HARDWARE Open source electronics prototyping platform with ARDUINO

Upload: ruzzie

Post on 16-Jul-2015

450 views

Category:

Technology


4 download

TRANSCRIPT

OPEN SOURCE HARDWARE

Open source electronics prototyping platform with

ARDUINO

• http://opensourceecology.org/wiki/File:LiftT

racWithTracks.jpg

http://blog.ted.com/2012/07/27/civilization-reboot-fellows-friday-with-marcin-jakubowski/

ARDUINO NETDUINO

16 MHz 8-bit AT mega

32K

2K

~ 25 EUR,-

Native (Cpp)

48 MHz 32-bit Atmel ARM

128K

60K

~ 50 EUR,-

Micro SD

Ethernet

.NET TinyCLR

CPU

Max program size

RAM

HMM, BEER!

HMM, BEER!

BREW PROCESS

Mashing -> Boiling -> Cooling -> Fermenting -> Bottling

MAISCHEN

Heat water to 64 C

40 min. at 62 C

20 min. at 72 C

5 min. at 74 C

Temperature control

THE CALCULATIONS

4186 joules for 1 Liter water to heat 1° Kelvin

1 Watt = 1 joule / second

Heater = +/- 1000W

Heat 20L water 25° = 4186 * 20 * 25 = 2093000 joules

2093000 / 1000 / 60 = 34 min.

AUTOMATIC HEATING

The materials

• Electric heating plate

• Npn temperature sensor

• Arduino

• Relay

• LCD touchscreen

ARCHITECTURE

PID

proportional-integral-derivative controller (PID controller)

NO PID

Heat only; Only On-Off switch;

Measure Delta

• Far – long bursts

• Medium – medium bursts

• Close – short bursts

EVENT LOOP

SOFTTIMER

WHEN YOU GET MORE NEED FOR CONTROL

SOFTTIMER

WHEN YOU GET MORE NEED FOR CONTROL

GUI

GUI

GUI

SHOW ME THE CODE AND

HARDWARE !

BUILDING STUFF IS EASY!

OPEN SOURCE HARDWARE IS ALL

AROUND

CHEAP AND ACCESSIBLE

CONNECTIVITY IS EASY

WHAT WILL YOU DO?

You can build almost anything you can imagine yourself