RobotDyn D1 R2 ESP8266 - WiFi not working (AP and STA) #6418
Replies: 1 comment
-
Posted at 2017-04-10 by citizen12123 Compiled my own firmware from latest source - same result.
Tried with esp_init_data_default.bin at 0x3FC000 and without it. I'm also erasing before every flash. Posted at 2017-04-10 by citizen12123 Here's what it does after wifi.connect():
At least it's trying... Okay.
Posted at 2017-04-10 by Wilberforce I think this is a hardware issue. Looking at your board, there is a socket for the wifi antenna to plug in - have you added an aerial? Posted at 2017-04-10 by CrashingDutchman @wilberforce, he said he could connect with esp-open-rtos, so it would be weird if he would need an antenna now. @citizen12123 How are you powering the board? Maybe your power source isn't able to supply enough current? Posted at 2017-04-10 by citizen12123 @wilberforce I have added the antenna - getting the same result. esp-open-rtos works fine with and without the antenna though. @crashingdutchman It's being powered through USB out of my laptop - same power source as with esp-open-rtos. Just tried powering it with 12V 1A adapter - didn't see any improvement. Also erased and re-flashed using the new power source. What else can we try? :D Posted at 2017-04-10 by CrashingDutchman Are you 100% sure that your connection details (see your 1st code share in your first post) are correct? I understand that what you posted here is mocked up, but check in your actual code. I would suggest to try this code (a bit simpler than yours):
Then wait for "connected" message. Also, make sure you do a wifi.save() to make sure that wifi settings are saved for after a power cycle. Posted at 2017-04-10 by citizen12123 Yes - the WiFi details are correct. "simple" is the actual SSID and also is the password. I did try your code snippet. I would like to point out, that WiFi credentials get set properly:
Looks like it's unable to use the radio at all somehow.
Oh dear what a riddle. Posted at 2017-04-10 by Ollie @citizen12123 I had their Wifi-NodeM board. It detected virtually no Access Points. I concluded the radio was very poor, maybe since it was embedded in the board on the Wifi-NodeM. There was an odd trick that got it to work - which I don't fully remember but - it involved shorting a a pin to the hole in the antenna. Do that and reception good. This workaround, worked very well, but I felt the chips got very hot. Again, because the chipset is uncovered I couldn't tell you if this is hotter than a nodeMCU board would run. Tried to return and get money back, which seller agreed to, but postage terms and costs made it infeasible. Posted at 2017-04-10 by citizen12123 @ollie do you mean shorting the antenna connector? Tried that out of desperation and also flashed espruino_1v85_esp8266_combined_512.bin - issue remains. Posted at 2017-04-11 by citizen12123 Enabled WiFi logging
Nothing terribly useful. Just checked Micropython on this board - WiFi works great. Posted at 2017-04-11 by Ollie Yes. On the Wifi NodeM there's a tiny hole in antenna which is embedded in the PCB. I don't know whether I grounded it, or powered it, but one of the two massively improved the reception. Without that, a scan of APs returned 1, or 2 at best, when a NodeMCU would return all in range. Odd though, you say Micropython Wifi runs fine on yours, and others seem to have also had success with the Wifi-NodeM running Arduino, so maybe there is an Espruino related quirk on the Robodyn boards. Posted at 2017-04-13 by citizen12123 Ordered 3 Wemos d1 minis from different suppliers. Will see how they perform while this remains a mystery... Posted at 2017-04-13 by Ollie I expect, you'll have no issues there - that's where I went after the Wifi-NodeM. Specifically I wanted an unpinned board, and they've been great. Posted at 2017-04-13 by @MaBecker Hi @citizen12123, try this code to list APs that your board can find
Posted at 2017-04-13 by citizen12123 Hello @MaBecker,
Posted at 2017-04-13 by @MaBecker
Hmm, strange If you like you can try 11b and 11g and scan again.
Posted at 2017-04-14 by Wilberforce You could reflash with your esp-open-rtos and see if that still works. Then you know if it is hardware on not... Posted at 2017-04-14 by citizen12123 Thank you everybody for your time trying to help out. What I mean to say here is that esp-open-rtos works just fine at this moment. As soon as I flash it with Espruino I encounter the wifi problem. @MaBecker I've already tried changing to b/g/n - doesn't improve anything. Posted at 2017-04-18 by user75928 I'm trying to use the same hardware, but working with Arduino. It seems to be that it is far from being as functional as a wemos D1 R2... I've tried almost everything, and when asked to robotdyn they sent a link to a wemos d1 example at instructables... my only current guess right now is that it will not work without an external antenna... my only current suggestion is "do not buy/use this hardware", aka "The bastard". Posted at 2017-04-20 by user75928 Confirmed: at least my robotdyn wifi d1 r2 works (both as AP and STA) only with an antenna attached to it Posted at 2017-04-30 by user76385 Faced such a problem, using NodeM from RoboDyn. What's New? If you bring the board close to the router, it finds access points. This means a problem in a weak signal. Tried NodeMCU firmware. An excellent signal, the problem is still in the firmware, but not in the hardware. Different signal strength settings? Posted at 2017-12-26 by user84293 Its a hardware/antenna problem. I have 2 identical boards, and only one of them connects as it should. Connect the antenna Posted at 2018-03-04 by user87496 Hi, I am having the same problem but I have a WeMos Board. Is there any fix for this available (the wifi works fine with Arduino software) Posted at 2018-09-23 by user94266 This is firmare bag. NodeMCU
then I get
Espruino
I get empty array
same board - without antenna Posted at 2018-09-23 by @allObjects I assume that something about the internal antenna tuning / power adjustment / 'squelch' is different between the flashed codes,... or even he used SDK for the chip. Posted at 2018-09-23 by @allObjects Running with untuned antenna is bad... no antenna is even worse, and depending on the tx power setting, the chip may blow/ heat up. Bad antenna tuning / no antenna produces very high SWR and all the HF energy is reflected back into the chip, which easily explains the heating up of it. Posted at 2021-01-15 by user124205 I bought two of them bastards, under arduino IDE wifi works fine. Albeit when flashed ESPEASY it just keeps disconnecting. I was hoping to use it instead of regular nodemcu due to ext antenna...oh well. have to solder u.fl socket to nodemcu instead... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-04-10 by citizen12123
Hello,
I'm having trouble with this neat little board.
WiFi is not working at all neither in AP nor STA mode. I have tried both v91.545 and v91 stable - getting the exact same result. Wifi works just fine using esp-open-rtos under 80 and 160 Mhz
Attempting to connect to my router:
It says "no_ap_found" and callback does not execute. getDetails() does say "connecting" for a brief moment.
Strangest of all, AP callback does execute, but the actual AP is not visible by any device.
Flashed with:
I've tried "cpuFrequency": 80 too.
I am hoping this is only me doing something wrong or not doing something :D Will try out some older BINs and report back. Please advise on what else we could try.
I really appreciate your effort in this project - it is one of very few I donated to.
The bastard:

32Mb, $5
Beta Was this translation helpful? Give feedback.
All reactions