Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Markus
@Links2004
yes but if you send 200 char in the row there will not many space between them.
for debugging out you can use Serial1
Chris Elsworth
@celsworth
yes true, and then programming is OTA anyway :D
okay jsut going to double-check it doesn't happen on real Serial and I may just go with that
a pity, I wonder what use software serial classes on the esp are then.. there's a couple of them, I don't know if others have gotten them to work well
its jsut very critical timing for a relatively long time, the one thing the esp is not very good at :)
Markus
@Links2004
on higher baudrate the problem is less critical per char, if you put the max data in result will always be the same --> interrupts blocked to long,
the implementation has some basic concept problems. blocking interrupts less is possible but then get unstable on high baudrates.
Chris Elsworth
@celsworth
real Serial has been working fine for 5 minutes now, no problem
longer than the software serial ever did
Stavros Korokithakis
@skorokithakis
so does ESP.deepsleep() basically turn off the ESP until the RST line is pulsed?
Chris Elsworth
@celsworth
or until the timer fires, if you use 0 then yes, forever
Stavros Korokithakis
@skorokithakis
doesn't the timer pulse the RST line?
Chris Elsworth
@celsworth
yes, via GPIO16 :)
Stavros Korokithakis
@skorokithakis
basically i want to make a dash button, so it sounds like I need a button hooked up to the RST line and deepsleep(0)
Chris Elsworth
@celsworth
but 0 = no timer set
Stavros Korokithakis
@skorokithakis
right right
by the way, maybe someone will find this useful: https://github.com/skorokithakis/esplights
Chris Elsworth
@celsworth
hey nice :) good range of technologies in there, I like the remote control integration :)
Stavros Korokithakis
@skorokithakis
thanks, it's handy because you can send whatever IR you want over mqtt
theoretically, you could make a very small IR remote that was controlled over wifi
hmm, maybe i should hook four LEDs in a square and make a true universal remote that can work on all directions :P
Stavros Korokithakis
@skorokithakis
has anyone tried to power their ESP from their FTDI programmer? does it work well?
also, which software do you use for designing PCBs?
Chris Elsworth
@celsworth
that one is easy, Eagle :)
Sven Eliasson
@comino
Eagle is the best price/value
Stavros Korokithakis
@skorokithakis
i heard that kicad is better than eagle nowadays
Chris Elsworth
@celsworth
the first time I looked at it, I ran away screaming, but if you sit down with a good mug of favourite drink, you can learn it in an hour or two
beikeland
@beikeland
@skorokithakis varying success. most of my esp-05 doesn't work powered by ftdi, 50/50 on all the others i've tried.
Sven Eliasson
@comino
kicad was shit last time I used it - altium is still pretty nice but not that cheap :P
Chris Elsworth
@celsworth
@comino you mean free? ;)
free is sure good enough for my purposes anyway, not hit the pad limit yet
Stavros Korokithakis
@skorokithakis
@beikeland thanks, i'll try a regulator then
Sven Eliasson
@comino
free is limited - even pro is cheap compared to altium ;)
Stavros Korokithakis
@skorokithakis
hmm, i was going to start with eagle, but i saw this thread https://news.ycombinator.com/item?id=10676514
how much is altium?
Sven Eliasson
@comino
wow - looks like there is a good progress on kiCad
I will give it a try
Stavros Korokithakis
@skorokithakis
@comino the commenters there seem to like it a lot
Sven Eliasson
@comino
too much if your employer doesnt buy it for you ;) or you doo.. you know.. harhar
Stavros Korokithakis
@skorokithakis
i've used both, but i've never designed a pcb, so i couldn't say
@comino haha, yep
Chris Elsworth
@celsworth
anyone know what the max pwm frequency an esp can do?
Sven Eliasson
@comino
oh that was also on my research list ^^
Stavros Korokithakis
@skorokithakis
@celsworth 2 usec seemed fine
Chris Elsworth
@celsworth
that'd be.. 500kHz? I guess that will do :)
Stavros Korokithakis
@skorokithakis
yeah
Chris Elsworth
@celsworth
going to run it through a lowpass filter to make a DC voltage, 500k will be loads
Stavros Korokithakis
@skorokithakis
i used bit-banging to make the carrier wave for that remote control
if i wanted 26 usec highs, i had to delay for 24
so i'm guessing you can get 500 khz