• Arduino microcontroller
  • MakerShield kit
  • S1: pushbutton switch
  • S2: pushbutton switch
  • R1: 1KΩ resistor (brown, black, red stripes)
  • R2: 10KΩ potentiometer (for basic AND Logic Gate circuit)
  • R2: photocell (for Arduino AND Logic Gate circuit)
  • R3: 1KΩ resistor (brown, black, red stripes) for basic AND Logic Gate circuit
  • R3: 10KΩ resistor (brown, black, orange stripes) for Arduino AND Logic Gate circuit
  • R4: 330Ω resistor (orange, orange, brown stripes)
  • LED1: green LED (for Arduino AND Logic Gate circuit)
  • LED1: red LED (for basic AND Logic Gate circuit)
  • Battery1: 3VDC battery pack
  • Figure 6-1. The assembled Arduino AND Logic Gate

TECH NOTE

In digital electronics, a TRUE state is when a data bit is set to 1, or an output pin is set to +5 volts, or a switch is closed. A FALSE state is when a data bit equals 0, or an output pin is set to 0 volts, or a switch is open.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *