制造商零件编号 A000005
ARDUINO NANO ATMEGA328 EVAL BRD
Arduino
所订产品一般在 7-10个工作日 内送达中国,具体时间取决于收货地点。
最低订购金额为人民币 300 元,顺丰快递免运费配送。
当用人民币下单时,按照国际贸易条款 DDP(DigiKey 支付关税、海关费用和当地税款)方式结算。
电汇预付
更多来自全授权合作伙伴的产品
下单后,从合作伙伴发货平均需要时间 1-3 天,也可能产生额外运费。可能另外收取运费。 实际发货时间请留意产品详情页、购物车和结账页面上的说明。
国际贸易结算方式:CPT(交货时支付关税、海关费用和适用 VAT/应付税金)
有关详情,请访问帮助和支持
License: General Public License Arduino
This game is based on the Cyclone arcade game, where the player tries to stop an LED scrolling around a circle at a specific spot.
In one of my previous videos(https://youtu.be/1K0vr-hrh0k), I presented you the same game, but on a large ring consisting of 60 LEDs, which contained several levels.
This time I used a small ring with 12 LEDs and the game does not contain levels but is a continuous game until the target marker is missed.
In addition, there is an LCD display that shows high score and current round.
The code was taken from Joern Weise's GitHub page (https://github.com/M3taKn1ght/Blog-Repo/tree/master/Cyclone), and I made some modifications.
First, I shortened the way of testing the LEDs, and then added different sounds for each segment of the game so that it is now much more interesting.
The device is very simple to build and consists of only a few components:
If you want to make a PCB for this project, or for any other electronic project, PCBway (www.pcbway.com) is a great choice for you. PCBway is one of the most experienced PCB manufacturing company in China in field of PCB prototype and fabrication. They provide completed PCB assembly service with worldwide free shipping , and ISO9001 quality control system. Also, on their site there is an online gerber viewer where you can upload your gerber and drill files to render your board.
As for the gameplay, as I mentioned before, in this case there are no levels with increasing speed, but each successive round starts with a randomized speed, and generally the speeds can be easily changed in the code in the lines:
#define STARTINTERVAL 250 //"Normal" move
#define MAXINTERVAL 500 //Very slow move
#define MININTERVAL 50 //Very fast move
Now let's see how the device works in reality. When turning on the game, all LEDs light up sequentially accompanied by an appropriate sound effect, and a corresponding message about the test on the LCD display.
Next, by pressing the button the game starts. The goal is to press the button at the moment when the rotating LED is located exactly on the static LEDs. In the first two levels, three LEDs are static, and in the next levels only one. The number of laps completed, and the score are shown on the display.
If we fail to hit the red Led, the game ends, and High Score appears on the display.
The number of laps completed, and the score are shown on the display. Otherwise, the high score is recorded in the eprom of the microcontroller so that it is saved even after the reset.
If we want to delete the high score, when turning on, we hold down the HSR button. And finally, the game is mounted on a PVC board with a thickness of 3 mm and covered with self-adhesive colored wallpaper.
谢谢!
敬请关注收件箱中的 DigiKey 新闻与更新!
请输入电子邮件地址