LCR_meter V1.2.7z
1023.6 KB
LCRmeter,
firmware, schematic and layout.
* It is recommended to edit i2c lib with the latest one. this one come with older version i2c lib with missing waiting before start.
Only L meter max 1000uH inductor. (if measured inductor core loss is too much (cheap inductor), connect another inductor in series if oscillator failed to start)
It can be modifed as C meter with the same oscillator.
How to calibrate constant:
1. Place an inductor with bigger value, 330uh to 1000uh (1mh) and measure it.
2. Turn constant potentiometer right or left until displaying correct value.
How to offset null:
1. Measure any small inductor (0.5uH to 2uH).
2. Turn offset pot to get correct displayed value.
keypad isn't really needed, its just already connected as before. project can be bulit without keypad attached.
edit: file replaced 2x
#LCRmeter #stm32f1
--------------------------------
This is older version, with bugs and less or missing discription. Use it only for reference.
firmware, schematic and layout.
* It is recommended to edit i2c lib with the latest one. this one come with older version i2c lib with missing waiting before start.
Only L meter max 1000uH inductor. (if measured inductor core loss is too much (cheap inductor), connect another inductor in series if oscillator failed to start)
It can be modifed as C meter with the same oscillator.
How to calibrate constant:
1. Place an inductor with bigger value, 330uh to 1000uh (1mh) and measure it.
2. Turn constant potentiometer right or left until displaying correct value.
How to offset null:
1. Measure any small inductor (0.5uH to 2uH).
2. Turn offset pot to get correct displayed value.
keypad isn't really needed, its just already connected as before. project can be bulit without keypad attached.
edit: file replaced 2x
#LCRmeter #stm32f1
--------------------------------
This is older version, with bugs and less or missing discription. Use it only for reference.
Ok, LCR project is usable, it may continued later when another setup is needed.
--------------------------------
--------------------------------
--------------------------------
--------------------------------
New project.
Murmer SMPS
-Low power (low noise)
-Zero current switching
-Overcurrent-free, both normal and abnormal operation, it is likely indestructible.
-Reverse polarity immunity.
(scroll down to view smps corrected schematic)
-Low cost, compared to above featured flyback.
-Suitable for low voltage input, with its input boost.
Peripheral brief:
*TIM1 generating repetitive fixed pulse (~5uS pulse) with variable period.
*ADC senses one of ouput voltage, and some codes maintain its closed loop.
#murmer_smps
Murmer SMPS
-Low power (low noise)
-Zero current switching
-Overcurrent-free, both normal and abnormal operation, it is likely indestructible.
-Reverse polarity immunity.
(scroll down to view smps corrected schematic)
-Low cost, compared to above featured flyback.
-Suitable for low voltage input, with its input boost.
Peripheral brief:
*TIM1 generating repetitive fixed pulse (~5uS pulse) with variable period.
*ADC senses one of ouput voltage, and some codes maintain its closed loop.
#murmer_smps
Murmer_STF103C8_V009d.7z
574.8 KB
#murmersmps (back to smps)
In low power, Id is lower, 100mA or less with 150mW output, its low noise.
Yellow is Id, blue is Vds+Vd
In low power, Id is lower, 100mA or less with 150mW output, its low noise.
Yellow is Id, blue is Vds+Vd
MurmerSMPS_V1.0_learning_version.7z
1.8 MB
Murmer SMPS, firmware, schematic, pictures.
Simple 5v version of murmer SMPS, how to version.
Simplified schematic, simplified code and simpler control loop.
Safer project to learn smps, if soldered correctly nothing will burn or blow up while anything happened in the software or acid poured accidently.
CANbus transmit brust, and bme280 is still present, just comment these in main.c to disable them.
#stm32f1
for #atollic (true studio 9.3)
--------------------------------
This is older version, with bugs and less or missing discription. Use it only for reference.
Simple 5v version of murmer SMPS, how to version.
Simplified schematic, simplified code and simpler control loop.
Safer project to learn smps, if soldered correctly nothing will burn or blow up while anything happened in the software or acid poured accidently.
CANbus transmit brust, and bme280 is still present, just comment these in main.c to disable them.
#stm32f1
for #atollic (true studio 9.3)
--------------------------------
This is older version, with bugs and less or missing discription. Use it only for reference.
Atollic feb 20 2024.7z
485.1 KB
Stm32f103c6t6 atollic template.
+ background scheduled task
+ multiple rotary encoders
+ keypad+7segments.
+ rewrited more files, it is getting easier to start project with configuration files.
#stm32f1 stm32f103c6, (SDK v0.1.5)
for #atollic (true studio v9.3)
--------------------------------
This is older version, with bugs and less or missing discription. Use it only for reference.
+ background scheduled task
+ multiple rotary encoders
+ keypad+7segments.
+ rewrited more files, it is getting easier to start project with configuration files.
#stm32f1 stm32f103c6, (SDK v0.1.5)
for #atollic (true studio v9.3)
--------------------------------
This is older version, with bugs and less or missing discription. Use it only for reference.
murmer SDK v 0.1.7 in my project.7z
930 KB
SDK1 v 0.1.7 on eclipse IDE
This SDK makes my project finished alot faster and simpler than SPL.
I just shared it here. just grab it, its free.
Some functions are deleted, but SDK and main.c is originally as is if canbus is needed, you can just edit them.
#CANbus (example)
#stm32f1 (F103x6)
#gd32 (F303xC)
for #eclipse (v4.30)
--------------------------------
This is older version, with less or missing discription. Use it only for reference.
This SDK makes my project finished alot faster and simpler than SPL.
I just shared it here. just grab it, its free.
Some functions are deleted, but SDK and main.c is originally as is if canbus is needed, you can just edit them.
#CANbus (example)
#stm32f1 (F103x6)
#gd32 (F303xC)
for #eclipse (v4.30)
--------------------------------
This is older version, with less or missing discription. Use it only for reference.
Murmer SDK v 0.1.8 GD32 USART queue.7z
694.2 KB
SDK1 v 0.1.8
with new project PIN to USART converter.
* USART + DMA + queue in GD32F103C8T6
* bugfix i2c timeout
Suitable for low baud AT command, canbus to serial converter, and similar.
Queued TX is non blocking and doesn't need to wait USART activity finished to send another, even if sending very long string at baud 2bps it won't affect main task performance with queued DMA.
for #eclipse (v4.30)
#USART (example)
#EXTI (example)
#GD32 (gd32f103 gd32f303)
--------------------------------
This is older version, with less or missing discription. Use it only for reference.
with new project PIN to USART converter.
* USART + DMA + queue in GD32F103C8T6
* bugfix i2c timeout
Suitable for low baud AT command, canbus to serial converter, and similar.
Queued TX is non blocking and doesn't need to wait USART activity finished to send another, even if sending very long string at baud 2bps it won't affect main task performance with queued DMA.
for #eclipse (v4.30)
#USART (example)
#EXTI (example)
#GD32 (gd32f103 gd32f303)
--------------------------------
This is older version, with less or missing discription. Use it only for reference.
eclipse 4.33 windos intel x86_64.7z
336.3 MB
Pre configured eclipse IDE for windows with intel 32 or 64bit cpu.
Download additional eclipse workspace from other post, run eclipse, set the workspace, rebuild index, and debug your devboard using stlink clone (swdio/swdclk).
For different platform, linux, mac, arm or amd,, configuration set of gcc, make, and open ocd can still be copied from the zip. to the other platform eclipse.
#eclipse_IDE portable (v4.33)
Download additional eclipse workspace from other post, run eclipse, set the workspace, rebuild index, and debug your devboard using stlink clone (swdio/swdclk).
For different platform, linux, mac, arm or amd,, configuration set of gcc, make, and open ocd can still be copied from the zip. to the other platform eclipse.
#eclipse_IDE portable (v4.33)
eclipse-workspace july 31 2025.7z
851.7 KB
Workspace with stm32f030f4p6 empty project.
(syntax coloring is best for consolas 10pt font, or source code pro, if 10pt is too small, but SCP isn't as good as consolas)
Stm32f0xx SPL from the past is included in the library (device folder) to cover any unfinished peripheral config and drivers.
for #eclipse (v4.33)
#stm32f1 (SDK1 v0.1.9)
#gd32 (gd32f303)
#stm32f030 (SDK2 v0.0.1)
#CANbus (practical cheatsheet)
SDK1 is ended and will slowly copied to SDK2.
(syntax coloring is best for consolas 10pt font, or source code pro, if 10pt is too small, but SCP isn't as good as consolas)
Stm32f0xx SPL from the past is included in the library (device folder) to cover any unfinished peripheral config and drivers.
for #eclipse (v4.33)
#stm32f1 (SDK1 v0.1.9)
#gd32 (gd32f303)
#stm32f030 (SDK2 v0.0.1)
#CANbus (practical cheatsheet)
SDK1 is ended and will slowly copied to SDK2.
eclipse-workspace aug 24 2025.7z
1.1 MB
SDK2 v0.0.2.
Added suport for GD32F303xC and AT32F403AxG to SDK2.
some new fast config also available for simple rapid development or learning with simplicity.
AT32 debug with stlink is not possible, except with custom build openOCD, and linux is a pain for me. if you can build it, stlink can be used.
Anyway, binary file can still be downloaded to AT32 using serial via boot pin selection.
for #eclipse (v4.33)
#gd32f303 (xC)
#at32 (F403AxG)
#stm32f030 (f4p6)
Added suport for GD32F303xC and AT32F403AxG to SDK2.
some new fast config also available for simple rapid development or learning with simplicity.
AT32 debug with stlink is not possible, except with custom build openOCD, and linux is a pain for me. if you can build it, stlink can be used.
Anyway, binary file can still be downloaded to AT32 using serial via boot pin selection.
for #eclipse (v4.33)
#gd32f303 (xC)
#at32 (F403AxG)
#stm32f030 (f4p6)
SDK2_FAST_CONFIG.png
180.2 KB
Some fast config added and I need to test it first.
It did help alot avoid writing too much code and mistakes.
attached is canbus fast config.
It did help alot avoid writing too much code and mistakes.
attached is canbus fast config.