The SparkFun ESP8266 Thing is a breakout and development board for the ESP8266 WiFi SoC – a leading platform for Internet of Things (IoT) or WiFi-related projects. The Thing is low-cost and easy to use, and Arduino IDE integration can be achieved in just a few steps. We've made the ESP8266 easy to use by breaking out all of the module’s pins, adding a LiPo charger, power supply, and all of the other supporting circuitry it requires.
Why the name? We lovingly call it the “Thing” due to it being the perfect foundation for your Internet of Things project. The Thing does everything from turning on an LED to posting data with datastream, and can be programmed just like any microcontroller. You can even program the Thing through the Arduino IDE by installing the ESP8266 Arduino addon.
The SparkFun ESP8266 Thing is a relatively simple board. The pins are broken out to two parallel, breadboard-compatible rows. USB and LiPo connectors at the top of the board provide power – controlled by the nearby ON/OFF switch. LEDs towards the inside of the board indicate power, charge, and status of the IC. The ESP8266’s maximum voltage is 3.6V, so the Thing has an onboard 3.3V regulator to deliver a safe, consistent voltage to the IC. That means the ESP8266’s I/O pins also run at 3.3V, you’ll need to level shift any 5V signals running into the IC. A 3.3V FTDI Basic is required to program the SparkFun ESP8266 Thing, but other serial converters with 3.3V I/O levels should work just fine as well. The converter does need a DTR line in addition to the RX and TX pins.
The ESP8266 Thing does not come with the ESP8266 firmware binary for the AT command set like the WiFi Module ESP8266 https://www.sparkfun.com/products/13678. You would need to flash the ESP8266 Thing with the firmware binary to have it recognize the AT commands. As stated this in the comments section as well => https://www.sparkfun.com/products/13231#comment-5571c58bce395fdd058b4567 . To flash the code, there are different tools out there that you could use. Looking at the hookup guide, there are a few links to programs that flash the firmware => https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/resources--going-further .
This is quite a common question that we get. Looking at the ESP8266 Thing - Dev board , it was designed to keep the cost of the development board low and there were requests to keep the original ESP8266 Thing. The main differences are:
1.) 2-pin JST connector 2.) LiPo charge circuitry 3.) built-in FTDI 4.) Trace for DTR and Debugging
The ESP8266 Thing Dev board does not have the 2-pin JST connector [ https://www.sparkfun.com/products/9749 ] or the LiPo charge circuitry like the original ESP8266 Thing. We have a variety of chargers available on our storefront if you decide that you want to charge the LiPo without removing a LiPo battery from the ESP8266 Dev board => https://www.sparkfun.com/search/results?term=lipo+charger . The LiPoly Charger single cell [ https://www.sparkfun.com/products/12711 ] is more flexible but it is a bit more expensive compared to the other LiPo chargers. This is due to the amount of components that are populated on the board.
The plus side is that there is a built in FTDI on the board to upload code to the board. Personally, I feel that this is a more reliable connection than using the external FTDI basic breakout based on my experience. The ESP8266 Thing Dev board does not include a trace to cut the DTR pin which makes it easier to debug and send serial data to a serial monitor/terminal. You would not need to cut any traces like the original ESP8266 Thing and constantly have to jump the pins when you need to upload.
If you had the ESP8266 board compiling and uploading initially in your Arduino IDEs and now it doesn't any more, delete all instances and files related to the ESP8266 in your Arduino15 AppData. On a Windows 7 OS computer, it should look like:
Make sure to delete all copies in Local, LocalLow, and Roaming. Then uninstall the board definitions with the board manager, and then reinstall the files.
If you see this error output in Arduino v1.6.4 or v1.6.5 and you are using a Mac iOS:
Arduino: 1.6.5 (Mac OS X), Board: "SparkFun ESP8266 Thing, 80 MHz, Serial, 115200" /Users/.../Library/Arduino15/packages/esp8266/tools/esptool/0.4.6/esptool returned 139 Error compiling.
or if you see this output in Arduino v.1.6.6 and a Mac iOS:
signal: illegal instruction Error compiling.
The issue is probably due to the ESP8266 board definition and your Mac's iOS version. As soon as we tested this on our older Mac iOS v10.7.5 Lion, we received the same error. Testing this with our engineer's iOS v10.11 EL Capitan, there were no issues compiling. We tried different board definition versions but we were unsuccessful. We even tried deleting the definitions in the “Arduino15” Application Data folder and temporary files. We believe the issue stems from the Mac operating system version and the ESP8266 build => https://github.com/esp8266/Arduino/issues/275#issuecomment-104470653.
Try using the a modified version of the esptool v0.4.6 https://github.com/igrr/esptool-ck/releases that our engineer quickly packaged through our Google Driver => https://drive.google.com/open?id=0B0jwgLkjMWzDWU1pb0RseWdtbmM. Just unzip the files and replace everything in the esptool folder located in your Arduino's App Data folder. The directory will probably be:
You can also find this through the Arduino IDE and clicking on your preferences.
Otherwise, you would need to update your Mac iOS or wait until there is a fix from the ESP8266 Community.
Maximum voltage for the analog ADC pin is 1V, as stated in the hookup guide. You canhook up an analog sensor similar to this => http://www.instructables.com/id/ESP8266-ADC-Analog-Sensors/?ALLSTEPS. For multiple analog sensors, you can try this method http://www.instructables.com/id/ESP8266-with-Multiple-Analog-Sensors/. Or, you could just get an additional analog to digital converter and connect it to the ESP8266 Thing.
This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.
Skill Level: Noob - Some basic soldering is required, but it is limited to a just a few pins, basic through-hole soldering, and couple (if any) polarized components. A basic soldering iron is all you should need.
See all skill levels
If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.
Skill Level: Competent - The toolchain for programming is a bit more complex and will examples may not be explicitly provided for you. You will be required to have a fundamental knowledge of programming and be required to provide your own code. You may need to modify existing libraries or code to work with your specific hardware. Sensor and hardware interfaces will be SPI or I2C.
See all skill levels
If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.
Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels
Based on 46 ratings:
1 of 1 found this helpful:
This is a great introductory board to the ESP8266 experience. The onboard USB power supply/battery charger and breadboard spacing of the pins really make this a very easy way to begin experimenting with this awesome chip. If you want to improve it, it would be great if there were buttons for reset and programming or pads/traces to add your own. But otherwise, this is an excellent board and I highly recommend it for anyone interested in experimenting with the ESP8266 chip.
1 of 1 found this helpful:
I connected a few I2C temp sensors (TC74) and a non-invasive current sensor to this board and had it sending data over the WiFi network in no time. The Arduino add on rocks - it is great having the libraries available.
The extra features like the USB power connector and pin layout are well worth the extra money over the basic $5 board. This is one of the best examples of great products by the folks at sparkfun.
The Hookup guide was priceless - the examples made it simple to get things rolling without having to scour the internet for resources.
2 of 2 found this helpful:
If you are interested in the ESP8266, I think this is a great way to get into it. The breakout is nice, and gives you access to pretty much everything the 8266 can provide. It's small on flash, smaller than alternatives, but I'm not sure you need much more... they're not so powerful that you'd be using thousands of lines of code. I think in the next rev, it would be nice to have the jumper for GPIO-0 to DTR be a three way jumper, so you pull the jumper off GPIO-0 to DTR and put it back on DTR to XPD for sleep mode... that way you can swap for programming, then swap back for serial debug and sleep mode. I have no use for the Lipo charger, but I am sure others may find that useful. I've used this as my test board, and then use smaller breakout boards for my actual devices I'm building.
4 of 4 found this helpful:
Got the ESP8266 up & running in short order. Getting it connected & Posting data to my site was the easiest part, particularly with the excellent example code. Minor speed bumps: In Arduino mode, it is a 32-bit processor. Only mention of this is '32-bit CPU' in the Features on the product page. This may (did for me) require some coding changes. Analog input is, indeed on pin 'A0', not '0'. (confused me). And the whole "Serial Monitor" thing was a little confusing - All Arduinos Reset (and go into "boot loader") when you open the Serial Monitor. This just sticks there. Eventually figured everything out, and the information was there. Could use a "Spec" summary page for the Arduino mode - 32 bit, RAM size(?), EEPROM size, Flash size, etc. Again, overall a Great product.
3 of 3 found this helpful:
All in all a pretty good product and fairly easy to use. Remember to get a SPARKFUN FTDI cable with the correct pinout (DTR instead of RTS). My "FTDI cable" purchased from FTDI didn't work. I tried both NodeMCU and Arduino and both work. Note that the NodeMCU GPIO and the ESP8266 Thing GPIO don't line up- there is a conversion table online for this. In general, I like the Arduino approach better since I'm mostly hooking up sensors that already have libraries written for them. Note that you will have to modify some libraries (mainly header includes) for them to be compatible with this MCU. I haven't tested the WiFi range but it works well sitting on my desk. I do wish I had a few more GPIO, but this product is really more for making UI-less sensor nodes than full-blown systems. That said, I still managed to squeeze in a couple of sensors, a display, and pushbuttons with just enough GPIO.
4 of 4 found this helpful:
I've been working with musicians and dancers for a number of years developing wearable motion tracking devices. We've been through several design iterations including wireless XBee and Bluetooth, both of which had numerous issues (We're using Macs, and Bluetooth is very unreliable under MacOS).
I eventually decided that UDP over WiFi was the best approach to transmitting real-time data at the required rates. While there are such products on the market that target artists, they tend to be quite expensive ($300 and up per unit).
The ESP8266, and especially the ESP8266 Thing have dramatically changed all of that. The ease of programming using the Arduino environment and the power of the 32-bit processor and onboard WiFi, when combined with a 9DOF sensor such as SparkFun's LMS9DS1 IMU, make a great platform for wearable motion tracking.
Added to all that is the fact that the engineers at SparkFun were thoughtful enough to include both an on/off switch (amazing how few devices out there include this---the $300 WiFi unit I mentioned above does not, meaning that you must connect/disconnect the battery from the JST socket every time you use the device, and that requires a tool unless you're willing to break a lot of fingernails) and an on-board charger for the battery (another feature almost universally omitted).
Given the low cost of the ESP8266 Thing and I2C IMU devices, this powerful new platform opens up a lot of new avenues for wearable motion tracking. My only request is that SparkFun take the next step and integrate the 9DOF IMU on the same board as the ESP8266 Thing.
9 of 10 found this helpful:
This board comes so close to what I want that it's slightly painful that it falls just a little bit short.
The built in 73831 based LiPo charger is a great idea. Having the On-Off switch is less important, IMHO.
The lack of an on-board capacitor to stabilize the input from a Solar Panel is tragic.
Here are the things I'd do to turn this into the perfect Solar development/deployment board:
Put an FTDI chip on it and integrate to the USB connector. Allow power via USB, but don't power the FTDI chip from any of the other power sources (Battery connector). After all, if the USB isn't connected, the FTDI chip isn't going to be doing anything useful.
Replace the 73831 with a 73871. Superior charge controller with battery temperature monitoring and solar optimizations.
Add a Capacitor (or at least space for one), about 4700µf 10v or so to stabilize a solar panel and a place where a 10K NTC thermistor can be added to the board for battery temperature measurement (the 73871 already supports this).
Add small buttons for reset and GPIO0 (closed=ground, open = GPIO0 pulp). This would facilitate flashing. (or better yet, integrate this capability into the FTDI so it can be triggered from the IDE similar to Arduino.
Add a coaxial power plug for attaching the solar cell.
The things I want are going to require some real estate, so let's sacrifice that power switch. I don't think it's all that important in 99% of applications. With the integration of the FTDI, the Serial Programming header pins are nice to have if there's room, but they'd be my second sacrifice.
Finally, that's still probably not going to free up enough real estate, but for most applications, a slightly larger board would be worth the tradeoffs to get these added capabilities.
Thanks for the feedback!
5 of 6 found this helpful:
I tried every single WiFi module out there, and this one is not only the cheapest, but by far the simplest to program and use. I Love the seamless Arduino IDE integration.
More then enough microprocessor power to remote control IoT devices and post data to Phant/ThingSpeak. Had my air quality sensors up and running and posting to ThingSpeak in 20 minutes.
Only shortcoming: Please add FTDI on board.
4 of 6 found this helpful:
For some reason, I could never get a serial connection to this even by following the guide. I can use the esptool command line utility to report the mac address & other info, but could never flash any new data or send commands.
1 of 2 found this helpful:
Right now, I am using this for a LCD display that monitors an MQTT topic and displays the output. this is handy since I can publish different things like whether the garage door is open or closed, what the current temperature is, and what my unread email account is. MQTT then gives me a very lightweight way to queue up messages and easily read.
super great tool. and because it has its own battery charger, I can charge off of solar and put this out in my back yard and have a visual LCD display showing me what is going on with my MQTT devices at a glance!
0 of 1 found this helpful:
I made an rgb led cloud for my sons room controlled via the blynk app. It works great for IOT projects. Really easy to program and hook up.
0 of 3 found this helpful:
It is a dud, fortunately ordered similar board from Chinese company for 8$ and works like charm.
The tutorial is detailed and accurate. The device works well despite slightly flaky programming, even when USB-powered. I hooked up an MPU6050 for a wearable physical therapy aid and it's been very straightforward.
~~~I'd like to know, though: is there a way to store some data and have it survive a spell in deep sleep? I want to record some stats and keep an average that spans several spells in sleep, so I need to record some data while awake and recover it after sleep. Is it possible or should I stick with turning off the radio with WiFi.mode(WIFI_OFF) and accept the higher battery drain?~~~ I believe I need to use system_rtc_mem_write and system_rtc_mem_read
I use the Arduino IDE with an FTDI 3.3v (DEV-09717) cable on the ESP8266 Thing (non Dev model) for serial monitor functionality, and for programming the device. The 09717 cable is not the best choice for this device, but I made it work.
I do three things to make it work. I run the 5v Vcc from the FTDI cable to a 3.3v regulator on a breadboard, then run the 3.3v to the 3.3v "pin". This is the 3v3 pin between RX1 and NC. The second task is to solder the FTDI jumper, so the 3.3v from the regulator powers the board. The third item is to interrupt the DTR line (green wire) from the FTDI cable at the breadboard. I put a "normally open" pushbutton in that line.
To upload a program to the "Thing", I push and hold the pushbutton, then I click "Upload" in the IDE, then once I see the IDE status message change from "Compiling sketch..." to "Uploading...", I let go of the button. To connect with the serial monitor, just click the serial monitor icon in the IDE, without pushing the pushbutton.
Future feature request: add some sort of analog switch so more than one channel of A to D is available.
Thanks for the tips. Happy hacking!
This was amazing easy to get up and running. I followed the hook up guide and program examples and voila, I was up and running and posting data to Phant in almost no time at all. I did have a few hiccups... I never did get the Serial Monitor to work with my Basic FTDI programmer (which made for debugging my code a little more work). But for the price of this "Thing" I'm not worried about it. I set up my board to monitor my garage door so I could check if I leave it open. I included a Dallas Semiconductor I2C temperature chip (just because I wanted to try the I2C bus), a reed relay to sense the door, and stuck a magnet on the garage door frame. I also used the OneWire and Dallas Temperature Control libraries, which made interfacing with the temperature chip a piece of cake. Super easy and it all gets posted to data.sparkfun.com for free, allowing me to check my garage door position and garage temperature from anywhere in the world that I have an internet connection. Eventually, I will add the ability to close my door, but for now I'll just leave it as a position sensor.
0 of 1 found this helpful:
I had a bad experience with these. I purchased two of them and they did not work out very well. They would only program about 10% of the time. Eventually gave up and stopped using them. I will not being buying these again.
I had no problems getting this guy up and running following the Hookup Guide. They recommend increasing the upload speed for loading your code onto it but I found that to decrease my success rate and the standard upload speed was not that slow. I have mine posting light sensor data to a phant.io stream and it's been doing great for months now with only a couple drop outs, maybe for a couple hours at a time, and it always reconnects itself. I posted a little more about my experience here: https://katygero.wordpress.com/2016/01/09/iot-light-sensor-its-a-thing/
This thing makes it very easy to get your thing on the internet. Pretty much tamed the ESP8266 into a simple Arduino programmable board.
I found it very easy to use. Used the example code and the Arduino addon and had a cell phone interface running in short order.
Really like the fast built-in LiPo charger, and the fact that in deep sleep the board will only consume about 70 uA. I only wish it had a bit more flash.
Extremely easy to setup & get going. It also works just as well with the blynk application for learners looking to experiment with IoT.
The Thing does not work with AT commands, in case you are used to the other ESP-xx boards out there. When you hook up a serial terminal, all you get is garbage. To get it working: hook USB power supply, serial to USB converter (3.3V!), CUT the trace on the bottom of the board: when programming from Arduino, have a wire in the two holes to connect the trace, or use a jumper, to run the application, remove the wire or jumper, and power cycle the board. This information is hidden at the end of the tutorial unfortunately, would have save me some time if I had known when I started, I saw quite a few people having this issue. A program and reset button would have been nice, instead of the on/off button
Used the ESP8266 Thing to interface with sensors and to post data to a MySQL database. Together with the 3.3V FTDI Basic, hook-up, programming and uploading to the Thing could be done very easily; within a day - Thanks to the comprehensive hook-up guide. The only hiccup was the garbled data sent to the serial monitor which was solved by cutting the tracks at the back of the PCB and putting in jumpers for uploading.
ESP8266 Thing Dev. This board works fine in two different versions of Linux. Lubuntu 14.04 and Lubuntu 15.01 Please note: The Arduino IDE 1.6.10 does not work correctly in Windows XP. It appears to have a problem with directory paths longer than 255 characters. It took a while but I fixed this problem! Also many of the Wifi examples do not work as advertised. The user should try each one.
The two words that best describe the Thing are "espcomm_open failed". As amazing as this board is, the hit-or-miss process of programming it makes using it a chore. Research into the problem leads me to believe that this is a general issue with the ESP8266, and not a flaw in the design of the Thing, but know that it will definitely affect you.
It was a little confusing when I first powered up the board that I needed to cut traces and add a jumper to make the serial console work, but this was all documented in the hookup guide (with Wifi as the big feature, serial is actually one of the later topics).
In a future revision, it would be nice to have the XPD (deep sleep) pin run over to the header supplied for the DTR/RST connection. This would allow you to move the jumper between DTR/RST for programming and RST/XPD for running.
I'm frequently frustrated by the "setup hurdle"; the time it takes to get a new device up and running and doing something useful. The Thing didn't give me any trouble at all. Using Sparkfun's excellent setup guides and example code I was able to create wireless temperature sensors that post data to ThingSpeak (an unrelated but equally awesome cloud data collection service) with only a couple hours of work. The Arduino libraries make it relatively effortless to use, and I had a couple days worth of battery life on a 1,000 mAH lipo while posting a temperature reading every ~5 minutes and deep sleeping between readings. I placed four devices around my house to get an idea of which rooms were warmer than others. A word of warning, however, that although the lipo batteries recommended to power the Thing have all standard protection circuitry, they are completely unprotected from physical damage. My roommate somehow damaged the sensor in his room (probably by stepping on it after he moved it from where I placed it, which wasn't on the floor) causing the bottom of the temp sensor wires I soldered through the board to puncture the thin covering of the battery. Shortly after it caught on fire and was thankfully discovered before it could do any serious damage. I consider myself lucky to only have a hole burned through the carpet and a renter's insurance claim as a result. The Thing is awesome so don't let my battery mishandling experience dissuade you from buying one, I would simply be remiss if I didn't share it in the hopes of preventing at least one similar incident.
This thing plus Sparkfun's hook up had had me up in running with in a few minutes. I'm starting my temp monitoring system so I can pinpoint rooms that need better HVAC and insulation and to evaluate a better placement of my thermostat. Sparkfun is powering the system.
The corner stone of the project is Phant, their data logging server. The ESP8266 things proved a simple wireless platform for 1-wire sensors. FTDI basic for programming them, and a convenient source for the batteries and sensors.
I got home from work at 8pm. ESP8266 Things came today. I was logging data by 10pm, In that 2 hour span I at dinner, watched TV with the kiddos and conversed with the wife. Oh I read the hook up guide, hacked in some 1 wire code and soldered on some stack-able headers.
Special thanks to spapadim for confirming a replacement memory chip. Looking forward to 8mb of flash.
Update I'm a IPC 7711/7722 repair tech, I hand soldered a TMP102 on 4 of these boards, but I have access to a pretty boss rework station, the tools make the man. I love the spot for a sensor, most people seem to use one at some point. using one that's 60% then a sot23 is more a tease then helpful. That being said, the TMP102's in a bad location for what it is. the chip takes some time to return to ambient (15 minutes or so) after handling, a lot longer after soldering. It's also so sensitive that it detects heat increases if my WIFI signal drops a bit and the processor is on a little longer trying to get a connection. I found this out, because 2 of my Things have very weak antennas, not liking to be out of LOS to the router. I have externals antennas coming so I'll wait and see.
Power LED removal significantly increased uptime. my boards push an update every 63 seconds, giving the boards 3 seconds to connect and push data, and 60 seconds of sleep. On that cycle, 4 days and 29 minutes on a 850mAh battery, average draw is 8 mAh.
Flash upgrade is awesome as well :)
This is a great board for IoT applications. The fact that it does have the Li-Po charger on board and the U.FL connector for external antenna is great. The already included I2C pull up resistors is another bonus which although low values have worked in all applications I have used it for.
The only request I would have if this upgraded would be to add more memory to allow OTA updates.
Had to buy Thing Dev to get USB support. Web site should be clearer. I now own both.
Plenty of support and information. I was up and running really fast.
The power switch is very flimsy and broke after a couple of weeks. Also, the location of the holes to allow a jumper to be installed/removed from the DTR line is too close to the other holes. When the jumper is in place I can't get the FTDI USB interface to attach to the header without bending things a bit. If the DTR jumper holes were moved inboard a bit it would be better, The documentation was also a bit vague about the XPD-DTR connection for waking up from deep sleep. Once this connection is made you can't get into the bootloader to program the Thing, and that was not mentioned anywhere. Providing holes for a removable jumper for that function would be very nice so I don't have to unsolder a wire to allow for program uploads.
On the plus side, the Arduino add-on works great and the WiFi is easy to use.
My application is a kiln temperature monitor. My wife's a ceramic sculpturer and is excited about it. I have all my components playing nice with each other, so it's time to think about an enclosure so I can get it off the breadboard. Really, all she wants to see is the box she can hold in her hand, with a power switch, USB for powering/recharging, and the LCD display.
Couple things have me stymied - the USB and JST battery connector are flush with end of board, so not obvious how to hide the JST/battery inside the enclosure, and the on board power switch is too small and will be inside the enclosure.
I have no experience with SMD devices, but it seems an improvement might be to add a couple of holes for wiring an off-board switch?
I used this to create a driveway monitor based on a vibration sensor. It hooked up to my wifi with ease and went for quite a few hours on the small SparkFun LIPO battery I bought with it. The only thing I would like to see added to documentation is a simple example were the Thing acts as a wifi module for an Arduino since the Thing has limited output and I have an application were I shall have to use an Arduino for the heavy sensor work and the Thing just to communicate with my laptop.
I've been a tinkerer for a long time but haven't had much opportunity the last few decades due to work and family. (Let's just say I'm used to bit banging using assembly on PIC microcontrollers.) Wow, this thing is incredible!
With a solid microcontroller and C programming background but zero experience with Arduino, I've quickly (about two weeks of my spare time) been able to create a leak detector that uses WPS to learn about my WiFi followed by a web UI that allows me to configure other things like hostname, sensor names, SMTP connection info, and FTP connection info. The configuration is stored in flash and once configured it will frequently wake up momentarily to check sensors for leaks with deep sleep inbetween. When water is sensed it will connect to WiFi and send an email letting me know which unit (hostname) and sensor detected the water. This is both to a my email address as well as to an SMS gateway so I also get a text message alerting me. For example, it might say the "kitchen" detected a leak on the "dish washer" sensor. Furthermore, on a daily basis it will update a file on a FTP server that I can monitor with automation on that server to know if the unit ever goes dead (such as the battery is drained) in which case that server will notify me and I can check on the unit and charge the battery. I believe that a 1000mAh battery will last longer than a year between charges. (I've lifted the power LED, etc, to extend batter life.) It's all working perfectly and on such a small unit -- incredible. In all 6 of these will be deployed around my house.
Yes, a different ESP8266 module can be acquired for much less cost but real projects like this will typically be battery powered and those other units may cost less but they don't include an integrated LiPo charger like this unit does. This unit is worth the extra money because of this one board does it all approach. In the end this board, the LiPo battery, a momentary contact push button (for WPS/configuration mode), and wiring harness for the sensor connectors are all being put in a small plastic case along with two light pipes to make the charging LED and the LED on GPIO5 visible outside the enclosure for a nice finished look.
Herein lies the two improvements I can think of. First, I've make the USB port accessible outside the box and it does work but it would be nice if the USB port hung off the board just a bit more for some mechanical margin; an extra 1/16" would be nice but even 1/32" would help. Second, the battery is inside the case so having the plug face out on the same side as the USB is really useless. I've resorted to soldering the battery leads to the board but if the board were laid out differently, perhaps with the USB connector moved to where the battery plug currently is and the battery plug moved to the side opposite the power switch, this board would be even better as that would allow the battery to use the plug and be inside the enclosure. (This is the only reason for 4 stars instead of 5.)
It was very easy to get this up and running.
I've spent more time than is probably wise with the Thing this week, really like it. (Using it for a touchscreen WiFi clock + bedside controller for Magic-Home WiFi lights -- kind of a DIY Chumby, if anyone remembers those)
My only "complaint" is that the flash is not large enough do to OTA (over-the-air) updates: this requires at least 1MByte flash (sketch update is saved in free space, and copied over upon reboot). I can confirm that replacing the 4Mbit (512Kbyte) flash chip with it's 8Mbit version (Adesto AT25SF08) works, with no other changes required (other than boards.txt, if you're using Arduino). In particular, first-stage bootloader is burned into ESP ROM (so you don't need any SOIC programming fixtures etc; very easy replacement). Hopefully SparkFun will eventually update the Thing, so OTA updates work out of the box.
Other than that, great board and I have a few suggestions that are different from what other ppl may have suggested, and like it more the way it is now.
One quick minor feedback: the JST header placement is a little unfortunate. I want to put it in a 3D printed case, with USB exposed, so the JST would hit the enclosure's wall. I had to de-solder it and solder a vertical JST header instead.
So, things to consider: (i) don't populate the JST, include unsoldered header as option; (ii) make it face another side of the PCB (not same as USB; maybe move power switch to opposite side and rotate JST 90deg?); (iii) inset it into PCB, leaving space for the male connector and wires.
As for power switch: given that the Thing has a battery, and unplugging USB won't power it down if a LiPo is inserted, I would not remove it (as someone suggested). Too much hassle unplugging/replugging JST (plus, if ppl want to solder battery directly, then it'd be impossible to power off).
And a final tip I found useful: for DTR, I just cut my FTDI cable's DTR wire, and crimped a M/F pin pair, so I can easily cut the connection. Much easier on fingers than fiddling with a tiny jumper next to the pin header. Now I just leave the serial monitor open, plug pin headers together before starting upload, and just quickly pull the pin headers apart as soon as I see esptool start flashing. Maybe an inline switch would be even better, but this is quick and easy enough.
So, if you do add FTDI on board (I prefer not, but that's just me), I'd be a little upset if the tiny jumper was the only way to break the DTR connection. :) But, please, don't go the RESET + PROGRAM pushbutton pair route (I have it on an Adafruit breakout and, while I like that too, flashing it is a major PITA, so I always go for the Thing instead).
Works great overall, thanks! Now, if you'll excuse me, I'll go back to ripping my hair out with I2C reads on Arduino for the ESP... :)
Like most things from Sparkfun, it's a well-engineered product that works as advertised. There is a lot of similarity and code swapping capability between The Thing, the Ada fruit Huzzah and the Photon, but the lipo battery connector and charging circuit is a unique addition....ands is the space for a couple of other ic's. Well done SF!
Took me a while to get going with programming it using the Arduino IDE (and I'm still not 100% on what the deal was) but I've got it playing nice and logging to data.sparkfun.com now.
Quick question, though: Is there any discharge protection on the LiPo path to keep this from over draining the battery? I'm not in a position to test it since I accidentally shorted Vin and Gnd pins while it was plugged into my computer via USB...
All of our silver single cell lipos have built in protection circuits. Additionally this board has the MCP73831 which does power management and circuit protection for the battery. You should be all good to let your battery go unattended without damage.
Finally got my Thing up and running. As a novice to Arduino, setting up and using the environment went well until I tried to post to the Phant. Needed to backup and figure out how to install the libraries for that. (Isn't mentioned in the Tutorial) But after that it connected up and functions beautifully.
Combined with a MUX is a good measurement station.
If you want something working right out of the shelf, without headache - that's you Thing.
I am running an Internet-of-Things special interest group for our local makerspace. I purchased a few of these along with a bunch of other devices (Particle Photon, NodeMCU Dev v0.9 boards, ESP8266 boards, etc.). After some initial issues with finding an FTDI board that would work, it was very easy to put up a sketch to upload DHT22 temp/humidity data to ThinkSpeak. Much more reliable and stable than the NodeMCU stuff. I will be buying some more as we expand our project ... definitely want to make some "Cloud Clouds"!
Easy to program, I've got my chicken-door open/closed sensor (almost) up and running. https://github.com/Sequoia/cluck/blob/gh-pages/thing_door_phant_sleep.ino
What would make it perfect for me:
Other things I desire
Overall I like it & I have recommended it to friends but I'll probably try the Huzzah next time simply because the price is lower & if you're comfortable soldering a JST connector it's not clear (to me) how The Thing is worth 60% more than the Huzzah. Basically, I like it but there's something cheaper that seems to do the same thing!
UPDATE: tutorial to address EXACTLY what I am trying to do (power Thing on solar power) yey! :) https://www.hackster.io/fablabeu/esp8266-thing-by-sparkfun-982bc6
UPDATE 2: I spoke too soon, I actually can't easily follow that tutorial (need a bit more hand-holding I guess). Oh well, it's a start!