• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32-WROOM32 DoITDEVKIT V1 as a Signal Generator

Q&A Forum › ESP32-WROOM32 DoITDEVKIT V1 as a Signal Generator
0 Vote Up Vote Down
Robert Ralston asked 3 years ago

This post is a continuation of my first post studying the Remote Control Peripheral (RMT) called: ESP32-WROOM32 DoITDEVKIT V1 as a TV Remote Control 
 
https://rntlab.com/question/esp32-wroom32-doitdevkit-v1-as-a-tv-remote-control/
 
I was surprised to discover an implementation not discussed in the primary documentation which can easily create several different frequency square waves with a 50% duty cycle.
 
Code (at both Pastebin and in the PDF) includes:
      implementing 7 simultaneous square wave channels, outputting on 7 pins, with frequencies from 250 kHz to 5 MHz.
 
      reading RAM locations where the RMT data is stored for transmission, which visually demonstrates the documentation.
 
      formatting memory and register reads to keep leading zeroes and to output 32-bits as 8 groups of 4 bits, a visually useful format. 
 
CODE at Pastebin     ESP32 Square Waves
MY NOTES PDF        ESP32 SigGen

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

That’s great!
Thank you so much for sharing.
I’m currently out of the office, but I’ll take a closer look when I get back.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.