• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » What is the Maximum Cable Length Between Arduino/ESP32 and a Sensor

By Abhishek Ghosh April 8, 2021 6:25 pm Updated on April 8, 2021

What is the Maximum Cable Length Between Arduino/ESP32 and a Sensor

Advertisement

After reading our guide on How to Interface a Piano/Rocker Switch (SPST) With ESP32 Arduino, one reader has asked whether it is possible to keep all his ESP32 with relays and indicators at one room and connect the switches, sensors of the whole house via cables. That is possible to deploy but various hardware components will be required. Also, coding may need some change. I believe that so huge work is practical for one sensor but not for a bunch of switches. The software-based IoT hubs avoid the complexities of communication.

The length of the cable will depend on the type of signal transmitted such as whether it is analogue or digital, its frequency, low/high impedance of the signal source, the type of cable used and so on. For I²C, the length is better to be within 3 meters. The length can be made as long as 300 meters.

With a 22AWG cable length of 50 meters and a 100mA current, the voltage drop would be around 1 V. The capacitance of any cable will affect the rise and fall times of the signals. That can affect the measured duration of the pulse received from the sensor. As for the analogue signals, it may be important to add a capacitor to decouple the power to the sensor at its terminals. But, really I wouldn’t add capacitor alone to the sensor line. I will also add a resistor before the filter capacitor. In the case of an SPST switch, following this way you can practically use a 100 meter shielded cable (like CAT 5e cables or cables that are used for phone lines).

Advertisement

---

For longer distances, and to save from electrical noise, differential signalling is often used. RS-422 systems can transmit data at rates as high as 10 Mbit/s or may be sent on cables as long as 1,500 meters at lower rates. PES-2607 is an RS422/RS485 Expansion Board for Arduino Uno. There are few articles on this internet on how to interface RS485 modules with ESP32 and write the code. There are different error detection algorithms and schemes for such kind of setup. There is Reed–Solomon error correction library for Arduino/ESP32. I discussed about Kalman filter, which can be tested.

What is the Maximum Cable Length Between Arduino ESP32 and a Sensor

But, the space on ESP32 is too little. It is so small space that I had to edit the code for Detect Smartwatch With ESP32 on IBM Watson IoT Widget, even after Solving ESP32 Sketch Too Big Error. If you use a lot of pins then the code probably will become enough big not to fit on an ESP32. The idea was great but difficult to implement using wires. Instead, you can have a “physical control panel” connected over Wi-Fi or the internet.

Using one ESP32 per room is the usual norm. It is possible to use one ESP32 for two adjacent rooms, corridors etc as the length of the cable will not exceed 10 feet.

Tagged With https://thecustomizewindows com/2021/04/what-is-the-maximum-cable-length-between-arduino-esp32-and-a-sensor/ , https://thecustomizewindows com/2021/04/what-is-the-maximum-cable-length-between-arduino-esp32-and-a-sensor/#:~:text=The length can be made pulse received from the sensor , Arduino fingerprint sensor maximum cable length , arduino sensor cable length , https://thecustomizewindows com/2021/04/what-is-the-maximum-cable-length-between-arduino-esp32-and-a-sensor/#:~:text=The length can be made fall times of the signals , https://thecustomizewindows com/2021/04/what-is-the-maximum-cable-length-between-arduino-esp32-and-a-sensor/#:~:text=The length can be made would be around 1 V , long cables for arduino
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to What is the Maximum Cable Length Between Arduino/ESP32 and a Sensor

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • ESP32 vs Arduino : How ESP32 is Different from Arduino

    ESP32 is a low cost, low power consuming System on Chip (SoC) with integrated Wi-Fi and Bluetooth compatible with Arduino IDE.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy