Quantcast
Channel: Reprap Forum - RAMPS Electronics
Viewing all 1807 articles
Browse latest View live

Six years after I built my 3D printer have a newbie question about Ramps 1,4 (2 replies)

$
0
0
Hello friends,
I subscribed to this forum in November 2014 and with the help of the good guys that I found here, built from "scratch" one of my two 3D printers: a Prusa Mendel I3 with Arduino and RAMPS 1.4. All this time I believed that the fan connected to D9 was active only when the printer was making delicate or detailed parts like bridges or steep angles that needed to become colder and harder before the new layer was coming on top of the last one. My assumption was that the slic3r elaborated the G code considering the activation of such a fan so the extrusion itself did not mess up very detailed jobs.

Now, I am in the middle of replacing the extrusion cooler fan and after reading some old posts this question came to my mind.

Does anybody have any insight into this? I'm just a maker, not a programmer.

Thank you,
Victor

Reprap 12864 LCD has no contrast (no replies)

$
0
0
Hello!

I have lost contrast on my Reprapdiscount 12864 LCD display connected to my Ramps 1.4. I can see the graphics really really faint. Everything else works and I can navigate and drive the stepper motors on my CNC.

BUT! If I connect a ordinary USB cable to the Arduino Mega from my computer, I get contrast and everything is as normal... But not with my regular power cable adapter.

How do I fix this? :)

/ Oskar

How to power 5v to servos (without the VCC-5V jumper) (1 reply)

$
0
0
Hello everyone!

I've been trying to install the BlTouch on the RAMPS, but when I connect it, the board starts to reboot (sometimes I'm lucky and I can check if the 3 axis move, but 90% of the time keeps rebooting). Reading through internet, I found that Arduino clones manages pretty bad the 12v to 5v conversion.

So, how can I power that 5v pin in a safe way? Keeping all the time the Arduino powered by USB at the same time the RAMPS is powered by 12v current? Modifing a 5v USB cable to match that 5v pin? I attach an image from one of the threads they talk about a similar issue.



The threat: Printer restarts when bltouch deploys

Confusing Stepper Motor Behavior (2 replies)

$
0
0
Hello!
I am trying to control stepper motors for a 3d printer with a RAMPS 1.4 board connected to an Arduino Mega 2560. I have uploaded Marlin firmware to the board and am currently using Pronterface to test the board's components. At first, the stepper motors would not move at all when commanded. They would just slightly twitch and them hum, but not rotate. Then, I checked the wiring connections and ensured they were correct, but the problem persisted. Then, I measured the voltage supplied by the stepper drivers, which was 0.79 Volts. Based on my stepper motors, Nema 17, the maximum voltage I calculated was 1.36 Volts. After adjusting the potentiometer screw the maximum amount, the voltage supplied is 1.19 Volts. Now, the motors WILL rotate when given the 0.1 and 1 command in Pronterface, but return to the twitch and whine behavior when given the 10 or 100 command. What is the cause of this?

can't figure out marlin settings for wilsonII printer (3 replies)

$
0
0
Hi all, I recently retired and had a project from a few years ago started, a Wilson II 3d printer by Marty Rice. Files are still on github. This printer is 200 x 300 and uses a rack and pinion setup to move a switch into position to level the bed. The x axis is supposed to move left to extend the arm and then move right to retract the arm. I assembled the printer and searched forever for firmware for it. I got a copy from githubs page for the printer but I have other issues now. I can use repetier to move the axis in the correct directions, but when I try to home any axis all that happens is the z axis moves up until I cut power. I have the reprapdiscount smart controller and the lcd says homeswitch hit when I manually actuate the switches so I assume they are wired correct. The configuration.h only has a choice for ramps1.3 and I have a ramps 1.4, could this be the problem? I am no good at adding code to marlin and am lost. Can anyone here try to help me get this machine working?
I am attaching the config.h file.

TFT28 or TFT35 for my new SKR board (2 replies)

$
0
0
Hi everyone.
I actually use an old Arduino Mega with ramps 1.6 and 12864 lcd screen on my home made printer. I also have 4 TMC2209 drivers.
I choose to upgrade my hardware I bought a new SKR 1.4 turbo 32bits.

I want to change my screen to use a modern touch screen, but I don't understand the difference between TFT28 and TFT35. Size seems to be the same...
[fr.aliexpress.com]

