2024

uLab: MicroPython Firmware with uLab for ESP32

Github: https://github.com/v923z/micropython-builder/releases/tag/latest Update ESP build (#31) * Update esp_idf version to 5.0.4 * Use m...

Muchao 5 Dec, 2024

"Instrumentation and measurement": ADC and Timer

1. API Function for adc import time from machine import Pin, ADC # using pin 26 adc = ADC(Pin(26)) # get the adc value # resolutions:12 bit...

Muchao 22 Nov, 2024

“Instrumentation and measurement” Micropython: 1st step

1. Download and Install "Thonny" Software Download:  https://thonny.org/ Version: 4.1.6 2. Configuration for MicroPython (1) View...

Muchao 22 Nov, 2024

"Instrument and Measurement" Arduino

1. Download and install Arduino: Arduino IDE 2.3.3 . 2. Build esp32 environments.  (1)File--Preferences--Additional board manager URLs: http...

Muchao 14 Nov, 2024

Juypter Notebook使用记录

1. Anaconda安装 Anaconda安装-超详细版(2023) jupyter notebook配置及运用 2. 更改juypter noteboook的启动路径 Anaconda 下更改 Jupyter notebook 默认启动路径

Muchao 5 Sep, 2024

Labelme Seg2 - meter range, unit and type

使用Labelme标注仪表类型、单位和量程 1. Labelme安装,使用Anaconda安装。 创建python虚拟环境,安装labelme: conda create --name=labelme python=3 conda activate labelme pip ins...

Muchao 5 Sep, 2024

STM32-Arduino 1-Basic

1. 准备工作 (1)STM32F103C8T6蓝色系统板; (2)USB转TTL模块; (3)软件准备: Arduino IDE: https://www.arduino.cc/en/Main/Software STMicroelectronics : https://www...

Muchao 21 Aug, 2024

PaddleDetection安装(CPU和GPU) 一、CPU版本 1. 新建pycharm工程; 2. 安装paddlePaddle “ python -m pip install paddlepaddle==3.0.0b1 -i https://www.paddlepad...

Muchao 18 Aug, 2024

CUDA and cuDNN

PaddleDetection环境要求CUDA>=10.1, cuDNN>=7.6 1. CUDA下载和安装 版本:NVIDIA control panel --> 选择左下角系统信息 --> 组件 此处,电脑显卡最高支持cuda 11.0.228版本 ...

Muchao 17 Aug, 2024

Pycharm/Python: 使用技巧

1. Pycharm中Matplotlib图像不显示(Pycharm社区版) #添加plt.show() # 可视化图片 from matplotlib import pyplot as plt plt.imshow(img[0]) plt.show() 2.

Muchao 9 Aug, 2024

Paddlapaddle: Project2: Handwritten Digit Recognition

This task is the "Hello world" in deep learning, which is used to classify ten types of numbers from 0~9, that is, the image of h...

Muchao 9 Aug, 2024

Arduino: Connecting to Programmer Message? 1. Verbose Messages: how to turn it off? (1) Select File --> Preferences from the Arduino ID...

Muchao 5 Jul, 2024

Paddlapaddle: Project1: hello Paddle

1. New Project Interpreter Type: virtual environment 2. Ordinary program VS Machine Learning The biggest difference between machine learnin...

Muchao 28 Jun, 2024

Pycharm: Virtual Environment

Version:  Pycharm 2024.1.4 Python 3.11.9 The Python project relies heavily on libraries. To manage various projects and versions, it is reco...

Muchao 27 Jun, 2024

复合材料建模参数

[1] Huo, H., et al. (2021). "A Bayesian fusion method for composite damage identification using Lamb wave." Structural Health Mon...

Muchao 30 Apr, 2024

Charge Amplifier

For dc component, $C_1$ and $C_T$ can be considered as open circuit. Then, $$\frac{V_o}{V_i} = \frac{10^8 + 10k}{10^8} = 1.0001 $$ $$gain ...

Muchao 24 Apr, 2024

Equivalent Circuit of a Piezoelectric component

1. Piezoelectric component When a piezoelectric component is subject to force, equal amounts of opposite charges are generated on its two e...

Muchao 24 Apr, 2024

Abaqus - Basic

1. Units 量纲 Dimension 单位Units Kg-m-s 单位Units Kg-mm-s 单位Units T-mm-s-Mpa 单位Units g-mm-s 长度$L$ $m$ mm = $\rm 10^{-3} m$ mm = $\rm 10^{-3} m$...

Muchao 23 Apr, 2024