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
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
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 Node32
s
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?
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
Here are the tutorials that I was talking about:
Regards,
Sara