[fr.aliexpress.com]

Any advices ?

Correct pin outs for MKS Gen 1.4 with dual z motors and end stops and BL Touch (2 replies)

$
0
0
I have a dual z motor printer with dual z limit switches. I'm now trying to add a BL touch and am trying to figure out the configuration.

The limit switch for left z lead screw is connected to the X+ pin and the right limit switch is connected to the Z- pin.

Every BLTouch page I've seen connects it to the Z- pin. I think I can make this work by connecting the BLTouch to the Z+ pin by changing this value - I'm just not sure what the new value should be.

#define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default


The pin_MKS_BASE_14.h file lists these pins, for Z+ do I use 19 or 45?

Limit Switches

============

| 2 | GND | X+ ( 2) PE4 ** Pin6 ** PWM2

|----|-----|

| 3 | GND | X- ( 3) PE5 ** Pin7 ** PWM3

|----|-----|

| 15 | GND | Y+ (15) PJ0 ** Pin63 ** USART3_RX

|----|-----|

| 14 | GND | Y- (14) PJ1 ** Pin64 ** USART3_TX

|----|-----|

| 19 | GND | Z+ (19) PD2 ** Pin45 ** USART1_RX

|----|-----|

| 18 | GND | Z- (18) PD3 ** Pin46 ** USART1_TX

============

Wrong temp reading on RAMPS 1.4 (no replies)

$
0
0
hello guys i hope you are doing well
i have a problem with My Diy 3d printer the problem i didnt get any temp readings on pronterface i have tried tow different thermistors b the way the thermistor is conected to To and the hotend is on D10 i have atached My config files
thanks in advance

Ramps 1.6 and VCC issues (1 reply)

$
0
0
This is a bizarre issue.

Everything was working fine until a month ago. I upgraded to ramps 1.6 after my 1.4 board decided it wanted to go to the big chip in the sky. I ordered a kit to replace the 1.4 and the 2560. Everything was working fine. I notice my prints are quite a bit better. I then do a complete overhaul of the printer. New rods, bearings, belts, and a new Y axis motor. Another test print and it honestly is the best print I have ever done.

What the heck, I'll add auto bed leveling. I install the BLTouch. Plug it in and no power (in my defense, I forgot about the vcc to 5v jumper). So I find the new location of the jumper location and per every diagram I found, it is the two pins closest to the E0 motor connection. No problem. I power down, put the jumper on and....

I released the magic smoke from the 2560.

So I order another 2560. I check all the connections, connectors, pinouts, crimps, and do a full assessment. Everything looks good, everything is crimped correctly, the wires are in the right positions, so I turn it on and nothing happens. Good, I unplug it and put the jumper across vcc to 5v and....

The magic smoke monster appears again.

Fine, I order another 2 boards. While I am at it, I order another ramps 1.6. New boards arrive and I swap out the 2560. This time I use another new 1.6 board and 2560. The only wires I connect are the power wires on the ramps board.

I turn the power on without the jumper. I measure voltage on vcc as 4.95v. I confirm the 5v pin has 0v. I plug a jumper on vcc to 5v again and....

Another magic smoke monster...

So I am thinking that it is a manufacturing issue. The only constant through the whole thing is that the 2560 boards have been from the same manufacturer. I know that this can be done as there are posts about it. I am seeking the forums opinion however. I do have 2 different 2560 boards coming.

I should also add that I dug out a spare 1.4 board, and that is working fine with the BLTouch and a new 2560 board installed albeit very slowly though.

Troubleshoot a defective RAMPS (7 replies)

$
0
0
Hello everyone,

I would like to know if there are any guidances to troubleshoot a burned RAMPS, in order to repair it.

In fact, I've burned the only one I had, while building a 3D printer. I wanted to check the voltage on the axilary pins, and I made a short circuit.

I see no traces of any damage on the board, and I don't know either how to test the differents components.

Is there any way someone could help ?

Happy printing,

Help with RAMPS 1.6+ and TMC2209 and UART mode. (4 replies)

$
0
0
Hello all

I was wondering if anyone could shed some light onto a question I have surrounding the use of a RAMPS 1.6+ board and TMC2209 drivers. I have been using my trusty RAMPS 1.4 board and the A4988 drivers for the better part of 9 years when my RAMPS board started to smoke. Given I already had the mega, I went and looked at the newest RAMPS board I could find. I found the 1.6+ which I now realise isnt an official version but one that Bigtreetech has created. At the time I thought it reasonable to move to TMC drivers to make the printer capable of running into the night without disturbing my neighbours with the noise. I cannot find much on the RAMPS1.6+ wiring given the sales web page states that no wire is needed for TMC22xx drivers as they have included it in the board . . . but its not overly clear (to me anyway).

I know that there isnt all that much out there and the nearest thread I could find was this one but it uses a RAMPS 1.4 board. Given the subtle differences (the onboard SPI line) for the 1.6+ I thought that I would ask here in case someone already knows how to set it up.

From what I understand I dont have to include any jumpers for the TMC2209 drivers, I can drop them in (though the ones I have include all the pins to go into the ramps board, I was wondering if I should leave the TX and RX pins given the 1.6+ claims), upgrade to Marlin 2.x and make sure that I select the TMC option in the settings and remember to reverse my stepper motor directions. I know I will also have to toggle the SPI/UART mode in Marlin and calculate the correct current to use.

The parts I am using are:-
- Ramps 1.6+

and
- TMC2209 FYSETC v3.1 drivers (with 1K resistor on board)



Am I correct in assuming
1 - No jumpers are needed under the drivers as Marlin will take care of the addressing in software ?
2 - That I dont need to cut any of the TMC2209 pins that are going into the RAMPS board. I have seen videos on having some pins point up etc as they are connecting a hydra cable, but given the 1.6+ I am guessing the pins will have to go into the board to allow for all to communicate using the on board 1.6+ additional traces. (all the pins on the TMC2209 came populated so I will have to cut if needs be)
3 - That the Reprap Discount Graphical LCD I am using will still be operational even though I am now using TMC2209 drivers on the RAMPS 1.6+ board ?
4 - That I will be OK without the protector diode boards (though I have them on order) as long as I dont move the steppers quickly when the print is finished (thinking the bed moves as I have to sometimes get a little physical to remove a print)

I could go and get an SKR board but given I have the mega, and the RAMPS1.6+ board, I thought that I would ask here before abandoning the RAMPS option.

Any help would be warmly received !

-C

Ramp1.4 with Arduino, motor glitching problem (no replies)

$
0
0
Hi guys,

I'm using Ramp1.4 with Arduino Mega to control my Nema17 motors. The software interface is Repetier. When I ask the motor to move from one position to another, it will initially do so as expected, but gradually start to have some glitching, where it tries to move towards the opposition direction every now and then (periodically) during the movement. I think it's an accumulative issue. I've checked the step/unit length setting, replaced new motor, fastened the belt, and double checked the motor connection. Not sure what's going wrong. Can anyone please help? Many thanks!

Jiannan

Commands to control motor connected to E1 (9 replies)

$
0
0
Hello guys,

I am in dire need of some help. For my automation engineer studys final work I choosed to build a 3d printed MOVEO robotic arm. Everything is working great besides the motor connected to "E1" on my ramps 1.4. I have tested connecting the motor to X axis, works great - so I am thinking it has to been firmware related. I have been searching through the code like a maniac trying to find something but without success..

The command I been trying to use to control the E1 is "G0 T", not working. I have a presentation for my class in a week and wish to get a simple pick and place function going untill that so I really appreciate any help I can get.

The code that I use can be found here:
[github.com]

Thanks!!

Ramps 1.6 problem (6 replies)

$
0
0
Two of my RAMPS 1.6 boards have suddenly broke
(one broke at first run and other broke after printing several weeks)
- bed is 200*200
- turns on when connected with usb
- two printers in similar setups/same settings works fine
- replacing mega 2560 did not help
- 12V setup

I found that F2 (i assume that is fuse) was not conducting on those broken ones and soldered it close.
I also redused bed heater cycle down to 50/255.

When heating bed it start to broke 15A fuse between board and psu.

???

12V 20 ohm Heating Mat (1 reply)

$
0
0
Hey guys, I'm having trouble when connecting this heating mat to my printer:

[uk.rs-online.com]

it's 12V so I connect it directly to the D8 port in the RAMPS board. The problem is that although it should be able to reach 300ºC according to the datasheet, I am only able to heat it up to 50ºC with the printer. I think it might be do to its resistance (20 ohm), since heating cartidges are usually 10-15 ohm, so this mat needs more current. In case my hypothesis is right, is there a way to supply it with more current? I mean with the RAMPS itself, I know I could install an external mosfet.

