Search found 23 matches

by Alfredo
Fri Dec 22, 2017 3:37 pm
Forum: Sensors
Topic: W1209 Temperature control Switch (HCTHER0006)
Replies: 38
Views: 136611

Re: W1209 Temperature control Switch (HCTHER0006)

There is a new version of the W1209 "data logging thermostat" firmware. According to the GitHub readme the firmware logs this: Lowest temperature Highest temperature Heating duty cycle DC = 100% * t.on/(t.on + t.off) Number of relay cycles Here is a demo chart from the readme: https://user-images.gi...
by Alfredo
Sun Nov 26, 2017 6:11 pm
Forum: Sensors
Topic: W1209 Temperature control Switch (HCTHER0006)
Replies: 38
Views: 136611

Re: W1209 Temperature control Switch (HCTHER0006)

News: the first version of the W1209 Data Logging Thermostat firmware is ready: https://github.com/TG9541/W1209/releases/tag/0.1.0 This took some time (the project was started in August). However, installing the binary is simple, and it works as advertised. The data logger is still very basic, but t...
by Alfredo
Thu Nov 02, 2017 6:24 am
Forum: ST Microelectronics
Topic: STM8S103F3 Development Board (HCDVBD0034)
Replies: 22
Views: 61437

Re: STM8S103F3 Development Board (HCDVBD0034)

Bad style? It depends :-) A CONSTANT can be in RAM, and only exist as long as you need it to write the "hardware dependent code". The runtime part of constant detects the state (compiler or interpreter), and returns either the value or compiles a literal (3 bytes). The source code of CONSTANT is her...
by Alfredo
Wed Oct 25, 2017 5:31 pm
Forum: ST Microelectronics
Topic: STM8S103F3 Development Board (HCDVBD0034)
Replies: 22
Views: 61437

Re: STM8S103F3 Development Board (HCDVBD0034)

There is a new updated version STM8eForth 2.2.18, and if you build from the most recent source the version counter shows 2.2.19! The most interesting part is clearly the export of register address words from resource files with "\res export". The feature depends on e4thcom but there is also platform...
by Alfredo
Wed Oct 25, 2017 5:31 pm
Forum: ST Microelectronics
Topic: STM8S103F3 Development Board (HCDVBD0034)
Replies: 22
Views: 61437

Re: STM8S103F3 Development Board (HCDVBD0034)

OK, that I'll just leave my post as a rhetorical answer :lol:
by Alfredo
Wed Oct 25, 2017 5:22 am
Forum: ST Microelectronics
Topic: STM8S103F3 Development Board (HCDVBD0034)
Replies: 22
Views: 61437

Re: STM8S103F3 Development Board (HCDVBD0034)

Filling eeprom requires unlocking memory. ULOCK 4000 26F 41 FILL \ note FILL does not write to the final location, bug or feature? Hi barewires, that's a feature. The byte at the start address (0) is also counted (FILL does the same as memset() in C ): ; FILL ( b u c -- ) ; Fill u bytes of characte...
by Alfredo
Wed Oct 25, 2017 5:22 am
Forum: ST Microelectronics
Topic: STM8S103F3 Development Board (HCDVBD0034)
Replies: 22
Views: 61437

Re: STM8S103F3 Development Board (HCDVBD0034)

Filling eeprom requires unlocking memory. ULOCK 4000 26F 41 FILL \ note FILL does not write to the final location, bug or feature? Hi barewires, that's a feature. The byte at the start address (0) is also counted (FILL does the same as memset() in C ): ; FILL ( b u c -- ) ; Fill u bytes of characte...
by Alfredo
Tue Sep 19, 2017 7:08 pm
Forum: ST Microelectronics
Topic: STM8S103F3 Development Board (HCDVBD0034)
Replies: 22
Views: 61437

Re: STM8S103F3 Development Board (HCDVBD0034)

31.75kHz is within 0.8% of 32kHz. Application note AN2822 describes calibration procedures for the internal oscillator. The calibration steps are 1%: in your case decreasing CLK_HSITRIMR by one would reduce the error to 0.2%. If your application needs better accuracy you either need a reference freq...
by Alfredo
Sat Aug 05, 2017 5:31 pm
Forum: Sensors
Topic: W1209 Temperature control Switch (HCTHER0006)
Replies: 38
Views: 136611

Re: W1209 Temperature control Switch (HCTHER0006)

STM8EF v2.2.13 was released today - the "full duplex serial interface" through the key pins is now "officially" supported! The old "half-duplex" interface through the sensor header is still available. On hackaday someone asked for a thermostat with serial interface for data logging . This sounds int...
by Alfredo
Sun Jul 23, 2017 7:31 am
Forum: Sensors
Topic: W1209 Temperature control Switch (HCTHER0006)
Replies: 38
Views: 136611

Re: W1209 Temperature control Switch (HCTHER0006)

There is a development release of STM8EF for the W1209 with full duplex serial communication through the key pins. I find it much easier to use. The keys still work (!) How-To: * get a W1209, erase the chip if necessary * flash the W1209-FD.ihx binary * connect the serial interface (+key pin near LE...

Go to advanced search