ATmega32 8 Bit Game Circuit LCD Joystick

| August 4, 2019 Updated
ATmega32 8 Bit Game Circuit LCD  Joystick

The game console is made up of an Atmel ATmega32 processor, comprising 32kB Flash program memory, 1kB EEPROM memory and 2kB SRAM memory. Next is the console consisting of an LCD display and a speaker. To the console for ease of maneuverability games joins the joystick.

This is a 64×128 pixel LCD. Available under different names (ATM12864, PG12864) and in different color backlight (blue, white, green-yellow) This LCD contains two separate controllers, each of which controls one half display, so the area of 64×64 points. Each half contains eight more pages. At therefore, not every single point is written on the display, but flats are plotted in rows (pages)

The joystick is used for easy and intuitive game control. It connects by using 15-pin CAN connector to the side of the bracket. It contains 12 buttons, of which two quads are designed as directional buttons, the other two buttons on the top side for shooting or confirmation, and the Start and Exit buttons.

64x128-pixel-lcd-atmega32-8-bit-game-atm12864-pg12864-tetris

tetris-64x128-pixel-lcd-atmega32-8-bit-game-atm12864-pg12864

Speaker For even greater game play experience, music on their backgrounds is inherent components of the game. For this game console, we only have to do with a rectangular signal, which is generated by a counter / timer 0 at frequencies from a large octave (from 65,406 Hz) after twin octave including (up to 1,975,533 Hz), see . The processor is capable to generate tones of higher frequencies, but this is unnecessary. Each note has its own frequency and length, the frequency is then presented by a unique register setting timer 0 and the length of the delay in which this frequency is generated. Generating the audio signal is at the PB3 terminal to which the volume control trimmer is connected sound and a miniature speaker is connected to it.

This AVR game work deals with the creation of several game applications for an 8-bit console made by the AVR ATmega32 microcontroller. Similar topics (programming games for AVR processors) is also concerned with the Uzebox project. It is also a game console, emulator on NES-SNES console (Nintendo Entertainment System Super Nintendo Entertainment System), with an 8-bit AVR ATmega644 processor. Uzebox uses two NES-SNES joysticks to control the games and uses S- video, SCART) or monitor. Due to the lack of functional joysticks I have NES-SNES decided to join the joystick himself. Because the gaming console is constructed as portable device of small dimensions and rendering on television loses importance, is for screen display. I enjoyed playing games like this in my youth and I have been interested in programming for a long time, so I wanted to combine these two hobbies. The following chapters describe itself gaming console, rendering on the display, joystick description, and sound creation speaker. Furthermore, the individual applications, their basic nature, control, rendering. This is a mining application, well known from the table computers, and it is the most successful game of all time Tetris and the third application is Spaceman, similar to mobile phone games.

programming-games-for-avr-processors-circuit-lcd-joystick

AVR Game Schematic

avr-game-schematic

srcb

FILE DOWNLOAD LINK LIST (in TXT format): LINKS-26018.zip

Published: 2018/05/18 Tags: ,



2 Comments “ATmega32 8 Bit Game Circuit LCD Joystick

  1. Elektronisch ProjekteElektronisch Projekte

    ATmega32 8 Bit Spiel Schaltung LCD Steuerknüppel

    Die Spielekonsole besteht aus einem Atmel ATmega32-Prozessor, der 32 KB Flash-Programmspeicher, 1 KB EEPROM-Speicher und 2 KB SRAM-Speicher umfasst. Als nächstes ist die Konsole, bestehend aus einem LCD-Display und einem Lautsprecher. Um die Konsole für die einfache Manövrierfähigkeit zu erweitern, schließt sich der Joystick an.

    Dies ist ein 64 × 128 Pixel LCD. Erhältlich unter verschiedenen Namen (ATM12864, PG12864) und in verschiedenen Farben Hintergrundbeleuchtung (blau, weiß, grün-gelb) Dieses LCD enthält zwei separate Controller, von denen jeder eine halbe Anzeige steuert, so dass der Bereich von 64 × 64 Punkte. Jede Hälfte enthält acht weitere Seiten. Daher wird nicht jeder einzelne Punkt auf dem Display angezeigt, sondern Ebenen werden in Zeilen (Seiten) dargestellt.

    Der Joystick dient zur einfachen und intuitiven Spielsteuerung. Es verbindet mit 15-poligen CAN-Stecker an der Seite der Halterung. Es enthält 12 Tasten, von denen zwei Quads als Richtungstasten, die anderen beiden Tasten auf der Oberseite zur Aufnahme oder Bestätigung sowie die Schaltflächen Start und Beenden vorgesehen sind.

    REPLY
  2. projets de circuits electroniquesprojets de circuits electroniques

    Jeux Circuit

    La console de jeu est composée d’un processeur Atmel ATmega32, comprenant une mémoire de programme Flash de 32 Ko, une mémoire EEPROM de 1 Ko et une mémoire SRAM de 2 Ko. Vient ensuite la console composée d’un écran LCD et d’un haut-parleur. À la console pour la facilité de jeux de maniabilité rejoint le joystick.

    Il s’agit d’un écran LCD 64 × 128 pixels. Disponible sous différents noms (ATM12864, PG12864) et dans un rétroéclairage de couleur différente (bleu, blanc, vert-jaune) Cet écran LCD contient deux contrôleurs distincts, chacun contrôlant un demi-affichage, donc la zone de 64 × 64 points. Chaque moitié contient huit pages supplémentaires. Par conséquent, tous les points ne sont pas écrits sur l’écran, mais les appartements sont tracés en lignes (pages)

    Le joystick est utilisé pour un contrôle de jeu facile et intuitif. Il se connecte en utilisant un connecteur CAN à 15 broches sur le côté du support. Il contient 12 boutons, dont deux quadruples sont conçus comme des boutons directionnels, les deux autres boutons sur le côté supérieur pour la prise de vue ou la confirmation, et les boutons Démarrer et Quitter.

    REPLY

Leave a Reply

Your email address will not be published. Required fields are marked *