Automation of INTEX SWG

Updated schematic, with labels for clock and data lines swapped. Labels renamed to DIO / CLK to match Intex naming standard
Swapped +5V and GND on the Intex connectors.

It might be that the whole connector needs to be reversed? (Easily fixed by rotating the connector, if so)
Looks like the connector has a little dot on GND on the picture, signifying pin one?

@jressel01: Can you look at the rendered board layout below, and see if the connector looks the right way, for plugging the display connector into?

EDIT: See below for updated schematic

Rendered board:
(same size as original perfboard design, but the mounting holes are a bit further away from the edges)

EDIT: See below for updated board layout
 
Last edited:
Rotated the Intex connectors 180 degrees

Schematic:
EDIT: See below for updated schematic


Board render:
EDIT: See below for updated board layout

I'll upload the gerbers when I've verified everything
 

Attachments

  • schematic.png
    schematic.png
    336.3 KB · Views: 136
  • poster.png
    poster.png
    228 KB · Views: 164
Last edited:
  • Like
Reactions: morreale
Ok, I've dismantled my Intex SWG, and connected everything together. Still no response from the main board, or lights in the display board. I've verified that everything is connected correctly.
I'm starting to wonder if my controller board uses a different LED controller than the one used on on the board that @tonyflores1006 has. He has a board with a electrolytic capacitor on front, mine is without that capacitor.
( I've got the same board as @jressel01 )

The TM1650 is a 16 pin chip according to the datasheet, on my board there is a unmarked 18 pin LED controller. I'll have to look into what kind of chip that is, and if it makes any difference at all for the ESP32 code
 
Dismantled my Intex sandfilter pump, which _does_ have a TM1650 on the display board. Unfortunately it appears that the pins for 5V and GND are reversed on the pump, which explains why I had the connections reversed in my first schematic design. Need to update the schematic/pcb with some jumpers.

@tonyflores1006 are you able/willing to share the code for the sandfilter pump aswell?
 
@Jings i Think they use something like this PIC 16F88-I/SO MCU and write own Code for it.
Thanks, it fits with my pinout measurements aswell. I looked at several LED controller, and didn't find anything matching the pinout. So an PIC 16F88-I/SO looks plausible.
Need to dig out my logic analyzer to look at the signals, I guess.
 
Last edited:
Bonus pictures of the project adapted and working for the Intex Krystal Clear pump. I could order the PCBs, but as I only need this one for myself and this way works, then is OK for me. The blue supports of the relay and main boards are made by me using with my 3D printer and we're designed using Fusion 360. In the last picture, a wifi antenna can be seen... This was necessary due to the distance with my router.
Hi,
just came across this cool project. Awesome, thx, @tonyflores1006! Seems exactly what I was looking for to make my Intex Sand Filter Pump SF70220RC-2 an IoT device.
Unfortunately I have no experience in soldering a PCB like @tonyflores1006 did from scratch. Also didn't never use gerber files like @Jings is designing to order PCBs ever before.
But I know how to 3d print and I once programmed an ESP32 - based IOT device with Arduino-IDE and added it to my smart home.

Is anyone currently making this project for a SFP like SF70220RC-2? @Jings? @jressel01? @stealthrt? @OneAn9ryN00b?
At this occasion, how about making 2 sets, one for you and selling one to me?
Due to bad Wifi coverage, mine should also have that external antenna like seen in @tonyflores1006 picture :)
Where could I find the 3d files for printing the supports?

Thx
Chris
 
Last edited:
@Jings
i must replace my SWG. Warrenty by Intex and get an old one with the same board from tonyflores1006. The code work without any problems. You find a way for the new Board?
I try with my logic analyzer and dont find it for now.
because i have 2 SWG one old and one new
 

Enjoying this content?

Support TFP with a donation.

Give Support
I have a different board from the one that is shown in the previous posts. Seems to be the same pinout for the 4-pin connector and 16 pin TM1650 but I haven’t confirmed that yet.

772416B8-811A-4DBA-84D7-3423EA1D5500.jpeg
 
By button code do you mean this?
Code:
#define clockPin        GPIO_NUM_19
#define dataPin         GPIO_NUM_18
#define clockDispPin    GPIO_NUM_17
#define dataDispPin     GPIO_NUM_16
Not able to find the http post calls you mentioned for me to change?
 
You must define HTTP_Posts for your buttons and must add Code that they work.(RestServer.ccp and so on)
In the code ist only something for Power and Selfclean
You must look on with Pins the button connect an in the Dokumentation Folder you find Doku for the IC.
It was not easy
 
So I'm looking at my version of the ESP32 that I have (Known as the Lolin32)


proxy.php?image=https%3A%2F%2Fwww.electro-tech-online.com%2Fattachments%2F1652416286050-png.137070%2F&hash=6e702f492df36a5f343b13cd8ebf6b15


And looking at the schematic I see they call out GPIO 16, 17, 18 & 19. However, I do not have the same pin layout as they do...Go figure...
- GPIO 19 -> SWG main board clock
- GPIO 18 -> SWG main board data
- GPIO 17 -> Display board clock
- GPIO 16 -> Display board data

proxy.php?image=https%3A%2F%2Fwww.electro-tech-online.com%2Fattachments%2F1652414673058-png.137068%2F&hash=23220865d17cedaa65a90487d61b7484

1652475230097.png


So, I take it my layout would be:
ESP32 DevKitCESP32 Lolin32
GPIO 19->GPIO 19 (MISO)
GPIO 18->GPIO 18 (SCK/CLK)
GPIO 17->GPIO 17 (TX)
GPIO 16->GPIO 16 (RX)

That look correct?
 
Last edited:
@tonyflores1006 thx it works. Integration to Homeassistant
Now i order PCB's and make it nice.
 

Attachments

  • IMAG1193.jpg
    IMAG1193.jpg
    194.4 KB · Views: 63
  • IMAG1192.jpg
    IMAG1192.jpg
    182.3 KB · Views: 61
  • IMAG1190.jpg
    IMAG1190.jpg
    237.3 KB · Views: 60
  • IMAG1191.jpg
    IMAG1191.jpg
    221.3 KB · Views: 62
@jressel01
I've got some gerbers laying around. Unfortunately, as I have the non TM1650 version, I've got several revisions of the layout. Need to sort out which is which.

I've got a "jumper version" somewhere that allows swapping of the +5V and GND lines on the connectors, if we someday get some working software for the non TM1650 version

On the TM1650 version, the +5V line is to the "right outside" correct?
 
@jressel01
I've got some gerbers laying around. Unfortunately, as I have the non TM1650 version, I've got several revisions of the layout. Need to sort out which is which.

I've got a "jumper version" somewhere that allows swapping of the +5V and GND lines on the connectors, if we someday get some working software for the non TM1650 version

On the TM1650 version, the +5V line is to the "right outside" correct?
yes +5v and Gnd switched
 
I finally manged to get some time to cleanup all the different revisons of the PCBs.

This is the pcb/gerbers for the Displayboard version with a TM1650 chip

poster.png schematic.png

This is the version with jumpers that allow swapping of the GND/+5V lines on the connectors:

poster.pngschematic.png

(If anyone spots any mistakes, please send me a message)
 
  • Like
Reactions: jressel01

Enjoying this content?

Support TFP with a donation.

Give Support
Thread Status
Hello , This thread has been inactive for over 60 days. New postings here are unlikely to be seen or responded to by other members. For better visibility, consider Starting A New Thread.