bigal
New Member
Posts: 12
|
Post by bigal on Aug 27, 2019 17:28:40 GMT
Hi together,
I use currently an Arduino Mega with a RAMPS 1.4 board for my own application (not a printer). I use many features of the RAMPS board like the sockets for the stepper drivers as well an LCD display with rotary knob etc.. Because my program becomes more and more complex I need a faster processor. My question is: Is the ShieldBuddy compatible with the RAMPS 1.4 board? This includes the I/O as well the power suppl. I fire my RAMPS with 12V from an external power supply and the Mega is also supplied by the RAMPS. Most of the time (when I'm developing) I have the power supply connected while the Mega is also connected to the PC.
Thx Alex
|
|
|
Post by Admin on Aug 27, 2019 18:58:25 GMT
The latest Shieldbuddy should be compatible with the RAMPS 1.4. The earlier version did not support digital IO on all of the analog pins.
|
|
bigal
New Member
Posts: 12
|
Post by bigal on Aug 27, 2019 20:01:35 GMT
Thank you! I ordered one from RS online. Let's see what version I get... Is the version shown on the board somewhere? Which one is the "last" one?
Alex
|
|
|
Post by Admin on Aug 27, 2019 20:03:14 GMT
The ones that RS have are of the latest type!
|
|
bigal
New Member
Posts: 12
|
Post by bigal on Aug 27, 2019 20:46:12 GMT
Thanks.
|
|
bigal
New Member
Posts: 12
|
Post by bigal on Aug 28, 2019 20:13:02 GMT
I received my shield today. After installing the software and changing platform.txt (compiler is now in "v4.9.3.0-infineon-1.0" folder) it works. About the RAMPS:
The onboard stepper driver uses analog ports for digital signals. Driver X for example uses A1 for DIR and A0 for PUL. How can I access this ports digital?
Alex
|
|
|
Post by Admin on Aug 29, 2019 8:28:18 GMT
At the moment you cannot use the normal digitalWrite() and digitalRead(). Here is how they are currently used: RevC_ADCpins.ino (3.94 KB) In the next release we will include them in the normal Arduino pin numbering system. Make sure your board is marked 4269.03.06210_B1 underneath!
|
|
bigal
New Member
Posts: 12
|
Post by bigal on Aug 29, 2019 11:51:46 GMT
Thank you!
I checked my board. The version seems to be ok (4269.03.06210_B1). I will test it this evenening.
In the meantime: Have you an idea when the next release will be published? Checking the history the updates are very rare and irregular...
Best Regards from Germany
Alex
|
|
|
Post by Admin on Aug 29, 2019 11:55:03 GMT
The last update was v1.63 on 9/7/2019. The next one will be v1.7 in early September.
|
|
bigal
New Member
Posts: 12
|
Post by bigal on Aug 29, 2019 17:23:06 GMT
Ok. Sorry :-).
I tried it now and it works on channel A0 and A1. I also made some measurements with the oscilloscope and the timing is fantastic (compared to the Mega...). It's promising...
But I wait with porting my project until v1.7 is available. Otherwise my code becomes confusing with IfxPort_setPinMode(&MODULE_P32, 3, IfxPort_Mode_outputPushPullGeneral) and IfxPort_setPinState(&MODULE_P32, 4, IfxPort_State_toggled) and so on. pinMode(...) and digitalOut(...) (or fast_digitalOut(...)) is much more convenient.
I use Visual Studio with Visual Micro for programming. It works perfect (except some warning).
Thank you very much for all your help.
|
|
|
Post by Admin on Aug 30, 2019 7:54:35 GMT
|
|
bigal
New Member
Posts: 12
|
Post by bigal on Aug 30, 2019 20:29:12 GMT
PERFECT! It works as expected.
The only thing you could take care in future releases: The actual HighTec-Compiler is located in ..\HiTec\toolchains\tricore\v4.9.3.0-infineon-1.0\bin\
This could be corrected in platform.txt...
Thank you!
|
|
bigal
New Member
Posts: 12
|
Post by bigal on Sept 8, 2019 20:17:10 GMT
I faced another problem with the RAMPS. As already wrote I supply 12V to RAMPS. This voltage also supplies the ShieldBuddy. When I operate the system the voltage regulator on the ShieldBuddy gets very hot. I measured about 65°C to 70°C. I already mounted a heat sink to the regulator. The manual is a little bit irritating in this case. In chapter 3.3 there is written "9-12V". In chapter 5 is written "6V to 9V". What is now correct?
At the moment I moved the jumper to USB position. As expected the regulator stays now cool (because there is nothing to do). But in the future the board should be powered by 12V.
The RAMPS is currently equipped with 5 TMC moduls. In the future I plan to add some more stuff like some LEDs and maybe a LCD display. This draw also some current from the board (and I expect the regulator is getting much hotter then).
Could you please give me some advice how I can solve that problem.
Thanks
Alex
|
|