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?
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.
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?
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.
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.