Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ash
@ashthespy
print out buffer and not e.data :-)
den har
@denman0000_gitlab
@moose4621 yes seems so re JSON ...
I read somewhere its a good idea to rather create static tables than dynamic ones
can anyone confirm ?
@ashthespy Howdy Ash .. hope all's well with you :-)
den har
@denman0000_gitlab
@skorokithakis yassu re tikanis ?
hi all has anyone played around with measuring dc voltages with ESP ? was just wondering what resistor sizes to use .. read somewhere that the ESP pin is 1,0 v max ?
den har
@denman0000_gitlab
This is what I was reading as a start
den har
@denman0000_gitlab
den har
@denman0000_gitlab
@moose4621 @ashthespy I found the problem that was confusing me .. turns out I was reading the wrong filename fromspiffs for my .js aaargh LOL go figure...So I have my string coming through in the payload and printf shows the line as I need and want it : value,value,value, etc. Now I just need to know how to save the payload data as a line in SPIFFS ... I currently can write or append to a file on spiffs but can't get the Variable type correct :-(
Stavros Korokithakis
@skorokithakis
haha, hi @denman0000_gitlab
has anyone played around with small servos? why do they jitter so much when i try to drive them from the ESP?
den har
@denman0000_gitlab
@skorokithakis Hi .. sorry man I can't help there .. but maybe too much current drain ? maybe not sustained current ?
@skorokithakis Just a thought
Stavros Korokithakis
@skorokithakis
I don't think so, it just jitters while sitting there
thanks though
den har
@denman0000_gitlab
maybe its noise ? Perhaps feedback ? try pop a low drop diode into feed for servo ?
maybe a snubber circuit needed ?
I have in the past found that as an issue when driving mechanical relays ( they have a coli too) inductive load
Stavros Korokithakis
@skorokithakis
hmmm yes, i think it might be noise
i'll try mitigating that, thanks
den har
@denman0000_gitlab
saw this which might be an issue
esp8266/Arduino#4296
Stavros Korokithakis
@skorokithakis
that seems to be for a stepper
den har
@denman0000_gitlab
Try check the noise with a scope or drive from 12V (or other) battery
Stavros Korokithakis
@skorokithakis
I think I figured it out, because it's software PWM, the noise is crazy when you're connected to wiofi
wifi*
i'll try the ESP32, it might work better
den har
@denman0000_gitlab
Sorry Stavros .. got my wires crossed haha
Stavros Korokithakis
@skorokithakis
no problem man
den har
@denman0000_gitlab
wont caps and/or inductor help with that
Stavros Korokithakis
@skorokithakis
caps on the signal line?
or do you mean on the ESP power rail?
i think the timings are off because of the interrupts
den har
@denman0000_gitlab
electrolytic on supply before and after regulator
Stavros Korokithakis
@skorokithakis
i'll try that, definitely
den har
@denman0000_gitlab
and one or more tantalum or ceramics after 3,3v feed
supply > electrolytic cap > regulator > electrolytic cap > cermaic/polyerster/tantalum (not sure which type) the little blue ones worked well often for me on NRF24L01+
Stavros Korokithakis
@skorokithakis
i think the wemos alread has the ceramic one
den har
@denman0000_gitlab
and if i was driving relays I would pop in a tranny (bc547 or simlar) and a diode (and or snubber ( snubber good if you're driving inductive load especially from MOC or similar)
even if wemos have there may not be enough filtering
doesnt hurt when testing to pop a few extra in and scope the signal
Stavros Korokithakis
@skorokithakis
hm yeah
i don't have a scope though :/
Stavros Korokithakis
@skorokithakis
oooh very nice, thank you
den har
@denman0000_gitlab
just pop this string into google
snubber cirucit for inductive load servo
now would you like to get blown away ?
LOL look here