First Steps with ESP-01S and HW-305 #7616
Replies: 1 comment
-
Posted at 2020-02-08 by Robin Fri 2020.02.07 Welcome @user109345 to the world of Espruino and your keen and eager interest to get started!
Thank you for the introduction to a new phrase. Unable to locate an idiom that closely matches that. Please explain the origins and meaning. . . .
Please provide link so that we may follow along! For ESP8266, were all the warnings observed on this page? under heading Initial Flashing Please read through that entire page. Incidentally, I've had moderate success with the ESP-12E, at the expense of a massive time commitment but abandoned it's use as it is not an official supported board, and has too few I/O to be practical for my projects under development. caveat emptor
While I admire the tenacity to start with a device that might be inexpensive and currently understood from previous Arduino projects, what is the ultimate goal here? Should it be to learn/understand Javascript with Espruino, then might I suggest the easy to get started with Pico. Just plug it in to a USB port and you are up-and-running in minutes. Have the tutorials been reviewed? Quick four minute intro using one of the older style boards Posted at 2020-02-08 by rethus @robin "flashed" means something like: happy, overwhelmed, impressed .... This was the link I've missed to add... means the HowTo I've followed: https://www.espruino.com/Quick+Start+USB I've also ordered some other chipset like esp-12, NodeMCU... but first I wan't to start with this tiny one. The single gpio-Output on the esp-01 fit's my needs (I think so) for a tiny first Project. So maybe you can give me some general hints for the first Steps.
I've still ordered a bunch of esp-Chipsets before I was aware that Espruino exist. So I wan't first go with this stuff, instead of buying additional Stuff like Pico or other thinks. Posted at 2020-02-08 by @MaBecker Hi,
looks like you are missing that serial device on mac os x it is named /dev/tty.usbserial-14610 Next is get esptool.py and read details from the ESP01S like
to eg. determine the --flash_mode and other otherwise it does not boot. Posted at 2020-02-08 by Robin Sat 2020.02.08
Good Morning @rethus thank you for that explanation. May I ask which continent that is used or may have originated from? I've not heard it hear in North America. > 'but first I wan't to start with this tiny one' *ref ESP-01* I'm not a Linux or Mac OS user, so please follow @MaBecker suggestion in post #4 There are several that have years of experience on that platform, and I'd only muddy the waters with my input. Regarding the four steps outlined in post #3, step 2 and 3 are basically the same thing, unless creating a custom build, but uploading/flash of Espruino loads the Espruino interpreter, which is easily accessed using the WebIDE. > 'I'm glad to see that it's possible to use' *ref Espruino Javascript* Yes, and you'll really grasp it's ease of use with the code file upload panel and command line console input to send immediate commands. Along with the 'debugger' the environment is much faster than attempting the same using Arduino for instance. Limited debug - code, compile, fix syntax, edit, compile, fix logic, wash , lather, rinse, repeat within that environment. > 'I'm at the very beginning of this hobby... You know what I mean?' Yes, the authors of the Espruino environment constantly struggle with how to earn an income supporting eagar users such as yourself, while keeping the entire works open-source. Then how to appease the unpaid end-users providing forum support, such as this thread. Although the ambition to start with other devices is understood by all, should it take more than the weekend to get the device you have up and running, IMO you will be light year ahead with an official supported device. I was in your shoes three years ago attempting to do more with less, but found the amount of time required to refactor all the tutorials and forum examples just isn't worth the ten additional dollars or so for an official board. I suppose if you are in your twenties, and 'short on money but long on time', it may be a fun and inexpensive learning experience. But, should you be like myself, 'closer to pushing up lillies than from birth to ones twenties', then time is the limiting factor. (unless you know of someone selling 'time') I have learned that the amount of effort wasted required to make the mods to the tutorials in an attempt to save a few dollars with an off brand board - Just Isn't Worth It!! Case in Point: R-Click on my name in this post to open a new tab. Click on the 'conversations' link and work backwards from panel 'last' to see my struggle(s).
My first exposure was with the Pico. Plug-n-go. I had a wild idea that using an inexpensive ESP8266 would solve some coding time. You'll see in those initial threads however, I burned up a ton of time proving myself wrong. Tough to own up to!! I also have learned by getting involved in helping others in the forum is the fastest way to get up and running. While that may seem far feteched, yes I made a few suggestion blunders along the way, but it forces one to 'look the stuff up'. After doing it for quite a while now, I have an innate ability to remember where I 'saw' that documentation, speeding not only assisting others, but also knowing where to get a tid-bit to solve an issue I've had. > 'Because I'm at the very beginning of this hobby' And you're excitment will grow, just take a look at some of the forum threads within 'Projects' In the mean time, while not an ESP8266, get started with some programming using the emulator on the Bangle. Just came across this '8-Ball' demo another individual is working on. Runs in the browser. Launch link at: Posted at 2020-02-09 by Frida
With esptool: Attachments: Posted at 2020-02-09 by rethus @frida Thanks a lot for your step-by-step introduction.
If I start the ESPruino Web-IDE and connect the Chip, I see that the Chip output something... all the time: If I do the following: So what I've done wrong? BTW: I didn't found the place to change Baud-Setting in Chrome-Web-IDE. Posted at 2020-02-09 by Robin Sun 2020.02.09 @rethus, what is the WebIDE Baud Rate set at? WebIDE >> Settings >> Communications >> Baud Rate and WebIDE >> Settings >> Console might reveal some much needed detail. . . . *Confirming* > 'download and unpack this Package' Which device was selected? The link in post #7 only points to the download page. Posted at 2020-02-09 by Frida I use this:
because it is only 512KB Posted at 2020-02-09 by Frida And I grab it from here:
Posted at 2020-02-09 by rethus I have one ESP-01 and one ESP-01S Chip. (Wikipedia say, it has 1MB ?!) If I use your command, I got this response:
But now I got a connection. Thanks a lot. I'm so happy now to get the first connection :) Do you have a tiny test-script for me to upload something? Posted at 2020-02-09 by Robin Sun 2020.02.09
Has the sample script on the R-Hand side of the WebIDE shown in post #7 been tried? Posted at 2020-02-09 by rethus Yes, this crashed the Chip :) It output some error that LED1 wasn't found. But I've created now an WIFI Connection and played a bit around with some API commands. Works like a charm. @frida @robin @MaBecker Thanks a lot for helping hands. Posted at 2020-02-09 by Frida WARNING: Flash size arguments in megabits like '4m' are deprecated. Happy coding. Posted at 2020-02-10 by rethus @frida yes, I see now. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-02-07 by rethus
Hi there,
I have ordered some esp chipsets and got it last week.
Today I found Espruino and was totally flashed, that I can code with JS on the chipset.
I have the Mini-Breadboard HW-305 and ESP-01S plugged on it. (It's the same hardware like in this Video (from 0:00 till 0:30) : https://www.youtube.com/watch?v=6uaIWZCRSz8).
Now I try to connect it to the Espruino-Web-IDE, but without success. Because I use Linux, I've followed the instructions to add my user to plugdev group and re-login to get this new permissions active.
Then I've opened the Espruino-Web-IDE in Chrome and click the yellow Button above.
I see an Popup with the USB-Port, but if I choose this, I got an error:"Connection failed".
In the Settings ⇒ Console, I see this:
Can anybody give me a helping hand to start with my first IoT and Espruino? I would love to do it with Espruino and not with Arduino, becauese I'm still familiar with JS-Coding.
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions