The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
This brings back memories of the systems I used to configure and install back in the 1980s. RTDs for temperature sensors, unshielded twisted pair back to the cabinet, and wired into a multipoint analog input card that measured the resistance to which I applied a non-linear formula to get temperature.
Look at Texas Instruments, they have a number of small inexpensive ($25) dev boards. They're called Launchpads. I used one on a project at work to start developing code before we had are own hardware. Also, you get the development environment for free, it's called Code Composer Studio (based on Eclipse).
If you use one of their 'Tiva' processors (ARM based) they've got lots of example projects and provide you with code that accesses all of their built in peripherals. The samples and such are include in what they call 'Tivaware'.
I'm a engineer and has done may projects over the years from amps for my home sound system to computer servers, motion detectors and things in-between. One thing I found is although fun, pure DIY isn't always the most cost effective answer. In your case I'd be tempted to by an off the shelf sensor for the rooms and focus my energies on the smart thermostat itself giving it features and abilities not found elsewhere. I use a smart thermostat and smart vents in the home for climate control. Both systems offer temperature sensors running about 30e-35e. Although they do use batteries in 1 yr, never had to change one (uses cr2032 <1e each). Focus on the fun unique parts of your project and shortcut the other parts. I do the same when cooking
I wrote very little server code, used an RTL software radio dongle, to find and lock into the 400Mhz radio signal my thermostat in the hallway uses to talk to my central heating boiler, then started to intercept the comms and provide my own smart control from one of my servers.
Eventually, I just put an rPI in a box, with the dongle, set up GNU Radio on it to do the intercept, then stuck it on the wall right next to the thermostat.
I turned off ALL the auto management features of the thermostat, switched it all to manual, and now it's my box that controls it.
Everything else, sensors in the rooms etc was all installed when the house was built (We bought a new build) so all I needed was already in place, I just needed to figure out how to hack it.
Most of the honeywell systems communicate on a 400Mhz radio signal, and most RTL SDR dongles can easily scan that range these days.
So yesterday, a friend tells me he has a bunch of TV episodes in MP4, but they are stuttering when he plays them in VLC. A quick check, and they aren't indexed, so a quick run through Avidemux to copy the video and audio streams to a new file will fix that.
So ... Rather than drag and drop, build index, save, wait, ENTER, unload, rinse-and-repeat I knock up a quick app to do them for me: and it works: opens AviDemux, loads the file, indexes it, saves it, closes Avidemux. It even shows progress on a DataGridView by removing each file as it's processed. And that's the bad bit - since this was a quick and dirty one-off app, I ... well ... I ... used Application.DoEvents. Sorry.
And it nagged at me all night. "Shouldn't have done that, you know. You know better than that, Griff. Jerk move, Griff".
And it was right. So I wasted half an hour this morning to convert it to a BackgroundWorker, with proper progress reporting via the DGV and a read-only textbox, complete with a "Stop!" button, and folder(s) persistence via the settings file.
For an app I'll never use again ... I hate it when that happens ...
Does anyone else get this, or is it just me?
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
I'm worse. I'll put in a heck of a lot of time in an application I'll never use again, and then I'll grow tired of it and abandon it when it's 95% ready...
Anything that is unrelated to elephants is irrelephant Anonymous - The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 - Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain