The esp32 can act as an http server so you can write a short page with text boxes, serve that to Safari or Chrome on your phone. Update the values from your phone and press enter. The parameters are passed to the Esp32 and you can set them to variables and do what ever you want with them.I appreciate the reference in the ESP. After just a quick review, I might agree that seems like it would be hard to beat! I think before we had to write off the Arduino because it was not compact enough, not enough power, not cheap enough, etc. Just not a pro setup, but the ESP is really getting there! Are there any other products in this lane I need to know about?
It does appear we might need some type of daughter board on one though to further protect the I/Os for the uC? I guess I have not yet found a PCB layout and such to better understand them.
In regards to the application for a phone. I am getting heat from a friend helping on this that native applications are a real pain as you need to get them right for a huge list of OSs. Rather we had looked at a web based app, but these devices will be used outdoors, and in many cases won't have inet services.
Part of this "app" will be to change some parameters and make adjustments to the device in the field. Bilateral communication. I will need to, for example, hit a reset or calibrate button on the phone to zero a sensor at a value. I will also need to review the data live, real time.
You're worrying totally pointlessly - there's nothing 'magic' about an Arduino - it's just a microcontroller on a development board. So you do your development on the Arduino development board, and then swap to a bare Atmel processor - EXACTLY as you would with a PIC or anything else. You can even buy Atmel processors with the boot loader already loaded, so a bare processor that can be used exactly as an Arduino.I was not aware of the ESP32, interesting. I am trying to develop a device to read a few sensors. It is something I may wish to commercialize so working with an Arduino just is not practical or professional. Currently working with PIC but could consider going a different route but in any case, trying to work from a bare uC, not a project board, which complicates this.
I realize the learning curve will probably be stiffer but I would have to play with the Arduino, then do it all over again. Nearly everything I find online is Arduino....so much so that I am getting pukey just seeing that word over and over.
I usually just design my PCB to accept the plug in ESP32 modules - makes it nice and simpleNigel, part of it was trying to stick with a more "standard" programming language but I think the Arduino stuff stuck pretty good and probably not much use in fighting that. there was a higher cost for the Atmel chips but at our volumes, it likely would not matter. The main thing is I have to accelerate some of these projects. If we do this to old way, we have to work up every component, design the pcb, etc.
It appears we might be able to do a daughter board for the ESP to add some of our other stuff. We do have some 240VAC switching to do, and rather not have that in the same board anyway.
Assuming you mean a PP3 for 9V power, it's not a good choice - an 18650 and running at 3.3V saves using a boost reg.I really appreciate the feedback! To be honest, this is in a sort of in the think tank in the R&D phase right now. I see what you are saying about employing the PIC, but then we have two uCs to program, etc, etc. I am fighting like mad to keep the KISS concept as much as possible.
It was first intended to get this to survive 1yr on a 9V battery. However, I know not only will we be stretching it on battery like, it will also limit what we can do with the device! Having all that wifi a BT power..... I am sort of revising my previous thoughts of Li battery and a simple solar cell.
I think a single 18650 would provide ample battery reserve, but we had previously written off a boost reg because they eat power and we have 5V sensors. I need to do some thinking here. My apology if I am dancing around different strategies.
You may find this article from the latest CCS PIC compiler newsletter interesting - "EZ App Lynx"I have several projects that need bluetooth connectivity and at least an android app for bilateral communication.