This commit is contained in:
2025-07-06 11:42:25 -04:00
parent ef1bb024f5
commit 85425b4014
8 changed files with 32 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
DATA STRUCTS
============
The struct serves as the data payload for sending control signals from transmitting device to the receiver using ESP-NOW.
The struct serves as the data payload for sending control signals from the transmitting device to the receiver using ESP-NOW.
In addition, it may contain additional data such as telemetry, battery status, etc.
The *sensors_data_t* struct is designed as a data payload that encapsulates all control commands and sensor states relevant to the vehicle's operation.

View File

@@ -1,32 +1,28 @@
OVERVIEW
============
At the heart of this project is a customizable remote-controlled car that responds to real-time control inputs capable of handling speed adjustments,
At the heart of this project is a customizable remote-controlled car that responds to real-time control inputs, capable of handling speed adjustments,
directional changes, and even extended features like lights or sensors. The foundational setup uses ESP-NOW for transmitter and receiver devices,
allowing you to wirelessly guide the car's behavior. While the design and physical appearance of the RC car can vary wildly depending on your
allowing you to wirelessly guide the car's behaviour. While the design and physical appearance of the RC car can vary wildly depending on your
creativity and available hardware, the control system remains elegantly efficient. To facilitate wireless communication between devices, the system employs
ESP-NOW, a lightweight and connection-free protocol ideal for fast, low-latency data transmission between ESP32 microcontrollers. Though ESP-NOW is used under
ESP-NOW is a lightweight and connection-free protocol ideal for fast, low-latency data transmission between ESP32 microcontrollers. Though ESP-NOW is used under
the hood, the spotlight remains on the RC car itself: how it moves, adapts, and evolves with your ideas.
An ESP-NOW-based remote-controller sends control data wirelessly using the ESP-NOW protocol to the remote-controlled car. ESP-NOW enables fast and
efficient communication between ESP32 devices without the need for Wi-Fi router, network nor pairing. The provided tutorial demonstrates a functional
setup where a transmitter sends data to a receiver to define the car's speed and direction forming the core communication loop. While the baseline
An ESP-NOW-based remote controller sends control data wirelessly using the ESP-NOW protocol to the remote-controlled car. ESP-NOW enables fast and
efficient communication between ESP32 devices without the need for a Wi-Fi router, network, or pairing. The provided tutorial demonstrates a functional
setup where a transmitter sends data to a receiver to define the car's speed and direction, forming the core communication loop. While the baseline
implementation focuses on movement, additional features like lights, sensors, or telemetry can easily be integrated by expanding the source code. This
modular design gives users the freedom to customize both the appearance and behavior of their RC car, resulting in endless creative possibilities.
modular design gives users the freedom to customize both the appearance and behaviour of their RC car, resulting in endless creative possibilities.
ABSTRACT
--------
At the core of this project lies a shared data structure that encapsulates the control parameters for the DC motors, specifically their rotation speeds,
which are modulated using Pulse Width Modulation (PWM). This structure ensures consistent interpretation of control signals between the transmitter
and receiver.
To enable real-time remote operation of the RC car, the system translates joystick inputs into PWM (Pulse Width Modulation) signals that control the DC motors.
These PWM values are stored in a predefined data structure, which is then transmitted wirelessly using ESP-NOW — a low-latency, connectionless
communication protocol developed by Espressif. Both the transmitter and receiver modules are based on ESP32-C3 microcontrollers.
The system employs ESP-NOW, a low-latency, connectionless communication protocol developed by Espressif, to facilitate wireless data exchange between
the transmitter and receiver modules. Both devices are based on ESP32 microcontrollers and maintain a synchronized understanding of the data structure
to ensure seamless communication.
On the transmitter side, the joystick's X and Y coordinates are continuously monitored and converted into PWM parameters. These values are packed into the
data structure and sent via ESP-NOW to the receiver.
On the transmitter side, joystick input is continuously read and translated into control values. These values are then encapsulated into the
predefined data structure and transmitted via ESP-NOW to the receiver.
The receiver module listens for incoming ESP-NOW packets, de-encapsulates the joystick data, and converts the received values into PWM signals.
These signals are then used to control the speed and direction of the DC motors, enabling real-time remote operation of the vehicle.
The receiver module listens for incoming ESP-NOW packets, extracts the PWM control data, and applies it directly to the DC motors. This communication flow
allows the RC car to respond instantly to user input, managing speed and direction without any physical connection between the devices.

View File

@@ -35,7 +35,7 @@
<section id="data-structs">
<h1>DATA STRUCTS<a class="headerlink" href="#data-structs" title="Link to this heading"></a></h1>
<p>The struct serves as the data payload for sending control signals from transmitting device to the receiver using ESP-NOW.
<p>The struct serves as the data payload for sending control signals from the transmitting device to the receiver using ESP-NOW.
In addition, it may contain additional data such as telemetry, battery status, etc.</p>
<p>The <em>sensors_data_t</em> struct is designed as a data payload that encapsulates all control commands and sensor states relevant to the vehicles operation.
Its intended to be sent from a transmitting device (like a remote control or master controller) to a receiver (such as a microcontroller onboard the vehicle).</p>

