oh well … … it is 8 bit
stephen
I think this question has been posted before and the answer is “no” because its a totally different beast. As you know… just for starters its 8 bit not 32.
I know that those boards are even cheaper than the stm32, but there is really no point in using a STM32 8 bit device when there are perfectly usable 8 bit AVR devices for the same or cheaper price – which are already fully supported by the core IDE
unsurprisingly its not in cubemx either.
from my memories of avr, it looked rather weak in the data sheet.
i was following up something on esp8266’s, esp-14 is a combined device
adding extra on to an esp-12(+/12e?)
stephen
If you don’t like AVR you can look at TI MSP430 family and the Energia IDE that is like Arduino.
it popped out in an aliexpress search esp8266 based
i have a couple of nrf24’s with an attiny48 (i think) to provide an i2c interface, that struck me as
possibly useful. not as it turned out, lack of docs on interface.
stephen
I recently received several ESP-14 boards and could successfully program the onboard STM8S003F chip using an ST-Link V2 clone (Baite).
You need to connect the following Pins:
GND———–GND
M_VDD——–3.3V
M_VCAP——-has to be connected to M_VDD with a 470nF capacitor as near as possible to the pins
SWIM———-SWIM on ST_Link
M_NRST——-SWIM_RST on ST-Link
M_VDD——–3.3V, powers the ESP8266 if used
ST-Link V2 was updated to newest firmware V2.J25.S4 using STM32 ST-Link Utility V3.8.0 (works with most ST-Link clones).
I used STVP V3.3.7 to program the device (STM8S003F3) and Code::Blocks as IDE.
An introduction on how to set up Code::Blocks for STM8 can be found under
http://blog.podstuff.de/de/codeblocks-f … inrichten/
Gerhard
Thanks for the confirmation … I believe this may be the 1st successful use report on this board.
I have looked several times at the board, but so far have not purchased. Have you plans on how you intend to use the STM uC with the ESP?
Ray
Hello Ray, i intended to modify some remote switches and sensors that are currently operated on 868MHz and get them online.
Could probably be also done with the ESP-12 instead but i did not notice the differences between ESP-12 and ESP-14 until i received them
When i found the STM8S on the board i thought that maby i can use it for something. Dont know yet if i will though.
Gerhard
<…>
When i found the STM8S on the board i thought that maby i can use it for something. Dont know yet if i will though.
Gerhard
Just got the 8266 part working too…
It seems that Rx/Tx of the 8266 are connected to UART of the STM8S at 56kBaud.
Firmware of the 8266 is reported as:
AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
I will try to write some short test programms to establish direct communication between the two.
Will take probably till weekend at the current pace
Gerhard
My ESP-14 seems to use 8MBit flash so AT-firmware > v0.23 may be flashed:
Serial output after reset contains:
…
2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
…
Gerhard
Not directly relating to this, but I have just ordered a volt meter module from eBay which apparently uses a STM8 and for which someone has already written some firmware.
I’m trying to build a digital milliamp meter (with max of around 50mA) so I’m likely to be doing some STM8 development in the near future.
Well…, I may just be able to change the resistor values on the module. But ideally, I don’t idelly want to have to put in a large series resistor e.g. 100ohms to be able to read 30mA (so that the unit gets 3V for 30ma)
Not directly relating to this, but I have just ordered a volt meter module from eBay which apparently uses a STM8 and for which someone has already written some firmware.
I’m trying to build a digital milliamp meter (with max of around 50mA) so I’m likely to be doing some STM8 development in the near future.
Well…, I may just be able to change the resistor values on the module. But ideally, I don’t idelly want to have to put in a large series resistor e.g. 100ohms to be able to read 30mA (so that the unit gets 3V for 30ma)
I’ll see what it looks like when it arrives and how much I need to modify it
I’ve also ordered one of these

http://www.ebay.com/itm/Digital-Thermom … SwBahU98Ik
Which I’d like to modify as well, as ideally I’d like to rescale the meter so that it reads with about 20 deg as a moderate reading, i.e needle centred at about 20 deg.
However I cant see how it can be a dot matrix display for $4, so I presume a lot of it is part of the LCD and cant be changed, i.e the range texts
But again, I’ll see what comes in the post in a few weeks, and take it to bits (like I do with everything else)
ok so i completely missed the stm8 mention as i typed
‘hang a nrf24/ bluetooth/esp8266/stm32fnnn and relay info to somewhere.’
really worst case is cpu temp to web server running on that pc!
stephen
I’ll see what it looks like when it arrives and how much I need to modify it
I’ve also ordered one of these

http://www.ebay.com/itm/Digital-Thermom … SwBahU98Ik
Which I’d like to modify as well, as ideally I’d like to rescale the meter so that it reads with about 20 deg as a moderate reading, i.e needle centred at about 20 deg.
However I cant see how it can be a dot matrix display for $4, so I presume a lot of it is part of the LCD and cant be changed, i.e the range texts
But again, I’ll see what comes in the post in a few weeks, and take it to bits (like I do with everything else)
I dont know if that module has a thermostat in it. They dont mention it in the advert.
But like you say. Its best to take things to bigs as soon as you receive them.
I like the way that most stuff now just clips together, and I can prise it apart, somethings just using my thumbnail ![]()
I think it only got put into the post yesterday, so it will several weeks before it gets here
They have sanded off the markings on the chip, so I’ll need to double check if its an STM8 by looking at the various blogs about it.
Its a 14 pin DIL (SMD) device. The board is marked as DSN-DVM-568
I have a feeling this is not the STM8 based device, as its only 3 digits not 4 ![]()
I may still be able to use it, but it would be a shame if it was not one that I can reprogram .
viewtopic.php?f=45&t=768&start=20#p10006
Ray


