Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection failed Timeout. #1

Open
laci7722 opened this issue Oct 18, 2023 · 4 comments
Open

Connection failed Timeout. #1

laci7722 opened this issue Oct 18, 2023 · 4 comments

Comments

@laci7722
Copy link

Welcome!

I get an error message when connecting:
I press the "Ok" button in the MobaStation bootcommand, and it shows a Connection Timeout error, it says it several times in a row.

I compiled the source with Arduino IDE, but it also shows an error, it is connected with Serial Monitor.

What could be wrong?

@Maggge
Copy link
Owner

Maggge commented Oct 19, 2023

Hi,

you shouldn't compile the code yourself. Download the Release v0.1 (https://github.com/Maggge/MobaStation/releases/download/v0.1/MobaStation.v0.1.zip), extract the archive and folow the instructions in the Readme on Github. Connect your Arduino Mega to USB. Open the"MobaStation Config Tool". In menu choose "Flash Device". Select the hex file (MobaStation.ino.hex in firmware folder), choose the right COM port, for device make sure you choose Mega 2560 and press "Flash Device". After this finished wait about 15 Seconds an then try to connect.

Best regards

@laci7722
Copy link
Author

Hello!

Sorry, I worded it wrong...
I did it as you wrote, I uploaded the file MobaStation.ino.hex, it connected once, but even then it was quite difficult, not since then.
Then I tried to translate myself.

@Maggge
Copy link
Owner

Maggge commented Oct 19, 2023

Please submit some info about the Board/Boards and combination you using. Maybe try to connect only a Mega without other modules and try if this works. I personally use the Arduino Mega with integrated Wifi module and works like a charm. i tried all the 4 different combinations from the Readme and all worked for me whitout problems.

@laci7722
Copy link
Author

Hello!
I first tried a Mega 2560 R3 with a W5100 module.
Yesterday I got a Mega with Integrated Wifi module (ESP 8266)

We are waiting for the connection for 15-20 seconds.
It is quite difficult to connect to WiFi.

But it's not working...

If it is a Flesh element with the exInstaller program, it works with Wifi.

In a serial terminal it returns:

Integrated ESP8266:

Failed to enter configuration mode...
Start Wi-Fi in hybrid mode
Connecting to: ...FAILED!
Start AccessPoint!
Accesspoint has started!
SSID: MobaStation PWD: MobaStation
Accesspoint has started!
SSID: MobaStation PWD: MobaStation
MobaStation can be listened to on port 2560
<* MotorDriver currentPin=A1, senseOffset=540, rawCurrentTripValue(relative to offset)=668 >
<
MotorDriver currentPin=A0, senseOffset=477, rawCurrentTripValue(relative to offset)=668 >
---------- MobaStation ----------
<iDCC-EX / MEGA / STANDARD_MOTOR_SHIELD>
<
Signal pin config: high precision waveform *>

@aa

)B3B3

) ; ;

) = =

) = =

)&?&?

) ? ?

W5100:

Failed to enter configuration mode...
<* MotorDriver currentPin=A1, senseOffset=510, rawCurrentTripValue(relative to offset)=668 >
<
MotorDriver currentPin=A0, senseOffset=455, rawCurrentTripValue(relative to offset)=668 >
---------- MobaStation ----------
<iDCC-EX / MEGA / STANDARD_MOTOR_SHIELD>
<
Signal pin config: high precision waveform *>

@aa

)^(^(

) ' '

) ' '

) ( (

)D(D(

) ( (

) ( (

) ( (

)D(D(

) ( (

) ' '

) ' '

)x'x'

) ' '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants