• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

Stc-1000+

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
If moisture is the problem (not that it is in any way confirmed), you can try heating the probe for an extended period of time and try to drive off the moisture. Some people have reported success with this (I haven't).
 
Are you looking for the standard black sensor for stc1000? 1 of the 50 controllers I received a week ago has a non functional speake so didn't build it into a full assembled unit. I was going to sell that unit flashed with 1.06 for 15 shipped. Didn't have any takers yet so I could donate the sensor from it to you.

Greg

Precisely that! Just shoot me a pm let me know how much to paypal you! Could probably drop it in a standard mail envelope and it would get here by the end of the week.
 
Precisely that! Just shoot me a pm let me know how much to paypal you! Could probably drop it in a standard mail envelope and it would get here by the end of the week.

No charge, just send me your address and ill ship it today :)

Greg
BrewsBySmith
 
Precisely that! Just shoot me a pm let me know how much to paypal you! Could probably drop it in a standard mail envelope and it would get here by the end of the week.

Ill send the controller w/1.06 software and temp sensor in case the sensor alone isn't your problem, don't want the halloween party suffering :mug:

Going out priority mail from Michigan today, you should receive it Wednesday. I will PM the tracking information to you in a second.

Greg
 
I've just done my first flash with the new software on a v1.0 STC-1000, and everything went very well. Basically, followed the instructions laid out by alphaomega supplemented with the video provided by wilconrad. I had a minor technicality getting the STC recognized by the "arduino" but after adjusting COM ports on the arduino it came to life. I used a cheap DCcduino "clone" board (i.e. not one that tries to fake Arduino brand) with CH340G instead of ATmega16U2, along with supplied drivers.

Here's my synopsis:
-NEW ATmega328P CH340G UNO R3 Board & Free USB Cable for Arduino DIY (ebay $6)
-40PCS Dupont wire Jumper Cable 2.54mm 20cm male - female 1P For Arduino uno R3 (ebay $2.90)
-STC-1000 v1.0 bought a while back from Amazon (~$20)
-Hand-held contact flash (as opposed to soldered header)

-Adjusted arduino COM port to 9 (COM 5 wasn't playing nice at all; for whatever reason, this change fixed connectivity issues)
-Make connections from arduino to STC, hold in place, plug arduino into PC via USB
-Start up arduino software, load image, upload to arduino
-Start Serial Monitor, adjust baud rate, hit 'd', hit 'f', wait 30 seconds
-Done!

Cheers to alphaomega and wilconrad for their detailed instructions!
 
Can I set custom Program when flashing instead of default. I would like to flash mine with my own setup instead of program trough buttons. Is that easy possible?
 
anyone actually kill a adruino uno? I flashed about 25 controllers tonight, and now the arduino won't come up as a com port, makes no difference to computer when I unplug and plug it back in, on multiple computers. USB cable seems to be okay checking continuity. Not sure what happened, but my flashing fun comes to an end about 25 controllers short :(

2 LEDs are lit up on the board, the ON green one, and a orange one with a L close to it.

Greg

Any chance you made a windows update?
FTDI has apparently made an indcredible a-hole move and in their driver that is pushed out with windows update, actually brick non genuine chips without ANY notification or anything! See this.

I really hope they bite the dust. I do understand they want to protect their IP, but this is so not the way to do it.
Anyway, if your arduino stopped working, it might well be due to a non genuine FTDI USB to serial chip.

If you have the choice, I'd strongly suggest avoiding FTDI (and windows for that matter).
 
Can I set custom Program when flashing instead of default. I would like to flash mine with my own setup instead of program trough buttons. Is that easy possible?

You can, but you need to recompile with your settings and build the sketch. The build script does this, but you need to run linux, and you'll need to install SDCC and GPUTILS. So yes, you can, but it will require you to setup a build environment.
 
Any chance you made a windows update?
FTDI has apparently made an indcredible a-hole move and in their driver that is pushed out with windows update, actually brick non genuine chips without ANY notification or anything! See this.

I really hope they bite the dust. I do understand they want to protect their IP, but this is so not the way to do it.
Anyway, if your arduino stopped working, it might well be due to a non genuine FTDI USB to serial chip.

If you have the choice, I'd strongly suggest avoiding FTDI (and windows for that matter).

No update, literally tried flashing one thirty seconds after the previous and it wouldn't work. The arduino I assume to be legit, paid 25usd for it from mouserr.com

I bought two more and have flashed another thirty controllers without any issue.
 
Any chance you made a windows update?
FTDI has apparently made an indcredible a-hole move and in their driver that is pushed out with windows update, actually brick non genuine chips without ANY notification or anything! See this.

I really hope they bite the dust. I do understand they want to protect their IP, but this is so not the way to do it.
Anyway, if your arduino stopped working, it might well be due to a non genuine FTDI USB to serial chip.

If you have the choice, I'd strongly suggest avoiding FTDI (and windows for that matter).
Quote From Hack A Day link above
The workaround for this driver update is to download the FT232 config tool from the FTDI website on a WinXP or Linux box, change the PID of the fake chip, and never using the new driver on a modern Windows system. There will surely be an automated tool to fix these chips automatically, but until then, take a good look at what Windows Update is installing – it’s very hard to tell if your devices have a fake FTDI chip by just looking at them.
 
You can, but you need to recompile with your settings and build the sketch. The build script does this, but you need to run linux, and you'll need to install SDCC and GPUTILS. So yes, you can, but it will require you to setup a build environment.

Ok, not so simple then. A linuxbox is no problem, I will see if I can handle compiling. I have 4 running and I wold like to have these with identical profiles. So a change in one result in programming all. Will it be possible in the future to extract the settings to a .txt file and port it in to the sketch do you think?
 
Ok, not so simple then. A linuxbox is no problem, I will see if I can handle compiling. I have 4 running and I wold like to have these with identical profiles. So a change in one result in programming all. Will it be possible in the future to extract the settings to a .txt file and port it in to the sketch do you think?

You'd need to generate the HEX data that is now generated by the compiler. You can check wikipedia for the format.
You could probably get by with having a 'template', and just changing the data and checksum.
While it would be possible to do, I have thought about doing that earlier, but there was not a lot of interest.
I think the easiest thing would be to make a simple javascript driven webpage, that lets you set the values and computes the HEX to simply copy-paste into the sketch. If this is something you are willing to have a go at, I'd be glad to include it with STC-1000+.
 
Ok, not so simple then. A linuxbox is no problem, I will see if I can handle compiling. I have 4 running and I wold like to have these with identical profiles. So a change in one result in programming all. Will it be possible in the future to extract the settings to a .txt file and port it in to the sketch do you think?

Hi again.

So, this is was definitely not on the list of things I should do, but on the other hand I was not too difficult and kind of a fun mini-project.
I made a simple EEPROM editor in javascript, try it out if you want Hans-Einar.
Though, be advised I have not done any real testing of it, so it might not work at all :)
If it won't work, then let me know, I'll see if I can fix it.
STC-1000+ EEPROM editor

Simply put in your numbers, and press 'Generate HEX'. Then replace the corresponding section in the sketch.

Cheers!
//mats
 
Hi again.

So, this is was definitely not on the list of things I should do, but on the other hand I was not too difficult and kind of a fun mini-project.
I made a simple EEPROM editor in javascript, try it out if you want Hans-Einar.
Though, be advised I have not done any real testing of it, so it might not work at all :)
If it won't work, then let me know, I'll see if I can fix it.
STC-1000+ EEPROM editor

Simply put in your numbers, and press 'Generate HEX'. Then replace the corresponding section in the sketch.

Cheers!
//mats

Mats you are truly a remarkable dude! This is really neat.
 
