当前位置:网站首页>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 .
边栏推荐
- XML learning notes
- 解决u8glib只显示一行文字或者不显示的问题
- 记录一次换行符引起的bug
- Sword finger offer 10- ii Frog jumping on steps
- MATLAB data type - character type
- Central Limit Theorem
- These 10 copywriting artifacts help you speed up the code. Are you still worried that you can't write a copywriting for US media?
- How to control the quality of HD slip ring in the production process
- Network in network (dolls)
- Is there anyone who doesn't know the three cores of concurrent programming?
猜你喜欢

Competition Registration | one of the key ai+ scientific computing competitions - China open source scientific software creativity competition, competing for 100000 bonus!

Technical dry goods | what is a big model? Oversized model? Foundation Model?

Memorizing byte order of big and small end

3线spi屏幕驱动方式

Kubeadm create kubernetes cluster

Skills needing attention in selection and purchase of slip ring

3 - wire SPI Screen Drive

Moher College -x-forwarded-for injection vulnerability practice

Employment prospect of GIS and remote sensing specialty and ranking selection of universities in 2022

Oracle 數據庫基本知識概念
随机推荐
Great health industry annual must attend event, 2022 Shandong International Great Health Industry Expo
ESP32-添加多目录的自定义组件
JS library for number formatting
Central Limit Theorem
新型冠状病毒变异Delta毒株的模拟(MindSPONGE应用)
Sword finger offer 10- ii Frog jumping on steps
XML learning notes
Skills needing attention in selection and purchase of slip ring
How to easily describe the process of machine learning?
ESP32实验-自建web服务器配网02
Review the old and know the new -- constant renewal at normal temperature
墨者学院-SQL注入漏洞测试(报错盲注)
Is it safe to open a compass account?
1+1<2 ?! Interpretation of hesic papers
Amway! How to provide high-quality issue? That's what Xueba wrote!
2022年地理信息系统与遥感专业就业前景与升学高校排名选择
MySQL之账号管理、建库以及四大引擎+案例
从位图到布隆过滤器,C#实现
史上最难618,TCL夺得电视行业京东和天猫份额双第一
matlab数据类型 —— 字符型