What version of SpaNet controllers is this tested with? #8
-
|
I'm having a real challenging time getting a serial connection up and running - to the point where I'm wondering if my SpaNet controller is new and something has changed... would you mind sharing the version of the controller that you're working with so I can eliminate that? My controller has SV-MINI PCB V1.3.1 9 1 17 stencilled on the PCB Plugging in to EXP1, I get the 12V/GND fine on pins 7/8, but no matter what I connect to or send from pins 5/6 I cannot get any serial communication going, I've tried:
With the first two, sending RF\n, gets back a few bytes of garbage (all bits set, etc). The bus pirate reads a continual stream of zero byte frames, (but with framing errors marked - e.g. as if the BAUD is wrong), if I send RF\n via the bus pirate then I get two bogus frames and one good frame but with bogus data back... it really feels like whatever is at the other end of EXP1 is not wanting to communicate at 38400 8N1... UART>0x52,0x46,0x0A READ: -f 0x01 READ: 0xFD I've tried all the other standard baud rates on the off chance my controller uses a different rate, but no joy. So I'm stumped, if you can let me know what you've got it working with, that would be most useful! Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 4 replies
-
|
It looks like I've actually bricked my controller (keypad doesn't function, HB Led is doing a double-flash implying the heater controller is not present/reporting), I suspect I've shorted something in the section for the 12V accessory ports by mistake while hooking it up unfortunately :( This might be an expensive lesson... |
Beta Was this translation helpful? Give feedback.
-
|
@mattbnz do you have a common ground for all devices? I found out the hard way, not having a common ground reference voltage leads just noise on the rx/tx lines, this wasted several days of my time during the discovery phase. The symptoms of the problem are very similar to what you are encountering. Re compatability, this should work for all controllers that can be connected to the spanet smartlink box. we're using exactly the same pins and commands as the genuine wifi connector. My spa is sunken into the ground and access is a bitch, the next time that I'm under there I will check the HW version. Re bricking the controller - Bugger! - Condolences. Have you tried a factory reset? |
Beta Was this translation helpful? Give feedback.
-
|
@mattbnz I'm keen to hear how you got on? Did you brick your controller? Did you get things working? |
Beta Was this translation helpful? Give feedback.
-
|
Yes, my controller is bricked. I ended up having to buy a new one (NZD$1k) to get the spa working again. The old/bricked one is sitting in the corner of my office waiting for me to have time to try and reverse engineer/fix it. |
Beta Was this translation helpful? Give feedback.
-
|
AFAIK I never miswired it, BUT given the symptoms, sending 12V up the wrong wires does seem like the most likely explanation. |
Beta Was this translation helpful? Give feedback.
-
|
Sounds like you don’t have a common ground between the spa and the device that you are using to read.Baud is 115200.Always send a \n and wait (about 200ms) before sending the real command to flush any noise from the buffer.IIRC a \r is not required.Your supplier is right, there is nothing to change on the spa menus.I’m travelling at the moment so cannot confirm the pin outs but you seem close. 1/2 and 7/8 are either a 12v signal or 12v power, I can’t remember which is which but if you have a look at my circuit it will give you the required pins.On 16 Jan 2023, at 10:26 am, vdbpeter ***@***.***> wrote:
Gidday @mattbnz , I'm attempting to get my Spanet SV3 Exp1 port active, but not getting any responses from the device. After reading the various setups and setting the port speed manually in RealTerm, sending "RF" with CR & LF (38k & 115k) and getting no responses, I wrote a script that would send out a "RF\r\n" and waits for "RF" that looped through the common speeds from 4.8k through to 2M. Still nothing.
I'm hoping you could confirm a thing or 2 about the physical interface, please?
I've done some volt & ohm metering, and found this on my wiring against Pin7 (that's reported as Gnd):
pin:
1 +14v
2 0.2v (noise?)
3 0.2v (noise?)
4 0.2v (noise?)
5 3.3v (Rx?)
6 4.9v (Tx?)
7 0v (Ground- but isolated from common ground- no connection to steel frame)
8 No measurement readable.
Seeing your units are relatively new, it's likely to be a similar hardware version to mine (SpaNET SV BRAIN V5.1 4/9/12, Firmware: sv-t43 6.21-06-02). Can you confirm?
Talking to my supplier, to add a Wifi unit to my pool requires no setup- plug & play. However, in the Setup Menu, there's a Wifi menu with the options: Reset, Infra or Hot. (He says they dont change anything). Selecting these makes no difference.
So, did you get your replacement working with the microcontroller on Exp1? If so, what did you have to do to get it working?
And can you confirm the physical interface wiring, please?
Thanks
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Just want to correct myself. Baud is definitely 38400, not 115200 mentioned in previous comments. |
Beta Was this translation helpful? Give feedback.
@mattbnz do you have a common ground for all devices? I found out the hard way, not having a common ground reference voltage leads just noise on the rx/tx lines, this wasted several days of my time during the discovery phase. The symptoms of the problem are very similar to what you are encountering.
Re compatability, this should work for all controllers that can be connected to the spanet smartlink box. we're using exactly the same pins and commands as the genuine wifi connector. My spa is sunken into the ground and access is a bitch, the next time that I'm under there I will check the HW version.
Re bricking the controller - Bugger! - Condolences. Have you tried a factory reset?