当前位置:网站首页>[DIY]自己设计微软MakeCode街机,官方开源软硬件
[DIY]自己设计微软MakeCode街机,官方开源软硬件
2022-07-06 12:25:00 【weixin_43771853】
第一次接触方块编程还是突然有一天在网站上看到一块英国BBC推出的Micro Bit,有配套的仿真软件,硬件也是完全开源,觉得很有意思;英国BBC公司推出的面向青少年编程教育的微型计算机,此外,BBC还提供了在线的编程网站,可以通过图形化的编程界面,或者通过python或javascript等你自己喜欢的编程语言进行编程。最后可以下载到板子上运行。
关注公众号,回复“街机”即可下载官方原理图及源代码;
回复“街机工具”即可下载交叉编译工具链;
自制Makecode街机视频如下:
微软makecode编程街机,儿童编程,支持python、方块编程、JavaScript,开发智力及到手能力,英国BBC及日本已经普及儿童编程。

可以仿真运行,上面有25个LED;但是觉得太单一,不好玩;
直到碰到Arcade,觉得更有意思,可以支持LCD,也可以自己编写程序游戏,马上就来了兴趣。
官方网址:https://arcade.makecode.com/#
里面还有教程,教你如何使用方块编程,制作出属于你的游戏;
官方的开源硬件地址及源代码地址:
可以参考设计自己的街机;
https://arcade.makecode.com/hardware/adding
目前官方支持两种MCU,STM32和Atmel公司的SamdX系列;
我是选用STM32F4设计的街机:
资源功能:
1、LCD 2.4寸,分配率320x240
2、按键,上下左右,A,B,复位,Menu
3、RGB 7色灯
4、光敏传感器
5、温湿度传感器
6、运动传感器LIS3DHTR
7、JACK多机接口
8、蜂鸣器
9、存储器 8MByte
10、电量采集
11、充电管理
12、1000mAh锂电池
13、扩展串口接口
14、扩展13路IO及3.3V电源
15、SWD接口
设计的目标可以进行C语言开发,及Makecode少儿编程;
成品图片如下:
关注公众号,回复“街机”即可下载官方原理图及源代码;
回复“街机工具”即可下载交叉编译工具链;
官方原理图:
拿到源代码之后,官网提供的编译工具链是gcc,也就是需要linux的环境才能编译,可以在windows下使用Cygwin64 ,这样就会省事很多。
编译代码:
在build目录下,会生成bin文件,就是我们要下载到目标板中的文件。
烧录程序之后,插入USB连接电脑,多出一个盘符
看到这个界面后很激动,颤抖,泪流满面。。。
接下来,我们可以在官网的程序中,下载一个游戏进Arcade
选择硬件型号->F4
把已下载的文件.uf2格式,拖进Arcade中即可;
烧录进程序之后,调到游戏首页;
更多知识点推荐:
[DIY]自制数字收音机
【Linux文件系统】NFS文件系统如何生效
[Linux文件系统]文件系统的反解压操作镜像生产原始目录
[Linux字符驱动] DIDO 74HC595实现遥控遥信功能
[linux字符驱动]Watchdog如何躲过linux的启动时间
[Linux字符驱动] LED点灯试验
[Linux 驱动]模块加载RTX8025驱动
[linux kernel] 内核下RX8025对接系统时钟
[linux kernel]内核启动阶段控制IO口时序输出
[职场吐槽]如何缓解焦虑
[linux kernel] 内核下ksz8081驱动调试
[linux kernel] 内核下ksz9031驱动调试
[linux kernel]内核图形化裁剪配置
[linux kernel]内核移植过程记录
[linux kernel] 内核启动流程梳理
[linux 底层]u-boot EMMC驱动
[linux 底层]u-boot图形化裁剪配置
[Linux 底层]U-boot ksz9031网络驱动调试
[Linux 底层]U-boot调试命令使用技巧
[Linux 底层]U-boot编译移植
[Linux 底层]U-boot烧录脚本介绍SecureCRT
[Linux 底层]bootstrap移植裁剪及编译
[Linux 底层] 平台软件分层介绍
[Linux 驱动] RS485测试程序编写
[Linux 驱动] CAN测试程序编写
推荐阅读:
芯片手册解读 | Linux底层 | 职场吐槽 | C语言视频
关注微信公众号,
回复“街机”即可下载官方原理图及源代码;
回复“街机工具”即可下载交叉编译工具链;
边栏推荐
- 2022 construction electrician (special type of construction work) free test questions and construction electrician (special type of construction work) certificate examination
- Guangzhou's first data security summit will open in Baiyun District
- rt-thread i2c 使用教程
- PHP and excel phpexcel
- Poj1149 pigs [maximum flow]
- 01 basic introduction - concept nouns
- Function optimization and arrow function of ES6
- “罚点球”小游戏
- 设计你的安全架构OKR
- Leetcode question 283 Move zero
猜你喜欢
【DSP】【第二篇】了解C6678和创建工程
Le lancement du jupyter ne répond pas après l'installation d'Anaconda
5. Nano - Net in wireless body: Top 10 "is it possible?" Questions
5. 無線體內納米網:十大“可行嗎?”問題
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
Error analysis ~csdn rebound shell error
报错分析~csdn反弹shell报错
Discussion on beegfs high availability mode
Monthly report of speech synthesis (TTS) and speech recognition (ASR) papers in June 2022
为什么新手在编程社区提问经常得不到回答,甚至还会被嘲讽?
随机推荐
Pytest (3) - Test naming rules
Unity writes a timer tool to start timing from the whole point. The format is: 00:00:00
枚举根据参数获取值
Number of schemes from the upper left corner to the lower right corner of the chessboard (2)
Tencent byte and other big companies interview real questions summary, Netease architects in-depth explanation of Android Development
微信小程序常用集合
How does kubernetes support stateful applications through statefulset? (07)
腾讯安卓开发面试,android开发的基础知识
02 basic introduction - data package expansion
I've seen many tutorials, but I still can't write a program well. How can I break it?
Tencent T3 Daniel will teach you hand-in-hand, the internal information of the factory
Tencent cloud database public cloud market ranks top 2!
rt-thread i2c 使用教程
爬虫(14) - Scrapy-Redis分布式爬虫(1) | 详解
Why do novices often fail to answer questions in the programming community, and even get ridiculed?
【每周一坑】计算100以内质数之和 +【解答】输出三角形
“罚点球”小游戏
Continuous test (CT) practical experience sharing
What programming do children learn?
Detailed introduction of distributed pressure measurement system VIII: basic introduction of akka actor model