Electronics > Beginners
Help required with Thermostatic Mixer customization
<< < (2/2)
Ian.M:
DSO == Digital storage oscilloscope.   It can capture the waveforms and freeze them on screen while you pick your way through them figuring out what they mean.  Decent ones start at around $500 and the sky's the limit for high end ones.  USB ones tend to be a bit cheaper but you certainly wont get protocol decoding on a low-end USB one and at the bottom of the market the software is often so flaky they are virtually unusable.

CRO == old-skool Cathode Ray (tube) Osciliscope.  It will only give you a stable display if the waveform is repetitive and it can be the absolute devil to get a complex pulsetrain (e.g. serial data) triggered stably.   Only a greybeard expert on a tiny pension would even contemplate manually decoding the protocol using a CRO without a logic analyser.  Working ones can be found for as little as $100

Logic Analyser - what it says.  It captures N channels of purely digital signals (high or low) and you can then scroll through the traces looking at the relationship between the pulses on different channels.  Cheap 8 channel USB ones that will work with the FOSS sigrok software are readily available.

A controller teardown wont be the slightest bit of help, as at best all it will tell you is what brand of custom programmed microcontroller they used.  Interfacing to touch buttons to fake a touch is nasty at best and likely to be near-impossible for a novice.     

You do need to confirm whether or not its battery powered, and if its mains powered, if the controller's PSU is isolated. If not, attempting to probe the bus to decode the protocol is likely to blow up your scope or your logic analyser pod and PC.  You may not care much as if you don't know *exactly* what you are doing safety wise when working on a device with a non-isolated PSU, they'll probably be measuring you for a pine box sooner rather than later.

For interfacing your preferred buttons, if its *NOT* battery powered you can probably use an Arduino Pro Mini.   If it is battery powered an Arduino is likely to be too power hungry (unless you give it its own 6x D  cell battery pack), and as this is for a wet area with large area wet skin contact, any extra PSU *MUST* have medical grade isolation.
abraxa:
If you're lucky, the protocol is I2C and you can easily tap into the bus with a microcontroller. You say however that your electronics is very limited, so I'm assuming you're not familiar with microcontrollers. Without this kind of knowledge though, I don't see this going very far. If you're willing to invest the time to expand your knowledge, I suggest you get an Arduino. There's an I2C library for it as well, so interfacing it to the CLK/DATA line is easy - assuming that the protocol indeed is I2C, of course.
Ian.M:
Yes, Assuming you can program Arduinos, if you are anywhere near a hackerspace, or know anyone who teaches in a college physical department and knows how to use a scope, or know any electronics hobbyists with DSOs you best course of action is to trade someone experianced beer money and favours to find out the type of protocol its using - I2C or some clocked serial protocol vaguely similar to bidirectional SPI, then you can probably start trying to 'sniff' the data transfer and decode it with an Arduino Uno.

If you've never done *ANY* computer programming you are probably S.O.L. as the concepts involved are fairly advanced and the learning curve is *STEEP*.   If you can code in C or have done hardware level programming back in the 8 bit era before the IBM PC was mainstream, you should be able to pick up on using the Arduino platform fairly quickly
Martichoke:
Thank you very much!

I am currently learning Lua for future programming of a Nodemcu esp8266 for home automation in my renovations. I haven't fooled around with Arduino before though.

On a side note, it is mains powered through a 240v adapter down to 12vdc.

After reading all of this, it seems it could get very in-depth before I make any breakthroughs. I was hoping it would be simpler  ::)  |O

I'll follow all of this up with a friend who is an elec. engineer, maybe he has dabbled in some of the above.

EDIT: UPDATE: after a few i2c serial protocol YT videos it doesn't seem so far out of reach, and possibly self achievable, if indeed the protocol is i2c.

I appreciate all the information!
Martichoke:
ok so i've done some research into i2c protocol decoding. Once I'm able to decode the protocol with a DSO (assuming that its safe to tap into the clock and data protocol because its 12v supplied?), I obviously need to relay that into code so i can make use of it through an arduino or similar i2c compatible board.

Looking at the clock and data waves on the DSO, do they define the 8 bit protocol of the address, read, write etc.?

Also do you think a cheap portable usb powered DSO would suffice for this?

There is an I2c scanner library for arduino, but this would only give me an address, which is a start i guess. What should i look for to program into an arduino to get more information of the data it sends and the clock speed it runs?
Navigation
Message Index
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod