Arduino IDE + ESP32S2 - First Look

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ค. 2020
  • There is a new ESP32S2 branch in the ESP32 Arduino repository! In this video I'll show you how to install it, and show it running on my FeatherS2 board.
    FeatherS2 waitlist
    unexpectedmaker.com/shop/feat...
    ESP32 Arduino github repository
    github.com/espressif/arduino-...
    Chatter about beta silicon and platformio
    github.com/espressif/arduino-...
    #esp32s2 #arduino #tutorial
    [ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]
    If you'd like to support me on my journey, please consider buying one of my products on tindie
    www.tindie.com/stores/seonr/
    or at
    www.tinypico.com/shop
    or by becoming a Patron at
    / unexpectedmaker
    ★ Subscribing, Liking and Sharing my videos really makes a difference. If you are not subscribed, please consider it and then click the alarm button to be notified when I release new videos. Thanks!
    ★ FOLLOW ME
    / unexpectedmaker
    / unexpectedmaker
    / unexpectedmaker
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 56

  • @chegewaras
    @chegewaras 4 ปีที่แล้ว +8

    Few things:
    1. you should do git submodule update after checkout to new branch
    2. it is totally possible to flash old esp32 with esp32s2 branch, no need to switch (problem may be --no-stub)
    3. informative, on linux native USB will be ttyACMx, on windows just another com
    4. so far I tested wifi, i2c, spi with S2 on arduino and after quick tests it's working

  • @NB-gc8sq
    @NB-gc8sq 4 ปีที่แล้ว +1

    super excited to try out the new boards!

  • @DustinWatts
    @DustinWatts 4 ปีที่แล้ว +2

    Great detailed and easy to follow along video! Thanks Seon!

  • @spotterinc.engineering5207
    @spotterinc.engineering5207 4 ปีที่แล้ว +3

    Now I can use the ESP32-S2-Saola WROVER board I got a couple of weeks ago! Yes! Thanks for the update.

  • @bwack
    @bwack 4 ปีที่แล้ว

    Thanks for showing, and in a clear way. Easy to follow along !

  • @jamest.williams2900
    @jamest.williams2900 3 ปีที่แล้ว

    Many thanks for this video -- I would never have gotten my new Saola running Arduino without your guidance. I did have some troubles getting the S2 to show up on the Arduino board list until I noticed from the video that you were using Arduino 1.8.13 whereas I was using 1.8.12. I upgraded and all my problems were suddenly solved. Thanks again.

  • @avejst
    @avejst 4 ปีที่แล้ว +1

    Great walkthrough
    Great project
    Thanks for sharing👍😀

  • @atanisoftware
    @atanisoftware 4 ปีที่แล้ว +4

    Also on the esp32s2 branch there are no submodules so that step can now be skipped. I'll send in a PR to update these instructions accordingly.

  • @ei23de
    @ei23de 3 ปีที่แล้ว +1

    You are great!
    I want to make PCBs too!
    The S2 is very promising for me - with light sleep / low power wifi. I'd love to hear more about it!
    Can you also recommend software for PCB design?

  • @robsinHL
    @robsinHL 4 ปีที่แล้ว

    Cool, thank you, i didn't see that in GitHub... One note, I'm able to work with my ESP32 boards still after checking out the S2 dev branch? I haven't tried more than wifi examples but didn't think that would have worked based on your reco to checkout master again. Thanks again, I hadn't played with my Saola board at all.

  • @jimf99
    @jimf99 4 ปีที่แล้ว +1

    Thanks Seon for the exciting news & info. New RPi Test Jig for your S2s ?

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว +1

      New test jig is coming, Still working on it :(

  • @fredflintstone1
    @fredflintstone1 4 ปีที่แล้ว +2

    Great video

  • @TheSchneidItworld
    @TheSchneidItworld 3 ปีที่แล้ว

    wooow, that's gonna be useful, thanks!

  • @UhloMuhlo
    @UhloMuhlo 4 ปีที่แล้ว +1

    I'm so excited for the new boards! What would you rather recommend: the ProS2 or the FeatherS2?

  • @lodielegrange1484
    @lodielegrange1484 4 ปีที่แล้ว +1

    Nice video thanks

  • @laveur
    @laveur 4 ปีที่แล้ว +1

    Which Shell are you using on your Mac? Also how did you configure your prompt? I would love to set it up like yours on mine.

  • @sharpbends
    @sharpbends 4 ปีที่แล้ว +1

    Cool!

  • @jlegen
    @jlegen 4 ปีที่แล้ว +1

    Thanks for this tutorial; and i guess people who do not want to screw their Arduino IDE for now just may test this using the portable version of the IDE installer...

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว

      Yup, using the portable version is a good idea. I don't use it, so wasn't part of my tutorial.

  • @James-mahal
    @James-mahal 4 ปีที่แล้ว +1

    i can not wait to order and play around with some, i like your choice of using 16mb, the amount of times i wished i had more memory on the s1 (company i work for brought 100 4mb castellated version for testing and a project when i requested 16mb version for testing. not enough mmory has forced me to learn to how to use pngs in base64 format so all silver linings?)

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว +1

      Do you mean Flash or RAM? I'm using 16MB of Flash, and 8MB of RAM.

    • @James-mahal
      @James-mahal 4 ปีที่แล้ว +1

      @@UnexpectedMaker sorry yeah i should have specified, i did mean flash
      ive had to get creative because the s1 is currently doing ota, web server, communicating with an external database and storing code to update a arm cortex 3 (psoc 5lp) when needed
      limitations creates creativity i guess

  • @atanisoftware
    @atanisoftware 4 ปีที่แล้ว +1

    Also the esp32s2 branch supports both the s2 and regular esp32 chips.

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว

      Not with my testing. I was unable to flash my TinyPICO, but could be the --no-stub change.

    • @chegewaras
      @chegewaras 4 ปีที่แล้ว

      @@UnexpectedMaker post info on github, in esp32 S2 testing pull request. I also can flash regular esp32 without problems.

  • @chegewaras
    @chegewaras 4 ปีที่แล้ว

    Just a small news. Today I finished OTA update with MSC class. Drag n drop to esp32 S2 pendrive and voila, updated.

  • @ficeto
    @ficeto 4 ปีที่แล้ว +3

    Why would you say that you can not compile for ESP32 in the S2 branch? Please post a note or something. I actually would like people to try the S2 branch on ESP32. Also ALL examples that have supporting hardware in S2 work. Not some, ALL. Thanks :)

    • @tablatronix
      @tablatronix 4 ปีที่แล้ว

      I was unable to compile it, had to use IDF4.0, maybe this has been fixed in the past week.

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว +1

      I was unable to build for my TinyPICO when in ESP32S2 branch,. Maybe a bug? Or maybe the --no-stub change?

    • @ficeto
      @ficeto 4 ปีที่แล้ว +1

      @@UnexpectedMaker maybe on your end? No-stub could break only the upload, not the build itself. Everything builds for ESP32, there is a CI.

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว

      It might just be on my end, but I just recorded what I found. Maybe a clean install is required as making videos showing git installations is messy, especially with multiple takes ;)

    • @ficeto
      @ficeto 4 ปีที่แล้ว +1

      @@UnexpectedMaker We might have your serial working by the end of the day ;) chegewara made some progress with tinyusb.

  • @atanisoftware
    @atanisoftware 4 ปีที่แล้ว

    The only tweak I'd suggest is for the git clone would be checkout the esp32s2 branch directly by adding "--branch esp32s2"

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว +1

      I was deliberately sticking to Espressif's install instructions as closely as possible, so folks had written docs to follow. All of this info needs to be updated on the repo.

  • @ike9167
    @ike9167 4 ปีที่แล้ว +1

    I'm stumped - I followed all the instructions, starting with the same version of Arduino 1.8.13, and I can't even compile. When I try to compile for ESP32S2 Dev module, I get:
    bash: line 0: [: /Users/(my name): binary operator expected
    usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
    cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
    exit status 64
    /Applications/Arduino.app/Contents/Java/arduino-builder returned 64
    Error compiling for board ESP32S2 Dev Module.

    • @ike9167
      @ike9167 4 ปีที่แล้ว +1

      Found the problem - if anyone else sees this error, it's because you have a space in your /Users folder name

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว

      Oh, nice find!

  • @JustElectronicX
    @JustElectronicX 4 ปีที่แล้ว

    Hello, I am windows user and i want the black theme so can you share the link for same.Thank you😊♥️

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว

      It's a Mac thing.

    • @chegewaras
      @chegewaras 4 ปีที่แล้ว

      I don't know if windows have it, but on linux you can have dark theme too.

  • @TheSchneidItworld
    @TheSchneidItworld 3 ปีที่แล้ว

    ohhh

  • @tablatronix
    @tablatronix 4 ปีที่แล้ว +2

    "Download mode" hahaha nice

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว

      That's what it's called. I keep calling it boot mode for some reason,

  • @MikeNewham
    @MikeNewham 4 ปีที่แล้ว

    Why buy the S2? Ordinary ESP32 boards are so cheap - while the S2 has less functionality.

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว +1

      The S2 doesn't have less functionality - it has different functionality. In many ways it's far superior to the current ESP32.

    • @MikeNewham
      @MikeNewham 4 ปีที่แล้ว

      @@UnexpectedMaker Okay, thank you. 'Electronic Guru' says it less powerful, less cores, small ram etc - th-cam.com/video/vPuR4dVIrXE/w-d-xo.html

    • @UnexpectedMaker
      @UnexpectedMaker  4 ปีที่แล้ว +4

      So if you watched his video you know it has STACKS of new features the current ESP32 doesn't have, and he's missed stacks of them off his list. The single LX7 core is way more efficient than the LX6 core, so "less powerful" is a really relative term ... how many folks actually use 2 cores anyway? S2 also has a RISC-V ulp - a full RISC-V core for the ultra low power co-processor. It also has more IO, higher bit ADCs and much better wifi. The only 3 things it's missing are 1 core, BT and CANBUS. So 3 things less and about 15 things more.

    • @chegewaras
      @chegewaras 4 ปีที่แล้ว +3

      It will be possible to add psram to regular heap, which is not possible now. New USB host and device mode etc.