Arduino to Go

Introduction to the Arduino and Physical Computing

  • Arduino to Go
  • Intro Chapter
  • Chapter 1
    • Chapter 1: Parts of an Arduino
    • Chapter 1: Plug in your Arduino
    • Chapter 1: Components and tools
  • Chapter 2
    • Chapter 2: Meet the circuit
    • Chapter 2: The schematic
    • Chapter 2: Using a breadboard
    • Chapter 2: Building a circuit step by step
    • Chapter 2: A note about power
    • Chapter 2: Debugging the circuit
    • Chapter 2: The Multimeter
    • Chapter 2: Using the multimeter
  • Chapter 3
    • Chapter 3: Programming the Arduino
    • Chapter 3: Downloading and installing the software
    • Chapter 3: Parts of the Arduino IDE
    • Chapter 3: Debugging
    • Chapter 3: ATG3_Blink overview
    • Chapter 3: setup() and loop()
    • Chapter 3: Arduino schematic
    • Chapter 3: Building the circuit
    • Chapter 3: SOS signal
  • Chapter 4
    • Chapter 4: Electricity and Metering
    • Chapter 4: Build the circuit
    • Chapter 4: Electricity, an overview
    • Chapter 4: Voltage
    • Chapter 4: Current
    • Chapter 4: Resistance
    • Chapter 4: Review
    • Chapter 4: Ohm’s Law
    • Chapter 4: Components in parallel and series
  • Chapter 5
    • Chapter 5: Switches, LEDs and more
    • Chapter 5: Add a button
    • Chapter 5: Looking at the sketch: variables
    • Chapter 5: Digital Input
    • Chapter 5: Looking at the sketch: conditional statements
    • Chapter 5: Add a speaker and adjust the code
    • Chapter 5: Add two more buttons and adjust the code
    • Chapter 5: Review
  • Chapter 6
    • Chapter 6: Analog Values
    • Chapter 6: Potentiometer circuit step by step
    • Chapter 6: What is the sketch doing?
    • Chapter 6: ATG6_AnalogSerial sketch
    • Chapter 6: Analog input
    • Chapter 6: Analog values as output
    • Chapter 6: Using the serial monitor
    • Chapter 6: Adding the speaker
    • Chapter 6: Adding the photocell
  • Code Examples
    • Chapter 3 SOS Code
    • Chapter 5 Button Speaker Code
    • Chapter 5 Three Tone Speaker Code
    • Chapter 6 Light Theremin code
  • Appendices
    • Appendix A: Reading Resistor Codes

Tag: parameters

Oct08 0

Chapter 5: Add a speaker and adjust the code

Posted by arduino2go

Adding a speaker In this circuit, the button, LED, resistors and jumpers will stay in the same place. We are simply adding a speaker; everything else remains the same. Part to add: 1 speaker As always, before you attach the speaker, make sure your computer is not connected to the Arduino. Attach one end of […]

Read More →
Chapter 5 programming, speaker, tone(), noTone(), parameters, arduino programming

Categories

  • Pages
    • Arduino to Go
  • Archives

    • June 2017
    • March 2017
    • February 2017
    • October 2016
    • September 2016
    • August 2016
    • July 2016

    Meta

    • Log in
    © 2025 Ascent. All rights reserved | Ascent by ZetaMatic