Random Food Chooser
連接電線並上傳代碼
The upper image shows out how can you connect the wire, bubble, and button
上圖顯示要如何連接導線,燈泡和按鈕
The upper video show how it works and how you play.
上方的視頻顯示了它的工作方式以及播放方式。
The below website shows the code of random choosing machine in Ardunio
下面的網站顯示了Ardunio中的隨機選擇機的代碼
https://create.arduino.cc/editor/krzysztof0130/6d94bba9-6ef5-4dac-b7e7-f78bda9cfd61/preview
Supplies
One Arduino Leonardo board
一塊Arduino Leonardo板
Breadboard, for connecting wires and resistors.
麵包板,用於連接電線和電阻器。
one button
一個按鈕
six LED light bulbs (color can be random)
六個LED燈泡(顏色可以是隨機的)
plastic covers (cover LED light bulbs)
塑料蓋(蓋上LED燈泡)
Resistors for the buttons and the LEDs. LED resistor color scheme: gray, red, black, gold (seven). Button resistor color scheme: brown, black, indigo, pink. (1)
按鈕和LED的電阻。 LED電阻器配色方案:灰色,紅色,黑色,金色(六個)。按鈕電阻器配色方案:棕色,黑色,靛藍,粉紅色(一個)。
Jumper wires (optional)
跳線(自選)
A cardboard box
紙箱
knives
刀
tape
膠帶
color pen (red and blue)
色筆(紅和藍)
white out
修正液