View File

@@ -35,29 +35,26 @@
<section id="overview">
<h1>OVERVIEW<a class="headerlink" href="#overview" title="Link to this heading"></a></h1>
<p>At the heart of this project is a customizable remote-controlled car that responds to real-time control inputs capable of handling speed adjustments,
<p>At the heart of this project is a customizable remote-controlled car that responds to real-time control inputs, capable of handling speed adjustments,
directional changes, and even extended features like lights or sensors. The foundational setup uses ESP-NOW for transmitter and receiver devices,
allowing you to wirelessly guide the cars behavior. While the design and physical appearance of the RC car can vary wildly depending on your
allowing you to wirelessly guide the cars behaviour. While the design and physical appearance of the RC car can vary wildly depending on your
creativity and available hardware, the control system remains elegantly efficient. To facilitate wireless communication between devices, the system employs
ESP-NOW, a lightweight and connection-free protocol ideal for fast, low-latency data transmission between ESP32 microcontrollers. Though ESP-NOW is used under
ESP-NOW is a lightweight and connection-free protocol ideal for fast, low-latency data transmission between ESP32 microcontrollers. Though ESP-NOW is used under
the hood, the spotlight remains on the RC car itself: how it moves, adapts, and evolves with your ideas.</p>
<p>An ESP-NOW-based remote-controller sends control data wirelessly using the ESP-NOW protocol to the remote-controlled car. ESP-NOW enables fast and
efficient communication between ESP32 devices without the need for Wi-Fi router, network nor pairing. The provided tutorial demonstrates a functional
setup where a transmitter sends data to a receiver to define the cars speed and direction forming the core communication loop. While the baseline
<p>An ESP-NOW-based remote controller sends control data wirelessly using the ESP-NOW protocol to the remote-controlled car. ESP-NOW enables fast and
efficient communication between ESP32 devices without the need for a Wi-Fi router, network, or pairing. The provided tutorial demonstrates a functional
setup where a transmitter sends data to a receiver to define the cars speed and direction, forming the core communication loop. While the baseline
implementation focuses on movement, additional features like lights, sensors, or telemetry can easily be integrated by expanding the source code. This
modular design gives users the freedom to customize both the appearance and behavior of their RC car, resulting in endless creative possibilities.</p>
modular design gives users the freedom to customize both the appearance and behaviour of their RC car, resulting in endless creative possibilities.</p>
<section id="abstract">
<h2>ABSTRACT<a class="headerlink" href="#abstract" title="Link to this heading"></a></h2>
<p>At the core of this project lies a shared data structure that encapsulates the control parameters for the DC motors, specifically their rotation speeds,
which are modulated using Pulse Width Modulation (PWM). This structure ensures consistent interpretation of control signals between the transmitter
and receiver.</p>
<p>The system employs ESP-NOW, a low-latency, connectionless communication protocol developed by Espressif, to facilitate wireless data exchange between
the transmitter and receiver modules. Both devices are based on ESP32 microcontrollers and maintain a synchronized understanding of the data structure
to ensure seamless communication.</p>
<p>On the transmitter side, joystick input is continuously read and translated into control values. These values are then encapsulated into the
predefined data structure and transmitted via ESP-NOW to the receiver.</p>
<p>The receiver module listens for incoming ESP-NOW packets, de-encapsulates the joystick data, and converts the received values into PWM signals.
These signals are then used to control the speed and direction of the DC motors, enabling real-time remote operation of the vehicle.</p>
<p>To enable real-time remote operation of the RC car, the system translates joystick inputs into PWM (Pulse Width Modulation) signals that control the DC motors.
These PWM values are stored in a predefined data structure, which is then transmitted wirelessly using ESP-NOW — a low-latency, connectionless
communication protocol developed by Espressif. Both the transmitter and receiver modules are based on ESP32-C3 microcontrollers.</p>
<p>On the transmitter side, the joysticks X and Y coordinates are continuously monitored and converted into PWM parameters. These values are packed into the
data structure and sent via ESP-NOW to the receiver.</p>
<p>The receiver module listens for incoming ESP-NOW packets, extracts the PWM control data, and applies it directly to the DC motors. This communication flow
allows the RC car to respond instantly to user input, managing speed and direction without any physical connection between the devices.</p>
</section>
</section>
@@ -93,7 +90,7 @@ These signals are then used to control the speed and direction of the DC motors,
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="overview.html">HOW DOES IT WORK?</a></li>
<li class="toctree-l1"><a class="reference internal" href="data.html">DATA STRUCT</a></li>
<li class="toctree-l1"><a class="reference internal" href="data.html">DATA STRUCTS</a></li>
<li class="toctree-l1"><a class="reference internal" href="transmitter.html">TRANSMITTER</a></li>
<li class="toctree-l1"><a class="reference internal" href="receiver.html">RECEIVER</a></li>
<li class="toctree-l1"><a class="reference internal" href="progress.html">WORK-IN-PROGRESS WALK THROUGH</a></li>

File diff suppressed because one or more lines are too long