Which LCD for STM8S103F3P6? - Page 1
Forum section: electronics / beginners

author: Ram80
author_rank: Contributor
timestamp: May 09, 2024, 06:32:48 pm
content: Very new to this but learning all the time.So far I've ordered aSTM8S103F3P6 dev boardStlink v2Piezoelectric speakerI need an LCD that's compatible with these parts, would the esp32 be compatible, if not could you recommend a cheap LCD?

author: pcprogrammer
author_rank: Super Contributor
timestamp: May 09, 2024, 06:40:23 pm
content: 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 findhere.

author: Ram80
author_rank: Contributor
timestamp: May 09, 2024, 07:24:36 pm
content: 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

author: pcprogrammer
author_rank: Super Contributor
timestamp: May 09, 2024, 07:46:42 pm
content: Quote from: Ram80 on May 09, 2024, 07:24:36 pmYep that will work too. Is the same as on Aliexpresshere. 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)

author: Ram80
author_rank: Contributor
timestamp: May 09, 2024, 08:42:03 pm
content: 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?

author: pcprogrammer
author_rank: Super Contributor
timestamp: May 10, 2024, 06:27:53 am
content: 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.

author: aliarifat794
author_rank: Regular Contributor
timestamp: May 10, 2024, 06:36:07 am
content: 16x2 LCD display will do.https://circuitdigest.com/microcontroller-projects/interfacing-16x2-lcd-display-with-stm8-microcontroller

author: Ram80
author_rank: Contributor
timestamp: May 10, 2024, 08:10:11 am
content: 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.

author: xvr
author_rank: Frequent Contributor
timestamp: May 10, 2024, 04:23:36 pm
content: QuoteHm. 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 LCSChttps://wch-ic.com/products/categories/47.html?pid=5#https://www.lcsc.com/search?q=CH32V003