Electronics > Beginners

WiFi for existing Arduino

<< < (4/4)

C:

If a little more money or a little more power use in not a problem, start with the ESP32 over the ESP8266

You gain a lot here on hardware pins and included hardware.
Better sleep mode and ADC are some.
In addition to this the Software side as the WIFI does not use the same CPU making your software easer to create.
The ESP32 is just better all around making it easer for you.

C

ziplock9000:

--- Quote from: C on July 05, 2018, 12:53:28 pm ---
If a little more money or a little more power use in not a problem, start with the ESP32 over the ESP8266

You gain a lot here on hardware pins and included hardware.
Better sleep mode and ADC are some.
In addition to this the Software side as the WIFI does not use the same CPU making your software easer to create.
The ESP32 is just better all around making it easer for you.

C

--- End quote ---

That looks like a fantastic piece of kit. Very powerful in many ways. Many come with several sensors already installed. I'm just worried that if I keep going up modularity tree I'll end up just buying a complete weather station kit or whatever the project is.

C:

You can get a simple ESP32 mounted on a Dip PC board at not bad price. This is just ESP32, small power supply from 5V, some buttons and often a usb to serial connection.

Thing to think about is difference from,
 trying to stuff things in small space like a Arduino UNO
Or
Using something less limited and not using it all.
Makes it very easy for a future expansion.
Something like a graphic LCD is then do I what one here and not a case of can hardware talk and can I fit in the software & will it be fast.

You can buy a complete weather station kit or whatever
But this often leads to a bunch of separate things that will not work together.
But how great is it? Will it tell you temperature in the sun and shade?

Think of building a simple clock using an Arduino. You would need to add a real time clock with battery backup for when power failed. You end up with a bunch of pain in the ___ clocks that are not the same or have to be set often.
That WIFI will let you get time from the others and master time from the internet. Simple and automatic

If you keep it simple, powerful CPU like this can do a lot with out requiring a lot of hardware.

And once programed you can have access to over the air software updates.

Think of building little things that can work together.

When you want to link two or more micro-controllers with wire, Think you will find that CAN bus is often the best option. There is great reasons industry uses it and not UART, SPI or I2C.

So a better foundation now is better for future as you now have option to change or not

C

Naguissa:
I created a ESP8266-oriented library for Arduino for this, using AT commands: https://github.com/Naguissa/WiFiLib

Also an SD card version with cooperative multitasking-like system (a state machine...) more focused on serving web pages and resources from SD (also AT commands): https://github.com/Naguissa/WiFiSDCoopLib

Both versions works with standard ESP8266 firmware. If you have trouble or you flashed with your own incompatible one you can use this one: https://github.com/Naguissa/WiFiSDCoopLib/tree/master/firmware%20-%20optional/ESP8266%20with%20512K%20Flash



But, for more reliable and complete solution it would be better to develop a program for the ESP8266 and use any kind of protocol to integrate it with your existing Arduino.

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod