iSpindel Serial Monitor

Published by Joey Joe Joe Jr on

ispindel putty

Why use a serial monitor?

If you are having an issue with your iSpindel the serial monitor is a quick diagnostic tool you can use to see what’s going on behind the scenes. It can display error messages that give clues on what to investigate.

Different Chips

The CH340x chip is featured in the video, but the CP210x chip is becoming more popular. From the Device Manager, you can look at properties on the General and Port Settings tabs for additional information.

Collecting serial monitor logs, please help out.

If you are having an issue with your iSpindel and the issue has manifested itself in the serial log I would appreciate it if you could share the serial monitor log with me and what the fix was. I will post it here and hopefully it can help others. Please email it to me at JoeyJoeJoeJr.OSD@gmail.com.

Serial monitor outputs

Here is the serial monitor from D1 mini fresh out of the package, not soldered to anything. Please note that the “ERROR config corrupted” message goes away after the configuration page on the iSpindel access point is saved the first time.

          FW 6.3.1
2.2.2-dev(38a443e)
Worker run!
mounting FS... mounted!
ERROR: failed to load json config

ERROR config corrupted
scanning for OW device on pin: 5
No devices found!
scanning for OW device on pin: 12
No devices found!
scanning for OW device on pin: 116
No devices found!
scanning for OW device on pin: 121
No devices found!
ERROR: cannot find a OneWire Temperature Sensor!
Acc Test Connection ERROR!
offsets not available
Boot-Mode: External System
power-cycle or reset detected, config mode
...........
           ERROR no Wifi credentials

Below is a serial monitor from a fully assembled after the iSpindel configuration page is saved.

              FW 6.3.1
2.2.2-dev(38a443e)
Worker run!
mounting FS... mounted!
reading config file
parsed config:
{"Name":"iSpindel000","Token":"","Sleep":900,"Server":"","API":0,"Port":80,"Channel":0,"URI":"","DB":"ispindel","Username":"","Password":"","Job":"ispindel","Instance":"000","Vfact":191.8,"TS":0,"OWpin":12,"POLY":"-0.00031*tilt^2+0.557*tilt-14.054","SSID":"","PSK":"","Offset":[0,0,0,0,0,0]}
offsets not available
Boot-Mode: Deep-Sleep Wake

woken from deepsleep, normal mode
Samples:42 min:80.24 max:81.77 time:755
x: 2858 y: 17268 z: -1188
Tilt: 81.13
Tacc: 28.17
Volt: 3.71
Temp: 28.25
Gravity: 29.10
IP: 192.168.0.108

calling Ubidots
{"tilt":81.13493,"temperature":28.25,"battery":3.7122,"gravity":29.09747,"interval":900,"RSSI":-39}
                                Sender: Ubidots posting
POST /api/v1.6/devices/iSpindel000?token= HTTP/1.1
Host: things.ubidots.com
User-Agent: ESP8266
Connection: close
Content-Type: application/json
Content-Length: 99

Conclusion

I will continue to add serial logs for issues with fixes. If you having issues that aren’t found on this website you can search through the history of issues on the official iSpindel GitHub page.


Joey Joe Joe Jr

I was born on a pirate ship off the coast of Peru where I was given a traditional Aztec upbringing, during which I excelled in the arts of sciences. At age seven my parents accidentally murdered each other in a freak fencing accident. Heartbroken I joined the tribe of Omaha, where I trained under the legendary Vin Diesel. At age eighteen, after a failed Fear Factor audition, I set out for a berry plantation roughly four kilometers south of Albuquerque. I currently reside at Ram Ranch which really rocks!

3 Comments

Matt · October 21, 2020 at 1:52 PM

Once the diode is removed, I am no longer able to communicate with the board via the USB. Also, I have no indicator light when trying to go into configuration mode. Was wondering if anyone is having this issue?

    Joey Joe Joe Jr · October 22, 2020 at 11:12 AM

    When the diode is removed you can no longer power the D1 mini via the USB port (that’s the whole point of removing it). The power must come from the battery. Is your battery fully charged and is the power switch turned on before flashing?

      Matt · October 22, 2020 at 4:51 PM

      Ok- I am trying to load the firmware but I can’t connect. Just trying to understand how to load since I can’t use the usb.

      Thank you for your help and all of your great videos!

      Matt

Leave a Reply

Your email address will not be published. Required fields are marked *