#define PID_MAX is already set to 255

Thank you :)

Retrofit RAMPS to RapStrap project - questions. (no replies)

$
0
0
Hi all,

I'm resurrecting a XYZ DaVinci as a RepStrap machine. I bought it for USD15 without a hot end, virtually unused.

The proprietary 'bearings' allowed 1mm slop vertically in the X and Y direction, with the head mount wobbling uncontrollably.

Background and info at end of post. I am familiar with Arduino and C++. (trained industrial engineer - process engineer / metallurgist as well as trade qualifications.)
Reusing a 12V DC power supply.
Retrofitting a RAMPS board/Arduino Mega 2560 combination to the above to replace their board.

I was wondering if I could ask your advice on the following (RAMPS questions first.)

(1) I was going to power the Arduino Mega separately through a 5V supply on the Vin pin. Will this avoid overheating the RAMPS/arduino without removing the D1 protection diode in your experience?
(2) Is a separate MOSFET board a nice to have or a necessity? I assume that being 12V power supply, the current draw is going to be higher than a 24V feed to the bed.
(2a) Is somebody able to recommend a MOSFET board as suggested in the RAMPS FAQ (working 12-14 hour days at the moment. starting 10 minutes ago)
(3) Is it possible to address the SD card on the 12864 LCD display through the ribbon cables on the display header on the RAMPS board?
(4) Has anybody set up an external interrupt on pins D 20/21 (or ATMEL 2560 pins 43/44 on the physical chipset ) to use as an emergency stop (was going to get the bed to drop 20mm if so). The RAMPS sketch I've seen has these as the I2C pins - do I need to use these to communicate with the SD card. Fallback: Is it better just to wire the power supply to the arduino in parallel as a kill switch?
(4a) Are there any other traps for young players that I might have missed in the above?

-----------------------

Now the RapStrap questions:
(5) The unit is being used where stepper motor noise is audible. Do the TMC2208 stepper drivers give substantially lower noise?
(6) Which is the most accurate out of the TMC2208, 4988 or DRV8825 stepper drivers? I am now full time teaching practical subjects in COVID lockdown. When I get this working, it's first 100 jobs will be earring designs and jewellery designs for an all girls school through a 0.2mm nozzle for definition. It's easy enough at the moment to do it once and do it right.

Sorry for the length of the post, but...

I'd appreciate any advice and opinion you can provide.

Regards,

A
(moderators - trust that this is OK to post all within this forum - if it is better placed elsewhere, please feel free to move it..)


Background:

I am going to reuse the following:
Frame of the XYZ DaVinci machine.
Power supply. 240V, 50Hz in. (or is it 230 V here locally now?) 12VDC, 5V DC, 3.3VDC out from memory.
Steppers - NIDEC KV4239 (JST-PH connectors - the board has DuPont connectors, by the look of the photos.)
Bowden feed unit.
Maybe, the optical limit switches in some directions (others need to be scrapped/replaced with mechanical limit switches.)

