Cities worldwide are evolving into ‘smart’ ecosystems, becoming more connected, responsive, and sustainable by leveraging data from vast networks of devices. This transformation depends on affordable, scalable technologies that form the backbone of a city’s digital infrastructure. In earlier articles, we examined the technical foundations of ESP32 Mesh’s Wi-Fi and Bluetooth capabilities. Now, we turn to their impact-shifting from how these technologies work to what they enable-highlighting their key role in real-world smart city applications

What is the role of Embedded Systems in smart cities?

Although largely invisible to the public, embedded systems are the central nervous system of a smart city. These small, dedicated computers, composed of microcontrollers, sensors, and actuators, are integrated into urban infrastructure like traffic lights, utility meters, and streetlights. Their function is to collect real-time data from the physical environment, process it, and enable automated, intelligent responses. For example, they allow traffic signals to adjust dynamically to congestion or utility grids to balance energy supply with demand. 

Manufacturers design microcontrollers to work with a variety of hardware. They consume little power and often come as SoCs (System-on-Chip) that include wireless communication interfaces. These advantages drive their widespread use in connecting devices and infrastructure to shared home, city, and global networks. The favorable price of microcontrollers allows for efficient scaling of the prepared solution. The use of a mesh network also makes it possible to increase the number of wireless devices manufactured without unnecessarily increasing the costs of the connecting infrastructure.

What is ESP32 Mesh Networking?

Mesh refers to a decentralized, multi-hop network that is self-organizing and self-healing. When one node fails, the network automatically reroutes data through an alternative path, ensuring high reliability and extended coverage over large areas. The ESP32 Mesh platform supports two powerful network types: one based on Wi-Fi and another on BLE (Bluetooth Low Energy), each protocol offers unique strength for different IoT applications.

ESP-WIFI-MESH is a networking protocol built directly on top of the standard Wi-Fi protocol. Rather than requiring every device to connect to a central router, nodes connect directly to their neighbors, relaying information for one another. The protocol delivers high throughput and relies on well-established, IP-based routing algorithms that ensure efficiency. However, using Wi-Fi mesh typically results in high energy consumption, which poses challenges for battery-powered or energy-harvesting devices. If your solution needs to be based on a very fast mesh connection, wifi-mesh is the solution for you.

ESP-BLE-MESH, as the name suggests, is built on Bluetooth Low Energy technology. It also creates a many-to-many network where nodes can relay messages, but its primary advantage is extremely low power consumption. This makes it ideal for large-scale deployments of battery-powered sensors and devices that need to operate for months or even years without intervention. While offering lower bandwidth than its Wi-Fi counterpart, BLE Mesh excels in creating vast, power-efficient networks for applications like asset tracking and environmental sensing.

Why is ESP32 Mesh perfect for Smart City IoT?

A major advantage of ESP32 over other microcontrollers is its built-in communication modules that enable mesh connections. This is a great convenience in mass production of the product, simplifying design and reducing costs. 

Advantages:

  • Low initial costs – The affordable price of ESP32 modules makes it easier to launch a new product on the market. Lower unit costs mean more devices can be produced within the budget, and the more devices the mesh network has, the better. 
  • Resilience and scalability – The self-healing nature of mesh networks ensures high reliability for critical city services by automatically routing around failed nodes. The network easily scales as new devices join and automatically integrate into the existing topology without complex reconfiguration.
  • Extender coverage – The multihop relay system allows the network to cover large urban areas without requiring expensive backhaul infrastructure for every node.
  • High throughput – Wifi-MESH offers significantly higher bandwidth, making it suitable for applications beyond simple sensor readings, such as transmitting images or low-latency control commands.

Of course, there are also certain limitations that may not always apply to the product or system being developed. One of them is latency which can increase as data packets travel across multiple hoops and network congestion can occur in dense deployments with high traffic. Additionally, as it operates in the common 2.4Ghz band, it can be susceptible to radio interference. An obvious problem with wireless connectivity is range, which typically ranges from 50 to 100 meters for the aforementioned mesh networks. Beside that, there are good examples of use cases for ESP32 Mesh.

Use Case scenarios

  1. Intelligent street lighting – Traditional street lighting is a major energy expense for cities. By embedding ESP32-based controllers into each lamp or a section of lamps (e.g. a single street), cities can create a city-wide mesh network. This allows for remote monitoring, dynamic dimming based on traffic or ambient light, and automatic fault detection and reporting. The result is a potential energy saving and the creation of a powered communication backbone that can host other smart city sensors.
  2. Local environmental monitoring – To combat urban pollution effectively, cities need granular, real-time data. ESP32 mesh networks make this possible by enabling dense, low-cost sensor arrays that track air quality, noise, and other environmental factors on a block-by-block basis. For example, a real-world deployment on a college campus showed that such a network can deliver over 97% packet delivery reliability and can self-heal from node failures in seconds, proving its robustness for critical monitoring. 
  3. Dynamics waste management – Fixed waste collection schedules are inefficient, leading to overflowing bins or unnecessary trips. Smart bins equipped with ESP32 and ultrasonic or camera-based sensors can report their fill levels over a mesh network. This data allows municipal services to generate optimized, dynamic collection routes, saving fuel and labor while preventing overflows. Advanced systems using the ESP32-CAM can even analyze the type of waste, providing valuable data for recycling programs.

What is the future of ESP32 Mesh and why is it gaining popularity?

The popularity of the ESP32 is driven by its low cost, decent performance, integrated connectivity, and a massive developer community. As a result, it has become a go-to choice for Internet-connected devices. At the same time, mesh networking is on its way to becoming a core architecture for future urban IoT

Looking ahead, mesh networking will evolve by pushing more intelligence to the network edge. In practice, this means running machine learning models directly on ESP32 devices for predictive maintenance, strengthening security, and ensuring interoperability through standards like Matter. Ultimately, ESP32 mesh will form the essential ‘capillary network’ that connects the vast number of sensors on the ground, feeding data into the high-capacity ‘arterial’ networks like 5G and fiber.

Conclusion

A city is a large living organism that requires efficient and proactive management. Not everything can always be measured, counted, or tracked. With mesh technologies, converting objects or infrastructure into connected smart devices, these limitations become a thing of the past. Additional information collected by smart things will enrich statistics, fill in missing feedback loops and, as a result, help in making decisions that will save money, working hours and even emissions into the environment.

ESP32 combines two important features that every device dedicated to smart cities should have: low price and mesh network support. When designing a device, the cost of the hardware used is important, and when designing network infrastructure, scalability, resistance to unforeseen events, and downtime are important. These advantages speak for themselves.

If you’re ready to build the next generation of urban infrastructure, WizzDev company can help architect and implement professional mesh networking solutions. We leverage deep expertise in embedded systems, RF design, and custom software development to transform the vision of a smart city into a functional, scalable reality. With ESP32 at the core, smart city solutions gain the critical advantages they need: affordability, mesh connectivity, and reliability. By combining our expertise with the inherent strengths of ESP32, we turn visionary ideas into robust, future-proof infrastructure—making tomorrow’s cities more connected, efficient, and resilient.