peacemaker Expert Licensed User Longtime User Aug 25, 2021 #1 HI, All There is ESP8266 project that sends HTTP-requests to a server via WiFi connection to a WiFi-router. Router is to be placed far from ESP8266 sensor boards. And now - there is a task to make a mobile sensor version where the router part is to be placed together with ESP8266 in a single case. ESP B4R project code is big and complex, and better to preserve it. But how to communicate with a server from ESP8266 by HTTP-requests ... by wire, not by WiFi ?
HI, All There is ESP8266 project that sends HTTP-requests to a server via WiFi connection to a WiFi-router. Router is to be placed far from ESP8266 sensor boards. And now - there is a task to make a mobile sensor version where the router part is to be placed together with ESP8266 in a single case. ESP B4R project code is big and complex, and better to preserve it. But how to communicate with a server from ESP8266 by HTTP-requests ... by wire, not by WiFi ?
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2021 #2 Do you have an ethernet shield for the ESP8266? One possible solution is to add an Arduino with ethernet shield, connected with rWire or serial: https://www.b4x.com/android/forum/threads/connecting-two-arduinos-with-rwire-library.65732/#content Upvote 0
Do you have an ethernet shield for the ESP8266? One possible solution is to add an Arduino with ethernet shield, connected with rWire or serial: https://www.b4x.com/android/forum/threads/connecting-two-arduinos-with-rwire-library.65732/#content
peacemaker Expert Licensed User Longtime User Aug 26, 2021 #3 Erel said: with ethernet shield, connected with rWire or serial Click to expand... Thanks Erel, for reply. But how does it look in B4R code that HTTP-requests, prepared for HTTPJob module are sent to an Ethernet shield ? Do we have B4R lib for ENC28J60 shield ? Last edited: Aug 26, 2021 Upvote 0
Erel said: with ethernet shield, connected with rWire or serial Click to expand... Thanks Erel, for reply. But how does it look in B4R code that HTTP-requests, prepared for HTTPJob module are sent to an Ethernet shield ? Do we have B4R lib for ENC28J60 shield ?
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2021 #4 Please don't make duplicate posts... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2021 #5 There is an ethernet library for Arduino standard Ethernet shield. It should be simple to modify rHttpUtils to work with it. Upvote 0
There is an ethernet library for Arduino standard Ethernet shield. It should be simple to modify rHttpUtils to work with it.
peacemaker Expert Licensed User Longtime User Aug 27, 2021 #6 Ha ! Theoretically solved: to stream WiFi signal directly from one antenna output to a router's WiFi-antenna socket by .... cable, via some attenuator Will try... Last edited: Aug 27, 2021 Upvote 0
Ha ! Theoretically solved: to stream WiFi signal directly from one antenna output to a router's WiFi-antenna socket by .... cable, via some attenuator Will try...
tigrot Well-Known Member Licensed User Longtime User Aug 27, 2021 #7 Use a coil around antenna, only a few rings. Upvote 0
peacemaker Expert Licensed User Longtime User Aug 31, 2021 #8 If to use the WiFi antenna on the EPS, but the cut cable of the WiFi router antenna - they work OK together in one point. And a client at 5 meters apart is not visible. Last edited: Sep 1, 2021 Upvote 0
If to use the WiFi antenna on the EPS, but the cut cable of the WiFi router antenna - they work OK together in one point. And a client at 5 meters apart is not visible.