News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

RadASM 3.0.1.0 for STM32F103C8T6 MCU (Blue Pill)

Started by KetilO, August 05, 2022, 06:32:47 PM

Previous topic - Next topic

KetilO

#15
Some time ago I bouth a 4.0 inch LCD panel on eBay.
The panel has the ST7796 driver chip.
More info at: http://www.lcdwiki.com/4.0inch_SPI_Module_ST7796

I finally found the time to test it.
Included is the source code and how to connect it to the STM32F103C8T6 (Blue Pill) .
An image is also included.

KetilO

KetilO

#16
Same as abow but for the STM32F401 (Black Pill).
It shouldl also work with the STM32F411 (Black Pill).

I will for shure create somthing useful with this MCU / LCD.

KetilO

KetilO

#17
Educational experiments tool version 2.
-----------------------------
What you need:
Breadboard and wire jumpers
STM32F401 and ST-Link programmer
4.0 inch SPI LCD panel  with ST7796 controller
Capacitors:
1 x 47uF electrolye
2 x 10nF
1 x 1nF
1 x 330pF
Resistors:
1 x 68K
1 x 33K
1 x 22K
2 x 18K
4 x 10K

What you can build:
-------------------
Digital oscilloscope
Waveform generator
High speed clock generator
Frequency counter
Voltmeter
Ohm-meter (measure resistors)
Capistance-meter (measure capacitors)
Inductance meter (measure inductors)
Diode tester
Transistor tester, auto detect NPN / PNP
+ your own inventions

KetilO

KetilO

Abowe post has been updated to version 2.

New experiments to try:

Inductance meter (measure inductors)
Diode tester
Transistor tester, auto detect NPN / PNP


KetilO

KetilO

SimCadAddin bugfix.

Unzip SimCadAddin.zip to C:\RadSTM32\Addins

Version 1.0
-----------
Initial release.
Version 1.1
-----------
o Fixed bug where adding a symbol did not work as it should.
o It is now possible to have more than one cad file open.

KetilO

Raistlin

VERY VERY Cool KetilO, this project is awesome  :thumbsup:
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

KetilO

#21
Educational experiments tool version 3.

Version 3      2023-01-16 Bugfix
                    Fixed bug in LCD.c LCD_WR_REG where
                  the program could hang in this function.
                  Speed optimized LCD.c LCD_DrawIcon.
                  Changed main.c SysTick handler to generate
                  interrupt every second.

The above posts download and Sourceforge  has been updated.

KetilO

bluedevil

Hello Ketil;
Does the driver IC matters while using 4.0" lcd screen? For example can I use ILI9486 with your sources?
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github

bluedevil

How much volts you need for reed relays: 5V, 12V or 24V
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github

KetilO

Hi

"Does the driver IC matters while using 4.0" lcd screen? For example can I use ILI9486 with your sources?"
No, the LCD.c file needs to be modified to match the  ILI9486 .

"How much volts you need for reed relays: 5V, 12V or 24V"
5V

KetilO

KetilO

Hi,

I am currently working on a project using the STM32F103 (blue pill) where you connect
it to yor PC via USB. The PC will then replace the LCD screen.

Included are all the sources for this early version.

KetilO

zedd151

Quote from: KetilO on January 26, 2023, 01:34:18 AM...
I am currently working on a project using the STM32F103 (blue pill) where you connect
it to yor PC via USB. The PC will then replace the LCD screen...

Sounds like an outstanding project. Makes me want to get back into making electronics projects of my own again...  :biggrin:

bluedevil

Ketil; thank you for your answers.

I have questions on the semi-conductors: TLE2072, TL074, TL712 and LM311. You have mentioned the base names but did not share the exact names. There are several postfixes for those transistors; like: TLE2072ACP, TLE2072IP, TLE2072CP and goes on...

I have found these on Al-i-express; are those compatible?

TL074CN
LM311DR
TLE2072CP
TL712CP

Or can you share the full names(including postfixes) of transistors. Thank you.
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github

KetilO

Hi bluedevil

The only important thing is that it is a PDIP package and not the SOIC.
Some postfixes are for ceramic or plastic and lead free

Example:
TLE2072CP (PDIP-8) - OK
LE2072ACPE4 (PDIP-8 lead free) - OK
TLE2072IDR (SOIC 8)- Surface mount, not ok

KetilO




bluedevil

OK Ketil, taking into account your directions, I am go─▒ng to buy those semiconductors:

TL074CN
LM311P
TLE2072CP
TL712CP

I understand that these are compatible for your projects.
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github