6399 views|12 replies

3414

Posts

0

Resources
The OP
 

LogicKids version 0.1 implementation [Copy link]

 
This post was last edited by ljj3166 on 2018-9-30 23:03 0.Written at the beginningThis DIY project originated from the children's programming education that I came into contact with when I took my children to play with Lego toys. Looking at the companies on the market that just change the interface to make money, I would like to use this DIY to show my disdain. At present, only the basic framework of the entire project concept has been realized. There is still a lot of work to be done, especially the repair and processing of some details, which is very time-consuming and brain-burning. Here, I pay tribute to the code farmers who changed the world. I have done a little bit in the early stage. If you are interested, you can take a look slowly. 1. Design nameLogicKids Easy Programmable PlatformSingle board name: Easy Platform 1 (EP1) 2. Introduction of the workThis DIY work single board is based on GigaDevice GD32F350CBT6 microcontroller. With the support of standard peripheral driver library, a set of script data parsing methods and online simulation data formats are customized. Script data is generated with mobile phone or PC client. The script data is downloaded to the single board through Bluetooth communication. After the single board is powered on, the script data is loaded and parsed to complete the operation of each on-chip peripheral. At the same time, it supports online simulation of the script running process. 3. System block diagramThe working block diagram of the whole system is as follows The client generates script data on PC and Mobile DeviceThe PC communicates with EP1 through the adapter of USB bridge Bluetooth, and the Mobile Device can communicate directly with EP1. There is really nothing much to say about the hardware block diagram of the board. Here is the old picture Main IC: GD32F350CBT6, GD25Q16 An OLED screen and a few buttons. Actual picture of the board usb2BLE Dongle 4. Functional description of each part The 128K Flash of GD32F350 on the EP1 board is divided into two partitions: boot and app. The boot area is used to update the code in the app area. The app area is used to parse the data generated by the client. GD25Q16 is used to store the script data, controller firmware, fonts and pictures generated by the client. After power-on, GD32F350 loads the data in 25Q16 into RAM for parsing. The OLED screen is used to display the running status of EP1. The buttons are mainly reset and restore to factory settings (erase GD32Q16 scripts and picture data). The usb2BLE Dongle is mainly composed of a usb2uart bridge chip and a Bluetooth serial port. It is used for communication between the client and EP1. About the occupation of on-chip resources, boot occupies less than 8K bytes of Flash when printf is turned on. app code turns on printf Set up 1K character variables, 50 floating-point variables, 200 long integer variables, 1K bytes of script data buffer, and 256 bytes of firmware buffer. The final resources occupied are less than 30K of FLASH space and nearly 10K of RAM. Well, we can still save a little more. 5. The nearly 19-minute demonstration video is quite long and verbose. 1080P source, full-screen playback is more powerful... There are many functions I want to do, such as custom driver modules, which are packaged into modules with components, and can directly drive IPS screens, sensors, etc. Similar to the sub-ui of labview Due to time constraints, I haven't had time to do it. I will update it slowly later when I have time. The ifelse logic in the video is not implemented because there are still some problems with the algorithm of traversal and connection relationship of each component on the PC client. From time to time, some bugs will appear, so it is not shown here. The analysis of the ifelse logic on the single board has been implemented. There are also introductions in the previous posts and videos. You can check them out 【GD32F350 LogicKids】 Input and basic logic test Submit VER0.1 first 6. Source code (can't upload it yet, I'll talk about it later) I will update the above when I have time Supplementary content (2018-10-13 22:47): See the source code on the 10th floor
This post is from GD32 MCU

Latest reply

Niu B   Details Published on 2021-7-21 17:46
Personal signature

So TM what......?

 


6040

Posts

204

Resources
2
 
Sister Lan is so tricky
This post is from GD32 MCU

Comments

Stack, you want to say ugly  Details Published on 2018-10-1 21:46
 
 
 

855

Posts

5

Resources
3
 
Sister Lan is so tricky
This post is from GD32 MCU

Comments

Follow the trend and reply to the post and play with your penis until you get cramps  Details Published on 2018-10-1 21:47
 
Personal signature作为一个菜逼,干货并没有多少。唯一会的就是水,所以回帖水分大。望见谅!
 
 

1w

Posts

204

Resources
4
 
This is awesome! Sister Lan
This post is from GD32 MCU
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

Girl, hold it in.  Details Published on 2018-10-1 21:48
 
 
 

424

Posts

8

Resources
5
 
Sister Lan is so tricky
This post is from GD32 MCU

Comments

Please reply again with another word, hurry up  Details Published on 2018-10-1 21:49
 
 
 

3414

Posts

0

Resources
6
 
lcofjp posted on 2018-10-1 07:21 Sister Lan is so cunning
Stack, you want to say it's ugly
This post is from GD32 MCU
 
Personal signature

So TM what......?

 

 

3414

Posts

0

Resources
7
 
RMB Fantasy posted on 2018-10-1 09:34 Sister Lan is so cunning
I followed the trend and replied to the post and played with my penis until I had cramps
This post is from GD32 MCU
 
Personal signature

So TM what......?

 

 

3414

Posts

0

Resources
8
 
Girl, hold it in like this
This post is from GD32 MCU
 
Personal signature

So TM what......?

 

 

3414

Posts

0

Resources
9
 
Please reply again with another word, hurry up
This post is from GD32 MCU
 
Personal signature

So TM what......?

 

 

3414

Posts

0

Resources
10
 
There is no organization, the code is a bit eye-catching. MCU firmware: LogicKids_GDF350.rar (8.79 MB, downloads: 1420) Deducted source code: LogicKids_App.rar (11.4 MB, downloads: 41)


This post is from GD32 MCU
 
Personal signature

So TM what......?

 

 

135

Posts

0

Resources
11
 

Shocked that something I had always imagined was actually done

This post is from GD32 MCU
 
 
 

39

Posts

0

Resources
12
 

The host's name is awesome

South Korea's LG has a core: ARM 32 M3 CPU FLASH 128.
The main thing is that the price is good.
There are 100K in stock now, and the supply is stable every month. Call WeChat: 13424332191

This post is from GD32 MCU
 
Personal signature

一三私二私三三二一韭一

 
 

18

Posts

0

Resources
13
 

Niu B

This post is from GD32 MCU
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list