Electronics Lab Philippines

STM32 Tutorial

Offline motion55

  • *****
  • 3169
  • 520
  • Gender: Male
  • Been at this longer than you've been alive.
Re: STM32 Tutorial
« Reply #240 on: August 23, 2019, 12:22:58 PM »
^^^Aling  STM32F767ZI development board in-order? May murang Nucleo board sa Lazada. Walang LCD pero may Ethernet.

https://www.lazada.com.ph/-i140718486-s159922979.html

For the Spartan 6 mayroon din sa Lazada.

https://www.lazada.com.ph/products/new-xilinx-fpga-spartan6-spartan-6-development-board-xc6slx16-core-board-with-32mb-sdram-micron-mt48lc16m16a2-intl-i119668094-s124295204.html

As for stepper motor control, naka gamit na ako ng mga STM products. The last one was the L6470. Pero I won't be using those in the future.  The hotest drivers these days are from a German company Trinamic. Kung gusto mong mag try ng Trinamic drivers, buy one of these:

https://www.lazada.com.ph/-i304982850-s564674829.html

"Set your mind free!"

Re: STM32 Tutorial
« Reply #241 on: August 25, 2019, 05:49:44 PM »
Yung company namin sir Motion ay mas prefer bumili sa mouser or digikey.
Ito yung ini-order ko, bit.ly/2KVK9kV

I was looking at Trinamic since the time you mentioned it and I totally agree with you they have amazing products.
So interested on this one, bit.ly/2HlvnS8, can drive 3 steppers already with connections to encoders and limit/homing sensors.
Just making sure first if I can send TMCL commands to it using SPI or RS232.
Although there is an example for it here, bit.ly/2ZqawTR.

Maraming salamat po sir Motion for pointing me to the right direction.

Re: STM32 Tutorial
« Reply #242 on: September 24, 2019, 11:57:01 AM »
Finallly!

http$://ibb.co/txK8Wpz
http$://ibb.co/TBTbvgF

Offline motion55

  • *****
  • 3169
  • 520
  • Gender: Male
  • Been at this longer than you've been alive.
Re: STM32 Tutorial
« Reply #243 on: November 06, 2019, 12:45:36 PM »
Do you need a touch screen GUI display for your prejects? Share ko lang isang quick option.



These cheap displays are available from BigTreeTech. TFT24 V1.1 and TFT35 V2.0 respectively are normally used for 3D printers and communicate serially to the host via G code commands. But there is no stopping you from repurposing them for any project.  There is a larger version of the TFT24 and it's called the TFT35 V3.0.

The TFT touch screens are open code source and can be downloaded from here. https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware

Use PlatformIO (Atom or VisualStudio Code) to build the firmware. The firmware is loaded to the board by copying the binaries to an SD card. There is an STM32 ARM SWD port to directly flash a custom firmware but that will overwrite the custom bootloader. The source code of the bootloader is not available sa make a backup of the flash image first.

BTW, they use STM32 microcontrollers.
"Set your mind free!"

Offline congressman

  • ****
  • 4772
  • 324
  • Gender: Male
Re: STM32 Tutorial
« Reply #244 on: November 12, 2019, 09:37:59 PM »
balita ko me bago nyan si sis Dandy. antay ko tutorials nyan. hehe
Peace!

Offline motion55

  • *****
  • 3169
  • 520
  • Gender: Male
  • Been at this longer than you've been alive.
Re: STM32 Tutorial
« Reply #245 on: March 26, 2020, 10:47:41 AM »
#ProjectShare
 
In this lockdown period, I am fortunate to continue working from my home office. Here is my current project. I designed my own HMI display inspired by the displays from Bigtreetech. If they can produce displays that cheap then I should be able to design one that has more oomph with a much larger budget.

My design uses one of the latest ARM STM32 MCUs. I am using the STM32H743ZI. The cost of these chips are not much different from the older STM32F7xx series. These MCU's have a built-in LCD controller aka LTDC. However, I chose not to use it because the TFT LCD display that I have and that was recommended for use has its own SSD1963 controller.  I also chose not to add an external SDRAM memory because I thought it would complicate the design and from my arithmetic, the internal RAM was just enough for the 800x480 pixel display. Was I wrong but more on that later. I had reason to be confident. The BTT display did not have external memory except for SPI flash to store bitmaps, fonts, etc. I added those to my design too.

The second strategy is to use the TouchGfx GUI designer that became free recently when using STM32 products. This allowed another person to work on the GUI.  So pics muna.

TouchGfx Designer:


First prototype:


There is a long learning curve to make this work. TouchGfx documentation is sparse and still evolving. Ask me any questions and I will try my best to help.
"Set your mind free!"

Offline PlCUSER

  • **
  • 2447
  • 182
Re: STM32 Tutorial
« Reply #246 on: April 23, 2020, 09:55:38 PM »
san mo po na score yung ganyang lcd sir motion?

Offline motion55

  • *****
  • 3169
  • 520
  • Gender: Male
  • Been at this longer than you've been alive.
Re: STM32 Tutorial
« Reply #247 on: April 25, 2020, 09:28:20 AM »
^^^Galing sa BuyDisplay.com.

With Capacitive touchscreen.

https://www.buydisplay.com/7-tft-screen-touch-lcd-display-module-w-ssd1963-controller-board-mcu

Swerte at dalawa pa dumating with the 2nd gen prototype display board and also a main board to complete the design. Sent via DHL from Korea last week.

The difference between the 1st gen and the 2nd gen is instead of flash memory in SPI mode, naging QSPI. Not only is the access faster, but also the flash memory can be mapped into the address space of the STM32 MCU. Graphics data can be seamlessly incorporated.
"Set your mind free!"

Offline motion55

  • *****
  • 3169
  • 520
  • Gender: Male
  • Been at this longer than you've been alive.
Re: STM32 Tutorial
« Reply #248 on: April 25, 2020, 04:31:59 PM »
Bottom view of the display.

"Set your mind free!"

Offline PlCUSER

  • **
  • 2447
  • 182
Re: STM32 Tutorial
« Reply #249 on: May 01, 2020, 04:40:41 PM »
thanks sir motion. mas mura nga.

Offline motion55

  • *****
  • 3169
  • 520
  • Gender: Male
  • Been at this longer than you've been alive.
Re: STM32 Tutorial
« Reply #250 on: May 23, 2020, 04:25:50 PM »
The other half of the project.

"Set your mind free!"