当前位置:网站首页>Esp32-solo development tutorial to solve config_ FREERTOS_ UNICORE problem
Esp32-solo development tutorial to solve config_ FREERTOS_ UNICORE problem
2022-06-27 00:53:00 【arenascat】
About ESP32-SOLO
ESP32-SOLO The main feature is that there is only one core , This also makes the use a little different
Compare this paragraph with others , Its biggest feature is that it is cheap and very cheap as long as 5 Yuan , Because I bought it from a second-hand e-waste dealer , I bought a total of 5 block .
They are all mounted on a board that doesn't know what it is , I read the comments and it seems to say which company has a wireless remote control RGB Colored lights are similar to this
Development board circuit design
I designed a circuit for this thing , You can refer to it ,https://oshwhub.com/sinzo/esp32-kuo-zhan-ban
At present, it has the following characteristics
- Bring out the interface
- have SD Card slot
- It has a charging circuit and can be used to install batteries
- have Type-C
- Can download any program
- OLED
- Four buttons
- Well welded 8060 resistance
![]()
In the actual test , I find BOOT and EN Should be able to remove , Just to prevent problems, they still remain , It can be deleted as needed
The charging circuit is TP4059, Maximum 600mAh Current , I went to one 1000mAh The battery , An hour and a half is full of

It should be noted that this is an automatic reset / Download circuit , Its resistance R5 as well as R6 Be close to 10K, I started by writing the parameters as 1K, When welding, it is also welded 1K, The result is a direct failure

The design has a RGB LED The lamp ,WS2812B, It is a commonly used mechanical keyboard , The result is right

The final board is black PCB, I am very fond of .

This charging circuit will have 50 Degrees or so , That's all right. , It can run normally .

If you want to save electricity , Maybe you don't need to install PWR Indicator light
![]()
The whole body is equipped with m2 Screw holes for , You can install the shell or acrylic panel when necessary

ESP-32 SOLO Quick start
I use Arduino IDE To test the board and download , Specific programming and compilation should still use PlatformIO( One is based on VSCode Platform plug-ins ) Because the efficiency is relatively high .
Add this line to the add-on development board management in preferences
https://dl.espressif.com/dl/package_esp32_index.json
Then restart , And search in the development board manager ESP32 that will do
![]()
Then click on the development board ESP32 Dev Module
I chose an example program to test

You can see the normal download , There seems to be no problem
![]()
however , In the use of ESP-32 SOLO When , Because this single core feature is different from almost all finished boards , So the program cannot be used directly . Prompt you directly for errors , It doesn't work .
![]()
How to solve ? The simplest way is to use these files provided by this netizen
GitHub - lbernstone/arduino-esp32-solo: Compiled libraries for ESP32-SOLO To replace the downloaded sdk
![]()
The way is , Download the above one first , Replace arduino15 Medium packages In the catalog esp32 Files in folder , See the figure for the specific path , The version should correspond to the actual version . For example, here I am 1.05 Version of .
![]()
Under this path tools It is not right , When I first replaced this folder, I found that the still compiled program still couldn't run , I feel cheated . Later, I found that the catalog was not correct .
![]()
Wrong path
C:\Users\ Your users \AppData\Local\Arduino15\packages\esp32
Correct path
C:\Users\ Your users \AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.5\tools
If you are using WindowsAPP Version of that is Windows Store downloaded , Then it should be this path
C:\Users\wzx13\Documents\ArduinoData\packages\esp32\hardware\esp32\1.0.6\tools
Reload a GetChipID Example , It seems that there is no problem after the test
![]()
Now you are free to develop .
How to use PlatformIO Development ESP32
newly build , Type selection of board Espressif
![]()
The program I wrote is like this

Configured platformio.ini stay 8 I updated the next month , Now the configuration is like this
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 1000000
upload_speed = 921600 ;upload baudYou can see that you can download normally . If you just insert a board , So there's no need to configure COM mouth

But it doesn't work , The same question , It means that your program is dual core . This goes back to and before ArduinoIDE The same question .
First, find the folder where the plug-in is located ,PlatformIO After installation , There are some files we may need in these files :
C:\Users\ user name \.platformio\packages
C:\Users\ user name \.platformio\platforms
Finally, we found a folder and what we had been tossing about before ArduinoIDE The development board data folder of is most similar to ( As like as two peas ), In this position
C:\Users\wzx13\.platformio\packages\framework-arduinoespressif32
We need to download this guy's file , And overwrite the original folder with this folder

Finally you can use .
![]()
Other supplementary points
Use u8glib Time statement
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE, /* clock=*/ 22, /* data=*/ 21); // ESP32 Thing, HW I2C with pin remapping
Conclusion
This one ESP32-SOLO Although it is a single core, it is really cool to use , Cheapness , Then it has a large capacity , And there seems to be a lot more , Generally speaking, if there is no problem , You can use it .
Last , Have a good time .
边栏推荐
猜你喜欢

Using physical information neural network to solve hydrodynamics equations

Lambda expression

What are the skills and methods for slip ring installation

CH423要如何使用,便宜的国产IO扩展芯片

新型冠状病毒变异Delta毒株的模拟(MindSPONGE应用)

深度学习方法求解平均场博弈论问题

如何通俗易懂的描述机器学习的流程?

Sword finger offer 10- ii Frog jumping on steps

1+1<2 ?! Interpretation of hesic papers

About Random Numbers
随机推荐
巧记大小端字节序
当Transformer遇见偏微分方程求解
These 10 copywriting artifacts help you speed up the code. Are you still worried that you can't write a copywriting for US media?
test
Lambda expression
The [MySQL] time field is set to the current time by default
What is the difference between the working principle of gas-liquid slip ring and other slip rings
Mindspire, a domestic framework, cooperates with Shanshui nature conservation center to find and protect the treasure life in the "China water tower"
redis详细教程
Gaussian and Summary Stats
Super hard core! Can the family photo album on Huawei's smart screen be classified automatically and accurately?
From bitmap to bloom filter, C # implementation
高清滑环生产过程当中的质量如何把控
Flink 实战问题(七):No Watermark(Watermarks are only available EventTime is used)
How to easily describe the process of machine learning?
idea 热启动失效解决方案
MySQL之账号管理、建库以及四大引擎+案例
3線spi屏幕驅動方式
LeetCode 142. 环形链表 II
test