Coder Social home page Coder Social logo

r57zone / arduino-light-gun-and-games Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 739 KB

Arduino Light gun Zapper NES for PC and game for him / Световой пистолет на Arduino от денди для ПК и игра для него

License: GNU General Public License v3.0

Arduino 0.13% Pascal 99.76% Batchfile 0.10%
light-gun zapper duck-hunt nintendo nintendo-nes

arduino-light-gun-and-games's Introduction

RU:

Световой пистолет для ПК можно сделать как самостоятельно, так и из пистолета для денди.

Для самостоятельной сборки вам понадобится фоторезистор, кнопка курок и корпус пистолета.

Для подключения пистолета вам понадобиться arduino и резистор на 10кОм, также по желанию вибромотор.

gun


Если у вас уже есть пистолет денди, то отпаяйте фоторезистор и кнопку курок от схемы.

Фоторезистор плюсом подключаем на 5V, минусом на A0 (Analog Pin 0). Также с минуса фоторезистора подключаем обычный резистор 10кОм на GND. Один контакт кнопки курка подключаем на D2 (Digital Pin 2), а второй на GND. Вибромотор плюсом подключаем на D2 (Digital Pin 7), а минусом на GND.

Лучше играть вечером или за закрытыми шторами, яркость монитора лучше уменьшить до минимальной.

EN:

Light Gun for PC, you can do both independently and from a Gun Zapper to a NES.

For self-assembly, you will need a photoresistor, a trigger button and the gun body.

To connect the gun you need to arduino and 10k Ohm resistor, and the rumble motor on request.

If you already have a gun dandy Unsolder the LDR and the trigger button on the circuit.

Photoresistor plus connect to 5V, minus to A0 (Analog Pin 0). Also connect a conventional photoresist minus 10K resistor to GND. One touch connect button on the trigger D2 (Digital Pin 2) and the other to GND. Rumble motor plus connect to D2 (Digital Pin 7) and minus to GND.

It is better to play at night or behind closed curtains, the brightness of the monitor is better to reduce to a minimum.

arduino-light-gun-and-games's People

Contributors

r57zone avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.