Replace the Wifi or Ethernet module by the ESP-13?
-
Hi all,
Im japanese user and I really want to use the Wifi and all of the functions associated with the Wifi, however in Japanese all of the wireless device is required to conform to the technical standards and the only module with technical certification is ESP-13, in japan it named ESP-WROOM-02.
Is it possible to replace the Wifi or Ethernet module by the ESP-13?
thanks -
It won't be a drop-in replacement as the dimmensions and pinout are different judging from this page https://www.itead.cc/esp-13.html
An
unansweredquestion is if it has the same ammount of flash memory as the ESP used by the Duet, if so you should be able to wire it in with some wires, but the normal esp-12f says Standards Certification: FCC / CE / TELEC there was no information on the esp-13. which approval is it you require?Edit: From data sheet.
ESP-WROOM-02 currently integrates a 2-MB SPI flash.
RF certification SRRC, FCC, CE (RED), IC, NCC, KCC, TELEC (MIC)
Wi-Fi certifaction Wi-Fi Alliance
Green certification RoHS, REACH -
This post is deleted! -
@bearer
I'm prepared to change the wiring or make some sort of breakout board, but whether need to edit the firmware or do some program thing?
The module used must be certified by TELEC (MIC). As far as I know the only EXP8266 module that has passed this certification in Japan is ESP-WROOM-02. (https://www.espressif.com/sites/default/files/esp-wroom-02_telec_certificate.pdf)
The manufacturer of ESP-WROOM-02 is Espressif Inc, and the ESP-13 seems to be AI-thinker. There seems to be no difference in function, footprint, and pin assignment. -
You can upload the DuetWifiServer firmware to the SD card and flash it from the serial(usb) console, so thats not a problem if 2MB flash is enough. I've only previously seen dc42 reccomending using ESP-07S for external antenna, and that is the 4MB version of ESP-07 but not sure if 4MB is a requirement.
-
dc42 said in swapping out ESP module for ethernet module:
imrj said in swapping out ESP module for ethernet module:
dc42 ok dc...yea i got one of those too with an external antenna....i can swap it out but do i need to worry about flashing anything into the ESP07S?
You will need to copy DuetWiFiServer.bin into /sys on the SD card if it isn't already there. Then send M997 S1 from USB or PanelDue to install it on the new module.
Make sure it is the ESP-07S that you have. The older ESP-07 won't work.
-
@bearer
The original ESP8266 wifiserver doesn't seem to work well with 2MB flash..
(https://github.com/dc42/DuetWiFiServer >> https://reprap.org/forum/read.php?2,582444,582444#msg-582444)
and ESP-07 has only 1MB flash, but ESP-07S seems to have 4MB
ESP-WROOM-02 with 2MB flash may not be good idea
At least,it looks physically possible without magical smoke or some thing, thanks to the powerful onboard flash of the reprap firmware.
thanks for infomation. -
Yeah, flash size was the primary concern.
You could perhaps get the Ethernet version and use a Raspberry Pi as a wireless bridge now, and at some point you could be able to remove the Ethernet and connect the Pi to the Duet 2 Ethernet in the same way as the Duet 3 if/when such a firmware is made for the Duet 2.
(Asuming you can use the Raspberry Pi or similar single board computer)
-
I wouldn't mess with the board. I'd get an ethernet Duet, and plug a Japan certified device with a cable a few centimeters long. There are a ton of devices out there specifically designed for the task of making an Ether client look like a Wireless client.
You do NOT want a Bridge or AP... it is Ok if it has those "modes"... you want a device that is (or set to the mode of) being a client.
-
@bearer
Wow Duet 3? You say remove the ethernet module and connect the Pi to duet board directly? -
@Kanyo said in Replace the Wifi or Ethernet module by the ESP-13?:
You say remove the ethernet module and connect the Pi to duet board directly?
ref this thread and this reply from dc42 https://forum.duet3d.com/post/106138
-
@Danal
before posting here I was thinking about plug a Wifi Bridge.
A device acting as a client may different from a bridge or AP,I have never seen such a thing
For example, what kind products can be used? -
Technically it should be both a wifi client and then a bridge between the wifi client and the ethernet port, which is how it would be done with a board like a Raspberry pi.
-
Yeah I know, such like WRH-583BK2-S
or as you said RPi can bridge between the wifi client and the ethernet port, right?
I just wondering what kind of network device can just being the client Instead of connected ethernet ,not bridge or AP. -
Admittedly I haven't tried it with the RPi since way back when Wifi was a USB stick, and being able to run as an actual bridged connection may depend on the WiFi chipset in use; but in any case it should be possible to do a routed connection and forward the necessary ports.
(I'll see if I can find time later this week to borrow the Duet 3's RPi 3B and try bridging it to the Duet 2 Maestro, but busy week)
-
@bearer said in Replace the Wifi or Ethernet module by the ESP-13?:
You can upload the DuetWifiServer firmware to the SD card and flash it from the serial(usb) console, so thats not a problem if 2MB flash is enough. I've only previously seen dc42 reccomending using ESP-07S for external antenna, and that is the 4MB version of ESP-07 but not sure if 4MB is a requirement.
Originally the web pages were held in flash memory on the ESP module, which is why there was a DuetWiFiServer.bin file and you needed 4Mb flash memory. Now that the web page files are served from SD card, even 1Mb ought to be enough. But I've never tried uploading DuetWiFiServer to a module with less than 4Mb of flash.
The reason we specify the ESP-07S not the ESP-07 is that only the S version has been FCC certified.
The WROOM module is slightly wider than the ESP-12S. We looked at it a while back before the ESP-07S became available, and we concluded that it didn't quite fit in the space available.
-
Probably my odd phrasing.
It is quite fair to say that what you need is a device acting as both a client and a bridge to the Ether. My real point was: Not an AP.
And... WRH-583BK2-S is an example of what you DON'T want. This device 'expects' internet on an Ether port, and routes it to a WiFi segment where this device is the AP for that segment. That is the "wrong direction" for what you are trying to accomplish.
-
And... to my best reading of a translation of the user manual for the WRH-583BK2-S, it looks like it actually WILL do what you need.
See "child machine mode" on page 47 of the full manual here
-
@dc42 So that's it.
Thanks for the great effort, may be try to make a breakout board someday.
I feel sad that WROOM module was not chosen, no help for a larger footprint.
The big reason I want to replace a Wifi module is mDNS protocol.
Are there any plans to implement the mDNS protocol on the Duet2Ethernet? -