Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
probonopd
@probonopd
on the tablet, have a html interface with buttons
when a button is touched, send a command to the esp
the esp will convert the command to an infrared remote signal
and switch channels on a tv, for example
ideally without much lag
d-anders
@d-anders
ahhh, nice
probonopd
@probonopd
actually the ui part hooks into a server
full of remote control codes
d-anders
@d-anders
maybe skip the html
probonopd
@probonopd
d-anders
@d-anders
and do a java app on the tablet
probonopd
@probonopd
these are easy to produce on the server...
from a crowdsourced database
d-anders
@d-anders
you want the tablet (client) dumb ideally?
probonopd
@probonopd
correct
d-anders
@d-anders
yeah i can see why
too bad it doesnt support websockets then
no flash either i guess?
probonopd
@probonopd
nope
probably i need to create a tiny app that basically just contains a webviw
and implement a javascript-to-android bridge for the sending function
(done that before with bluetooth)
d-anders
@d-anders
not possible to root and update android?
probonopd
@probonopd
possibly, but not sure. (don't like non-booting bricks)
d-anders
@d-anders
right
probonopd
@probonopd
but glad you like the websockets. will try them on the desktop
d-anders
@d-anders
well, 1-2 secs lag is too much for a remote i guess. you will get unsure and send multiple commands
probonopd
@probonopd
yes
d-anders
@d-anders
is ch340 (usb->ttl) good for safe high baud rates?
i have a prolific but it is not completely stable flashing at bau rates >115200
and i just cant stand the wait anymore
probonopd
@probonopd
silabs is
i can use the highest available baud rate for flashing reliably
921600
cp2102, still relatively cheap and never let me down
don't know about the ch340 (don't own one yet)
d-anders
@d-anders
ok, i will try one of those
probonopd
@probonopd
do you guys know https://github.com/jcmvbkbc/gdbstub-xtensa - "Gdbstub is a piece of code that is present on a target system and is able to
communicate with gdb running on a development system and execute commands on
its behalf. This allows to use all features of gdb with very resource-limited
target systems"
Markus
@Links2004
@d-anders the web sockets have a transmission time from ~12ms, and a overhead of 3 to 9 byte peer message. so its close to RAW tcp where you need to create you own message frame.
@probonopd the http header handling is to many overhead for you application.
Markus
@Links2004

igrr:

thanks to the gdb stub from the guys at Cesanta, i can now halt the ESP on exception, attach the debugger and inspect memory and stack :) extremely helpful.
https://cesanta.com/blog/esp8266-gdb.shtml
too bad their code is GPLv2, so i can only use it locally...

probonopd
@probonopd
probonopd
@probonopd
@sticilface you write on cyborg5/IRLib#9 that you have IRLib working on the esp8266 - do you have it fully functional?
do you plan to upload it?
i'd also be interested in your universal remote driven by mqtt
ah, just saw you are using an AVR too. I'd be looking for a pure esp solution
sticilface
@sticilface
@probonopd its funny you just wrote that. I had half a msg written to you, and got distracted. Yes, I only have his lib working on a promini, I'm using the MQTT ESP software from tuan https://github.com/tuanpmt/esp_mqtt. I can give you the sketch if you want? but no it is not all running on the ESP.
trying to use the telnet monitor function, and it is asking for board password? any ideas?
Ivan Grokhotkov
@igrr
@probonopd https://github.com/jcmvbkbc/gdbstub-xtensa is a gdb stub that runs on xtensa Linux