These are chat archives for esp8266/Arduino

11th
Jan 2016
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:06
is the ESP supposed to get warm, or have i short-circuited something?
Markus
@Links2004
Jan 11 2016 00:07
over time its get warm a bit
as long you can touch it all is ok
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:08
like over a minute?
Markus
@Links2004
Jan 11 2016 00:09
no, much more
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:10
hmm
Markus
@Links2004
Jan 11 2016 00:13
it not need to be a short-circuited it can ne the voltage drop over the internal protection if you have more the VCC on a input pin (less then GND too)
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:16
hmm, no, vcc to gnd is 3.3V... odd...
Markus
@Links2004
Jan 11 2016 00:17
when you measure from GND to every GPIO pin has any more then 3.3V or less then 0V?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:17
there's only one power supply here that's 3.3V, so I don't think so
Markus
@Links2004
Jan 11 2016 00:19
I have here one thats running 24/7 and its warm but you can easy keep you finger on it
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:19
oh, yeah, it's not THAT hot
just a few degrees over room temperature
Markus
@Links2004
Jan 11 2016 00:20
then all looks ok for me.
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:20
i was just seeing weird behavior, like the motor running even though the mosfet's gate was low and the mosfet being WAY too hot, so i'm worried
Markus
@Links2004
Jan 11 2016 00:22
N or P mos? for a N is normally off when Gate = source if its hot then its may wired wrong?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:22
n
maybe, the datasheet said GDS so that's how i wired it... odd
Markus
@Links2004
Jan 11 2016 00:23
most datasheet have a image of the housing and the pin numbers or functions,
some are strange and you look from the back
what type of mos do you use?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:28
i was using a 20T30GH
Markus
@Links2004
Jan 11 2016 00:30
ok it has a 3d rendering not many to misunderstood there, VGS is good too.
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:31
yep :/
that's why i used it
no clue why it got screwed up
Markus
@Links2004
Jan 11 2016 00:32
if you use the mos without the ESP and add a pulldown to Gate its still hot?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:32
let me try that
it's hard to experiment because these components are all soldered
so i have to be holding the wires around
Markus
@Links2004
Jan 11 2016 00:33
may its easier to use a new one.
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:34
order hasn't arrived yet, i only have one :(
the rest are TO-220
how much current does a motor typically need?
Markus
@Links2004
Jan 11 2016 00:37
@skorokithakis hard to say every motor is different,
but you can measure it with a multi meter (with out the mos).
it depends on the mechanical load too.
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:37
oh, let me try
hmm, the motor doesn't turn when i try to measure it
Markus
@Links2004
Jan 11 2016 00:38
who do you connect the multi meter ?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:39
in series between motor and gnd
Markus
@Links2004
Jan 11 2016 00:39
sound good.
how many amps show it?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:39
oh, i switched the pin in the multimeter and now it turns
it shows 0.3 milliamps, as far as i can tell?
Markus
@Links2004
Jan 11 2016 00:40
ok a small motor then, far away from what the mos can handle
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:40
yeah, it turns some gogs to spray with air freshner
isn't 300 microamps a bit too small though?
Markus
@Links2004
Jan 11 2016 00:41
milli or micro?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:41
0.3 milli
Markus
@Links2004
Jan 11 2016 00:42
0.3mA is to low for a motor,
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:42
yeah
maybe it's 0.3A and i'm reading it wrong
i had to switch positions on the multimeter pins to make it work
the pin i used says 16A max
the other pin says 200 mA fused
Markus
@Links2004
Jan 11 2016 00:43
0.3A is ok
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:44
right, the mosfet should be able to handle that
Markus
@Links2004
Jan 11 2016 00:45
yes without getting hot
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:46
yeah :/ hmm
Markus
@Links2004
Jan 11 2016 00:49
what type of power supply is connected to the motor AC or DC?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:51
dc power supply
one of those variable voltage supplies
Markus
@Links2004
Jan 11 2016 00:53
the connection look like this or?
a
(the diode is optional)
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:54
yep, without the diode
Markus
@Links2004
Jan 11 2016 00:54
ok out of ideas here,
may the mos is defect.
Stavros Korokithakis
@skorokithakis
Jan 11 2016 00:55
yeah :/ thanks for your help man
i'll test some more
Stavros Korokithakis
@skorokithakis
Jan 11 2016 01:09
yeah this mosfet is weird, i'm connecting the gate and drain and the motor turns, without the source at all
i'd better throw it away
Stavros Korokithakis
@skorokithakis
Jan 11 2016 02:10
has anyone used a 2N7002? they only seem to allow 115mA
beikeland
@beikeland
Jan 11 2016 02:23
it should allow 300mA. are youusing pwm+
might not have enough power from the esp pin to drive it fully on?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 02:23
oh, i'm just asking
i am using pwm, yes, but what about 100% pwm?
Martin Ayotte
@martinayotte
Jan 11 2016 02:28
@skorokithakis , 2N7002 specs allows 300mA at @beikeland stated ...
but you can parallel 2N7002 if needed
beikeland
@beikeland
Jan 11 2016 02:30
it says its okay with logic level gate drive, but still you might not have enough ooomph from the esp to turn it fully on due to gate capacitance. but all that analog is but a faint memory on my part..
(if you'er seeing its not giving you more than 115mA that is, if its just a theoretical question, then never mind)
Stavros Korokithakis
@skorokithakis
Jan 11 2016 02:31
it says 115mA Id
@martinayotte it's ok, i also bought some AO3400A and AO3402
aand i just realized those are pretty much the same
beikeland
@beikeland
Jan 11 2016 02:32
oh, just googled it and nxp came up frirst http://www.nxp.com/documents/data_sheet/2N7002.pdf
using the sot-23 pakage?
Stavros Korokithakis
@skorokithakis
Jan 11 2016 02:33
yes
hmm, i wonder why that datasheet is different
beikeland
@beikeland
Jan 11 2016 02:35
to keep things interesting ;)
Stavros Korokithakis
@skorokithakis
Jan 11 2016 02:35
haha
eh, looks like i'll mostly be using the AO3400 anyway
i'm not sure why i ordered the 2N7002, the AO3400 seems much better in every respect
Aditya Tannu
@AdySan
Jan 11 2016 02:58
In case anyone still looking for a free ESP31B sample.. https://twitter.com/espressifsystem/status/686352002658381824
Aditya Tannu
@AdySan
Jan 11 2016 03:25
@Links2004 For this fork, https://github.com/Links2004/Adafruit_ILI9341 What are the minimum connections for esp8266? My form factor is a UNO shield.
Markus
@Links2004
Jan 11 2016 08:22
@AdySan you need CS, DC, SCK, MOSI. RESET can be connected to ESP RESET pin to save one PIN. MISO is optional, but you need it when you want to use the touch version (not in this lib).
Michael Miller
@Makuna
Jan 11 2016 08:27
@AdySan what's twitter ;P
Mario Mikočević
@mozgy
Jan 11 2016 09:36
@Makuna bird sound ;)
beikeland
@beikeland
Jan 11 2016 10:09
re: ILI9341 does the display handle touch itself, or does it need additional pins on the ESP?
Markus
@Links2004
Jan 11 2016 10:10
its a additional chip but have SPI too, so only one more line for CS of the touch chip
and optional one for IRQ (not needed when polling the data)
beikeland
@beikeland
Jan 11 2016 10:18
ah, i see! thanks
beikeland
@beikeland
Jan 11 2016 13:00
Is there a neat way to turn a burn of files into a file suitable for flashing directly to bare flash chip? like:
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 8m -ff 40m 0x00000 boot_v1.4\(b1\).bin 0x1000 user1.bin 0x7E000 blank.bin
Markus
@Links2004
Jan 11 2016 13:42
you want to combine sketch + spiffs?
./esptool.py make_image -f image1.bin -a 0x40200000 -f image2.bin -a 0x40200000 out.bin
beikeland
@beikeland
Jan 11 2016 15:00
i wanna put https://github.com/jeelabs/esp-link/releases/tag/v2.1.7 on an esp-05 by flashing a 1MB chip and swapping it in for the 512KB one
are the addresses for appending image 1 and 2 supposed to be fixed at 0x40200000 or should i use the adresses from the command to flash the files from esp-link?
Aditya Tannu
@AdySan
Jan 11 2016 15:10
@Links2004 Looks like this need parallel data, no SPI, at least for the display part.
File Jan 11, 6 23 36 AM.jpeg
beikeland
@beikeland
Jan 11 2016 15:13
that apears to be an arduino shield, hopefully some of the pins are dual purpose, even if not labeled as spi.
tzapu
@tzapu
Jan 11 2016 15:14
i m soooo tempted to get into smd soldering now, and you lot are all to blame. just ordered the vregs for @skorokithakis tiny adapter board.... what do you think the best (low budget way) would be to get into smd s?
got the link that was posted some days ago wit the smd components starter pack from ebay :P
Mario Mikočević
@mozgy
Jan 11 2016 15:14
hehe
tzapu
@tzapu
Jan 11 2016 15:15
but what to solder with? normal iron, hot air, hot palte?
plate
they all seem to cost a bunch
Mario Mikočević
@mozgy
Jan 11 2016 15:15
@tzapu ie - go to banggood and search for diy kit
beikeland
@beikeland
Jan 11 2016 15:15
i use an cheap iron+hot air
Mario Mikočević
@mozgy
Jan 11 2016 15:16
yep, what @beikeland wrote
tzapu
@tzapu
Jan 11 2016 15:16
i ve got one of these
any recommandations for hot air?
beikeland
@beikeland
Jan 11 2016 15:16
i have one of those IR rework things as well, but never quite got on terms with it.
Mario Mikočević
@mozgy
Jan 11 2016 15:16
@tzapu thats awesome one
tzapu
@tzapu
Jan 11 2016 15:16
unfortunatelly, i find the tips i have quite shit
Mario Mikočević
@mozgy
Jan 11 2016 15:17
tips are expendable thing
beikeland
@beikeland
Jan 11 2016 15:17
wx2 at work, treat your tips right and they last for years
tzapu
@tzapu
Jan 11 2016 15:17
i m getting alright with it now, some solder joints are coming out really nicely
but, it just seems clunky for smd
Mario Mikočević
@mozgy
Jan 11 2016 15:18
smd is just a tip and scope maybe
tzapu
@tzapu
Jan 11 2016 15:19
although, didn t try for anything smaller than SOT-89
only to unsolder, which ends up miserably for the component in question
beikeland
@beikeland
Jan 11 2016 15:19
aoyue 968 is the one i use at home. desolder tqftps with the hotair and resolder with the iron. works fine. the cheap smd tweezers i have is crap though.
Mario Mikočević
@mozgy
Jan 11 2016 15:19
hot air gun is for desoldering
968 is very nice station
tzapu
@tzapu
Jan 11 2016 15:20
wooow...big :D
(and expensive)
looks nice though
beikeland
@beikeland
Jan 11 2016 15:22
seemm to recall the 968 was like 1/8th of what we paid
*what we paid for similar weller stuff at work
tzapu
@tzapu
Jan 11 2016 15:22
ouch in that case
Mario Mikočević
@mozgy
Jan 11 2016 15:22
I have a weller :)
tzapu
@tzapu
Jan 11 2016 15:22
well, i m only doing this as a hobby for myself really
Mario Mikočević
@mozgy
Jan 11 2016 15:23
ages old one tho
tzapu
@tzapu
Jan 11 2016 15:23
so don t think there s a chance in hell i can justify that
beikeland
@beikeland
Jan 11 2016 15:24
the fume extractor is a healt feature ;) (it doesn't work well, but helps convince the budget committee)
tzapu
@tzapu
Jan 11 2016 15:26
:))
well, i was speaking of the aoyue anywa, can t even start the thought process on weller
oh well, i assume for now at least a hot air station is out of question for me
maybe i should try the electric skillet thing...
beikeland
@beikeland
Jan 11 2016 15:29
just don't bother with the aoyue 950 tweezers; they're useless for anything smaller than 1206. tweezers are amazing to work with, just not that one
tzapu
@tzapu
Jan 11 2016 15:30
ooooo
hot tweezers
didn t even know they existed
:P
Markus
@Links2004
Jan 11 2016 15:34
@AdySan the ILI9341 has parallel mode to, its configured by jumper resistors on the flex.
the board you show have 5V to 3V3 conversion too, so not the best match for the ESP.
tzapu
@tzapu
Jan 11 2016 15:37
so i could use the iron for smds , just won t be able to desolder stuff cleanly , would that be correct?
beikeland
@beikeland
Jan 11 2016 15:39
get some good flux and you'll solder tqfp, soic just fine with a normal iron yeah.
Markus
@Links2004
Jan 11 2016 15:41
a "normal" iron, works fine for 0603 and bigger, 0402 are not easy but possible.
desolder is also possible as long you not have too much pins to do.
2pin stuff work fin. mos / transistors too, more then 6pin make no fun.
tzapu
@tzapu
Jan 11 2016 15:42
cool, thanks , will have to play with that
maybe get some finer tips as well
bloody hell 0603..minuscule
Markus
@Links2004
Jan 11 2016 15:44
0402 is harder ;)
tzapu
@tzapu
Jan 11 2016 15:46
can t even see that in the table... it s that small
:))
thanks
Helio Machado
@crushedice2000
Jan 11 2016 21:33
Hi! I have a (unexpectedly) non-working ESP-01.
It powers up (red led). but not boot loader text appears, nor blinking on blue led. CH_PD is wired correctly.
brutzler
@brutzler
Jan 11 2016 21:52
Does anybody know a GOOD tool for such "parts"? Is crimp-contact the proper word for it?
gitter.jpg]
Chris Elsworth
@celsworth
Jan 11 2016 21:53
yeah, crimping tool
don't know what else to call it :)
brutzler
@brutzler
Jan 11 2016 21:54
Yes, I have already one, but its no fun working with it :worried:
Chris Elsworth
@celsworth
Jan 11 2016 21:54
they are a pain :/
fiddly to get right
brutzler
@brutzler
Jan 11 2016 21:55
look at the parts, that can be crimped with it. they are really different
Chris Elsworth
@celsworth
Jan 11 2016 21:56
well they all operate much the same way where the wire goes in?
^ looks almost identical
brutzler
@brutzler
Jan 11 2016 21:58
My problem is, that I have manually bend the edges over the wire and over the isolation. Without this prework, I do not get any proper result after pressing.
Chris Elsworth
@celsworth
Jan 11 2016 21:58
are you inserting into the tool correct way up?
brutzler
@brutzler
Jan 11 2016 22:00
tried both ways. which way do you suggest? The cone on the back of the crimp contact, or on the side, that should be crimped?
Chris Elsworth
@celsworth
Jan 11 2016 22:01
trying to find an image :)
Mario Mikočević
@mozgy
Jan 11 2016 22:01
@brutzler what you use that for ?
brutzler
@brutzler
Jan 11 2016 22:02
connectors to a pcb
Mario Mikočević
@mozgy
Jan 11 2016 22:02
I'm more fan of ferrule crimp
brutzler
@brutzler
Jan 11 2016 22:03
like that:
brutzler
@brutzler
Jan 11 2016 22:03
gitter.jpg
Chris Elsworth
@celsworth
Jan 11 2016 22:03
best image I can find
so the flat end sits on the raised part, then the U goes up into the hole
brutzler
@brutzler
Jan 11 2016 22:04
and hoping, that the edges turn over the wire?
Mario Mikočević
@mozgy
Jan 11 2016 22:04
@brutzler some kind of molex connector ?
ooh, crap, storm here .. big one .. going off ..
brutzler
@brutzler
Jan 11 2016 22:05
what do u mean with ferrule crimp?
Chris Elsworth
@celsworth
Jan 11 2016 22:06
@brutzler yes :)
Martin Ayotte
@martinayotte
Jan 11 2016 22:08
@brutzler , are you stripping a piece of the insulation ?
brutzler
@brutzler
Jan 11 2016 22:09
@celsworth: my tool looks like this on the pic. perhaps I will have to improve my technic LOL
@martinayotte: Yes the front edges over the wire, and the back edges over the isolation
Helio Machado
@crushedice2000
Jan 11 2016 22:10
@(non-spamming)/all: nn
Martin Ayotte
@martinayotte
Jan 11 2016 22:10
Ok ! ;-)
Chris Elsworth
@celsworth
Jan 11 2016 22:11
@brutzler this is a slightly different type but the wire end is much the same.. http://kerryburton.com/wordpress/wp-content/uploads/2014/04/ELPH330_0238_DupontConnectors_MalePin_AfterCrimping.jpg
sounds like you're doing it right, it can just take some practise :)
brutzler
@brutzler
Jan 11 2016 22:13
gitter.jpg
Chris Elsworth
@celsworth
Jan 11 2016 22:13
yep
brutzler
@brutzler
Jan 11 2016 22:13
exactly this should be the result
Chris Elsworth
@celsworth
Jan 11 2016 22:14
haha yes :) I just got a multipack of sizes from aliexpress
Martin Ayotte
@martinayotte
Jan 11 2016 22:15
I prefer loosing one pin space by taking simple cutter. (in fact, he is loosing one too)
brutzler
@brutzler
Jan 11 2016 22:19
@martinayotte Yep. I am using a cutter too. Only "problem" is that the edges are somehow unsightly
OK, after your verification, that my tool should work as expected, I did some tests. I think I prefered the wrong way, the last time, because it was easier to handle the contact with the wire. But now I jam the crimp-contact a little bit with the tool, then insert the wire and press.
Result: ->
gitter.jpg
brutzler
@brutzler
Jan 11 2016 22:24
thx for pushing me into right direction...
Chris Elsworth
@celsworth
Jan 11 2016 23:00
that looks pretty good :)