Given this is my first foray into a board other than arduino UNO I understand my knowledge here is pretty limited, as I am keen to learn, any pointers RE this problem (as opposed to outright solutions) would also be appreciated!
Hi @cafeciaojoe, your setup seems to be fine! I suppose that you tried basic examples like blinking a led or reading a sensor, is it? Just to confirm that the code you upload to the device is ok. If this is ok, what is the code your are using for connecting the huzza to the platform? You should be able to use the ESP8266 example from the library (Examples->thinger.io->ESP8266). Something like:
#include <ESP8266WiFi.h>
#include <ThingerESP8266.h>
#define USERNAME "your_user_name"
#define DEVICE_ID "your_device_id"
#define DEVICE_CREDENTIAL "your_device_credential"
#define SSID "your_wifi_ssid"
#define SSID_PASSWORD "your_wifi_ssid_password"
ThingerESP8266 thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
void setup() {
pinMode(BUILTIN_LED, OUTPUT);
thing.add_wifi(SSID, SSID_PASSWORD);
// digital pin control example (i.e. turning on/off a light, a relay, configuring a parameter, etc)
thing["led"] << digitalPin(BUILTIN_LED);
// resource output example (i.e. reading a sensor value)
thing["millis"] >> outputValue(millis());
// more details at http://docs.thinger.io/arduino/
}
void loop() {
thing.handle();
}
Yep that is the exact code I have used. Still just locks up.
Once the code has loaded, The RED LED on board is on constantly.
this is connected to pin #0
"Pin #0 red LED for general purpose blinking" from the adadfruit website.
Could it be that it hasnt left boot mode or something?
“Pin #2 blue LED for bootloading debug & general purpose blinking” is also from the website, so I am really confused!