Goals Arduino plugged in
|
Instructions Plug a button into digital slot 2 (D2/D3). Plug a tilt sensor into digital slot 4 (D4/D5). Plug a knob (potentiometer) into analog slot 0 (A0/A1). Plug a light sensor into analog slot 2 (A2/A3). Plug an LED into digital slot 6 (D6/D7). Build a circuit by dragging a connection from a blue node to another and dropping it. You do not need to use every node. You can click a link to delete it. Goals Build the circuit
Turn LED on and off
| Create this circuit:
Turn on LED when the button is pressed.
Knob
0 Tilt
0 Light
0 and
0 or
0 not
0 +
0 <
0 >
0 50
0 30
0 LED
0 |
Instructions Plug a button into digital slot 2 (D2/D3). Plug a tilt sensor into digital slot 4 (D4/D5). Plug a knob (potentiometer) into analog slot 0 (A0/A1). Plug a light sensor into analog slot 2 (A2/A3). Plug an LED into digital slot 6 (D6/D7). Build a circuit by dragging a connection from a blue node to another and dropping it. You do not need to use every node. You can click a link to delete it. Use nodes from the tool box (yellow box). Drag them up into the work area (above the yellow box). Goals Build the circuit
Turn LED on and off
| Create this circuit:
Turn off LED when the button is pressed.
Knob
0 Tilt
0 Light
0 and
0 or
0 not
0 +
0 <
0 >
0 50
0 30
0 LED
0 |
Instructions Plug a button into digital slot 2 (D2/D3). Plug a tilt sensor into digital slot 4 (D4/D5). Plug a knob (potentiometer) into analog slot 0 (A0/A1). Plug a light sensor into analog slot 2 (A2/A3). Plug an LED into digital slot 6 (D6/D7). Build a circuit by dragging a connection from a blue node to another and dropping it. You do not need to use every node. You can click a link to delete it. Use nodes from the tool box (yellow box). Drag them up into the work area (above the yellow box). Goals Build the circuit
Turn LED on and off
| Create this circuit:
Turn on LED when light sensor is < 30.
Knob
0 Tilt
0 Light
0 and
0 or
0 not
0 +
0 <
0 >
0 50
0 30
0 LED
0 |
Instructions Plug a button into digital slot 2 (D2/D3). Plug a tilt sensor into digital slot 4 (D4/D5). Plug a knob (potentiometer) into analog slot 0 (A0/A1). Plug a light sensor into analog slot 2 (A2/A3). Plug an LED into digital slot 6 (D6/D7). Build a circuit by dragging a connection from a blue node to another and dropping it. You do not need to use every node. You can click a link to delete it. Use nodes from the tool box (yellow box). Drag them up into the work area (above the yellow box). Goals Build the circuit
Turn LED on and off
| Create this circuit:
Turn on LED when tilt is active and button is pressed.
Knob
0 Tilt
0 Light
0 and
0 or
0 not
0 +
0 <
0 >
0 50
0 30
0 LED
0 |
Instructions Plug a button into digital slot 2 (D2/D3). Plug a tilt sensor into digital slot 4 (D4/D5). Plug a knob (potentiometer) into analog slot 0 (A0/A1). Plug a light sensor into analog slot 2 (A2/A3). Plug an LED into digital slot 6 (D6/D7). Build a circuit by dragging a connection from a blue node to another and dropping it. You do not need to use every node. You can click a link to delete it. Use nodes from the tool box (yellow box). Drag them up into the work area (above the yellow box). Goals Build the circuit
Turn LED on and off
| Create this circuit:
Turn on LED when knob is > 50 and tilt is active.
Knob
0 Tilt
0 Light
0 and
0 or
0 not
0 +
0 <
0 >
0 50
0 30
0 LED
0 |
Instructions Plug a button into digital slot 2 (D2/D3). Plug a tilt sensor into digital slot 4 (D4/D5). Plug a knob (potentiometer) into analog slot 0 (A0/A1). Plug a light sensor into analog slot 2 (A2/A3). Plug an LED into digital slot 6 (D6/D7). Build a circuit by dragging a connection from a blue node to another and dropping it. You do not need to use every node. You can click a link to delete it. Use nodes from the tool box (yellow box). Drag them up into the work area (above the yellow box). Goals Build the circuit
Turn LED on and off
| Create this circuit:
Turn on LED when knob is > 50 and light < 30.
Knob
0 Tilt
0 Light
0 and
0 or
0 not
0 +
0 <
0 >
0 50
0 30
0 LED
0 |
Instructions Plug a button into digital slot 2 (D2/D3). Plug a tilt sensor into digital slot 4 (D4/D5). Plug a knob (potentiometer) into analog slot 0 (A0/A1). Plug a light sensor into analog slot 2 (A2/A3). Plug an LED into digital slot 6 (D6/D7). Build a circuit by dragging a connection from a blue node to another and dropping it. You do not need to use every node. You can click a link to delete it. Use nodes from the tool box (yellow box). Drag them up into the work area (above the yellow box). Goals Build the circuit
Turn LED on and off
| Create this circuit:
Turn on LED when knob plus light is > 50 or tilt is active.
Knob
0 Tilt
0 Light
0 and
0 or
0 not
0 +
0 <
0 >
0 50
0 30
0 LED
0 |
Instructions You have completed the lesson. You may scroll up to review the lesson. |