Description:Buzzer should only work when the POSITIVE pin is HIGH and the NEGATIVE pin is LOW. In the scenarios shown below, the Buzzer is not following that principle.
POSITIVE pin is the left pin of the Buzzer and the NEGATIVE is the right pin.
Scenario 1 : Buzzer works when POSITIVE pin is connected to GND (0/LOW) and NEGATIVE pin is connected to pin 13 of Arduino (programmed as HIGH).
Scenario 2 : Buzzer works when POSITIVE pin is connected to pin 13 of Arduino (programmed HIGH) and NEGATIVE pin is connected to any unassigned/unused pin of Arduino. (In figure below, pin 3 is not assigned in the .ino code)
Scenario 3: Buzzer works when POSITIVE is connected to pin 13 of Arduino (programmed HIGH) and NEGATIVE pin is connected to unconnected Resistor (or any other component) and vice versa.
3. Press "Start Simulation"
4. Buzzer will work.
Expected behavior: Buzzer should not work and throw an error.
- OS: Ubuntu 22.04.1 LTS
- Browser: Firefox 110 (Ubuntu)
Tested on:
- develop
- simulation.iitbx.in
Description:Buzzer should only work when the POSITIVE pin is HIGH and the NEGATIVE pin is LOW. In the scenarios shown below, the Buzzer is not following that principle.
POSITIVE pin is the left pin of the Buzzer and the NEGATIVE is the right pin.
Scenario 1 : Buzzer works when POSITIVE pin is connected to GND (0/LOW) and NEGATIVE pin is connected to pin 13 of Arduino (programmed as HIGH).
Scenario 2 : Buzzer works when POSITIVE pin is connected to pin 13 of Arduino (programmed HIGH) and NEGATIVE pin is connected to any unassigned/unused pin of Arduino. (In figure below, pin 3 is not assigned in the .ino code)
Scenario 3: Buzzer works when POSITIVE is connected to pin 13 of Arduino (programmed HIGH) and NEGATIVE pin is connected to unconnected Resistor (or any other component) and vice versa.
Steps to Reproduce:
void loop(){ digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); }