Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

Wippersnapper on Metro-S2
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Wippersnapper on Metro-S2

by TI545 on Tue Oct 26, 2021 11:02 pm

I've gone thru the learn.adafruit for wippersnapper for my Metro Esp32-S2 board. When I copy the wippersnapper.metro_s2_tinyusb.-beta.14.uf2 file onto the Circuitpy device (it's named Circuitpy rather than Wipper), it gets "copied with errors": not enough space on device.

The uf2 file is 1.8 MB, so it should fit. The secrets.json file is there, and I can edit it with my wifi and io.adafruit information. But when I reset the S2 board, the neopixel just stays blue all the time. (and the board unmounts and remounts every minute).

Am I doing something wrong?

TI545
 
Posts: 30
Joined: Tue Feb 27, 2018 5:25 pm

Re: Wippersnapper on Metro-S2

by brubell on Wed Oct 27, 2021 11:23 am

Could you try the following:

1) Reboot your PC so it will recognize the USB port
2) From https://learn.adafruit.com/adafruit-fun ... -3089838-6, download tinyuf2-adafruit_metro_esp32s2-0.5.2.zip
3) unzip the above into a folder
4) on funhouse hold down BOOT and click RESET
5) open https://adafruit.github.io/Adafruit_WebSerial_ESPTool
6) Connect it to the serial port shown in device manager for the ESP32
7) Erase the flash
8) Select the unzipped file combined.bin from 3 above
9) Program the flash (still in the WebSerial_ESPTool)
10) Now you should see METROBOOT as a file system on your computer
11) Download wippersnapper.metro_s2_tinyusb.1.0.0-beta.14 from github
12) Drag the file from 11 to METROBOOT. Now the directory is called WIPPER
13) Edit secrets configuration file with io and wifi info
14) go to io.adafruit.com/<yourname>/dashboards/ and click on wippersnapper on the top
15) you should now see the funhouse device listed as Metro ESP32S2

brubell
 
Posts: 1566
Joined: Fri Jul 17, 2015 10:33 pm

Re: Wippersnapper on Metro-S2

by TI545 on Wed Oct 27, 2021 8:17 pm

OK. Great, that did it. I guess my Metro-S2 was not getting loaded correctly without going through the extra "combine.bin" step.

It's online at io.adafruit, I will go and play.

Thank you.

TI545
 
Posts: 30
Joined: Tue Feb 27, 2018 5:25 pm

Re: Wippersnapper on Metro-S2

by TI545 on Wed Oct 27, 2021 9:16 pm

I can blink my builtin LED now, thank you. Even from a dashboard, works great.

But my plan was to measure temperature with a TMP36 on an analog pin. I chose the potentiometer device, because it even said it would read voltage. (actually I tried every device and none worked.) It looks like voltage readings are not implemented yet?

I get the error:
MQTT ERROR: unexpected error saving data on TI545/feeds/adafruit-metro-esp32s2250174:A4, No Component found for Device adafruit-metro-esp32s2250174 and pin name A4 (I chose D4 pin based on the pin information for the MetroESP32-s2, but tried other pins also.) I see the "funhouse" instructions use the stemma pins, will that work? Wippersnapper doesn't display a Stemma analog pin for the Metro32-s2.

TI545
 
Posts: 30
Joined: Tue Feb 27, 2018 5:25 pm

Re: Wippersnapper on Metro-S2

by brubell on Fri Oct 29, 2021 10:11 am

Interesting - thanks for letting us know.


But my plan was to measure temperature with a TMP36 on an analog pin. I chose the potentiometer device, because it even said it would read voltage. (actually I tried every device and none worked.) It looks like voltage readings are not implemented yet?

They are implemented - you'd select Voltage as the "Return Type" under the Potentiometer.

The TMP36 does some additional calculations, we haven't yet implemented this into the firmware but it's on the list (currently our priority is I2C as that'll open the door for a large number of sensors).

I get the error:
MQTT ERROR: unexpected error saving data on TI545/feeds/adafruit-metro-esp32s2250174:A4, No Component found for Device adafruit-metro-esp32s2250174 and pin name A4 (I chose D4 pin based on the pin information for the MetroESP32-s2, but tried other pins also.) I see the "funhouse" instructions use the stemma pins, will that work? Wippersnapper doesn't display a Stemma analog pin for the Metro32-s2.


Could you please attach a screenshot of the "Create an X component modal"? I'm going to attempt to reproduce this and see if it's a bug in the WipperSnapper application.

brubell
 
Posts: 1566
Joined: Fri Jul 17, 2015 10:33 pm

Re: Wippersnapper on Metro-S2

by TI545 on Wed Nov 03, 2021 12:24 pm

I'm not sure if this is what you're looking for, but here's two screen shots.



20211103-113348.jpg
Add analog voltage device
20211103-113348.jpg (160.81 KiB) Viewed 74 times


20211103-113200.jpg
20211103-113200.jpg (176.12 KiB) Viewed 74 times

TI545
 
Posts: 30
Joined: Tue Feb 27, 2018 5:25 pm

Re: Wippersnapper on Metro-S2

by brubell on Fri Nov 05, 2021 10:15 am

Could you try selecting an analog pin for the potentiometer, prefixed by A? The pin you selected is a digital pin.

brubell
 
Posts: 1566
Joined: Fri Jul 17, 2015 10:33 pm

Re: Wippersnapper on Metro-S2

by TI545 on Tue Nov 16, 2021 8:28 pm

Just getting back to this. I'll look again tomorrow about your comment. (I see there's a beta-15 available now.) But, for beta-14, there is no analog pin available to select. All pins listed in the drop-down box are digital pins, a problem for analog voltage measurement.

TI545
 
Posts: 30
Joined: Tue Feb 27, 2018 5:25 pm

Please be positive and constructive with your questions and comments.