Absolutely fantastic :) Wish I had at bit of your programming knowledge. I will try it out of course!
 
And anoter +
If I click show code and save it as a html file locally I can edit the value=""presets to my values and have a backup (or later flashh) of my profiles :)

Code:
<tr><td>SP0:</td><td><input class="temperature" type="text" id="adr_0" name="sp0_0" maxlength="4" size="4" [COLOR="Red"]value="16.0"[/COLOR] title="Setpoint 0"><span class="tscale">[&deg;C]</span></td></tr>
						<tr><td>dh0:</td><td><input class="plainnumber" type="text" id="adr_1" name="dh0_0" maxlength="3" size="4" [COLOR="red"]value="24"[/COLOR] title="Duration 0"><span class="durscale">[h]</span></td></tr>
						<tr><td>SP1:</td><td><input class="temperature" type="text" id="adr_2" name="sp0_1" maxlength="4" size="4" value="17.0" title="Setpoint 1"><span class="tscale">[&deg;C]</span></td></tr>
						<tr><td>dh1:</td><td><input class="plainnumber" type="text" id="adr_3" name="dh0_1" maxlength="3" size="4" value="24" title="Duration 1"><span class="durscale">[h]</span></td></tr>
 
And anoter +
If I click show code and save it as a html file locally I can edit the value=""presets to my values and have a backup (or later flashh) of my profiles :)
Sure, why not. But, check to see if it actually works first :)

Edit: I mean, that the generated values actually work on a real STC-1000
 
Space missing: Line 143, Col 126
(however shouldn't affect functionality)

Thanks for this by the way!
 
Hi again.

So, this is was definitely not on the list of things I should do, but on the other hand I was not too difficult and kind of a fun mini-project.
I made a simple EEPROM editor in javascript, try it out if you want Hans-Einar.
Though, be advised I have not done any real testing of it, so it might not work at all :)
If it won't work, then let me know, I'll see if I can fix it.
STC-1000+ EEPROM editor

Simply put in your numbers, and press 'Generate HEX'. Then replace the corresponding section in the sketch.

Cheers!
//mats

I added some graphing capabilities, quick and dirty, I didn't have time to consider ramping, but I think it should be possible to add it. Also, I'm not really a js develper or anything, so code quality might be... how to put it... not the best, but I think the feature really helps to "see" the profiles
 
Nice! I have the profile editor as well, it supports ramping (calculated the same way STC-1000+ does)
Maybe someone, with some spare time, could merge all this into one.
I'd prefer tabs for each profile graph in that case :)
 
This is what I did with my STC-1000. Nice and clean, plus push-breakers on the hot feeds mean no fuses.

IMG_0180.JPG


IMG_0181.JPG
 
Here's my stab at creating a hex-able profile page with charts. It's a bit rudimentary but it seems to work, HOWEVER it could use some other eyes to review the hex output and ensure it's accurate.

http://justfortesting.byethost12.com/hex.html

Hi StPug!

I got your message, I hope it's ok I answer here.
I'll look it over as soon as I can! But you obviously put some work into this! Thanks! Would you mind if I made some changes?
I like the compactness, but mostly the close relation to the settings on the stc-1000+ of my original layout. I'd also like to keep the unit for each setting.
Also I would personally rather stack the graphs vertically (and make them bigger).
I hope you see this as criticism, au contraire, I'm very glad for your contribution! I'm jusr nitpicking.
 
This is great!
Is it possible with "Save settings" and "Load settings" buttons? Then this utility is lifted one more level..
 
Here's my stab at creating a hex-able profile page with charts. It's a bit rudimentary but it seems to work, HOWEVER it could use some other eyes to review the hex output and ensure it's accurate.

http://justfortesting.byethost12.com/hex.html

Just had a quick look at the source, and I like how you handled generate hex and the id's. Cleaner and easier to make changes if eeprom layout should change. Nice!

This is great!
Is it possible with "Save settings" and "Load settings" buttons? Then this utility is lifted one more level..

