1

I've just bought two of these wifi modules in the hope of setting up some sort of sensor network. Please could somebody recommend a good library for the arduino.

Cheers

My ESP module

  • 3
    Program it direct. If you must use an Arduino with it then use the Arduino as a programmable IO expander. – Majenko May 10 '17 at 14:55
  • if you want to program the ESP itself - github.com/esp8266/Arduino – Jaromanda X May 11 '17 at 1:41
2

You don't need a library. At the most basic level you fire AT command to it via a serial connection, but that's like using a Ferrari to go grocery shopping once a week.

It has a 80/160MHz processor 10 digital and one analog port (although you got the version where only one digital port is exposed). You can program it through the Arduino IDE (You need to go to the board manager to download the BSP for it). Then like Majenko says, it should be talking to the Arduino (over I2C or SPI) and treating the Arduino is the GPIO expander.

  • 1
    the esp01 has 3.5 GPIOs exposed, not just 1; you can drive an rgb led with one... – dandavis May 10 '17 at 19:35
  • Thanks @dandavis i always thought the 01/07/12 meant the number of gpios exposed. – Code Gorilla May 11 '17 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.