• 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

Number input type using WEBsocket connection

Q&A Forum › Category: ESP32 › Number input type using WEBsocket connection
0 Vote Up Vote Down
James Miller asked 2 months ago

I am trying to control a DFPlayer Mini with a DOIT ESP32 DEVKIT V1
I need to use an input box to enter a number from 1 to about 314
preferably using a method that doesn’t refresh the web page each time like a web-socket connection.
Once I have the variable available to the esp32 code the rest is easy. can you help?

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi.
HAve you taken a look at our websocket tutorial ? https://randomnerdtutorials.com/esp32-websocket-server-arduino/
Instead of sending a “ON” message you would send a number.
 
I also have this tutorial that has an input field for a number and uses websocket:

  • https://randomnerdtutorials.com/stepper-motor-esp32-websocket/

You need to check which parts of that code are relevant for your scenario.
 
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
James Miller answered 2 months ago

Thank you Sara
I found that tutorial last night after I sent you that message. I think it will show me what I need to get this accomplished.
You’re so helpful what a great WEB site your have.
Jim

0 Vote Up Vote Down
Sara Santos Staff answered 1 month ago

Thanks.
I hope that helps.
Let me know if you need help with anything else.
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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.