Download Latest Version RadSTM32_Update2.zip (288.7 kB)
Email in envelope

Get an email when there's a new version of RadAsm30

Home / RadSTM32 / Projects / LCD_1.8Inch_MultiTool
Name Modified Size InfoDownloads / Week
Parent folder
LCMScopeWaveDVM.zip 2024-03-24 6.3 MB
ReadMe.txt 2024-03-24 4.3 kB
Totals: 2 Items   6.3 MB 3
Bugfixes and improvements v1.1:
-------------------------------
Logic analyser.
Added bit values and time offset.

Wave generator.
50Hz to 50KHz in 1, 2, 5 steps.

Digital Oscilloscope.
Fixed bugs on ranges 5us / div to 10ns / div.

Specifications v1.1:
--------------------
LCMeter.
o Capacitor: 1pF to 1uF
o Inductor: 1nH to 100mH
o Accurancy: 1%

Voltmeter.
o +/- 0 to 19.99 volts
o Accurancy: 1% (depends on MCU 3V3 regulator).

Logic analyser.
o 4 bits
o Trigger on any bit level combination.
o Sample buffer up to 15K
0 Sampling rate 1Hz to 20MHz

Wave generator.
o Sine, Triangle Squear, Sawtooth and Reverse Sawrooth.
0 50Hz to 50KHz in 1, 2, 5 steps.
o 250mV to 3V Vpp output.

PWM Outut.
o 1Hz to 26.67MHz.
o Resolution: Any frequency that can be obtained by
  dividibg the 80MHz clock.
o Ouput: 3V.

DDS Squear wave.
o 1Hz to 999999Hz
o Resolution: 1Hz
o Ouput: 3V.

Digital Oscilloscope.
o Bandwidth (-3db) 10MHz
  1.5MHz for 20mV, 50mV and 100mV / div ranges.
o Pre trigger
o Auto. Analyses input and auto adjust settings.
o Trigger on rising / falling edge.
o Single shot 9K buffer.
o AC/DC selection.
o 20mV to 2V / div in 1, 2, 5 steps
o 10nS to 500mS / div in 1, 2.5, 5 steps
o Horisontal, Vertical and Triiger position settings.
o 15 MHz Frequency counter.


Where to get the parts.
-----------------------

STM32F103C8T6 (Bluepill) MCU:
-----------------------------
https://www.aliexpress.com/item/1005003880238896.html

1.8 inch LCD:
-------------
https://www.aliexpress.com/item/1005004553437723.html

B0505S-1W Voltage converter:
----------------------------
https://www.aliexpress.com/item/1005003071626685.html

Push buttons:
-------------
https://www.aliexpress.com/item/32900722317.html

Reed relays:
------------
https://www.aliexpress.com/item/1005002955329460.html

Relay DPDT 5V:
--------------
https://www.aliexpress.com/item/4001077712819.html

Electrolytic capasitors kit:
----------------------------
https://www.aliexpress.com/item/32994162214.html

Capacitors kit:
---------------
https://www.aliexpress.com/item/33007220515.html

40pF trimmer capacitor:
-----------------------
https://www.aliexpress.com/item/4000222152928.html

Resistor kit:
-------------
NOTE: Does not contain all the needed values.
https://www.aliexpress.com/item/33004978023.html

TLE2072, TL074, TL712 and LM311:
--------------------------------
https://www.mouser.com

Other parts:
------------
1   1.0 uF film capacitor
2   1.0nF film capacitor 1%
2   47uF tantal capacitor
4   22uf tantal capacitor
1   10uf tantal capacitor
1   680K metal film resistor 1%
1   180K metal film resistor 1%
1   120K metal film resistor 1%
1   82K metal film resistor 1%
1   820 ohm metal film resistor 1%

https://www.mouser.com


OP amp offset and PWM output error correction.

Digital voltmeter:
------------------
Short the inputs.
If you dont get a 0.00V reading the offset must be corrected.

If the OP amp and PWM has no error
#define DVM_OFFSET_ERR 2048
If you have a positive reading, decrace the value.
If you have a negative reading, incrace the value.

TIP:
First program the device with the value 2048.
If you get a reading of 0.34 then subtract 34 from 2048
and reprogram the device.

NOTE:
The accurancy of the voltmeter is dependent on the 3.3 volts
regulator. If you have more than one STM32F103C8T6 then choose
the one closest to 3.3V.

Digital oscilloscope:
---------------------
Short the inputs.
If the wave line is not in the middle the offset must be corrected.

If the OP amp amd PWM has no error
#define SCP_OFFSET_ERR 0
If the line is above middle, decrace the value.
If the line is below middle, incrace the value.

Overshot / undershot adjustment.
Select CAL.
Connect the probe to DDS wave out (PC13).
Adjust the 40pF variable capacitor until you cet a flat top.

              |\_____
Overshot      |
              |

                _____
               /
Undershot     /
              |

               ______
              |
OK            |
              |


LC Meter:
---------
Leave inputs unconnected.
Select Calibrate and change LCM_F1 and LCM_F2.
#define LCM_F1 494572
#define LCM_F2 352336

Source: ReadMe.txt, updated 2024-03-24