These are chat archives for esp8266/Arduino

18th
Dec 2015
Stavros Korokithakis
@skorokithakis
Dec 18 2015 00:08
second version of the pcb (i still need the ground plane and wider traces): http://i.imgur.com/ntR2070.png
Tony
@toxuin
Dec 18 2015 00:17
I'm thinking of creating a 1-layer home-etch friendly board for ESP
Probably will use 2.0mm male strip header to "raize" esp above the board and stuff resistor underneath the esp
Stavros Korokithakis
@skorokithakis
Dec 18 2015 00:18
how will you connect the header to the esp?
or are the esp pins 2mm?
hm, if i do a ground fill, won't the ground take up one whole side? what about my smd components on that side?
Chris Elsworth
@celsworth
Dec 18 2015 00:20
kicad should cut out holes in the plane for them
it just goes around them, and around any tracks on that layer
Stavros Korokithakis
@skorokithakis
Dec 18 2015 00:20
oh, that's great
@celsworth you should try it out
i like it a lot so far
Chris Elsworth
@celsworth
Dec 18 2015 00:20
yeah its on my list :)
Tony
@toxuin
Dec 18 2015 00:21
If I remember correct it is. Isn't it?..
Stavros Korokithakis
@skorokithakis
Dec 18 2015 00:21
@toxuin maybe, i don't know
you probably know better than me
Chris Elsworth
@celsworth
Dec 18 2015 00:22
yes, esp12-e pins are 2mm spaced
Chris Elsworth
@celsworth
Dec 18 2015 00:53
what do the WAKEUP_ constants do in pinMode()? I don't see them documented
Martin Ayotte
@martinayotte
Dec 18 2015 01:28
@igrr , @Links2004, @me-no-dev , few months ago, I've seen problem with namespace clashes between SdFat from Bill Greiman and SPIFFS at that time. I've mentioned it to IGRR, but I think I forgot to open NewIssue about it since I can't find it anymore. Is there any way we can have both worlds working at the same time ?
Should I open a new issue so that it will be tracked officially ?
Daniel Mawhirter
@danielmawhirter
Dec 18 2015 02:12
The Wemos D1 mini's pins do not map to arduino pin numbers accurately, should I open an issue or provide details here?
Markus
@Links2004
Dec 18 2015 07:15
@danielmawhirter its the same with nodemcu for this problem we have Dx variables see:
https://github.com/esp8266/Arduino/blob/master/variants/d1/pins_arduino.h#L49-L64
Markus
@Links2004
Dec 18 2015 08:01
@igrr i have done some tests with the new SDK1.5,
and it look like there is a big lateness for incoming TCP data.
on SDK 1.3 the same code is working fine.
Markus
@Links2004
Dec 18 2015 08:10
found a workaround, adding wifi_set_sleep_type(NONE_SLEEP_T); and all is working fine again, from power usage point of view bad.
Me No Dev
@me-no-dev
Dec 18 2015 09:16
@martinayotte that would require reworking of the two. I would love to have the time and wor on the SdLibrary, because that is the one that should be changed :)
I remember discussing with @igrr a while back how to tackle SPIFFS in the next(then) itteration of the library and we wanted to have common obects for all files and folders so it does not matter if the file comes from SD, SPIFFS or some other FS plugin. The FS class supports it, but that needs to be propagated to SdClass now.
Stavros Korokithakis
@skorokithakis
Dec 18 2015 10:13
Hey guys, does anyone know why GPIO15 is pulled down with a resistor in the schematics?
Rather than grounded directly
Me No Dev
@me-no-dev
Dec 18 2015 10:14
@skorokithakis how will you use it if you short it to the ground? what will happen if you call digitalWrite(15, HIGH)?
Stavros Korokithakis
@skorokithakis
Dec 18 2015 10:28
Oh I don't intend to use it at all
Stavros Korokithakis
@skorokithakis
Dec 18 2015 10:35
Hmm, I have another input that's just shorted to ground, I'm wondering whether I should edit my PCB again to add another resistor or just remove the other pulldown resistor I have
Markus
@Links2004
Dec 18 2015 10:37
not having it but needing it bad, so I think adding another one is better, and gives less room for problems.
Stavros Korokithakis
@skorokithakis
Dec 18 2015 10:42
That's true, thanks
Out of curiosity, would I burn the chip if I tried to output on a ground?
Markus
@Links2004
Dec 18 2015 10:42
possible.
at minimum the pin will die, may more.
Stavros Korokithakis
@skorokithakis
Dec 18 2015 10:46
ah, thank you
yay my pcb is done! https://imgur.com/a/ZTFID
Chris Elsworth
@celsworth
Dec 18 2015 12:27
very ncie :) what did the renderings?
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:29
kicad
it has a 3d viewer
it's great for checking everything looks like you think it does
ordering now!
Chris Elsworth
@celsworth
Dec 18 2015 12:29
ooh espressif asked for my phone number for esp32 delivery, that sounds promising
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:29
daaaaaaaaaaaamn
how did they find you?
Chris Elsworth
@celsworth
Dec 18 2015 12:29
I emailed them ages ago
already knew I was accepted but this is the first I've heard from them for a while
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:30
oh hmm
man i hope i didn't make a mistake with that board
it's pretty tight
and i've ordered it
Chris Elsworth
@celsworth
Dec 18 2015 12:37
gotta take the leap of faith eventually :)
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:38
yep, very true
have you ever used dirtypcbs?
also you need to use kicad, it's so good
Chris Elsworth
@celsworth
Dec 18 2015 12:39
no, for my first one I used seeedstudio
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:39
how much do they cost?
Chris Elsworth
@celsworth
Dec 18 2015 12:39
who were absolutely fine. I might try dirtypcbs next
cost me $15 for 5 boards (up to 5x10cm) plus $4 postage (to UK)
I don't get pcbs made often so honestly $19 doesn't break the bank, the ones I got from seeed were nice quality so I don't think its worth scratching around to save another $3.. I will try dirtypcbs though and see, just for comparison, next time
I will probably be doing like.. 4 pcbs a year max, so :)
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:44
yeah, same
dirtypcbs do 10 for $14
Chris Elsworth
@celsworth
Dec 18 2015 12:44
I only ordered 5 cos they didn't do 1 :D
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:44
but that means i get to throw away 9 pcbs :smile:
Chris Elsworth
@celsworth
Dec 18 2015 12:44
yes exactly
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:44
yep :P
i paneled my design to fit two per pcb too
Chris Elsworth
@celsworth
Dec 18 2015 12:44
well actually I'll keep 2.. I build one and I'm going to stash one away and keep a collection of all the pcbs I made
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:44
so now i have 20 designs and only need one
oh
good idea
i should do that too
Chris Elsworth
@celsworth
Dec 18 2015 12:45
then in a few years I can look back and see how far I've come
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:48
bam
@celsworth do you happen to know what the two-pin battery connector is called?
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:53
doesn't help much, i know
Chris Elsworth
@celsworth
Dec 18 2015 12:53
afraid not
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:54
hmm, looks like it's called JST
Markus
@Links2004
Dec 18 2015 12:54
JST is a manufacturer
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:54
do you use solder with flux?
Chris Elsworth
@celsworth
Dec 18 2015 12:54
I sure do
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:55
do you know what thickness the thin one is?
i want to solder SMD components and want to buy some solder
Chris Elsworth
@celsworth
Dec 18 2015 12:55
I use 60/40 0.5mm solder with flux
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:55
but i'm not sure what thickness i should get
hm
whats the 60/40?
Chris Elsworth
@celsworth
Dec 18 2015 12:55
Tin/Lead
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:55
ah
is 0.5mm thick or thin?
Chris Elsworth
@celsworth
Dec 18 2015 12:55
middling :)
do you think i'd be okay for smds with that one?
or should i get thinner?
Chris Elsworth
@celsworth
Dec 18 2015 12:56
you can get like 0.3 and lower, but thats really thin
don't go higher than 0.7
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:56
hm yes
Chris Elsworth
@celsworth
Dec 18 2015 12:56
0.5 is good imo
why 0.5? i can always apply more if it's thin, no?
whereas applying less of a thick one is harder
Chris Elsworth
@celsworth
Dec 18 2015 12:57
yes, but you quickly find you have to feed 10cm of it in
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:57
ah haha
i already have the thick solder, i guess i'll get the thin one to complement it
Chris Elsworth
@celsworth
Dec 18 2015 12:57
and if you hold it 15cm away from what you're soldering.. it bends :)
so if the solder is too thin, inevitably halfway through soldering something, you have to stop, move your hand up the solder, and feed more in
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:58
but this is only for SMDs, i'd only need a drop
Chris Elsworth
@celsworth
Dec 18 2015 12:58
yeah 0.3 may be ok for really small smd stuff, like 0603 I guess
Stavros Korokithakis
@skorokithakis
Dec 18 2015 12:59
i think mine is 0805
wow, 0603 is tiny
Chris Elsworth
@celsworth
Dec 18 2015 13:00
should see 0402
don't breathe when handling those ;)
Stavros Korokithakis
@skorokithakis
Dec 18 2015 13:00
can i? :P
haha
jee
z
how do they even solder those?
hell, how do they SEE those
Chris Elsworth
@celsworth
Dec 18 2015 13:01
indeed :) but now you see what 0.3 is for ;)
I think 0.3 will still be too thick for 0805, but try both and see :)
err too thin
Stavros Korokithakis
@skorokithakis
Dec 18 2015 13:02
oh hm
yeah i can just use my thick solder then
what's flux for?
keeps it from becoming non-stick?
Chris Elsworth
@celsworth
Dec 18 2015 13:02
flux helps solder "run"
so it flows into where its supposed to go
Stavros Korokithakis
@skorokithakis
Dec 18 2015 13:03
ah
then mine doesn't have flux
because it sticks everywhere except the damn hole
Chris Elsworth
@celsworth
Dec 18 2015 13:03
it makes a lot of difference :)
Stavros Korokithakis
@skorokithakis
Dec 18 2015 13:04
i will try it
hardware is so much fun
Why with more than 50% of PWM duty cycle, the lamp starts blinking and fading as if it have a capacitor in parallel?
Stavros Korokithakis
@skorokithakis
Dec 18 2015 15:10
mine do this as well
tzapu
@tzapu
Dec 18 2015 15:15
@roccomuso thanks, yes, additional parameters are planned, i hope to sort it asap
tzapu
@tzapu
Dec 18 2015 15:37
@skorokithakis i ve used low drop regulators on this http://tzapu.com/minimalist-battery-powered-esp8266-wifi-temperature-logger/ ht7333 ... seem to be fine, been running for months
@celsworth my lifepo 18650 seem to hold at about 4.2v when charged... i think that would blow the esp..
Chris Elsworth
@celsworth
Dec 18 2015 15:38
sure its a lifepo? :?
sounds more like li-ion if its 4.2
my lifepo aren't 18650 sized though, just AA sized
tzapu
@tzapu
Dec 18 2015 15:39
i ll look again
hmm...i seem to be talking bollox
they are NiMnCo
but i m so sure i had some lifepo...but who knows
Chris Elsworth
@celsworth
Dec 18 2015 15:40
This message was deleted
not heard of that one :)
Martin Ayotte
@martinayotte
Dec 18 2015 15:42
There are plenty of LiFePo 18650 on eBay.
Chris Elsworth
@celsworth
Dec 18 2015 15:42
I know, just saying mine are AA sized. it seemed easier to get battery boxes for
and easier to squash into small boxes like the esp8266 is so good for :)
Martin Ayotte
@martinayotte
Dec 18 2015 15:42
:-)
tzapu
@tzapu
Dec 18 2015 15:43
oh well, those lifepo do sound like a good match for the esp directly, maybe i should try and find them again
Chris Elsworth
@celsworth
Dec 18 2015 15:43
yes you can use them unregulated with a little care
tzapu
@tzapu
Dec 18 2015 15:45
thanks ;)
Markus
@Links2004
Dec 18 2015 16:21
@crushedice2000 normally your N MOS source is at GND, I am not sure if this schematic can work.
normally you do something like this:
img
Mario Mikočević
@mozgy
Dec 18 2015 16:27
@skorokithakis nice pcb
@me-no-dev Remote upload without SSH is now supported (allows OTA upload for many 3rd party boards). Thanks @me-no-dev. ;)
1.6.7 arduino is out
Me No Dev
@me-no-dev
Dec 18 2015 16:28
out like really out? official out with official downloads?
i know they merged, but did not check if it's downloadable from the site
Mario Mikočević
@mozgy
Dec 18 2015 16:29
official out
I just linked the line from release notes :)
Me No Dev
@me-no-dev
Dec 18 2015 16:31
not coming to eclipse in the official plugin repo soon :)
Mario Mikočević
@mozgy
Dec 18 2015 16:40
friend did an amazing job, I wonder who'll notice what it is ->
20151218_173615.jpg
Me No Dev
@me-no-dev
Dec 18 2015 16:42
some crazy solder job that is
Mario Mikočević
@mozgy
Dec 18 2015 16:42
yep
I asked can I bring my other ten or so .. he said no worries ..
Mario Mikočević
@mozgy
Dec 18 2015 16:44
yeah, but just look at that tiny wire ..
Mario Mikočević
@mozgy
Dec 18 2015 16:50
hmm, complete reinstall of everything does not work
Board generic (platform esp8266, package esp8266) is unknown
Mario Mikočević
@mozgy
Dec 18 2015 17:05
esp8266 git works
tzapu
@tzapu
Dec 18 2015 17:07
@mozgy just in case he didn't, your friend should remove that power red led as well
Mario Mikočević
@mozgy
Dec 18 2015 17:08
no, thats my job
I need to resolder that missing cap too
tzapu
@tzapu
Dec 18 2015 17:08
oh yeah
missed that one
:P
Mario Mikočević
@mozgy
Dec 18 2015 17:14
smd up to 0403 is no problem for me .. but that esp chip .. far out
Mario Mikočević
@mozgy
Dec 18 2015 17:21
hmm, interesting info for @Links2004 , OTA worked first try
Me No Dev
@me-no-dev
Dec 18 2015 17:23
chip is easy :) lots of flux, easy on the temp and some patience is all required
given that you have hot air
Mario Mikočević
@mozgy
Dec 18 2015 17:23
already tried :)
hence me visiting my friend :D
Me No Dev
@me-no-dev
Dec 18 2015 17:23
replaced 2 so far
Mario Mikočević
@mozgy
Dec 18 2015 17:24
I've replaced SPI RAM with no fuss
Me No Dev
@me-no-dev
Dec 18 2015 17:24
I have some mother of a flux though... a gel thing... it's the sh**
Mario Mikočević
@mozgy
Dec 18 2015 17:24
just got 8MiB SPI RAM for testing ..
Me No Dev
@me-no-dev
Dec 18 2015 17:24
works fine up to 4MB
Mario Mikočević
@mozgy
Dec 18 2015 17:25
I know :)
Markus
@Links2004
Dec 18 2015 17:28
RAM? is it not flash what we have on the ESP boards?
Mario Mikočević
@mozgy
Dec 18 2015 17:30
yes
Helio Machado
@crushedice2000
Dec 18 2015 18:01
@Links2004 : I think that the source can be GND or VCC. However, in my scenario, your design will be destroyed, as my circuit works with 78V and the optocoupler allows a maximum of 30V
Markus
@Links2004
Dec 18 2015 18:07
ok, then a voltage divider is needed (for a GS voltage of 10-12V),
for controlling VCC a pmos is used not a nmos.
Martin Ayotte
@martinayotte
Dec 18 2015 18:41
Few days ago, I've also mentioned about adding zener diode to avoid having to use high BVce optocoupler.
Helio Machado
@crushedice2000
Dec 18 2015 18:53
@Links2004 @martinayotte:
This doesn't work for me.
It works for on/off, but with PWM it starts blinking and acting as if a capacitor charges and discharges.
Martin Ayotte
@martinayotte
Dec 18 2015 19:14
I don't see why ... except that the gate resistance is missing, although it should not be a problem if square wave really return to zero.
Ivan Kravets
@ivankravets
Dec 18 2015 19:16

