• 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

Update old tech

Q&A Forum › Category: Home Automation › Update old tech
0 Vote Up Vote Down
Mario Zandel asked 6 years ago

Hi everyone. I am  a recent convert to Python. I have built things in the past with Picaxe chips. With the explosion of IOT i thought it was time to update one of my projects. I teach Dog Agility, and have previously made automated jumps that worked by way of a 6 button remote. I had 6 heights in increments of 100mm.

I originally planned to use an RFID scanner on the dogs microchip to set the heights, but there might be health issues with constantly scanning the microchip.

So what I want to do is use my phones WiFi instead of the remote. I was thinking a front end webpage, which then broadcasts the value via sockets to all the other nodes. Does that sound feasible? I am hoping I can set them all to listen for traffic, but possibly also report back if any of them have a low battery status in some sort of notification area on the web page.

I bought the e-book on this website and have done a lot of reading about HTML, CSS and Javascript. It does get a bit overwhelming, so i am hoping that someone can point me in the right direction as i make my way through this. I probably will have lots of questions along the way, so thanks in advance for any help.

Marz

Question Tags: Marzan
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Mario.

Can you better explain the type of communication you’re trying to use?

You want to have many nodes reporting to the same board that you can access to check on your smartphone, is that it?

You can use ESP-NOW, but we don’t have any tutorial about that. Read more about ESP-NOW here: https://www.espressif.com/en/products/software/esp-now/overview

Alternatively, you can also use MQTT. Do you already have something in mind? With MQTT you need to have a broker, but it is a great way to establish a communication between boards because you can have one ESP32(“master”) subscribed to all the other ESP32 (“slaves”) topics.

Regards,

Sara

0 Vote Up Vote Down
Mario Zandel answered 6 years ago

Hi Sarah. at the moment it works with a remote transmitter   that sends  a 1,2,3,4,5,or 6   to 20 recievers. this is a link to the previous 4 buton version:
https://m.facebook.com/story.php?story_fbid=949379378515040&id=806598082793171&_rdr
I was hopng to have 2 way communication using WiFi on NodeMCUs or the new Node32s
I have started designing a webpage using HTML and CSS that I was going to store on the nodeMCU on the first jump pole, and have that broadcast to the other jumps and hopefully have the jumps report back to the webpage if the battery is running low. the idea is that someone can log on to the NodeMCU`s AP using their phone and control the jumps. does that make sense?

0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi Mario.

Yes. I think I understood.

We’re about to release a tutorial showing how to communicate via Wi-Fi between ESP32 boards. One of them is an access point and the other is set as a station that connects to the access point. I think it can be applied to your system. The example we have reports temperature readings, but you can modify it to report the battery state, for example.

As the tutorial is not published yet, I can share the code with you via email, if you want.

I also recommend taking a look at MQTT because it can be an easier solution to implement.

Regards,
Sara

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Here are the tutorials that I was talking about:

  • ESP32 Client-Server Wi-Fi Communication
  • ESP8266 Client-Server Wi-Fi Communication

Regards,
Sara

0 Vote Up Vote Down
Mario Zandel answered 5 years ago

Thanks for that Sarah. I will have a look at them.

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.