ghaytweyhtoo

arduboy game console

 
Overview

Arduboy game console based on Atmega32U4

    <1> Circuit part design

    The main control of this game console uses the atmega32u4 in the AVR microcontroller. The microcontroller can work with both 3.3v and 5v. The 5v power supply is selected here. This chip does not require an external TTL level to serial port chip, and can be directly connected to USB D+ and D- to upload programs after burning BL. The overall peripheral circuit contains four parts, namely the MCU part circuit, the 5V voltage stabilizing circuit, the OLED circuit and the button part.

    MCU circuit

    The circuit only contains a simple minimum system. The crystal oscillator uses a 16MHz passive crystal oscillator. The arduino pro micro minimum system board was referred to during the design process. The reset button uses a pin-type side button.

    Tips for avoiding pitfalls : There are not too many pitfalls in this part. You just need to pay attention to not inverting D+ and D-. The first time the test board was connected in reverse, the USB kept showing that it was not working properly. I was so stupid that I cried o(╥﹏╥ )o

    5V voltage stabilizing circuit

     The power supply part considers the need to use a 3.7V lithium battery for power supply, so I chose the SB6286, which I prefer. The output voltage can be adjusted through two external resistors. For details, you can see the schematic diagram and the chip manual of the SB6286, which contains Specific output voltage calculation formula.

    Tips for avoiding pitfalls : There are three kinds of inductors in my hand, all of which are 4.7uH. In my opinion, there is no difference except the packaging = =, but the smallest one (right side of the picture below) cannot reach the expected voltage, and the other two can be used.

                                                                                                      

    OLED circuit

    The one chosen here is a 0.96-inch OLED. The basic peripheral circuits can be found in its manual. A mos tube can also be added to the circuit to control the power supply.

    Tips to avoid pitfalls : OLED operating voltage is 3.3v. When powered through a 5v bus, you need to add an LDO to reduce the voltage to avoid burning out.

    Button part

   During the test, 6*6 keys were used, but the feel was relatively poor. After adding the keycaps, they were tall and hard. The latest version has mute keys and they feel very comfortable. O(∩_∩)O Haha~

    Tips for avoiding pits : Since the keys are relatively close during typesetting, you need to be careful when welding to avoid touching the keys and causing the plastic to melt.

    <2> Questions about BootLoader

    There is no boot program in the loose chip of atmega32U4 purchased. Here are several solutions:

    (1) Directly purchase the arduino pro micro minimum system board and remove the chip. I found that the cheapest pro micro in a certain store is about 26 yuan, and the loose tablet is about 22 yuan.

    (2) Because this board does not have a reserved programming interface (will continue to be improved in the future), programming the BootLoader needs to be completed before MCU soldering. If you have a pro micro minimum system class, you can solder the chip on and burn it, and then replace it after completion. That's what I did at the time, because the other pro micro had other uses, so I had no choice but to use it = =. The specific burning method can use USBasp or an arduino board as the ISP burner.

    <3> Related game programs

    There are a large number of game projects developed by big guys on the arduboy website. If you are interested, you can go to the community to find interesting games. In the attachment, I will put a few games that I think are fun for everyone to download.

    arduboy website: https://community.arduboy.com/

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 13:38:01

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号