Create your own arcade games with MakeCode Arcade. No coding experience necessary!
Microsoft #makecode_arcade is a web-based beginner-friendly code editor to create retro arcade games for the web and for dedicated hardware , Develop your programming skills by quickly creating and modding retro arcade games with Blocks and JavaScript in the MakeCode editor.
if you enjoyed those videos, then please subscribe to my channel which I update every week
👉 Subscribers : https://bit.ly/2EpEwrU
==========
= Required =
==========
□ Microcomputer ( #STM32F411) board, USB cable
□ LCD (1.8 inch ST7735 SPI communication resolution 160x128)
□ Button (tact switch) 6 to 8
□ Piezoelectric buzzer sound,
□ Breadboard, wire, header pin , Pin sockets
□ Electronic work tools such as soldering sets and testers, etc.
□ Battery, slide switch
=============
= Schematic. =
=============
STM32F411. LCD
GND ---------- GND
3.3V. ---------- VCC
A5. ---------- SCL
A7. ---------- SDA
A1 ---------- RES
A3 ---------- DC
A4 ---------- CS
A2. ---------- BL
STM32F411. BUTTONS
B4 ---------- LEFT
B5 ---------- UP
B6 ---------- RIGHT
B7 ---------- DOWN
B8 ---------- B
B9 ---------- A
A0 ---------- MENU
STM32F411. BUZZER
A8. ----------- + Speaker - GND
* One side of each button and buzzer is connected to G (ground)
Let's customize the firmware
First, let's introduce the original firmware.
uf2-stm32f
https://github.com/mmoskal/uf2-stm32f
Let's download the program source of ↑ to your own computer with git or zip.
=============================
■ Prepare ARM build environment. =
=============================
If you don't have it yet, install it. At such times, it is very easy to use a debian linux type OS.
gcc-arm-none-eabi
libnewlib-arm-none-eabi
libstdc ++-arm-none-eabi-newlib
make
open an appropriate command terminal, go to the directory where the source "Makefile" is, and make it.
make BOARD=(miniF4)
After the build is completed, a build folder is created inside you will find Bootloader.bin file
================
= Writing firmware =
================
STM32 has a very good user tool called CubeProg , and writing the farm is very easy.
https://www.st.com/ja/development-tools/stm32cubeprog.html
(1) Connect the microcomputer board and PC with a USB cable
(2) While holding down the BOOT0 button on the microcomputer board, click the RESET button (ON → OFF) . I don't know how it looks, but it will put you in the firmware write mode (called DFU mode).
(3) Start Cubeprog, select "USB" from the tab on the right, and click the Connect button.
(4) Enter the write screen and select " bootloader.bin " from Browse to write.
When the writing of the firmware is completed, the USB memory drive will appear on your computer! ! You did it!
================
= Operation check =
================
connect the microcomputer board and the computer with USB, and a drive called " ARCADE " will appear on the computer . Let's drag and drop the game application (the one with the extension uf2) there.
* The uf2 file can be downloaded by clicking the "Download" button of MakdCode Arcade.
When it detects that it is connected to a computer, it behaves like a USB memory.
* When connected to a PC, you can switch between game application and writing mode by clicking the reset button .
======================================
= Congratulations ~! =
= This completes your own game console! ! ! =
======================================
------------------------------------------------------------------------
About Social Media, Business, and Blogging
------------------------------------------------------------------------
https://www.youtube.com/djamaluk
https://www.facebook.com/Djamal.UK
https://twitter.com/DjamalUK
https://Djamal.UK
Code and Schematic OR Any Questions Please let me know in the comment section below
Thank you everyone for stopping by my youtube channel I would love to hear from you, so leave a comment to let me know you were here!