Have bought the following:
E3D V6 clone hot end
Linear Bearings.
DR8825 Stepper Motors.
Mega 2560 / RAMPS 1.4 / LCD12684 (https://www.ebay.com.au/itm/312970444335)
MicroSwitches

Separately (on slow boats from overseas - might be here in Nov, have bought a RAMPS 1.6 and a Taurino Mega board.)

RAMPS 1.4 as heater port as a DC motor driver?? (no replies)

$
0
0
Hi, I have an application for a RAMPS 1.4 board to which it seems idealy suited.

One part of the project has a need to control a small DC vacuum pump and I was thinking about using a relay driven from an IO pin, but I wondered if one of the heater ports could be used.

The motor only takes about 0.5A and being an inductive load would need a couple of clamping diodes to limit the back EMF spikes.

Does this seem a reasonable idea or am I on thin ice ???

Regards,
Dave

RAMPS, Arduino or Display problem (1 reply)

$
0
0
Hello

I got some sort of a prusa i3 mk? clone gifted with a 24V power supply a modified RAMPS to supply the Arduino with less then 24V and a smart controller.

I put marlin on it but I get no chars displayed on the smart controller and the arduino and the smart controller only look "funktional" when I connect the USB cable to the arduino.
Pronterface can't connect.

Where to start debugging the thing? I'm skilled with linux and a bit of scripting, only build some ergo dox keyboards so not much skills with electronics.


Thanks,
Dominik

RAMPS control axis issue (1 reply)

$
0
0
Hi there.
I am building my first 3D printer (Reprap Prusa i3) and I typically would test each axis using the LCD controller connected to RAMPS (running on Arduino Mega with Marlin). When I would move each axis, everything would work fine except for the two Z-axis motors. They would make this awful grinding noise. I tried adjusting the potentiometer and also tried putting the motors in series as opposed to parallel, but neither seemed to solve the issue. Later I was fiddling around with other motors via Repetier and I accidentally moved the Z axis and it moved fine. I tried again and found that as long as I am moving it via the software, there were no issues. I went back to the LCD to control it and it produced the grinding sound. What can I do to be able to control the Z axis with the LCD without having the grinding sound?
Thank you in advanced!

We need a different sort of 'RAMPS' boards ! (3 replies)

$
0
0
This forum seemed somewhat deserted. But I'm posting this here as it seemed relevant still and I'm hoping to get some mindshare about this:

These days there are large number of 32 bit 'development boards' e.g. mostly ARM based STM32 and various NXP and some from Atmel. TI, and not to miss out Raspberry Pico etc.
You could find examples of stm32 boards here
[stm32-base.org]

You can find various of these boards from say marketplaces like Aliexpress, Amazon, Ebay etc. Then there are others like those (micro)python boards running STM32, ST itself offers various 'Nucleos' and 'Discovery' boards. Offerings from Olimex [www.olimex.com], [www.olimex.com], maybe others from Adafruit, Sparkfun etc

The good thing about them is that most of them are Arm Cortex-M based microcontrollers and there are already a large base of existing support for those mcus e.g. in Marlin etc.

One common thing about all these 'development boards' is most (about all) of them *do not share a same pinouts nor physical layouts* (even for the same MCU).
This pretty much invalidates the concept of 'shields', and the replacing concept is *connecting cables* (e.g. 'dupont' cables)

Are there any efforts to make a 'RAMPS' board, which pretty much sports the same motor control and other peripherals e.g. mosfets, temperature sensor connectors, endstops connectors, maybe these days things that could be added could include:
1) on board power supply - preferably a relatively well powered bucks converter such as LM2596 [www.ti.com]
this on board power supply would need to provide power to the 'controller board' as well as drive other power hungry pheriperials such as a servo motor for bed tramming.
possibly needing more than 1 voltage levels as well, e.g. both 3.3v and 5v. e.g place a 'ldo' between 5v and 3.3v rail.
3) interfacing for 3.3v to 5v (or some other (higher) voltages) - this is a pain with 3.3v microcontrollers really. Nearly all of them requires a level shifter (e.g. those 74HCTxxx as level shifters) to drive 5v logic level mosfets. this prossibly needs to be better thought out as well as we'd need to be able to better adjust the Vgs operating points for the mosfets. the resistances of pcb 'heated beds' are pretty much unpredictable these days.
4) possibly add other peripherals on board that has become popular with the 'standard model' of 3d printers. e.g. servo drivers and sensors for bed tramming (auto levelling), probes such as filament run-out sensors, filament change support, fans, leds, etc.
5) one common thinking is that these days 3d printers should after all be *enclosed*, not so much for the prints, but that 3d printing has *emissions*
[www.ncbi.nlm.nih.gov]
so it is good to think in terms of support for an enclosed environment, such as those 'tent' style enclosures. that is where led (it is often dark in the enclosure) and possibly additional temperature sensors may become relevant as well.

6) and most important, it is no longer shields but that most likely the interfacing connectors are 'dupont' pins, and connectivity between the 'RAMPS' board and 'controller' boards would be cables such as 'dupont' wires. it seemed it has become rather common that on boards it is 'male' pins, and all connecting cables using 'female' pins and shells.

RAMPS has pretty much become a 'standard model' of a 3d printer at least a 'virtual' one.

the idea is to have a *generic* board of these most commonly used peripherals on its own board so that this 'RAMPS' board can be connected to *any* development boards.
Viewing all 1807 articles
Browse latest View live