Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 16 23:42
    dok-net synchronize #8116
  • Oct 16 23:41
    dok-net synchronize #8011
  • Oct 16 23:41
    dok-net synchronize #8008
  • Oct 16 23:25
    dok-net synchronize #7952
  • Oct 16 23:22
    dok-net synchronize #6047
  • Oct 16 23:19
    dok-net synchronize #7979
  • Oct 16 23:03
    dok-net synchronize #8073
  • Oct 16 22:58
    mcspr opened #8343
  • Oct 16 22:51

    mcspr on master

    Remove the HAVE_ESP_SUSPEND def… (compare)

  • Oct 16 22:51
    mcspr closed #8342
  • Oct 16 22:37
    dok-net synchronize #8342
  • Oct 16 22:32

    mcspr on master

    Clean up SpeedTest output, avoi… (compare)

  • Oct 16 22:32
    mcspr closed #8340
  • Oct 16 22:32
    mcspr closed #8339
  • Oct 16 22:25
    dok-net closed #6782
  • Oct 16 22:20
    dok-net opened #8342
  • Oct 16 22:11
    mcspr edited #8341
  • Oct 16 22:04
    mcspr synchronize #8340
  • Oct 16 22:04
    RastoH opened #8341
  • Oct 16 21:53
    mcspr milestoned #7148
Stavros Korokithakis
@skorokithakis
yeah :/
Chris Elsworth
@celsworth
even that 25M/s is faster than the Logic 4 :(
Stavros Korokithakis
@skorokithakis
yeah exactly
so you'd be paying 12 times more for a downgrade
Chris Elsworth
@celsworth
yep, kinda silly
so if I was going to get any I think it would be the 8.. don't need the Pro
good thing really as by then you're up to $400 :)
Stavros Korokithakis
@skorokithakis
yep :package:
:P
Chris Elsworth
@celsworth
on another note, I'm starting to dip my toe into native sdk coding a little, and every time I do I have newfound appreciation for how simple arduino core makes all this :)
Stavros Korokithakis
@skorokithakis
sounds like i should steer clear from the native sdk, huh
Chris Elsworth
@celsworth
setting a pin to do pwm, one line of easy code in arduino, and I haven't yet worked out how to do it in native sdk after 15 minutes of looking at sdk docs
Stavros Korokithakis
@skorokithakis
wow
Stavros Korokithakis
@skorokithakis
do the pullup resistors for the bare esp need to be 10k, or can i use 3.5k?
Sven Eliasson
@comino
you can
Stavros Korokithakis
@skorokithakis
will it affect anything?
Sven Eliasson
@comino
more power consumption
Stavros Korokithakis
@skorokithakis
ah, thanks
Sven Eliasson
@comino
and maybe slower flanks for the esp
(high -> low)
Stavros Korokithakis
@skorokithakis
hmm i see
that should be fine
Chris Elsworth
@celsworth
ok, PWM seems to max out at around 50kHz, so I guess its quite a bit more limited than bit banging
even at 50Khz its getting pretty shakey on the scope, not very stable
Stavros Korokithakis
@skorokithakis
that's odd
try bitbanging and see if it's better?
Chris Elsworth
@celsworth
ok
Stavros Korokithakis
@skorokithakis
that's surprising, though
Chris Elsworth
@celsworth
all I'm doing atm is analogWriteFreq(50000); analogWrite(2, 512); then watching the result :)
Stavros Korokithakis
@skorokithakis
makes sense
Chris Elsworth
@celsworth
at 20000 its very stable, even though its sending 22kHz according to the scope hardware counter O_o
Stavros Korokithakis
@skorokithakis
that's very odd
are you sure you didn't just mistype 22000? :P
Chris Elsworth
@celsworth
very sure :)
I'll try it at 22000 actually :)
Stavros Korokithakis
@skorokithakis
huh, weird
yeah, see what that says
Chris Elsworth
@celsworth
that says 22.2kHz, how strange
Stavros Korokithakis
@skorokithakis
hm
why are you analogWrite()ing 512?
Chris Elsworth
@celsworth
to get a 50% duty cycle, just to make it easier to see on the scope
Stavros Korokithakis
@skorokithakis
isn't it 0-255?
Chris Elsworth
@celsworth
0-1023 according ot docs
Stavros Korokithakis
@skorokithakis
ah, different from the arduino
Chris Elsworth
@celsworth
it is working, I have a nice square wave displayed, jjsut the frequency isnt' all that accurate, especially at higher PWMs
1000 is pretty much bang on.. 996Hz
Stavros Korokithakis
@skorokithakis
maybe this is related? esp8266/Arduino#836
odd how the frequency is sometimes higher and sometimes lower
Chris Elsworth
@celsworth
you might be able to see it on logic analyzer too
going down to 200Hz..