当前位置:网站首页>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 baud
You 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 .
边栏推荐
- Lorsque le transformateur rencontre l'équation différentielle partielle
- matlab数据类型 —— 字符型
- idea 热启动失效解决方案
- Employment prospect of GIS and remote sensing specialty and ranking selection of universities in 2022
- 超越锂电池——未来电池的概念
- Oracle database basics concepts
- “message“:“Bad capabilities. Specify either app or appTopLevelWindow to create a session“
- Skills needing attention in selection and purchase of slip ring
- 接口测试框架实战(一) | Requests 与接口请求构造
- JSON解析,ESP32轻松获取时间气温和天气
猜你喜欢
LeetCode 142. Circular linked list II
Oracle 數據庫基本知識概念
Lambda expression
When transformer encounters partial differential equation solution
用代码生成流程图,Markdown的使用方法
com.fasterxml.jackson.databind.exc.MismatchedInputException: Expected array or string. at [Source:x
墨者学院-SQL注入漏洞测试(报错盲注)
Moher College -x-forwarded-for injection vulnerability practice
ESP32-添加多目录的自定义组件
07 | 工作流设计:如何设计合理的多人开发模式?
随机推荐
Lambda expression
大白话高并发(一)
网上开通证券账户安全吗 手机炒股靠谱吗
论文解读(LG2AR)《Learning Graph Augmentations to Learn Graph Representations》
About Random Numbers
Sword finger offer 10- ii Frog jumping on steps
剑指 Offer 10- II. 青蛙跳台阶问题
XML learning notes
07 | workflow design: how to design a reasonable multi person development mode?
How to control the quality of HD slip ring in the production process
数字格式化的 js 库
如何通俗易懂的描述机器学习的流程?
Is it safe for CITIC Securities Commission to open an online account and speculate in stocks
3-wire SPI screen driving mode
运用物理信息神经网络求解流体力学方程
滑环安装有哪些技巧和方法
Special topic II on mathematical physics of the sprint strong foundation program
直播回顾 | 子芽&CCF TF:云原生场景下软件供应链风险治理技术浅谈
Is there anyone who doesn't know the three cores of concurrent programming?
Ten thousand words explanation - mindarmour Xiaobai tutorial!