This post was last edited by Isolated Proton on 2018-6-16 20:20 I. Introduction I have been following microPython for a while, and I have always used ESP8266 boards. This time, D University released the second-generation board, which is the official mother route. It is cheap and the quantity is sufficient, so I decisively placed an order and got one. I got it today and hurried to try it out II. Appearance & Workmanship
It was packed in a courier paper bag + foam bag when it was sent. After taking it out, it is the following: motherboard + super capacitor + electrostatic bag, where the super capacitor is used as RTC. According to D, it can ensure that information is not lost for 2~3 days. It feels like a good solution, much better than the previous rechargeable NiMH or disposable solutions. I learned a lot~~~
PS: Let me do the math for you: double-sided PCB (blue solder mask) + STM32F405RG + winband 8M FLASH + TDK crystal oscillator + MMA7660FC acceleration sensor + countless "golden" capacitors (everyone knows the recent market) + machine welding + shipping is only 59! Only 59! The design fee has not been calculated yet. D really uses his love to generate electricity~~~
(Front view of the board)
(Back view of the board)
3. Computer environment configuration (win side) & precautions (see ②)
First of all, the configuration environment of the board is very simple, which is almost equivalent to no environment at all. The following content can be ignored by the big guys (if there are problems with the installation, see ②)
The official provides several programming methods, I only use two:
- Online programming, i.e. REPL prompt (implemented through virtual serial port + serial port software)
- Solidification program (stored through virtual disk)
The following only explains 1, 2 is not mentioned... ① Plug in the board, you will see the following initial state: (My computer will add a virtual disk to store programs)
②Install the serial port driver: (Open the virtual disk and find the file in the red box, which is the driver description file)
Go back to the device manager to install it Note here:For computers with win10 & win8.1, you need to disable the forced driver signature (search on Baidu), otherwise the driver cannot be installed, as shown in the figure below: After successful installation: (Shows successful installation)
(Displays normal in Device Manager)
③Install terminal software such as Tera Term or Putty I used the officially recommended Tera Term After the installation is complete, the serial port settings are as shown below (click to see the larger image): (Here you can see that compared to the EPS8266 version, MPY has more complete functions and is more complete. After all, it is my own son_(:з」∠)_)
In this way, you can use Tera Term to perform REPL prompt (online programming) on the board to debug the program in real time~~~ Fourth, Postscript I have said everything that should be said. The formatting is not very good, which may not be clear to novices. Time is too tight, so everyone can make do with it. The links to the corresponding software and official manuals will be provided to everyone later
This content was originally created by EEWORLD forum user Isolated Proton. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source