● 18 min readProbots Decode: Smart Weather Station – From Weekend DIY to Industrial Grade
⚠️ LEGAL & SAFETY WARNING (INDIA) RF Compliance & Lithium Safety: Deploying wireless weather stations in India requires strict adherence to WP
Read Article →| Bulk Pricing | ||
|---|---|---|
| QTY | Unit Price(Inlc. GST) | |
| 25+ | ₹343.77 ₹ 291.33 + 52.44 GST | |
| 50+ | ₹340.28 ₹ 288.37 + 51.91 GST | |
| 75+ | ₹335.04 ₹ 283.93 + 51.11 GST | |
| 100+ | ₹331.55 ₹ 280.97 + 50.57 GST | |
Control 2 high-power relays using only 2 pins (I2C) with the XL9535 expansion chip. Ideal for pin-limited projects on ESP32, Arduino, and Raspberry Pi. Features optocoupler isolation and 5V active-low triggering.
Are you building a complex Home Automation project on an ESP32 or Arduino, only to realize you've run out of digital pins for your relays? The XL9535 2 Channel I2C Expansion Relay Module is the professional solution to "Pin Exhaustion." Unlike standard relay modules that require a dedicated wire for every single channel, this advanced module controls two high-power relays using just the I2C bus (SDA and SCL).
This isn't just a relay board; it's a scalability tool. Built around the robust XL9535 I/O Expander, it allows you to communicate with the board using standard I2C commands. This means you can stack multiple sensors, displays, and these relays on the same two wires without conflict. Whether you are switching lights, fans, or solenoids, this module frees up your critical GPIO pins for other tasks like PWM, ADC, or SPI communication.
The Probots Quality Advantage
We know that I2C buses can be finicky when mixed with inductive loads like motors or AC mains. That's why this module is Probots Logic-Safe™ ⚡, featuring built-in optocoupler isolation that physically separates the high-voltage switching side from your sensitive microcontroller logic. This ensures that noise from switching 240V appliances doesn't crash your I2C bus or freeze your ESP32. Additionally, every unit is Probots Lab Verified™ ???? to confirm stable addressing and reliable switching before it reaches your workbench.
Specifications:
Applications:
Project Evolution
Virtual Technician: Wiring & Safety
⚠️ Safety Warning: This module is rated for switching mains voltage (AC). If working with 110V/220V, ensure the board is disconnected from power before touching terminals. Use a proper enclosure.
Pin Mapping:
Package Including :
1 X XL9535 2 Channel I2C Relay Module Expansion Board 5V
1 X Jumper Wire Connector
Frequently Asked Questions (FAQ)
1.How many pins does this relay module use?
It strictly uses 2 pins (SDA and SCL) regardless of how many relays are on the board, plus VCC and GND.
2. Can I use this with an ESP32?
Yes, the ESP32 handles I2C natively. You may need to ensure your library supports the XL9535 chip.
3. Does this work with Raspberry Pi?
Yes, you can control it via Python using SMbus or specific I2C libraries for the XL9535.
4. What is the I2C address of this module?
The default address varies by batch but is often configurable via solder pads on the back. Run an I2C scanner sketch to confirm.
5. Can I change the I2C address?
Most XL9535 modules have A0, A1, A2 address selection pads allowing up to 8 unique addresses.
6. Do I need an external power supply?
Yes, while the I2C bus carries data, the coils need stable 5V. Do not power the coils directly from a weak 3.3V microcontroller pin.
7. Is the XL9535 compatible with the PCF8574 library?
No, they are different chips. You must use a library specifically written for the XL9535 or generic I/O expander libraries that support it.
8. Can I daisy chain multiple modules?
Yes, as long as you configure each module to a unique I2C address, you can connect multiple units to the same two wires.
9. What is the maximum current for the relays?
The relays are rated for 10A at 250VAC or 30VDC. For continuous loads, we recommend keeping it under 7A.
10. Does it utilize Optocouplers?
Yes, this module features optocoupler isolation to protect your microcontroller from high-voltage switching noise.
11. Can I use this with 3.3V logic?
Yes, the I2C bus is generally tolerant, but ensure you supply 5V to the VCC pin for the relay coils to actuate properly.
12. What happens if the I2C signal is lost?
The relays will maintain their last state until the chip is reset or power is cycled.
13. Does this module support high-speed switching?
No, mechanical relays are slow (ms). Do not use for PWM or high-frequency switching; use a MOSFET module for that.
14. Why is the LED on but the relay not clicking?
This usually means the VCC voltage is too low to energize the coil. Ensure a solid 5V supply.
15. Can I control the relays individually?
Yes, the software library allows you to address and toggle each channel independently.
16. Is there a "flyback" diode protection?
Yes, the module includes protection components to prevent back EMF from damaging the driver chip.
17. What is the wire gauge for the terminal blocks?
The screw terminals typically accept 14-22 AWG wire suitable for mains connections.
18. Can I use this for Home Assistant?
Yes, via ESPHome or Tasmota (if supported in their I/O expander list), making it great for custom smart switches.
19. Does the XL9535 generate heat?
The chip itself runs cool. The relay coils will generate slight warmth when active for long periods, which is normal.
20. Where can I find the library?
We provide links to verified Arduino/PlatformIO libraries in our Resources section (or search "XL9535 Arduino" on GitHub).
| Operating Voltage: | 5 V |
|---|---|
| Max Current: | 2 A |
| Number of Channels: | 2 Channel |
| Trigger Type: | Low Level |
| Isolation: | Opto-Isolated |
| Interface Type: | I2C |
Probots sells every Electronics Part for your next Project. You can order 10,000+ Electronic Parts Online - Arduino, Raspberry Pi, NodeMCU Development Boards, Sensors, Motors, Motor Drivers, SMPS, Plastic Enclosures etc in India directly on probots.co.in
We delivery electronics components and parts throughout India using standard couriers like Bluedart, Delhivery & India Post.
For order related queries contact -
Probots sells every Electronics Part for your next Project. You can order 10,000+ Electronic Parts Online - Arduino, Raspberry Pi, NodeMCU Development Boards, Sensors, Motors, Motor Drivers, SMPS, Plastic Enclosures etc in India directly on probots.co.in
We offer specialized services for Bulk, Wholesale & B2B Customers like discounted prices, additional shipping options, customised products, etc . Customer with large quantity & regular orders qualify for the specialised discounted rates.
We also offer dedicated sales team to assist you with the order process by providing sales quotations, PI, technical support for choosing products, etc.
Note: Business Orders are processed manually and usually take 1-3 days to process compared to placing the order directly on our website. Please plan your purchases accordingly.
Need Help?
For bulk enquiries contact us by -
First-time buyers will find a vast inventory of specialized components and a team that is highly regarded for offering knowledgeable project guidance. Although delivery experiences can be mixed, the shop remains a top choice for those seeking excellent post-sale support and quick communication via WhatsApp.
● 18 min read⚠️ LEGAL & SAFETY WARNING (INDIA) RF Compliance & Lithium Safety: Deploying wireless weather stations in India requires strict adherence to WP
Read Article →
● 18 min readVol. 37 | The Gearbox Gladiators It’s a three-way standoff in the mechanical arena: sheer towing capacity, perfectly calculated balance, and blisterin
Read Article →
● 18 min readHumidity isn’t just uncomfortable—it corrodes traces, shorts logic gates, and breeds mold in commercial HVAC systems. We are taking the legendar
Read Article →