top of page
Arduino Workshop #2

• Analogue Input (Analog)

• Analogue Output (PWM)

• Flow Chart & Code Design

• Decisions

• Boolean Algebra ( ! )

• Input Pullup

• Loops

Circuit1:

Analog Input / Output (Less wires!)

• 1x 400 Tie Point Interlocking Solderless Breadboard - Crystal 

• 1x DFRduino UR3
• 1x USB Cable
• 1x 5MM LED
• 1x Resistor 200R
• 3x Red & 3x Black &1x Green Jumper Cables M/M

• 1x 10K Potentiometer

Potentiometer -> LED Code

Final Code

Circuit2:

Task

• Two buttons and 1 LED

• Button A and B pressed to light LED

• if ( buttonA && buttonB) { // LED on }

Button A and B pressed to light LED

• 1x 400 Tie Point Interlocking Solderless Breadboard - Crystal 

• 1x DFRduino UR3
• 1x USB Cable
• 1x 5MM LED
• 1x Resistor 200R
• 2x Red & 4x Black & 2x Green Jumper Cables M/M

• 2x Mini Pushbutton Switcher

Code

Circuit3:

Task

• Two buttons and 1 LED

• Button A or B pressed to light LED

• if ( buttonA || buttonB) { // LED on }

Button A or B pressed to light LED

• 1x 400 Tie Point Interlocking Solderless Breadboard - Crystal 

• 1x DFRduino UR3
• 1x USB Cable
• 1x 5MM LED
• 1x Resistor 200R
• 2x Red & 4x Black & 2x Green Jumper Cables M/M

• 2x Mini Pushbutton Switcher

Code

Circuit4:

Going loopy? Use loops…

• 1x 400 Tie Point Interlocking Solderless Breadboard - Crystal 

• 1x DFRduino UR3
• 1x USB Cable
• 1x 5MM LED
• 1x Resistor 200R
• 2x Red & 4x Black & 2x Green Jumper Cables M/M

• 2x Mini Pushbutton Switcher

Code

Circuit5:

Going loopy? Use loops (recursion)

• 1x 400 Tie Point Interlocking Solderless Breadboard - Crystal 

• 1x DFRduino UR3
• 1x USB Cable
• 1x 5MM LED
• 1x Resistor 200R
• 2x Red & 4x Black & 2x Green Jumper Cables M/M

• 2x Mini Pushbutton Switcher

Code

bottom of page