These are chat archives for esp8266/Arduino

30th
Apr 2016
Michael Miller
@Makuna
Apr 30 2016 01:31
For some testing, I need to have the Arduino Serial monitor send data to the Esp. The Serial.read() doesn't seem to work, what am I missing?
Michael Miller
@Makuna
Apr 30 2016 06:36
What I was missing was a functional cable. HOW IT WAS BROKEN I could not tell you, swapped the USB and it worked??
Me No Dev
@me-no-dev
Apr 30 2016 06:54
it's not that uncommon :) I have some devices that work only with particular USB cables
sticilface
@sticilface
Apr 30 2016 10:59
Does anyone know of a small package size, preferably SMD, that works to level convert 3.3V to 5V for neopixels. I've been using very successfully the 74HCT245N which works very well, but it is a 20 pin DIP package which is a bit big, plus through hole. Reading around it seems the neopixels are a bit fussy about logic conversion.
Me No Dev
@me-no-dev
Apr 30 2016 11:08
just logic conversion?
Martin Ayotte
@martinayotte
Apr 30 2016 11:21
How many channel do you need ? (btw, HCT245 is also available in soic-20)
Me No Dev
@me-no-dev
Apr 30 2016 11:22
i magine he needes 1
a small fast fet can do the trick
Martin Ayotte
@martinayotte
Apr 30 2016 11:23
Then, I would rather use simple MOSFET
sticilface
@sticilface
Apr 30 2016 11:31
yes just the one
2N7000 a small fast FET...
?
I just know that this problem is not too straightforward... they seem to be very picky... but i need to have a small footprint design for something I'm planning!
Martin Ayotte
@martinayotte
Apr 30 2016 11:33
Yes, but it can be any other, such AO3402
Me No Dev
@me-no-dev
Apr 30 2016 11:34
it needs to have a fast switching speeds so it does not mees up the timing that pixels are so picky about
BTW I have never had issues controlling neopixels at 3.3V
Martin Ayotte
@martinayotte
Apr 30 2016 11:34
Since you don't need to have the above bi-directional, you can remove R1 on 3V side.
@me-no-dev , those MOSFET have Rise/Fall time pretty small, I don't see why it should not work.
sticilface
@sticilface
Apr 30 2016 11:36
@me-no-dev i know that the DMA version of neopixels stopped working when used with 3.3V, and I've had problems when using the LEDs at really low brightness levels... they flash and do all sorts... this might have changed now.. but i just had lots of problems before, switch in logic conversion and it went away!
Me No Dev
@me-no-dev
Apr 30 2016 11:39
I do not argue :) I have not driven more than 16 pixels and have not used the i2s version
sticilface
@sticilface
Apr 30 2016 11:40
These look promising AO3402
loving the SMD stuff... much cheaper than through hole
sticilface
@sticilface
Apr 30 2016 12:02
thanks for the advice. i'll order some and get back to you... in 6 weeks!
Me No Dev
@me-no-dev
Apr 30 2016 12:03
:D
Baruch Even
@baruch
Apr 30 2016 14:40
@igrr the full support for coroutines seems to be getting a bit more complicated. There are two spots that don't get an argument for a callback which will just add a limitation on the user but the TCP stack calls for two sources of wakeup, the data callback and a timeout callback which complicates things. I'll still think about it but I'm getting less convinced it's worth it.
Michael Miller
@Makuna
Apr 30 2016 15:21
@me-no-dev Yeah, NeoPixel models and "generations" have differing tolerances. The same chip but purchased six months apart may work well at 3.3v. BUT, the spec on most of them is 3.8v - 5.4v; so 3.3v is out of spec. The problem is that they don't fail, they just act strange (flashing, some pixels fail to light, colors are off).
FWeinb
@FWeinb
Apr 30 2016 15:31
Say I want to build a very simple PCB based on this board (http://www.wemos.cc/Products/protoboard_shield.html) what would I need to e.g. send it to OSH Park and get some boards? Do I really have to learn Eagle or would Fritzing work too? It would only need like 4 traces.
Me No Dev
@me-no-dev
Apr 30 2016 15:44
@Makuna wow :) did not know and expect that...
FWeinb
@FWeinb
Apr 30 2016 17:16

It looks like SPIFF is broken on one of my Wemos D1 minis. I can't upload any spiff data.

warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
closing bootloader
error: espcomm_upload_mem failed

But uploading a new programm is working fine... using latest platformio

FWeinb
@FWeinb
Apr 30 2016 18:04
Even OTA Spiff upload is broken on 50%