当前位置:网站首页>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 .
边栏推荐
- Gaussian and Summary Stats
- C#程序结构预览最基础入门
- How to easily describe the process of machine learning?
- Moher College - SQL injection vulnerability test (error reporting and blind note)
- BootstrapBlazor + FreeSql实战 Chart 图表使用(2)
- Using physical information neural network to solve hydrodynamics equations
- 数据库面试题+sql语句解析
- Record a bug caused by a line break
- kubernetes可视化界面dashboard
- MySQL之账号管理、建库以及四大引擎+案例
猜你喜欢

解决STC8G1K08程序不能运行的问题和端口配置

Kubernetes visual interface dashboard

巧记大小端字节序

Other service registration and discovery

ESP32-添加多目录的自定义组件

Statistical Hypothesis Testing

05 | 规范设计(下):commit 信息风格迥异、难以阅读,如何规范?

Solve the problem that only one line of text is displayed or not displayed in u8glib

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

Lwip之定时机制
随机推荐
“message“:“Bad capabilities. Specify either app or appTopLevelWindow to create a session“
从位图到布隆过滤器,C#实现
Central Limit Theorem
大白话高并发(一)
3線spi屏幕驅動方式
CPU的异常处理
Freescale 单片机概述
目前哪个证券公司炒股开户是最好最安全的?
idea 热启动失效解决方案
matlab数据类型 —— 字符型
JSON解析,ESP32轻松获取时间气温和天气
[UVM actual battle== > episode_3] ~ assertion, sequence, property
com. fasterxml. jackson. databind. exc.MismatchedInputException: Expected array or string. at [Source:x
温故知新--常温常新
These 10 copywriting artifacts help you speed up the code. Are you still worried that you can't write a copywriting for US media?
3 - wire SPI Screen Drive
如何写好测试用例以及go单元测试工具testify简单介绍
LeetCode 142. 环形链表 II
Lwip之ARP模块实现
kubeadm创建kubernetes集群