Skip to content

felipeng/perk-a-cola

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Perk-A-Cola Bottles

Perk-A-Cola are a feature that can be found in zombies maps of Call Of Duty game. Each drink gives the player a perk to help them survive and fend off the zombie hordes.

Perk-A-Cola

More info about this project: Real Perk-A-Cola Bottles

About

This is my own version of Perk-A-Cola in real world with a plus, you can turn on/off the bottle and play/stop the Perk-A-Cola song through the web interface which communicate with the GPIO pins of the RaspBerry Pi.

The main file is index.cgi which contains: HTML5 + CSS + JavaScript + GPIO commands

The same code can be modified and used to communicate with microcontrollers, like Arduino

Installation

You have to install:

  1. bash
  2. wiringPi
  3. Any HTTP server with CGI module

Wiring

It's very simple, the cathode of all LEDs goes to the GND and anode to the respective pin number.

After that you need to configure the file "pinmap.conf" it's a relationship between perk and pins

Note: the script use the physical pins of RaspBerry Pi not the GPIO number.

License

See LICENSE file

Author

Felipe Nogaroto Gonzalez - < felipeng84 @ gmail . com >

Releases

No releases published

Packages

No packages published

Languages