These are chat archives for esp8266/Arduino

6th
May 2015
Ivan Grokhotkov
@igrr
May 06 2015 00:43
we don't have anything that should call into espconn...
linagee
@linagee
May 06 2015 02:58
hello
linagee
@linagee
May 06 2015 04:22
Would figuring out RSSI be a good use of my time? :-/
Ivan Grokhotkov
@igrr
May 06 2015 04:24
Hi! this is a feature that was requested quite a few times, so I imagine people would find it useful. whether that is enough to justify spending some time is up to you :)
I would look at the sdk function that scans for APs and see where does it get the RSSI values from.
linagee
@linagee
May 06 2015 04:37
I know of two functions that get RSSI values. And that's a pretty good start. (And I've been working on their closed source libs. ;) )
Thanks for leaving the compiled symbols in there, Espressif!! :)
Xtensa is quite a different language to learn. (Been using a tool as well.)
Ivan Grokhotkov
@igrr
May 06 2015 04:46
cool! just let me know if you need help integrating your findings into the WiFi library.
ficeto
@ficeto
May 06 2015 09:07
I did a full register dump last night of the known register address ranges
there seem to be lots of register we know hothing about
I saw probably 8 timers there
and a whole unknown blocks of registers that do something
the dump is in my laterst pull request
Ivan Grokhotkov
@igrr
May 06 2015 09:13
thanks
btw espressif has told me that they have an almost-ready pwm implementation, which runs for 8 channels at 500Hz
ficeto
@ficeto
May 06 2015 09:15
if they do not use separate timers, then it's no good
500Hz is quite low
400Hz is what servos run on
for light/motor you need 1KHz +
and this implementation runs on all pins :)
I have a servo control also written but will e put in a separate library, since it uses the same timer...
Ivan Grokhotkov
@igrr
May 06 2015 09:18
i imagine 8 channels is a reasonable number because we only have 10 GPIOs available
ficeto
@ficeto
May 06 2015 09:18
1 accessible timer is a bitch
8 is reasonable, but 5000Hz is not
*500
Ivan Grokhotkov
@igrr
May 06 2015 09:19
i imagine there are more hardware goodies, they just didn't write software support for them yet
ficeto
@ficeto
May 06 2015 09:19
no need to replace it, unless they use a separate timer
some timers seem unused... maybe ask them?
if there are really 8 timers and we have more than one unused, that is GOLD
lots can be implemented with more timers
imagine separate servo channels together with regular pwm and even software serial, that runs non-blocking like the UARTs do
or in other words... make the ESP fly :)
please revert the changes to c_types.h, the right places to define these types are stdint.h, stddef.h, and stdbool.h — and i have removed redefinitions from c_types.h exactly for that reason :)
apart from that, ready to merge
ficeto
@ficeto
May 06 2015 14:58
Will do :)
I thought that was the reason for my issues at some point
Markus
@Links2004
May 06 2015 17:07
add some basic hardware wiring info the the readme, have i missed something?
https://github.com/Links2004/Arduino/blob/esp8266/README.md
ficeto
@ficeto
May 06 2015 17:55
@igrr ficeto/Arduino@c71f198
onkelfunny
@onkelfunny
May 06 2015 20:12
@igrr, @ficeto can you please check if the upload works with this change?
onkelfunny/esptool-ck@b42643e
with the change i can upload to my nodemcu board
onkelfunny
@onkelfunny
May 06 2015 20:28
uploading with a FTDI chip works as well i will test another CH340 chip
onkelfunny
@onkelfunny
May 06 2015 20:38
ok, works perfect with another CH340 chip