Introduction to Hackerspaces and Arduino

Preview:

DESCRIPTION

I gave this talk at the Intel Experience Store in December of 2013. It is an overview of the Hackerspaces and Makerspaces in the LA area and Arduino as a tool for learning. Code here: https://github.com/carlynorama/Arduino-Classes/tree/master/201308_Stoplight

Citation preview

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

hackerspaces.org

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

DIY Freaks Flock to ‘Hacker Spaces’ Worldwide

• BY DYLAN TWENEY 03.29.09 8:59 PM

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

profitmodel

kid friendliness

costs &openness

communityinvolvement

size &equipmentfocus

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

@crashlibrary

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

A walk around the ecosystem

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

A walk around the ecosystem

(Arduino™)

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Before

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Before

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Before

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Before

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Before

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Before

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Before

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

After

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

After

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Hardware

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

“Location-aware motion-detecting music player”

motiondetector Arduino GPS shield MP3 shield+ + +

(thank you @todbot)

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Working prototype in an afternoon.

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

(not to scale)

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

And now even more options...

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Just keep it simple

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Just keep it simple

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

There are lots of ideas

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Let’s Make

Check the parts• Kit complete?

• Arduino works?

• LED lights?

• Photocell(s) function?

Assemble the parts

Load the code

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Let’s Make

Check the parts• Kit complete?

• Arduino works?

• LED lights?

• Photocell(s) function?

Assemble the parts

Load the code

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

The Kit

brwn blk orng

orng orng brwn orng orng brwn orng orng brwn

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

The Kit

brwn blk orng

orng orng brwn orng orng brwn orng orng brwn

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Hello World

File Sketchbook

StopLightProject_01_Blink1

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

LED - Light Emitting Diode

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

LED - Light Emitting Diode

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

5V+ GND

LED - Light Emitting Diode

Properties• Diode = One way valve

• Light emits in a cone shape

Specifications of ours• Color - Red: 620-625nm,

Yellow: 587-591nm Green: 520-525nm

• Forward Voltage - R/Y: 1.8-2.2VDC Green:3.0-3.4VDC

• Forward Current - 20mA

• Viewing angle - 40 degree

• Luminous Intensity: R/Y100-150 mcd (millicandela), Green: 150-180 mcd

5V+ GND

5V+

GND

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Resistor

Properties• Current Limiter

• Voltage Dropper

• Transforms electricity into heat.

Specifications• 1/6th Watt

• +/- 5% tolerance

• Plated Through Hole

• 330 Ω (ohm)

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Resistor

2 3 4 5 6 7 810 9 5% 10%

10,000 Ohm Resistor with a 5% tolerance5%

330 Ohm Resistor with a 5% tolerance5%

3 zeros

1 zero

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Breadboard

PRO • Fastest way to mechanically

connect wires with no extra tools.

• Easily editable.

CON• Part layouts can be unintuitive.

• Can be hard to troubleshoot a broken connection.

• Connection are not rugged.

top underside,backing removed

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Light an LED on a Breadboard

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Light an LED on a Breadboard

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Light an LED on a Breadboard

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Light an LED on a Breadboard

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

carlynorama / LA Makerspace June 4, 2013 / Mattel Maker Dayarlynorama for Introduction to Hackerspaces & Arduino

Photocell / Photoresistor

Properties• Type of variable resistor

• Resistance decreases in the presence of light, therefore current flow goes up and voltage “consumed” (heat dissipated) goes down

Specifications• Light resistance : ~1k Ohm

• Dark resistance : ~10k Ohm

• Max voltage : 150V

• Max power: 100mW

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Light an LED in series with a photocell

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Light an LED in series with a photocell

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Light an LED in series with a photocell

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Blink External

File Sketchbook

StopLightProject_02_Blink1_ExternalLED

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Set up the other LEDs

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Add Photocell

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Add Photocell

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Add Photocell

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Add Photocell

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Add Photocell

11

55

1010

1515

2020

2525

3030

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

SCLSDA

AREFGND

IOREFRESET3V3

PWMPWMPWM

LTXRX

ONIC

SP

PWMPWM

PWM

TXRX

3121

1101

98D

IGITA

L 76

54

32

10

1

5VG

ndP

OW

ER

ww

w.arduino.ccA

NA

LOG

INVin

01

23

45

Arduino

UN

O

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Hello World

File Sketchbook

StopLightProject_01_Blink1

(this is what is on there now)

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Blink External

File Sketchbook

StopLightProject_02_Blink1_ExternalLED

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Blink External

File Sketchbook

StopLightProject_03_Blink3_StopLight

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Blink External

File Sketchbook

StopLightProject_03_Blink3_StopLight

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Analog I/O

File Sketchbook

StopLightProject_04_AnalogRead

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Analog I/O

File Sketchbook

StopLightProject_04_AnalogRead

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Analog I/O

File Sketchbook

StopLightProject_04_AnalogRead

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Analog I/O

File Sketchbook

StopLightProject_04_AnalogRead

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Analog I/O

File Sketchbook

StopLightProject_04_AnalogRead

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Analog I/O

File Sketchbook

StopLightProject_04_AnalogRead

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Analog I/O

File Sketchbook

StopLightProject_04_AnalogRead

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Threshold

File Sketchbook

StopLightProject_05_Threshold

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Threshold

File Sketchbook

StopLightProject_05_Threshold

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Threshold

File Sketchbook

StopLightProject_05_Threshold

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Threshold

File Sketchbook

StopLightProject_05_Threshold

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Threshold & StopLight

File Sketchbook

StopLightProject_06_BadListener

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Threshold & StopLight

File Sketchbook

StopLightProject_06_BadListener

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Threshold & StopLight

File Sketchbook

StopLightProject_06_BadListener

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Blink withno delay()

File Sketchbook

StopLightProject_07_blinkWithoutDelay

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Blink withno delay()

File Sketchbook

StopLightProject_07_blinkWithoutDelay

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Blink withno delay()

File Sketchbook

StopLightProject_07_blinkWithoutDelay

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

Blink withno delay()

File Sketchbook

StopLightProject_07_blinkWithoutDelay

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_08_Speed_GoodListener

Good Listener

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_08_Speed_GoodListener

Good Listener

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_09_ThresholdAsSwitch

Threshold As Switch

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_09_ThresholdAsSwitch

Threshold As Switch

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_09_ThresholdAsSwitch

Threshold As Switch

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_09_ThresholdAsSwitch

Threshold As Switch

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_09_ThresholdAsSwitch

Threshold As Switch

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_09_ThresholdAsSwitch

Threshold As Switch

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

File Sketchbook

StopLightProject_09_ThresholdAsSwitch

Threshold As Switch

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

What Next?

Share

Harden for testing or using

Share again

Design for manufacture

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

What Next?

Share

Harden for testing or using

Share again

Design for manufacture

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

What Next?

Share

Harden for testing or using

Share again

Design for manufacture

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

What Next?

Share

Harden for testing or using

Share again

Design for manufacture

http://www.reddit.com/r/maker/

Sunday, April 20, 14

arlynorama for Introduction to Hackerspaces & Arduino

What Next?

Share

Harden for testing or using

Share again

Design for manufacture• Kit or Product?

“anyone know a good contract engineer”

Sunday, April 20, 14