STM8S003F3P6 – esp8266 esp-14

zmemw16
Fri Nov 13, 2015 8:21 pm
i don’t suppose the STM8S003F3P6?

oh well … … it is 8 bit :D

stephen


RogerClark
Sat Nov 14, 2015 12:45 am
Hi 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


zmemw16
Sat Nov 14, 2015 7:08 am
knew in advance it was definitely a tongue in cheek question.

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


zoomx
Wed Nov 18, 2015 1:24 pm
I got two of then just for curiosity but I was not able to communicate at all using ST-Link and ST Visual Programmer. It is not recognized at all. Maybe because the ST-link is a cheap clone.

If you don’t like AVR you can look at TI MSP430 family and the Energia IDE that is like Arduino.


zmemw16
Wed Nov 18, 2015 1:50 pm
haven’t got any of these.
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


RogerClark
Wed Nov 18, 2015 7:40 pm
zoomx wrote:I got two of then just for curiosity but I was not able to communicate at all using ST-Link and ST Visual Programmer. It is not recognized at all. Maybe because the ST-link is a cheap clone.

zoomx
Thu Nov 19, 2015 11:05 am
It works perfectly with STM32, it don’t work with STM8, so my doubt if the clone doesn’t work with STM8.

Gemikro
Sun Jan 10, 2016 4:22 pm
Hi,
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


mrburnette
Sun Jan 10, 2016 4:29 pm
@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


Gemikro
Mon Jan 11, 2016 9:23 pm
@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


mrburnette
Mon Jan 11, 2016 9:50 pm
Gemikro wrote:
<…>
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


Gemikro
Mon Jan 11, 2016 10:19 pm
@Ray
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


Gemikro
Mon Jan 11, 2016 11:27 pm
One new info through AT-Interface:

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


RogerClark
Wed Jan 13, 2016 2:02 am
Hi Guys

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)


stevech
Wed Jan 13, 2016 4:03 am
RogerClark wrote:Hi Guys

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)


RogerClark
Wed Jan 13, 2016 4:14 am
Thanks Steve

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

Image

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)


zmemw16
Wed Jan 13, 2016 2:03 pm
if it does indeed send serial, worst case is fridge, freezer, solar heated water in/out temperatures.
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


ahull
Wed Jan 13, 2016 2:12 pm
RogerClark wrote:Thanks Steve

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

Image

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)


RogerClark
Wed Jan 13, 2016 8:28 pm
Thanks Andy

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


RogerClark
Fri Jan 15, 2016 1:05 am
My voltmeter arrived today (I paid a bit extra and got it from a supplier in Australia)

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 .


mrburnette
Sun Jan 24, 2016 5:07 pm
I received my -14 and have it mounted on a breakout. So far, I have been able to use a CP21xx serial-USB and talk to it via terminal. Next steps, attack the STM8.
viewtopic.php?f=45&t=768&start=20#p10006

Ray


Leave a Reply

Your email address will not be published. Required fields are marked *