PlatformIO 2.6.1 released! Added support for the new ESP8266-based boards (SparkFun ESP8266 Thing, NodeMCU 0.9 & 1.0, Olimex MOD-WIFI-ESP8266(-DEV), Adafruit HUZZAH ESP8266, ESPino, SweetPea ESP-210, WeMos D1, WeMos D1 mini).

Quickstart https://github.com/esp8266/Arduino/blob/master/doc/platformio.md and http://docs.platformio.org/en/latest/platforms/espressif.html

Markus
@Links2004
Dec 18 2015 19:20
@crushedice2000 i only can suspect that the GS voltage is to low some mos needs around 10V to work korrekt.
or the power supply can not handle the fast load changes of the PWM, may try to add a big capacitor.
Helio Machado
@crushedice2000
Dec 18 2015 19:24
@Links2004: In parallel with the input?
Markus
@Links2004
Dec 18 2015 19:24
from GND to plus of the 78V Supply
Helio Machado
@crushedice2000
Dec 18 2015 19:24
@Links2004: I'll try. It sounds good.
Markus
@Links2004
Dec 18 2015 19:26
may you need to use some capacitor in series to get the Voltage handled 80V capacitor not that easy to find in a big range (1000uF).
Helio Machado
@crushedice2000
Dec 18 2015 19:30
@Links2004: Did you notice that I would desire a portable design? ;-)
Markus
@Links2004
Dec 18 2015 19:32
a 1000uF is not that big 35V has around H:2cm r:0.6cm, less capacity work too,
there is room for try and error.
Martin Ayotte
@martinayotte
Dec 18 2015 19:33
About 4N28 with zener, I've found a small schematic for you : http://www.talkingelectronics.com/ChipDataEbook-1d/html/images/OptoToMotor.gif
Markus
@Links2004
Dec 18 2015 19:34
I most start with 1000uF because i have buyd a bag with 1000pcs years ago very sheep.
Helio Machado
@crushedice2000
Dec 18 2015 19:34
@martinayotte: Thankk you very much!
Markus
@Links2004
Dec 18 2015 19:34
@martinayotte the 10uF make it not usable for PWM.
Helio Machado
@crushedice2000
Dec 18 2015 19:34
@Links2004: I haven't that bag. Only old ATX PSU...
Martin Ayotte
@martinayotte
Dec 18 2015 19:35
@Links2004 : of course, it is not my own drawing :-)
Oh ! but the 10uF is only zener power to 4N25 not on the gate itself
Markus
@Links2004
Dec 18 2015 19:36
@crushedice2000 ;) use what you have and play, that the best what you can do, but keep a eye one the voltage,
elkos explode very well at too high voltage.
@martinayotte yes not see this at the first look.
Martin Ayotte
@martinayotte
Dec 18 2015 19:38
Maybe the 3K9 should be higher for 78V instead of this 36V, it depends of the zener capabilities
Helio Machado
@crushedice2000
Dec 18 2015 19:39
@Links2004: I take care of the voltage. 5 years ago, when I was 10yo, using a dc motor (with a electrolytic capacitor attached), I reversed the polarity, and the capacitor metal cap was projected into my tummy... I never used again a electrolytic capacitor :-/
Chris Elsworth
@celsworth
Dec 18 2015 19:39
ouch!
a painful way to learn that lesson
Helio Machado
@crushedice2000
Dec 18 2015 19:41
@celsworth: I never thought that the capacitor was attached too the motor... Simply reversed (as the most of the small dc motors have a non-polar one)
Mario Mikočević
@mozgy
Dec 18 2015 19:41
@me-no-dev why ADC_MODE(ADC_VCC); needs #include <ArduinoOTA.h> ?
Markus
@Links2004
Dec 18 2015 19:42
oO, thats the badest way what cut happend.
Helio Machado
@crushedice2000
Dec 18 2015 19:45
@martinayotte: What did you mean with zener capabilities?
Chris Elsworth
@celsworth
Dec 18 2015 19:46
@mozgy is Arduino.h not sufficient?
those defines are in Esp.h which is included from Arduino.h so that should be sufficient
Mario Mikočević
@mozgy
Dec 18 2015 19:48
it won't compile without #include <ArduinoOTA.h>
Chris Elsworth
@celsworth
Dec 18 2015 19:49
with an error about ADC? how odd :) paste the error maybe
Mario Mikočević
@mozgy
Dec 18 2015 19:49
and yes, I do include arduino.h too
Chris Elsworth
@celsworth
Dec 18 2015 19:49
hm right
Mario Mikočević
@mozgy
Dec 18 2015 19:50
C:\Users\Mozz\Documents\Arduino\Projects\BareMinimum\BareMinimum.ino:17:1: note: in expansion of macro 'ADC_MODE'

 ADC_MODE(ADC_VCC);

 ^

exit status 1
previous declaration of 'int __get_adc_mode()' with 'C++' linkage
hmm, somthing else is b0rken here
Chris Elsworth
@celsworth
Dec 18 2015 19:53
yeah I'm looking at the .h files and I can't work that out
Helio Machado
@crushedice2000
Dec 18 2015 19:54
@mozgy: What about a clean install? 0:-)
Mario Mikočević
@mozgy
Dec 18 2015 19:54
well, that IS clean install
clean 1.6.7 + clean git + python get.py
Helio Machado
@crushedice2000
Dec 18 2015 19:55
@mozgy: And, do you think that MS Windows(TM) can do things well?
Jokes apart, this is a serious problem.
Let's expect the me-no-dev or Links2004 answers... (if any)
Chris Elsworth
@celsworth
Dec 18 2015 19:58
is there no more error lines after that to say where the previous declaration was or anything?
Mario Mikočević
@mozgy
Dec 18 2015 19:59
something else is amiss, another sketch produces tons of errors
Markus
@Links2004
Dec 18 2015 19:59
@mozgy i try to add ADC_MODE(ADC_VCC); and its working, from the error message it looks like that you have used the macro twice
Helio Machado
@crushedice2000
Dec 18 2015 20:00
The only thing (apart @Links2004 said) that can produce this problem is that is missing one of these lines on the code:
#ifdef __cplusplus
extern "C" {
#endif
and
#ifdef __cplusplus
}
#endif
Mario Mikočević
@mozgy
Dec 18 2015 20:00
well -> clean reinstall number two commencing ..
Helio Machado
@crushedice2000
Dec 18 2015 20:02
@mozgy: Poor you... I suffered that :-(
Another possible cause is two int __get_adc_mode() declarations (the first in C++ and the second in C)
Markus
@Links2004
Dec 18 2015 20:05
@mozgy try to add a folder called "portable" in you arduino folder (where the arduino.exe is)
by doing this you can ensure that the IDE not using anything that is outside this folder, may you have some old leftovers.
Martin Ayotte
@martinayotte
Dec 18 2015 20:05
@crushedice2000 (I was away for some time) Zener capabilites, I means ratings, maximum current and power dissipation. Since the gate doesn't need much current, simply choose high resistance value instead of the 3K9, maybe 10K or even 22K
Mario Mikočević
@mozgy
Dec 18 2015 20:05
@Links2004 will do
Portable or portable ?
Markus
@Links2004
Dec 18 2015 20:06
I use "portable" and its working.
Helio Machado
@crushedice2000
Dec 18 2015 20:07
@mozgy: Window$ is not case sensitive.
@martinayotte: Ok, I'll try
Mario Mikočević
@mozgy
Dec 18 2015 20:07
I do use both W7 and Linux here
hence me asking
Markus
@Links2004
Dec 18 2015 20:08
@crushedice2000 you can enable case sensitive, but this make even more problems ;)
Mario Mikočević
@mozgy
Dec 18 2015 20:09
You forgot your sketchbook
Helio Machado
@crushedice2000
Dec 18 2015 20:09
@Links2004: ;-)
Mario Mikočević
@mozgy
Dec 18 2015 20:10
when I add subdir portable
Markus
@Links2004
Dec 18 2015 20:11
@mozgy this is normal, the sketchbook is by default outside this folder.
the IDE will create a new one inside of portable. you can copy your sketches in.
Martin Ayotte
@martinayotte
Dec 18 2015 20:11
@crushedice2000, btw, the zener doesn't need to be 15V, it can be 12V or even 9V whatever you have nearby
Mario Mikočević
@mozgy
Dec 18 2015 20:11
well, IDE won't start at all
Markus
@Links2004
Dec 18 2015 20:14
strange any more info then You forgot your sketchbook or is that all you get?
Mario Mikočević
@mozgy
Dec 18 2015 20:14
something else, dismissed the error now .. min
Helio Machado
@crushedice2000
Dec 18 2015 20:14
@martinayotte: I found 15V zener.
I have at home a huge amount of electronics ;-)
Martin Ayotte
@martinayotte
Dec 18 2015 20:20
;-)
Chris Elsworth
@celsworth
Dec 18 2015 20:20
reminds me to order some zeners, don't have any.. never needed any yet, but they look useful :)
Mario Mikočević
@mozgy
Dec 18 2015 20:22
?some? :evil:
Martin Ayotte
@martinayotte
Dec 18 2015 20:22
Of course, like in the case of @crushedice2000 where he need low current 15V power from 78VDC, not even plain regulator such 7815 can tolerate this input voltage.
78v to 15v sounds like you need a transformer or something?
Helio Machado
@crushedice2000
Dec 18 2015 20:23
@celsworth: Ali is my favorite, but all takes 15+ days to arrive.
Chris Elsworth
@celsworth
Dec 18 2015 20:24
yep, just have to be patient, but its worth the cost savings
Martin Ayotte
@martinayotte
Dec 18 2015 20:24
Yes ! the deal seems good.
Chris Elsworth
@celsworth
Dec 18 2015 20:24
have to plan ahead ;)
Mario Mikočević
@mozgy
Dec 18 2015 20:32
Shipping: US $1.58 :(
Chris Elsworth
@celsworth
Dec 18 2015 20:32
free to UK, which is awesome :)
but yes it takes a month or more
Helio Machado
@crushedice2000
Dec 18 2015 20:32
@mozgy: Tick the Free shipping checkbox on search ;-)
Mario Mikočević
@mozgy
Dec 18 2015 20:34
ok - -PR works with latest git
official 1.6.7 does not
mozgy @mozgy hungry now
Helio Machado
@crushedice2000
Dec 18 2015 20:39
OptoToMotor1.gif
@martinayotte: This is my circuit and results. Proudly edited by GIMP
Martin Ayotte
@martinayotte
Dec 18 2015 20:41
Of course, Ohm's law apply there to. your need to calculate the current and power dissipation, maybe you can use 47K than, lower current and use bigger wattage.
Helio Machado
@crushedice2000
Dec 18 2015 20:43
@martinayotte: Should I try 10K 1W resistor?
Martin Ayotte
@martinayotte
Dec 18 2015 20:44
78V - 15V = 63 . 63V / 47K = 1.34mA . 63V * 1.34mA = 84mW. That should not be to hot. With the 10K, same calculation bring 396mW ... not soo bad ... Did you had a 1/4W or 1/2W ?
Helio Machado
@crushedice2000
Dec 18 2015 20:44
@martinayotte: 1/4
Martin Ayotte
@martinayotte
Dec 18 2015 20:45
Yes, it was over ... to depends of your inventory ... maybe 2x 10K 1/4 in series, it will becomes like a 20K 1/2W.
Helio Machado
@crushedice2000
Dec 18 2015 20:45
@martinayotte: I have 10K 1W. Can I use it ‽