Easiest would probably be to just save/restore the settings to/from a cookie.

Then there is also room for improvement with validation and some help text and stuff. But I think that is 'fluff'.

Anyone actually tested if generated HEX is ok?
 
I try this:
http://justfortesting.byethost12.com/hex.html

Error Compiling (I have to recompile eh?)
Code:
picprog.cpp.o: In function `loop':
C:\Program Files (x86)\Arduino/picprog.ino:172: undefined reference to `hex_celsius'
C:\Program Files (x86)\Arduino/picprog.ino:172: undefined reference to `hex_celsius'
C:\Program Files (x86)\Arduino/picprog.ino:183: undefined reference to `hex_celsius'
C:\Program Files (x86)\Arduino/picprog.ino:183: undefined reference to `hex_celsius'
C:\Program Files (x86)\Arduino/picprog.ino:241: undefined reference to `hex_fahrenheit'
C:\Program Files (x86)\Arduino/picprog.ino:241: undefined reference to `hex_fahrenheit'
C:\Program Files (x86)\Arduino/picprog.ino:242: undefined reference to `hex_eeprom_fahrenheit'
C:\Program Files (x86)\Arduino/picprog.ino:242: undefined reference to `hex_eeprom_fahrenheit'
C:\Program Files (x86)\Arduino/picprog.ino:252: undefined reference to `hex_fahrenheit'
C:\Program Files (x86)\Arduino/picprog.ino:252: undefined reference to `hex_fahrenheit'




...
Anyhow if "a" without recompile give me:
Code:
...
Programming 8 words at address 0xDD8
Programming 8 words at address 0xDE0
Programming 8 words at address 0xDE8
Validation failed for address 0xDEA wrote 0x21 but read back 0x0
Programming hex data...
Programming program memory
Programming config memory
Programming 8 bytes at EEPROM address 0x0
Resetting address for EEPROM
Validation failed for EEPROM address 0x0 wrote 0xA0 but read back 0x0
Writing magic.
Writing version.
Leaving programming mode
 
You only replace the corresponding section, right?
Looks like you have deleted all the HEX data from the sketch.
 
Opps.. My fault again. Sorry. Try once more:

1. Load orginal file
2. Replace the "const char hex_eeprom_celsius[] PROGMEM = {" section
3. Compile
4. Falsh
(Is this the way to do it? or can I skip compiling?)

Result:
STS is locked with OFf in display. No reaction when pushing. No error when flashing.
 
I think it compiles before you upload to Arduino anyway, but it is not a bad idea to compile (or 'verify') first.
It sounds like it starts in soft off mode, press and hold 'off' button a few secs (followed by a short press to switch back to probe 1). You need to change 'on' parameter when generating hex to prevent it.
 
Hi StPug!

I got your message, I hope it's ok I answer here.
I'll look it over as soon as I can! But you obviously put some work into this! Thanks! Would you mind if I made some changes?
I like the compactness, but mostly the close relation to the settings on the stc-1000+ of my original layout. I'd also like to keep the unit for each setting.
Also I would personally rather stack the graphs vertically (and make them bigger).
I hope you see this as criticism, au contraire, I'm very glad for your contribution! I'm jusr nitpicking.

It was a brain twister for sure, and I forgot how much I dislike javascript :D. I wanted to reused your effort and implementation as much as possible and, in the end, the functionality of the page worked out pretty well I think. I would be grateful if you made some changes. In fact, I'll remove the hosted example once you post a new example so it doesn't confuse this thread.

Putting back the units for each setting should be easy. I had removed them in an effort to "declutter" the presentation of the page but I certainly understand why they are useful.

I took a quick look at trying to implement the graphs in a tabbed form but was unable to quickly come up with anything useful. If this doesn't get addressed at any point then I can take another look, but I'll wait for your next iteration.

Thanks for looking it over and adding any changes.
 
Back
Top