Hi ! I am pretty new to arduino and so I decided for my school project is a simple buzz wire game with LCD. I finished assembling all the parts except for one. I forgot to buy a diode and since no stores are open due to the pandemic, I am trying to find an alternative for a diode. The site that I used for building my arduino states that "A diode is connected at the end of the maze wire, so when you go past to that diode and touch the maze wire with round handle wire, only one pin (Pin 3) will go low. In that condition, a congratulation text (Well done) will be displayed on LCD." As I forgot to buy a diode, I cannot output the "Well Done" text in the LCD. Hope someone could help me. Thanks !
Here's the code :
if (start == LOW && end_== LOW ){
digitalWrite(buzzer, HIGH);
delay(1000);
digitalWrite(buzzer, LOW);
lcd.setCursor(0,0);
lcd.print("Again");
Serial.print("Again");
}
else if (start == HIGH && end_== LOW){
lcd.setCursor(0,0);
lcd.print("Well Done");
Serial.print("Well Done");
}
Yeah - amazon or digikey. With how amazon's ship time is trashed by the pandemic, I would go with digikey. Their fulfillment is insanely fast!
Though, since you just need one, I would start looking for discarded electronics to tear apart for diodes. They're in like, everything - toys are a good place to look when you want to scrounge components and don't want to trash anything valuable. Of course, the pandemic rules out the standard source of this, namely, the take-it-or-leave-it pile or electronics trailer at the local dump (this is not a good time to be rummaging through other peoples' trash)
And, having found one so the need isn't urgent, go order a "diode kit" on ebay (get a resistor kit, capacitor kit, and transistor kit while you're at it). They're dirt cheap!
DrAzzy:
Of course, the pandemic rules out the standard source of this, namely, the take-it-or-leave-it pile or electronics trailer at the local dump (this is not a good time to be rummaging through other peoples' trash)
"Garage sales" are off at present, but there is a bit of "road-kill" to be seen from time to time.
Problem is that recent electronics is now largely SMD, requiring more skill in whatever recycling is at all meaningful.
Please read the post at the start of any forum , entitled "How to use this Forum".
OR http://forum.arduino.cc/index.php/topic,148850.0.html.
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
sterretje:
You guys seem to forget that during a proper lockdown, delivery at your door or collection is not possible. It might even get stuck in customs.
I don't know about where you live, but door deliveries in the UK are hardly affected. Royal Mail is a little slower than normal (Fairy Snuff) but I have had an Amazon delivery scheduled for Monday / Tuesday delivered last Friday. I have also had Chinese orders delivered recently.