Welcome! Log In Create A New Profile

Advanced

Problem using Ramps 1.4 with LabView

Posted by AV14 
Problem using Ramps 1.4 with LabView
September 05, 2023 02:22PM
Hey everyone I have already asked this question on the official NI forum and haven't gotten a reply yet, so I'm posting here to see if someone can help me with this.

I want to control Ramps 1.4 and move the X servo motor through LabView using the Hobbyist toolbox but I'm getting the 5005 error stating that Digital input channel 54 is not available as Arduino mega only supports up to channel 53 (see attachment for the error message). Is there any way to solve this problem?
Attachments:
open | download - error.jpg (98.4 KB)
VDX
Re: Problem using Ramps 1.4 with LabView
September 05, 2023 02:34PM
... I was using the ArduinoDue (with RADDS boards) -- AFAIK, it could be used with a RAMPS board too, if the boards is modified to 3.3V power support for the Due ... but better check, if true ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Problem using Ramps 1.4 with LabView
September 05, 2023 02:39PM
I'm sorry I'm not too knowledgeable about Arduino. Can you please explain how that board would solve my problem?
VDX
Re: Problem using Ramps 1.4 with LabView
September 06, 2023 01:41AM
... the ArduinoDue has the same pin-layout as the Mega, but needs 3.3V insteaf of 5V.

Here a comparison between them - [www.educba.com]


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Problem using Ramps 1.4 with LabView
September 06, 2023 02:15AM
look at official pin names [docs.arduino.cc]

the highest digital pin is 53

Digital pins 54-69 where not in the original specification

D54 - D69 are A0 to A15 in older implementations.



It would seem this is a well known issue [forums.ni.com]

use them as analog pins. setting values to 0 or 255...
VDX
Re: Problem using Ramps 1.4 with LabView
September 06, 2023 02:27AM
... so even better! smileys with beer


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Sorry, only registered users may post in this forum.

Click here to login