Coder Social home page Coder Social logo

shrinathn / ps1avr Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 217 KB

Original PS1 controller interface for AVR microcontrollers

License: GNU General Public License v3.0

C 97.22% Makefile 2.78%
psx playstation avr-microcontroller ps1-controller avr psx-emulator

ps1avr's Introduction

ps1avr

Original PS1 controller interface for AVR microcontrollers

Circuit



You are free to change the pins (so as long as they remain on the same port on the AVR). Change the pin definitions in the "psx_controller.h" file.
I use a 16MHz crystal with my AVR, but if you use any other crystal, be sure to define the speed in the "main.c" file, it is defined as F_CPU
You can use a 5V power supply as well, but ther original PS1 controllers will only work with 3V3
If you decide to use it with some other AVR, remember to make appropriate changes to the Makefile

How to compile

You need
  • A Linux environment (Ubuntu, or Debian will do just fine)
  • avr-libc
  • avr-gcc
  • avr-binutils
  • avrdude (or anything else you use to flash firmware)
  • make
Unless you're using a really obscure distro, you will probably find everything in your distro's repositories

Now type, "make", to compile the source code, and obtain the .hex file
Use "sudo make flash" to burn

ps1avr's People

Contributors

shrinathn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

drkzrg

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.