This development board is a small gift for my daughter. My daughter’s name is written on it. I hope she will be happy every day!
It has been tested that it can be developed through Arduino IDE, and downloading the program through USB is also very simple! HK32 is very powerful! ! !
I briefly tested it using the Arduino_STM32 library and found that it is supported. The configuration is as follows:
Use the serial port to download, no problem at all!
Test Mixly again...Mixly also uses the Arduino_STM32 library, but the compilation speed is obviously faster than arduino, and then compiled.bin
The file is always 16K in size. After I fixed the upload error, the program to upload to hk32 also does not work. The same code can be compiled into a bin file using Arduino and then uploaded using Mixly without any problem. This proves that there is a problem with the compilation of Mixly. I look forward to a master solving it!
Attached is the solution to the error when uploading the STM32F103C program to Mixly:
Find the file maple_upload.bat in the directory: mixly_win/arduino/portable/packages/stm32duino/tools/stm32tools/2020.6.20/win/. The default is to use this to upload!
Replace all the contents in serial_upload.bat with the contents in serial_upload.bat, and you can upload it through the serial port!
In the same way, if you use stlink or jlink to upload, you should just replace the content with stlink_upload.bat or jlink_upload.bat. Mixly itself does not provide an entrance to modify the upload method. We look forward to an official solution!
The circuit on the WS2812 board is controlled by PA4 without any problem, and the light has been successfully lit. It turns out that the light does not turn on because the W2812C lamp beads I used do not seem to be supported by the Neopixel library! After replacing the lamp bead, the light turns on normally.
The two existing on-board I2C sensors cannot be read, and the I2CScanner cannot find the address. Is there something wrong with my circuit?
There is also a problem with the sound detection circuit of the microphone, and Analogread cannot read and read the data.
There are still problems with programming the touch circuit under Arduino.
The preview effect is not bad!
The biggest feature is that the letter design of the external port is relatively large, which is convenient for attaching alligator clips. The four M3 stud holes can be connected to external power supply. One channel is 5V power supply, and the other is 3.3V power supply. The design of the external port with letters on the bottom can be used It’s similar to Microbit’s golden finger connection expansion board!
The first expansion board is designed for a smart car and is currently being conceived!
The schematic diagram of the touch button is very simple. I refer to the design of a master! I hope I can adjust it smoothly after I get it, and then press the button - the buzzer to play a song for everyone!
Other parts include the USB-TTL download circuit, which also reserves the ST-link download interface, the power supply step-down circuit, the microphone circuit, two WS2812 lights, the MPU6050 circuit, and the MSA300 circuit.
Physical picture:
It’s very convenient to develop using Arduino IDE!
First, add the json of the STM32 development board to the preferences.
Install STM32 Cores in the development board manager
This is the configuration I used to develop hk32f103c8t6. It works fine after using the CH340C chip USB-TTL test to download the program.
Before downloading the program, set boot0 to 1 and press the reset button. After downloading the program, set boot0 to 0 and press reset again. The program runs normally!
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet