IO interface with Arduino over Ethernet
01 May 2017 07:26 #92410
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic IO interface with Arduino over Ethernet
Have a look at this post relating to the gwibber problem
forum.linuxcnc.org/24-hal-components/287...t?limitstart=0#84767
More pins are good. The initial code was more of a test case but it would be interesting to see how you did it in the end. Please share your code with us so we can all learn.
forum.linuxcnc.org/24-hal-components/287...t?limitstart=0#84767
More pins are good. The initial code was more of a test case but it would be interesting to see how you did it in the end. Please share your code with us so we can all learn.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
02 Jul 2020 21:42 #173459
by BosniaCNC
Replied by BosniaCNC on topic IO interface with Arduino over Ethernet
Please Log in or Create an account to join the conversation.
03 Jul 2020 06:10 #173488
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic IO interface with Arduino over Ethernet
It would seem that you have some issue with your Arduino IDE setup or paths. I have not compiled the code in a long time but it worked and many other tested it as well. I will load it now and test.
Regards
Marius
www.bluearccnc.com
The following user(s) said Thank You: gerritv
Please Log in or Create an account to join the conversation.
03 Jul 2020 06:21 #173490
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic IO interface with Arduino over Ethernet
I copied the text contents from the file on this forum and pasted it into a new project. It compiled with no issues.
I can only think that you have something funny on your Adruino setup. Dont know how to help.
I can only think that you have something funny on your Adruino setup. Dont know how to help.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
03 Jul 2020 13:10 - 03 Jul 2020 13:18 #173517
by BosniaCNC
Replied by BosniaCNC on topic IO interface with Arduino over Ethernet
Thank you for the reply.
I am just looking for the cause and I see that there are differences in the definitions:
UdpioMEGA.ino : #define UDP_TX_PACKET_MAX_SIZE 1506
Ethernet.h : #define UDP_TX_PACKET_MAX_SIZE 24
Udpcomms :there is no definition
I see that there are significant differences in the files that are posted:
1.forum.arduino.cc/index.php?topic=474206.0
and
2.forum.linuxcnc.org/24-hal-components/287...rnet?start=40#173488
There may be a problem with the Arduino IDE version as well as the Ethernet library.
What version of the Arduino IDE did you use?
There are differences in the syntax of different versions and I have experienced this several times that version 1.5.xx compiles without error and 1.8.xx throws out a bunch of errors.
Can you attach the ethernet library you are currently using?
Thank you very much!
Regards,
S.M. (BosniaCNC)
I am just looking for the cause and I see that there are differences in the definitions:
UdpioMEGA.ino : #define UDP_TX_PACKET_MAX_SIZE 1506
Ethernet.h : #define UDP_TX_PACKET_MAX_SIZE 24
Udpcomms :there is no definition
I see that there are significant differences in the files that are posted:
1.forum.arduino.cc/index.php?topic=474206.0
and
2.forum.linuxcnc.org/24-hal-components/287...rnet?start=40#173488
There may be a problem with the Arduino IDE version as well as the Ethernet library.
What version of the Arduino IDE did you use?
There are differences in the syntax of different versions and I have experienced this several times that version 1.5.xx compiles without error and 1.8.xx throws out a bunch of errors.
Can you attach the ethernet library you are currently using?
Thank you very much!
Regards,
S.M. (BosniaCNC)
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Last edit: 03 Jul 2020 13:18 by BosniaCNC.
Please Log in or Create an account to join the conversation.
03 Jul 2020 13:57 #173526
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic IO interface with Arduino over Ethernet
I have not seen the ported code so I cannot comment on that. I am using the latest version of Arduino that I downloaded last week. The Ethernet library is built in so whatever they have on the latest release.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
03 Jul 2020 14:06 #173527
by BosniaCNC
Replied by BosniaCNC on topic IO interface with Arduino over Ethernet
Attachments:
Please Log in or Create an account to join the conversation.
03 Jul 2020 14:49 - 03 Jul 2020 14:50 #173529
by BosniaCNC
Replied by BosniaCNC on topic IO interface with Arduino over Ethernet
Attachments:
Last edit: 03 Jul 2020 14:50 by BosniaCNC.
Please Log in or Create an account to join the conversation.
04 Jul 2020 11:47 - 04 Jul 2020 11:50 #173598
by BosniaCNC
Replied by BosniaCNC on topic IO interface with Arduino over Ethernet
Mr. Marius Liebenberg,
when you persistently claim that there is no error in your source code why not upload a hex file here and thus justify your claims?
There is Xloader and loading is easy!
Believe that there are us here on the forum who did not grow up on a wooden branch, so we know something about the Arduino IDE.
Maybe it's a pleasure to watch someone sweat in unsuccessful attempts to compile your "sinless code"?
It is a pity that there is no way to prevent the publication of bad and non-functional code.
The moderators should prevent that in some way, because that damages the reputation and seriousness of the forum!
Goodbye
when you persistently claim that there is no error in your source code why not upload a hex file here and thus justify your claims?
There is Xloader and loading is easy!
Believe that there are us here on the forum who did not grow up on a wooden branch, so we know something about the Arduino IDE.
Maybe it's a pleasure to watch someone sweat in unsuccessful attempts to compile your "sinless code"?
It is a pity that there is no way to prevent the publication of bad and non-functional code.
The moderators should prevent that in some way, because that damages the reputation and seriousness of the forum!
Goodbye
Last edit: 04 Jul 2020 11:50 by BosniaCNC.
Please Log in or Create an account to join the conversation.
04 Jul 2020 16:17 #173609
by gerritv
Replied by gerritv on topic IO interface with Arduino over Ethernet
Just out of curiosity I copied Marius' original source code to a .ino file, installed the Encoder library from stoffgren and compiled. Tried on .9 and .13 IDE. Also with Uno and ESP8266. Zero errors.
So Marius would apprear to be correct in his suggestion that you have something wrong with your IDE setup, which is entirely possible given the mess that that IDE is. And maybe there are issues with Arduino-nightly which quite frankly is the last thing I would be using to do anything.
Marius specifically made it clear in his last post that he has not looked at the Mega port, it is not his code.
So Marius would apprear to be correct in his suggestion that you have something wrong with your IDE setup, which is entirely possible given the mess that that IDE is. And maybe there are issues with Arduino-nightly which quite frankly is the last thing I would be using to do anything.
Marius specifically made it clear in his last post that he has not looked at the Mega port, it is not his code.
The following user(s) said Thank You: Mike_Eitel
Please Log in or Create an account to join the conversation.
Time to create page: 0.306 seconds