Forum Members section DIY Ferduino controller WiFi connection problems

WiFi connection problems  [SOLVED]

Ask here about your controller made with pieces purchased in other shops.

Post Number:#1 Post Thu Apr 22, 2021 5:10 pm
Posts: 65
Topics: 18
Images: 32
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 18
Age: 62
Gender: None specified
National Flag:
Spain
Good evening, the ESP8266 module from my previous assembly failed me and I took the opportunity to change the entire project with a new PCB adjusted to the latest version of Ferduino code. Apparently everything works fine except the WiFi connection (I have not used ethernet shield).

It is well configured since with another Arduino Mega and the test code works correctly and with the option "Validate Settings" I get the correct answer.

But when the mount on the PCB does not connect and gives error # 28.

Even if I open the Serial Monitor in Atom I don't see anything in the output and I don't know what happens.

As I mentioned, it compiles and loads perfectly and apparently everything works correctly.

This is the PCB where the WiFi module goes

Image


This is the layout of the ESP8266 module and the Level Shiffter

Image


Can you think of what can happen?

Thanks
Last edited by Fernando Garcia on Thu Apr 22, 2021 6:18 pm, edited 1 time in total.
Reason: Please post images using tags [img=left]URL[/img].

Post Number:#2 Post Thu Apr 22, 2021 6:26 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 40
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi José!

Welcome back!

Please check the serial monitor using the Arduino IDE and don't forget to change the baud rate to 38400.

Also make sure this line is uncommented in your code:

#define DEBUG


Moreover disconnect the plug from "Vent. Leds" connector if it's connected.

Best regards.

-------------------------------- Last edited Thu Apr 22, 2021 6:40 pm --------------------------------

Looks like the wires order in main PCB and WiFi module is not the same (reset, GND, 5V, RX, TX) so make sure you are not inverting wires.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#3 Post Fri Apr 23, 2021 8:16 am
Posts: 65
Topics: 18
Images: 32
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 18
Age: 62
Gender: None specified
National Flag:
Spain
I have checked that there is continuity between all the pins and that they are correctly assigned between the PCB and the Wifi module. Compiling with Arduino and opening the serial monitor indicates Sync Failed !! and the rest works fine.

If I ping the address of the WiFi module from the PC, I get a response.

If I load only the "mqqt.ino" example in the mount instead of the Ferduino code the error also occurs.

If I run "mqqt.ino" with the wifi module directly connected to another Arduino Mega it works fine.

I can't think of anything about what's going on

Post Number:#4 Post Fri Apr 23, 2021 9:39 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 40
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Disconnect this Arduino from shield and try the example code with WiFi module connected directly to it.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#5 Post Tue Apr 27, 2021 7:11 am
Posts: 65
Topics: 18
Images: 32
Solve rating: 0
Joined: Fri Jun 16, 2017 6:23 am
Topics: 18
Age: 62
Gender: None specified
National Flag:
Spain
Hello, I have disassembled everything and have started again. Now with only the display, clock and WiFi module connected to the PCB it works. I guess I must have some bad connection.

I will continue with the assembly but I think the thread can be closed

Thanks

Post Number:#6 Post Tue Apr 27, 2021 12:18 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 40
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Glad to know!

When possible please show us your new boards.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.




Return to DIY Ferduino controller





Who is online

Users viewing this topic: No registered users and 0 guests