Author Topic: Which LCD for STM8S103F3P6?  (Read 552 times)

0 Members and 1 Guest are viewing this topic.

Offline Ram80Topic starter

  • Contributor
  • Posts: 37
  • Country: gb
Which LCD for STM8S103F3P6?
« on: May 09, 2024, 06:32:48 pm »
Very new to this but learning all the time.

So far I've ordered a

STM8S103F3P6 dev board
Stlink v2
Piezoelectric speaker

I need an LCD that's compatible with these parts, would the esp32 be compatible, if not could you recommend a cheap LCD?

 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4331
  • Country: nl
Re: Which LCD for STM8S103F3P6?
« Reply #1 on: May 09, 2024, 06:40:23 pm »
The ESP32 is not a liquid crystal display but another micro controller.

What you need is a display with either an I2C interface or an SPI connection. Something like what you can find here.


Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4331
  • Country: nl
Re: Which LCD for STM8S103F3P6?
« Reply #3 on: May 09, 2024, 07:46:42 pm »
Or something like this?

https://www.ebay.co.uk/itm/192416664927?mkcid=16&mkevt=1&mkrid=711-127632-2357-0&ssspo=uJzmVqJfSJa&sssrc=4429486&ssuid=reXr6R74Rj-&var=&widget_ver=artemis&media=COPY

Yep that will work too. Is the same as on Aliexpress here. The ones with the adapter. The other ones are interfaced via a parallel bus and need a minimum of 6 data/clock connections versus only 2 for I2C. (With power and ground it is 8 versus 4)

Offline Ram80Topic starter

  • Contributor
  • Posts: 37
  • Country: gb
Re: Which LCD for STM8S103F3P6?
« Reply #4 on: May 09, 2024, 08:42:03 pm »
Thanks.

You know the LCD's you see on gadgets like cheap digital Chinese clocks or digital calipers, or digital tire pressure gauge gets, are these above LCD's what they would likely use, it's just they look much more basic and bare bones?
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4331
  • Country: nl
Re: Which LCD for STM8S103F3P6?
« Reply #5 on: May 10, 2024, 06:27:53 am »
No those are mostly black on white (ish) displays and might not have back light either. They often also need a separate controller that is integrated into the chip used to make the cheap devices you mentioned.

A question for you, why did you go for the STM8S103F3P6 and not a 32 bit version like the STM32F103C8 as on the bluepill board or even an Arduino nano  These are supported by the Arduino platform and have far more examples for them out there on the web.  :-//

Offline aliarifat794

  • Regular Contributor
  • *
  • !
  • Posts: 138
  • Country: bd
 

Offline Ram80Topic starter

  • Contributor
  • Posts: 37
  • Country: gb
Re: Which LCD for STM8S103F3P6?
« Reply #7 on: May 10, 2024, 08:10:11 am »
Because my goal is to make super cheap, well I don't think the stm32 is much more pricey than the 8 literally maybe $1 more and I may still use it but I only need to run a buzzer and basic LCD.

I'm basically cloning a gadget (patent expired) with the hope to sell a few units, a bit of passive income if you like hence I want to keep costs as low as possible, the stm8 seems the cheapest MC that has enough features to do this.
 

Online xvr

  • Frequent Contributor
  • **
  • Posts: 420
  • Country: ie
    • LinkedIn
Re: Which LCD for STM8S103F3P6?
« Reply #8 on: May 10, 2024, 04:23:36 pm »
Quote
the stm8 seems the cheapest MC that has enough features to do this.
Hm. Some Chinese MCUs are much cheaper, and have quite enough power and information for them.
For example: WCH CH32V003J4M6 (RISC-V, 8 pin SOIC package) 0.18 euro on LCSC
https://wch-ic.com/products/categories/47.html?pid=5#
https://www.lcsc.com/search?q=CH32V003
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf