Where communities thrive
Join over
1.5M+ people
Join over
100K+ communities
Free
without limits
Create
your own community
Explore more communities
esp8266/Arduino
Arduino IDE for ESP8266
People
Repo info
Activity
09:10
zifsot
opened
#7846
03:31
MikeRebbechi
forked
MikeRebbechi/Arduino
02:12
kevinhuihui
forked
kevinhuihui/Arduino
01:56
geowings
forked
geowings/Arduino
00:50
mcspr
opened
#7845
Jan 27 23:54
earlephilhower
synchronize
#7844
Jan 27 23:51
earlephilhower
opened
#7844
Jan 27 23:09
dok-net
synchronize
#6902
Jan 27 23:08
dok-net
synchronize
#6918
Jan 27 23:07
dok-net
synchronize
#6047
Jan 27 22:41
dok-net
synchronize
#6857
Jan 27 22:33
JonasAlmaas
forked
JonasAlmaas/Arduino
Jan 27 21:58
mcspr
synchronize
#7781
Jan 27 20:50
infcentr
forked
infcentr/Arduino
Jan 27 16:52
ariejoosse
forked
ariejoosse/Arduino
Jan 27 16:13
dok-net
synchronize
#6857
Jan 27 16:12
dok-net
synchronize
#6857
Jan 27 15:21
dok-net
synchronize
#6857
Jan 27 15:09
earlephilhower
review_requested
#6857
Jan 27 15:01
earlephilhower
closed
#7843
d-anders
@d-anders
if you don't need to use a webinterface i guess you should go with raw tcp
probonopd
@probonopd
yes, i wonder how much that improves things
d-anders
@d-anders
a lot i guess
probonopd
@probonopd
well i want a web interface for the remote control buttons
d-anders
@d-anders
links websocket lib has worked perfectly for me
probonopd
@probonopd
raw tcp is almost instant, i am using that too
only issue, the android devices i am targeting won't do websockets without additional software
d-anders
@d-anders
?
sounds strange, old android?
i think newer android has websocket support in the browser
probonopd
@probonopd
yes i am running android 2.3 and android 4
d-anders
@d-anders
wow, 2.3 :)
probonopd
@probonopd
embedded device, no chance to update
d-anders
@d-anders
hm, if no websockets you have a slight problem
i guess you cant install any plugins either
probonopd
@probonopd
i tink i could write a wrapper app
once i have time ;-)
d-anders
@d-anders
what is it that you are trying to do?
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
http://irdb.tk
d-anders
@d-anders
and do a java app on the tablet
probonopd
@probonopd
http://irdb.tk/remote/JVC/TV/
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