These are chat archives for esp8266/Arduino

16th
Sep 2015
Bo Peterson
@bopeterson
Sep 16 2015 12:36
I have just installed arduino esp8266 board manager on my Mac OSX, but when I try ESP Sketch Data Upload, I get the error SPIFFS Error: mkspiffs not found. Seems like on win you have to install mkspiffs.exe, but what do you do on OSX? What do you need to install and where?
Markus
@Links2004
Sep 16 2015 15:07
@onkelfunny with out the jumper no, but you can try connect a RST over a capacitor (some thing like 1u to 20u) to the Reset pin
then the reset for flashing shut go thru it, and the console shut work also
d-anders
@d-anders
Sep 16 2015 19:30
are the nodemcu-boards good?
thinking of getting one to use for quick setups
Markus
@Links2004
Sep 16 2015 19:53
they have all whats needed for a quick start, only for low power stuff they are bad (the LDO + USB needs to much standby current).
d-anders
@d-anders
Sep 16 2015 19:55
yeah
but they run stable off the usb input?
i mean using usb for power?
Markus
@Links2004
Sep 16 2015 19:56
yes they have and LDO to generate the 3V3 they dont use the USB chip for power.
d-anders
@d-anders
Sep 16 2015 19:56
ok, but they use 5v from the micro usb connector?
Markus
@Links2004
Sep 16 2015 19:56
yes
d-anders
@d-anders
Sep 16 2015 19:56
good
Markus
@Links2004
Sep 16 2015 19:57
the LDO converts the 5V to 3.3V
d-anders
@d-anders
Sep 16 2015 19:57
i have a few bare esp-01 and esp-12, but the bare esp-12 isn't optimal for quick tests
yeah
i think my notebook is capable of delivering 500ma to the usb so it should be fine i guess
Markus
@Links2004
Sep 16 2015 19:58
yes the ESP runs stable at 250mA
d-anders
@d-anders
Sep 16 2015 19:58
the boards look pretty
Markus
@Links2004
Sep 16 2015 19:59
for test i mostly use whats called esp8266 testboard
http://4.bp.blogspot.com/-ltG_dy6GNvA/VLo4yAyfpUI/AAAAAAAAAMU/sb1VWUuM9z8/s1600/testboard-layout.jpg
have a LED at eache pin which is really usefull
d-anders
@d-anders
Sep 16 2015 20:01
the one that comes with battery-box?
Markus
@Links2004
Sep 16 2015 20:01
yes
d-anders
@d-anders
Sep 16 2015 20:01
yeah, also has everything needed
Markus
@Links2004
Sep 16 2015 20:01
but with the LEDs its not really low power :)
d-anders
@d-anders
Sep 16 2015 20:02
doesnt really matter when testing though
is it 4MB?
Markus
@Links2004
Sep 16 2015 20:03
it has a ESP12 most of them has 4MB
d-anders
@d-anders
Sep 16 2015 20:04
$3.8 vs $5.1 for nodemcu
tough call
Markus
@Links2004
Sep 16 2015 20:05
but no USB on them, can be good and not at the same time.
d-anders
@d-anders
Sep 16 2015 20:05
yeah, i have a few usb->ttl
only downside is having to use a seperate power adapter
more cables when testing
Markus
@Links2004
Sep 16 2015 20:06
you can connect 5V to it :)
d-anders
@d-anders
Sep 16 2015 20:07
right, from the usb-->ttl adapter, didnt think of that
Markus
@Links2004
Sep 16 2015 20:07
at the same port where the batterys are connected it has a LDO
d-anders
@d-anders
Sep 16 2015 20:07
yeah i guessed that since it looks like it has 3 batteries
i usually power my esps from a 230v-->3v adapter btw, it works great
Markus
@Links2004
Sep 16 2015 20:16
looks really usful for the ESP01
d-anders
@d-anders
Sep 16 2015 20:17
yeah, but why on earth didnt they go for an usb interface
Markus
@Links2004
Sep 16 2015 20:17
but it costs more then a complete ESP01
Harrison Mclean
@h4rm0n1c
Sep 16 2015 20:17
they always use the bloody cts pin sigh
d-anders
@d-anders
Sep 16 2015 20:17
it looks like the idea is to use it for easy programming of esp-01
connect-> program->remove
Markus
@Links2004
Sep 16 2015 20:18
then you can use some duketape and jumerwires and a FTDI@3V3 ;)
d-anders
@d-anders
Sep 16 2015 20:19
well true
but not if you would want to transfer the same prog to hundreds of them
Markus
@Links2004
Sep 16 2015 20:21
why not when the duketape holds the wires together its the same as the board, and you dont need to press the button.
onkelfunny
@onkelfunny
Sep 16 2015 20:32
Bildschirmfoto 2015-09-16 um 22.31.38.png
@Links2004 i use currently this reset logic.
Markus
@Links2004
Sep 16 2015 20:33
yes?
onkelfunny
@onkelfunny
Sep 16 2015 20:33
I have to reckon with problems?
everything works without the RTS signal.. i have to press the flash button and the reset button to flash the module
Markus
@Links2004
Sep 16 2015 20:35
you complete disable the automatic with removing the RTS
d-anders
@d-anders
Sep 16 2015 20:35
bought the pretty nodemcu
Markus
@Links2004
Sep 16 2015 20:35
if DTR connected or not make no difference if RTS is not connected too
onkelfunny
@onkelfunny
Sep 16 2015 20:37
in this case its easier to connect the wires direct to the buttons, correct?
Bildschirmfoto 2015-09-16 um 22.38.31.png
Markus
@Links2004
Sep 16 2015 20:39
you can also try it like this:
blob
onkelfunny
@onkelfunny
Sep 16 2015 20:40
i don't need the automatic for the flash. important is the terminal after uploading
Markus
@Links2004
Sep 16 2015 20:40
then the auto reset will work but the selection between flash / boot will be manual
onkelfunny
@onkelfunny
Sep 16 2015 20:41
thats fine. i will try this. thank you!!
Markus
@Links2004
Sep 16 2015 20:41
only the buttons will work to but the you have to press two instant of on :)
onkelfunny
@onkelfunny
Sep 16 2015 21:10
works great and is stable! thx!!
onkelfunny
@onkelfunny
Sep 16 2015 22:11
how i can remove the complete flash? I uploaded a sketch with wifi, after that i uploaded a sketch without wifi, but i can see the old wifi sad and i can connect to them.
onkelfunny
@onkelfunny
Sep 16 2015 22:18
The SSID is ESP_9BAFCE ... this is strange, i have never used this SSID