Martin Ayotte
@martinayotte
Dec 18 2015 20:46
sure
Helio Machado
@crushedice2000
Dec 18 2015 21:11
@martinayotte: Uploading 50M video.
Hold tight!
Mario Mikočević
@mozgy
Dec 18 2015 21:12
do I need to make popcorn ?
Helio Machado
@crushedice2000
Dec 18 2015 21:16
@mozgy: Only 00:27 but 1080p
However in 27 seconds (in theory) a man can eat up to 1Kg of popcorn... These statistic software.... ;-) :smiling_imp:
Mario Mikočević
@mozgy
Dec 18 2015 21:29
emh, ok, I'm fully back to 1.6.5+stable2.0.0
that works on all of my sketches
Helio Machado
@crushedice2000
Dec 18 2015 21:30
@martinayotte This is a video of the current failure. The Arduino Uno I have for testing has the Basics -> Fade sketch loaded.
Helio Machado
@crushedice2000
Dec 18 2015 21:36

Good night!

Mario Mikočević
@mozgy
Dec 18 2015 21:37
nn
Helio Machado
@crushedice2000
Dec 18 2015 21:39
@mozgy: What does NN mean?
["Night, Night",  "Not Needed"]
Markus
@Links2004
Dec 18 2015 21:42
@crushedice2000 can you make a photo of your power supply
from the look, its may a constant current. Then you have no change to dim it with a MOS.
Helio Machado
@crushedice2000
Dec 18 2015 21:47
Yes, constant current. Picture in proccess...
Mario Mikočević
@mozgy
Dec 18 2015 21:47
nn is old irc slang for night,night
<-- old irc admin from before-split era
Helio Machado
@crushedice2000
Dec 18 2015 21:48
20151218_224437.jpg
@Links2004: I fear that effectively is Constant Current.
@Links2004: Now what? I spent today 24€ in 10 (ten) mosfet charge pump drivers.
:-(
@mozgy: Was a joke :smiling_imp:
Markus
@Links2004
Dec 18 2015 21:50
yes, its clear constant current, will not work with PWM.
Mario Mikočević
@mozgy
Dec 18 2015 21:51
@crushedice2000 hmm, ok, I might need sleep too then :D
Helio Machado
@crushedice2000
Dec 18 2015 21:53
@Links2004: Oh, my! What can I do?
Markus
@Links2004
Dec 18 2015 21:53
@crushedice2000 with out rewiring the LED light itself its hard, a ~80V power supply (constant voltage) is hard to find.
I think its easier to take a look inside the LED panel and check if you can reorder the leds to us them with 12V or 24V.
Helio Machado
@crushedice2000
Dec 18 2015 21:54
@Links2004: OMG! The led panel has in the inner only a LED strip.
Markus
@Links2004
Dec 18 2015 21:54
can you make a photo
@Links2004: Photo of?
Markus
@Links2004
Dec 18 2015 21:55
the LED stripe, the triac dimmer is a good idea, and can be controlled by arduino too.
Helio Machado
@crushedice2000
Dec 18 2015 21:57
@Links2004: I'll use on ESP and not Arduino, however seems a good idea. Taking photo of lamp inner...
Mario Mikočević
@mozgy
Dec 18 2015 21:57
hmm, this one is free shipping from ali for me too :D
Helio Machado
@crushedice2000
Dec 18 2015 22:07
20151218_225929.jpg
20151218_230002.jpg
20151218_225943.jpg
@Links2004: Done!
Markus
@Links2004
Dec 18 2015 22:10
if i see it right there are 5 LED in a row and that x times.
Helio Machado
@crushedice2000
Dec 18 2015 22:10
@Links2004: I'll do dinner now, however, feel free to write and I'll read later.
Markus
@Links2004
Dec 18 2015 22:12
shut be around 15-18V, not 78V how do you measure the 78V, with or without the LED connected to the power supply?
if without connection try too measure with connection to the LED.
Helio Machado
@crushedice2000
Dec 18 2015 22:13
@Links2004: Measured without LED.
@Links2004: However, in the transformer picture, it says 36-54V 300mA
Markus
@Links2004
Dec 18 2015 22:15
its china, an when the constant current work it can be less, and 78V is also out of if ;)
most time the produce one board and label it different.
Helio Machado
@crushedice2000
Dec 18 2015 22:18
@Links2004: I doubt it:
  1. I trust more than you on China ;-)
  2. 60V should be the proper voltage for 300mA and 18W
  3. I figure that 78V is the maximum the transformer can deliver.
  4. I get 75-78V with the tester.
