SlideShare a Scribd company logo
Screenshot of web interface
To use this application, you need to have the Arduino IDE installed on your computer. You can
download the Arduino IDE from the official website: https://www.arduino.cc/en/software
1. ESP32 Development Board: You'll need an ESP32 development board, such as the
popular ESP32-DevKitC or ESP32-WROOM-32D. These boards typically come with Wi-Fi
and Bluetooth capabilities and a variety of GPIO pins for interfacing with peripherals.
2. Rotary Encoders: To adjust the waveform parameters, you will need a total of 7 rotary
encoders. You can use KY-040 rotary encoder modules or any other type of incremental
rotary encoder with built-in push buttons. Ensure that the rotary encoders you choose
have a CLK, DT, and SW (push button) pinout.
3. Breadboard and Jumper Wires: A breadboard and jumper wires are required to make
the necessary connections between the ESP32 development board and the rotary
encoders.
ESP32 - Complex Waveform
Generator V3
Installing and Using the ESP32 Complex Waveform
Generator V3 Application
Prerequisites
4. Power Supply: You will need a power supply to power the ESP32 development board.
This can be a USB power supply, a battery, or any other suitable power source that meets
the board's voltage and current requirements, such an ATX Supply from a computer.
5VDC 1A minimum is recommended to prevent brownout conditions while interacting with
a driver circuit.
5. Oscilloscope (optional): To visualize the generated waveform, you can use an
oscilloscope. Connect the output pins (channel1OutputPin and channel2OutputPin) from
the ESP32 development board to the oscilloscope's input channels.
1. ArduinoJson: To install the ArduinoJson library, follow these steps: a. Open the Arduino
IDE. b. Click on Tools in the menu bar, then Manage Libraries . c. In the Library Manager
window, search for "ArduinoJson" in the search bar. d. Find "ArduinoJson by Benoit
Blanchon" in the search results and click on the Install button.
2. ESP32Encoder: To install the ESP32Encoder library, follow these steps: a. Open the
Arduino IDE. b. Click on Tools in the menu bar, then Manage Libraries . c. In the Library
Manager window, search for "ESP32Encoder" in the search bar. d. Find "ESP32Encoder by
Gil Mora" in the search results and click on the Install button.
1. Download the source code for the ESP32 Complex Waveform Generator V3 application or
copy it to a new file in the Arduino IDE.
2. Connect the ESP32 development board to your computer using a USB cable.
3. In the Arduino IDE, select the appropriate board and port under Tools > Board and Tools
> Port .
4. Click on the Upload button (right-facing arrow icon) in the Arduino IDE to compile and
upload the application to the ESP32 development board.
1. Wire the rotary encoders and other components according to the pin assignments defined
in the source code.
ESP32 Pin Encoder Connection Encoder Function
14 Pulse Encoder CLK Pulse count
13 Pulse Encoder DT Pulse count
35 Width Encoder CLK Pulse width
34 Width Encoder DT Pulse width
Installing required libraries
Uploading the Application
Hardware Setup
ESP32 Pin Encoder Connection Encoder Function
19 Spacing Encoder CLK Pulse spacing
18 Spacing Encoder DT Pulse spacing
23 Off-time Encoder CLK Off-time
22 Off-time Encoder DT Off-time
27 Width Mod Encoder CLK Width modifier
26 Width Mod Encoder DT Width modifier
15 Spacing Mod Encoder CLK Spacing modifier
32 Spacing Mod Encoder DT Spacing modifier
33 Off-time Mod Encoder CLK Off-time modifier
4 Off-time Mod Encoder DT Off-time modifier
2 Output Channel 1 Output waveform
5 Output Channel 2 Output waveform
2. Make sure the connections are secure and verify the CLK/DT pins for each encoder are
wired correctly, and that each encoder turns in the correct direction relative to the
respective parameter change.
1. Power on the ESP32 development board.
2. Use the rotary encoders to adjust the following parameters:
Pulse count
Pulse width
Pulse spacing
Off-time
Width modifier
Spacing modifier
Off-time modifier
3. The application will generate a complex waveform based on the adjusted parameters.
4. Connect the output pins (channel1OutputPin and channel2OutputPin) to an oscilloscope to
visualize the generated waveform.
5. Open the WebApp/index.html page in a browser.
6. Fine-tune the parameters using the rotary encoders to achieve the desired waveform
shape and characteristics.
Using the Application
Next Steps For Utilization
Build ESP32 CWG - VIC Driver circuit(s) - https://stanslegacy.com/books/chris-
bake/page/esp32-cwg-driver-amplification
Cell Construction - https://stanslegacy.com/books/ethan-crowder/page/resonant-cavity-
related
1. If the waveform does not match the expected output, verify the wiring connections and
ensure the rotary encoders are functioning correctly.
2. If the application does not upload to the ESP32 development board, double-check the
board and port selection in the Arduino IDE.
3. If the rotary encoders behave unexpectedly (e.g., adjusting one parameter affects
another), check the CLK/DT pin assignments and wiring.
4. Click the PInout button to fetch the currently defined GPIO pins from the ESP32 directly
and confirm they are wired correctly.
For further assistance or to report any issues, contact the application's support team or refer to the
community forums.
Troubleshooting
Revision #18
Created 6 May 2023 18:19:40 by Chris Bake
Updated 8 May 2023 14:25:12 by Chris Bake

More Related Content

PDF
arduino-esp32-projects.pdf
PDF
esp32-complex-waveform-generator-v2.pdf
PDF
Smart Projects With Arduino And Esp32 Integrating Artificial Intelligence Abd...
PPTX
6-MicrocontrollersSystemLessonOneSix.pptx
PDF
experiment and Flowchart - Lab Manual MP
PDF
Weather monitoring System Using STM32
PDF
Sonar Project Report
PDF
aurduino-200107075953.pdf
arduino-esp32-projects.pdf
esp32-complex-waveform-generator-v2.pdf
Smart Projects With Arduino And Esp32 Integrating Artificial Intelligence Abd...
6-MicrocontrollersSystemLessonOneSix.pptx
experiment and Flowchart - Lab Manual MP
Weather monitoring System Using STM32
Sonar Project Report
aurduino-200107075953.pdf

Similar to esp32-complex-waveform-generator-v3 (1).pdf (20)

PPTX
Arduino: On-board components description, IDE and Programming
PPTX
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
PPTX
Industrial Applications of Arduino using Ladder Logic
PDF
ESP32 WiFi & Bluetooth Module - Getting Started Guide
PPTX
Embedded system application
PPTX
Embedded L1_notes_unit2_architecture.pptx
PPTX
wireless charging of an electrical vechicle 3
PDF
Automatic Enable and Disable Speed Breaker
PDF
Lecture 3 (tool stick platform) rv01
PDF
Multipilot pres-ufficiale def
PDF
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
PDF
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
DOCX
Monitoring temperature ruangan dengan display lcd
DOCX
Monitoring temperature ruangan dengan display lcd dan recording
DOCX
Monitoring temperature ruangan dengan display lcd
PDF
Ardublock tutorial
PDF
Experiment on Digital Sensor Interfacing
PDF
What is arduino
PDF
Rdl esp32 development board trainer kit
PDF
Arduino: On-board components description, IDE and Programming
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Industrial Applications of Arduino using Ladder Logic
ESP32 WiFi & Bluetooth Module - Getting Started Guide
Embedded system application
Embedded L1_notes_unit2_architecture.pptx
wireless charging of an electrical vechicle 3
Automatic Enable and Disable Speed Breaker
Lecture 3 (tool stick platform) rv01
Multipilot pres-ufficiale def
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Monitoring temperature ruangan dengan display lcd
Monitoring temperature ruangan dengan display lcd dan recording
Monitoring temperature ruangan dengan display lcd
Ardublock tutorial
Experiment on Digital Sensor Interfacing
What is arduino
Rdl esp32 development board trainer kit
Ad

More from Daniel Donatelli (20)

PDF
Best KNow Hydrogen Fuel Production in the World The cost in USD kwh for H2
DOCX
Rectenna Explantions of Diode Choices to Advance Applications .docx
PDF
Advancing Electron Extraction Nano Bubble Water and as Streams.pdf
PDF
water fuel 2025 news updates how it works
PDF
Daniel Donatelli amazing ok yes science
PDF
Who is Daniel Donatelli amazing yes science
PDF
Daniel Donatelli is Who 8 amazing science
PDF
Daniel Donatelli is Who amazing science
PDF
who Daniel Donatelli is ok amazing science
PDF
Daniel Donatelli who ok yes amazing science
PDF
Stanley A Meyer Nano Bubble Water Fuel and the Daniel Donatelli Cycle.pdf
PDF
who is Stanley Meyer Daniel Donatelli.pdf
PDF
Daniel Donatelli Secure Supplies Details Water Fuels H2 Hydrogen
PDF
Global Leader Daniel Donatelli Nano Bubble Water Fuel .pdf
PDF
Understanding the Donatelli Cycle Non Carnot more force than heat
PDF
Nano Bubble Water Fuel Positive Grounding Engines Daniel Donatelli.pdf
DOCX
Nano BUbble Water Fuel Ignitions Systems 2024 Dec.docx
PDF
Nano Bubble Water Fuel Ignition donatelli
PDF
Nano BUbble Water Fuel Ignitions Systems 2024 Dec.pdf
PDF
Daniel Donatelli Founder Secure Supplies Group .pdf
Best KNow Hydrogen Fuel Production in the World The cost in USD kwh for H2
Rectenna Explantions of Diode Choices to Advance Applications .docx
Advancing Electron Extraction Nano Bubble Water and as Streams.pdf
water fuel 2025 news updates how it works
Daniel Donatelli amazing ok yes science
Who is Daniel Donatelli amazing yes science
Daniel Donatelli is Who 8 amazing science
Daniel Donatelli is Who amazing science
who Daniel Donatelli is ok amazing science
Daniel Donatelli who ok yes amazing science
Stanley A Meyer Nano Bubble Water Fuel and the Daniel Donatelli Cycle.pdf
who is Stanley Meyer Daniel Donatelli.pdf
Daniel Donatelli Secure Supplies Details Water Fuels H2 Hydrogen
Global Leader Daniel Donatelli Nano Bubble Water Fuel .pdf
Understanding the Donatelli Cycle Non Carnot more force than heat
Nano Bubble Water Fuel Positive Grounding Engines Daniel Donatelli.pdf
Nano BUbble Water Fuel Ignitions Systems 2024 Dec.docx
Nano Bubble Water Fuel Ignition donatelli
Nano BUbble Water Fuel Ignitions Systems 2024 Dec.pdf
Daniel Donatelli Founder Secure Supplies Group .pdf
Ad

Recently uploaded (20)

PDF
EC300D LR EC300DLR - Volvo Service Repair Manual.pdf
PPT
Your score increases as you pick a category, fill out a long description and ...
PDF
Honda Dealership SNS Evaluation pdf/ppts
PPTX
Fire Fighting Unit IV industrial safety.pptx
PPTX
Lecture 3b C Library xnxjxjxjxkx_ ESP32.pptx
PDF
higher edu open stores 12.5.24 (1).pdf forreal
PDF
Caterpillar Cat 315C Excavator (Prefix ANF) Service Repair Manual Instant Dow...
PPTX
IMMUNITY TYPES PPT.pptx very good , sufficient
PDF
Todays Technician Automotive Heating & Air Conditioning Classroom Manual and ...
PDF
Caterpillar CAT 311B EXCAVATOR (8GR00001-UP) Operation and Maintenance Manual...
PDF
industrial engineering and safety system
PDF
Volvo EC290C NL EC290CNL Hydraulic Excavator Specs Manual.pdf
PPTX
Zeem: Transition Your Fleet, Seamlessly by Margaret Boelter
PDF
How Much does a Volvo EC290C NL EC290CNL Weight.pdf
PDF
EC290C NL EC290CNL Volvo excavator specs.pdf
PPTX
Gayatri Cultural Educational Society.pptx
PDF
Volvo EC20C Excavator Step-by-step Maintenance Instructions pdf
PPTX
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
PDF
Volvo EC300D L EC300DL excavator weight Manuals.pdf
PPTX
UNIT-2(B) Organisavtional Appraisal.pptx
EC300D LR EC300DLR - Volvo Service Repair Manual.pdf
Your score increases as you pick a category, fill out a long description and ...
Honda Dealership SNS Evaluation pdf/ppts
Fire Fighting Unit IV industrial safety.pptx
Lecture 3b C Library xnxjxjxjxkx_ ESP32.pptx
higher edu open stores 12.5.24 (1).pdf forreal
Caterpillar Cat 315C Excavator (Prefix ANF) Service Repair Manual Instant Dow...
IMMUNITY TYPES PPT.pptx very good , sufficient
Todays Technician Automotive Heating & Air Conditioning Classroom Manual and ...
Caterpillar CAT 311B EXCAVATOR (8GR00001-UP) Operation and Maintenance Manual...
industrial engineering and safety system
Volvo EC290C NL EC290CNL Hydraulic Excavator Specs Manual.pdf
Zeem: Transition Your Fleet, Seamlessly by Margaret Boelter
How Much does a Volvo EC290C NL EC290CNL Weight.pdf
EC290C NL EC290CNL Volvo excavator specs.pdf
Gayatri Cultural Educational Society.pptx
Volvo EC20C Excavator Step-by-step Maintenance Instructions pdf
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
Volvo EC300D L EC300DL excavator weight Manuals.pdf
UNIT-2(B) Organisavtional Appraisal.pptx

esp32-complex-waveform-generator-v3 (1).pdf

  • 1. Screenshot of web interface To use this application, you need to have the Arduino IDE installed on your computer. You can download the Arduino IDE from the official website: https://www.arduino.cc/en/software 1. ESP32 Development Board: You'll need an ESP32 development board, such as the popular ESP32-DevKitC or ESP32-WROOM-32D. These boards typically come with Wi-Fi and Bluetooth capabilities and a variety of GPIO pins for interfacing with peripherals. 2. Rotary Encoders: To adjust the waveform parameters, you will need a total of 7 rotary encoders. You can use KY-040 rotary encoder modules or any other type of incremental rotary encoder with built-in push buttons. Ensure that the rotary encoders you choose have a CLK, DT, and SW (push button) pinout. 3. Breadboard and Jumper Wires: A breadboard and jumper wires are required to make the necessary connections between the ESP32 development board and the rotary encoders. ESP32 - Complex Waveform Generator V3 Installing and Using the ESP32 Complex Waveform Generator V3 Application Prerequisites
  • 2. 4. Power Supply: You will need a power supply to power the ESP32 development board. This can be a USB power supply, a battery, or any other suitable power source that meets the board's voltage and current requirements, such an ATX Supply from a computer. 5VDC 1A minimum is recommended to prevent brownout conditions while interacting with a driver circuit. 5. Oscilloscope (optional): To visualize the generated waveform, you can use an oscilloscope. Connect the output pins (channel1OutputPin and channel2OutputPin) from the ESP32 development board to the oscilloscope's input channels. 1. ArduinoJson: To install the ArduinoJson library, follow these steps: a. Open the Arduino IDE. b. Click on Tools in the menu bar, then Manage Libraries . c. In the Library Manager window, search for "ArduinoJson" in the search bar. d. Find "ArduinoJson by Benoit Blanchon" in the search results and click on the Install button. 2. ESP32Encoder: To install the ESP32Encoder library, follow these steps: a. Open the Arduino IDE. b. Click on Tools in the menu bar, then Manage Libraries . c. In the Library Manager window, search for "ESP32Encoder" in the search bar. d. Find "ESP32Encoder by Gil Mora" in the search results and click on the Install button. 1. Download the source code for the ESP32 Complex Waveform Generator V3 application or copy it to a new file in the Arduino IDE. 2. Connect the ESP32 development board to your computer using a USB cable. 3. In the Arduino IDE, select the appropriate board and port under Tools > Board and Tools > Port . 4. Click on the Upload button (right-facing arrow icon) in the Arduino IDE to compile and upload the application to the ESP32 development board. 1. Wire the rotary encoders and other components according to the pin assignments defined in the source code. ESP32 Pin Encoder Connection Encoder Function 14 Pulse Encoder CLK Pulse count 13 Pulse Encoder DT Pulse count 35 Width Encoder CLK Pulse width 34 Width Encoder DT Pulse width Installing required libraries Uploading the Application Hardware Setup
  • 3. ESP32 Pin Encoder Connection Encoder Function 19 Spacing Encoder CLK Pulse spacing 18 Spacing Encoder DT Pulse spacing 23 Off-time Encoder CLK Off-time 22 Off-time Encoder DT Off-time 27 Width Mod Encoder CLK Width modifier 26 Width Mod Encoder DT Width modifier 15 Spacing Mod Encoder CLK Spacing modifier 32 Spacing Mod Encoder DT Spacing modifier 33 Off-time Mod Encoder CLK Off-time modifier 4 Off-time Mod Encoder DT Off-time modifier 2 Output Channel 1 Output waveform 5 Output Channel 2 Output waveform 2. Make sure the connections are secure and verify the CLK/DT pins for each encoder are wired correctly, and that each encoder turns in the correct direction relative to the respective parameter change. 1. Power on the ESP32 development board. 2. Use the rotary encoders to adjust the following parameters: Pulse count Pulse width Pulse spacing Off-time Width modifier Spacing modifier Off-time modifier 3. The application will generate a complex waveform based on the adjusted parameters. 4. Connect the output pins (channel1OutputPin and channel2OutputPin) to an oscilloscope to visualize the generated waveform. 5. Open the WebApp/index.html page in a browser. 6. Fine-tune the parameters using the rotary encoders to achieve the desired waveform shape and characteristics. Using the Application Next Steps For Utilization
  • 4. Build ESP32 CWG - VIC Driver circuit(s) - https://stanslegacy.com/books/chris- bake/page/esp32-cwg-driver-amplification Cell Construction - https://stanslegacy.com/books/ethan-crowder/page/resonant-cavity- related 1. If the waveform does not match the expected output, verify the wiring connections and ensure the rotary encoders are functioning correctly. 2. If the application does not upload to the ESP32 development board, double-check the board and port selection in the Arduino IDE. 3. If the rotary encoders behave unexpectedly (e.g., adjusting one parameter affects another), check the CLK/DT pin assignments and wiring. 4. Click the PInout button to fetch the currently defined GPIO pins from the ESP32 directly and confirm they are wired correctly. For further assistance or to report any issues, contact the application's support team or refer to the community forums. Troubleshooting Revision #18 Created 6 May 2023 18:19:40 by Chris Bake Updated 8 May 2023 14:25:12 by Chris Bake