Helio Machado
@crushedice2000
Dec 18 2015 22:24
This message was deleted
Markus
@Links2004
Dec 18 2015 22:27
interesting, may there is some wiring on the strip what I not see. for me looks like 5LEDs x times in parallel.
Helio Machado
@crushedice2000
Dec 18 2015 22:28
@Links2004: Now I'll sleep. I'm tired. Tomorrow we can continue talking.
Mario Mikočević
@mozgy
Dec 18 2015 22:28
@Links2004 re portable -> Arduino cannot run because it could not create a folder to store your sketchbook.
Helio Machado
@crushedice2000
Dec 18 2015 22:28
:tired_face:
Markus
@Links2004
Dec 18 2015 22:28
@crushedice2000 ok, gn.
Helio Machado
@crushedice2000
Dec 18 2015 22:28
@mozgy: nn :smiling_imp:
Markus
@Links2004
Dec 18 2015 22:29
@mozgy may a access problem check the rights on the "portable" dir you create.
Mario Mikočević
@mozgy
Dec 18 2015 22:29
@crushedice2000 nn
same as parent dir, checked (on W7)
Markus
@Links2004
Dec 18 2015 22:30
inside the portable:
blob
Mario Mikočević
@mozgy
Dec 18 2015 22:36
it's arduino/Arduino#4043
as I'm back to 1.6.5
what is the clean way to run several vers of arduino builds ?
Markus
@Links2004
Dec 18 2015 22:38
using portable, then the ide store all its info inside this dir.
Mario Mikočević
@mozgy
Dec 18 2015 22:39
hmm, 1.6.5 needs admin rights for that
Markus
@Links2004
Dec 18 2015 22:39
strange, for me its working (no admin)
Mario Mikočević
@mozgy
Dec 18 2015 22:39
well, ok, gonna make shortcut ..
Markus
@Links2004
Dec 18 2015 22:41
you can try to grand your user full rights on the dir and see what happens.
Mario Mikočević
@mozgy
Dec 18 2015 22:41
I used to start IDE tru clicking on sketches
I'll do otherwayround now ..
Markus
@Links2004
Dec 18 2015 22:43
since i am using eclipse in only start the IDE for testing, to test stuff for the ESP core.
.ino is linked to notepad++ on my Computer.
Mario Mikočević
@mozgy
Dec 18 2015 22:44
hmm, that's an idea
Mario Mikočević
@mozgy
Dec 18 2015 22:54
hm, need to redo spiffs uploader now too
or find some deduplication software :D
Mario Mikočević
@mozgy
Dec 18 2015 23:20
somehow managed to update IDE to 1.6.7 without making it b0rken, it works with stable-2.0.0 now .. enough for tonite .. nn