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

7805 for 12v to 5v (probe) (1 reply)

$
0
0
First, let me just say I have no formal training with electronics and learn basically everything I know about it online, so please forgive my ignorance in advance.


Trying to add an inductive sensor to a small printer. Printer's mainboard, as I understand, accepts input voltages of 5v for endstop values (ramps based).
I have a 12v inductive probe, powered directly from a 12v external power supply (same as for heated bed). Since I had a couple of 7805's lying around,
and have used them in other projects to drop voltage to 5v, I assumed they would be fine to use in this instance.

The inductive sensor is a NPN sensor which is normally open.

Connecting directly to sensor's output gives me 12v via multimeter.

If I put the 7805 chip between the output signal of the probe and the multimeter, the output reading is 1.3v

I tested connecting the 7805 without the probe (directly from the 12v source) and it regulates to 5v.

Am I missing something here?

Mosfet Installation (1 reply)

$
0
0
Hi there , anyone got the diagram for the Arduino board 1.4 ramps to install a Mosfet on it ?

Makerbase MKS Slot2 V1.0 + RepRapDiscount Full Graphics LCD + RAMPS 1.4 (2 replies)

$
0
0
I want to add an external SD card adapter on my RepRapDiscount Full Graphics LCD. My 3D printer is based on (Arduino Mega + RAMPS v1.4 + RepRapDiscount Full Graphics LCD).
I buy an SD Card Adapter from Aliexpress (https://www.aliexpress.com/item/32873382195.html?spm=a2g0s.9042311.0.0.4f544c4d5UzB1L) and now I want to add this adapter on my RAMPS 1.4 while not disturbing the working of RepRapDiscount Full Graphics LCD.
Please guide me how can I add this to my RAMPS? Thanks!

Coronavirus Mechanical ventilator (no replies)

$
0
0
Hello Everyone,

As most people are aware, there is a world wide shortage of Mechanical ventilators.

There are a lot of hobbyists working on this idea to produce quickly to market.

[e-vent.mit.edu]

My idea is to use the RepRamps control board for the control circuit of the Ventilator.

The reason is as followed.
1. It is a well tested circuit
2. Easily available
3.Affordable
4.multiple driver circuits, whereby it is easily adaptable to suit which motor is available, whereby ideally 1 motor would be used but if the motor supplies insufficient torque 2 or more could run in tandem.
5. When this pandemic ends, the Mechanical Ventilator could be turned into a 3D printer or something else - re-purpose - to lower E-Waste.

I would like it fully open source, everyone can see the code progressing and can make changes, that we can bring this idea to everyone as quick as possible to help prevent unnecessary deaths.

Any help would be great.

TMC2130 standalone stopped working (no replies)

$
0
0
Hi to all,

So for the last few weeks, my ramps 1.4 setup was running TMC2130 Bigtreetech V3 in standalone mode on my 3d printer for X and Y-axis. The printer was off for a couple of days and suddenly both drivers stopped working. After print started it started to do homing sequence and after that, it stopped. I tried to put back A4899 and it works fine,motors as well. Beside I check electrical component on the ramps with a multimeter and it seems fine as well. Also, I tried to re-upload marlin firmware but without success. If anyone has some suggestion what it can be, or how to solve the issue I would appreciate any help. If it can be helpful, pins SDI, SCK, CS and SDO are removed, also contact from the bottom of the driver is soldered to enable standalone mode.

Debugging RAMPS for heated bed problem (1 reply)

$
0
0
Hi,

Earlier this week I started using my printer but the heated bed refused to work. I googled for hints what to try but couldn't figure out the cause of the problem. Except things to measure from RAMPS (1.4) and they are:
- Voltage on PSU pins: +12V (OK)
- Voltage between PSU - and D8 pins when heated bed is turned off in Pronterface: +12V (OK?)
- The same as above but heated bed turned on in Pronterface: 0V on both D8 pins (no voltage between D8 pins --> no power to heated bed)
- Resistance of the heated bed when detached from RAMPS 1.1 Ohm (OK)
- Voltage between MOSFET pins and PSU-: 0, 0, 5V (not sure if I got it measured properly)
- Fuses seem to be ok (measured resistance close to 0 Ohms)

And the LED on RAMPS doesn̈́'t turn on when heated bed is attached and turned on from Pronterface. But when the heated bed is detached and turned on in Pronteface the LED switches on (and there is voltage between D8 + and -).

Any suggestions what's wrong? The notorious MOSFET? Or the heated bed? The printer was working ok for a couple of years without problems before this happened.

Thanks in advance.

TMC2209 fried - It was inserted correctly (no replies)

$
0
0
Hey,

I installed two tmc2208 for Z and extruder and two tmc2209s for X and Y axis yesterday in UART mode. I made sure the drivers (made by Bigtreetech) were inserted correctly, checked the DIR and EN pins and all. Infact, I quadruple checked.
Since my Arduino's onboard 5v regulator is fried, I use the USB's 5v to trigger a relay in my PSU (Not an ATX). Upon connecting the USB cable and then flipping the PSU switch, I heard a loud pop and the printer reset. The printer display was very dim and was not showing any characters, only backlit
.
Me still being in denial about the noise, thought maybe something else is wrong. Turned everything off, and tried to smell for smoke near the board and PSU. Nothing. I took the drivers out and inspected both the chips under my usb microscope. Aaaaand yep, both tmc2209 had a hole in their chip. tmc2208 are completely fine and working. I switched to my old tmc2100 on X and Y and I have no issues there.

Edit: I think I should also mention that I tried one tmc2208 in standalone mode on Z axis first to make sure everything was okay. When I turned the printer on with only a tmc2208, I noticed that the Z motors became active as soon as printer was on. I know this because I have a board cooling fan that only turns on when motors are on. This didn't happen with A4988 that was on Z before.

I cannot for the life of me figure out what went wrong and why these two fried. The only possible clue that I have found is this: https://github.com/MarlinFirmware/Marlin/issues/10162#issuecomment-397844847
No idea if what was said there is true or not. I do know both tmc2208 and tmc2209s are 3-5v logic, according to Bigtreetech specs. If the github post is the reason, why didn't tmc2208 fry as well?

I want to order more tmc2209s but I don't want them to fry like this again, so could someone here help me figure out what went wrong please?

IR Probe (dc42), Ramps 1.4, Digital Mode Issue (no replies)

$
0
0
Hello, everyone,

I have the following problem when integrating an IR Probe (https://www.duet3d.com/IRProbe) on my Ramps 1.4 with Marlin 2.0.x:

No matter what I do, the red LED on the IR Probe lights up 4 times at each start. According to this manual (https://miscsolutions.wordpress.com/mini-height-sensor-board/) this means that the IR Probe is in analog mode. But for my application I need the digital mode. So it should light up 2 times.

As described in the manual I connected the IR Probe to the z_min endstop of the ramps board and set the corresponding settings in Marlin (pullups for z_min enabled).

#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG

// coarse Endstop Settings
//#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED(ENDSTOPPULLUPS)
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
//#define ENDSTOPPULLUP_XMAX
//#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

I have already measured with the voltmeter and there are about 6 V at the IR Probe. Actually it should be 5 V. Is that a problem? I also connected a voltage divider and reduced the voltage to about 4.4 V. That did not change anything.

Nevertheless, my print head remains at a large distance above the bed, before the red LED even lights up to signal the actual "triggering" of the IR Probe.

Does anyone have any experience with this and could please help me? I have already worked my way through the "Configuration.h" several times and don't know what to do.

I also saw this post: [reprap.org]
Didn't help either, unfortunately.

Many greetings
Robin

Bed Thermistor - readings are off, im at a loss. (2 replies)

$
0
0
Struggling to get the bed heater temperature to read correctly on the Ramps 1.4.. I bought brand new 100k NTC 3950 thermistors on Amazon (since I used old spare ones and couldn't figure out what they were). I have it programmed in Repetier 0.92.9 correctly as "100k NTC 3950". It still shows the temperatures way way off. Like this:
60c displayed on the LCD is = 105c measured by a laser thermometer
55c displayed on the LCD is = 82c measured by a laser thermometer
50c displayed on the LCD is =65c measured by a laser thermometer
45c displayed on the LCD is = 54c measured by a laser thermometer
40c displayed on the LCD is = 46c measured by a laser thermometer

The printer originally had a ferrite core (small black magnetic clamp) which was clamped on the heater wires and the thermistor wires.

When the NEW thermistor wire is in the ferrite core with the heater wires,, the readings are insane, like 900c. When I take the wire out of the ferrite core it settles down to about 20c which is room temperature in that room. So its causing some variations in the readings for sure.

Any ideas? I'm at a loss. Printer was originally a XYX Davinci 1.0a that now has the Ramps 1.4 board

RAMPS 1.4 AND MARLIN (no replies)

$
0
0
Does anyone have experience changing the Marlin firmware to display heated enclosure temperature on the status LCD? I believe I am close but at the moment both temperature displays are reading from the E1 thermistor. I have gotten it so that Marlin will acknowledge and process an M141 chamber heating command, so I feel like I'm almost there.

RepRapDiscount Full Graphics Smart Controller Menu Scrolling Issue (1 reply)

$
0
0
Hello All,

I decided to build my own 3D printer (Marlin FW, Arduino Mega, Ramps 1.4) and recently purchased a RepRapDiscount Full Graphics Smart Controller to use with it. I have connected it up and uncommented the line of code in Marlin to use it. When I turn on the machine, the LCD screen shows the main landing page (extruder temps and positions). I can press in the button and get to the menu screen, however, once on the menu screen, I cannot scroll through the menu options. Turning the knob takes me back to the main landing/information screen. I assumed that the LCD was potentially faulty and purchased a second one, however, I'm having the same issue.

I have tried:
Multiple cables of differing lengths
Multiple units
Reseating the cable connectors on both the Ramps board and the back of the LCD

After searching both this discussion board and google, I've found a few people with the same issue, however, they never post a solution to the problem. I'm at a loss at this point. Does anyone have any ideas as to how to be able to scroll through the menu options?

Problem with RepRapDiscount Smart Controller - Marlin (3 replies)

$
0
0
Hi,

I have self-made 3D printer assembled and I started to configurating Marlin. I have issue with RepRapDiscount Smart Controller, more precisley with launching it. I've configurated Marlin by following guides on the Internet (according to instructions I've found it requries only to uncomment one line '#define REPRAP_DISCOUNT_SMART_CONTROLLER' and it should works just fine, and several another lines to f.e. enable SD card support but to display anything this one line should be eoungh). Despite this screen still does not work. I've tried to switch connectors- in the wrong way first and third line have all pixels on (like on the foto) and in the other layout screen does not working at all, even backlight is off (although buzzer emits sound when I press the button and I have impression that menu is working itself but it doesn't display anything)- like in the second picture. I have only RepRapDiscount Smart Controller connected to RAMPS 1.4 on Arduino Mega, nothing more. In my opinion the are two possible capabilities why it doesn't work. First: RepRapDiscount Smart Controller is broken and I can by a new one but secondly and more likley I've done something wrong in Marlin and that's the reason of my problem. I attach 'Configuration.h' [attachment 115701 Configuration.h] I haven't done anything in other Marlin files.

Thank you in advance



[attachment 115703 20200528_153051_Easy-Resize.com.jpg]
[attachment 115704 20200528_153108_Easy-Resize.com.jpg]

Dumb question- what is all displayed on the Ramps LCD? (no replies)

$
0
0
I've tried looking on the repetier site but couldn't find much.

See the picture posted, what is the E: 0.20 shown on the screen?

Thermistor sensor value without Firmware (1 reply)

$
0
0
I'd like to support the value of temperature from Thermistor with Arduino Mega and Ramps 1.4
but without using any Firmware like Merlin.

Right now I use the follow code and all feature works well but I find not correct PIN
for T0 thermistor.

void loop () {

    if(Serial.available()){
        val = Serial.readString();
     }

  if (val=="ON"){
      // FAN anschalten
      digitalWrite(FAN_PIN, HIGH);
  }
  else if(val=="OFF")
  {
     digitalWrite(FAN_PIN, LOW);
  }

    
    // Temperatur anschalten
    digitalWrite(HEATER_0_PIN, LOW);

  
    // MOTOR
    // LOW=Uhrzeigersinn - HIGH=Gegenuhrzeigersinn
    digitalWrite(E_DIR_PIN, LOW);

    for (int i = 0; i < 200; i++)
    {
      digitalWrite(E_STEP_PIN, HIGH); // Motor an
      digitalWrite(LED_PIN, HIGH);
      delayMicroseconds(5000); // 100=sehr schnell bis 5000=sehr langsam
      digitalWrite(E_STEP_PIN, LOW); // Motor aus
      digitalWrite(LED_PIN, LOW);
      delayMicroseconds(5000);
    }
  delay(1000);
}

DIAMOND x5 on RAMPS with stepper extender x3 problem PIN D1 (DIR) on AUX-1 (6 replies)

$
0
0
I came to operate the 5 extruders for the DIAMOND x5 (FULL COLOR) and everything seemed ok (apart from the cobwebs, I am fighting with the percolation of the nozzle and the retraction) but in the end I discovered that the 5th extruder the 3rd for the extender x3, the one that has as pin: // ### EXTRUDER_4 #define ORIG_E4_STEP_PIN 57 #define ORIG_E4_DIR_PIN 1 #define ORIG_E4_ENABLE_PIN 58 both that extrude that portrays always goes in retraction, that at the beginning to resolve it quickly (not having noticed that it did not change direction) I inverted the wires on the motor and extruded but did not retract !!!! So now that I do, how can I check the pin 1 (DIR) to see that it is not badly managed or do you suggest me to use another pin?!?!?! if you can?, thanks for your patience. P.S: I use a RAMPS and the pin changes I made them directly in 33.h for the expanders I used the REPRAP x3 one with the cable already wired

RepRap Full Graphics Display (no replies)

$
0
0
I purchased a graphics display from 3DMakerWorld (thru Amazon) because they were a US manufacturer and their boards should be better than the cheaper Chinese clones. The printer it was purchased for is a Raise3D N2 Dual. Their Motion Controller Board is an open source board running Marlin. I had heard about the problems others had with some of the clones having their cable sockets installed with the key on the wrong side. I figured I didn't want to have to deal with that.

Well, it didn't go as smoothly as I had hoped. The display board would not boot up. I tried the "reverse the cable orientation" trick with no luck, both with and without the Exp2 cable plugged in. I checked and rechecked everything I could think of with no luck. In desperation (before deciding on whether or not to return the board) I decided to try swapping the Exp1 and Exp2 cables hoping that I wouldn't damage anything (fingers crossed). I plugged Exp1 from the MCB to Exp2 on the display board and Exp2 from the MCB to Exp1 on the display board. Wallah! The board came to life and booted up fine. I sent a note to the manufacturer asking if it was possible that the silk screening was incorrect. Will let you know if I get a reply.

Regardless, I now have a working graphics display board. I need to get longer ribbon cables to route them out of the MCB enclosure (thru the bottom opening) and also to decide where to mount it for ease of use. Will be drafting up an enclosure in Solidworks to 3D print.

P.S. I tried to attach a 2.4MB JPG of the Raise3D MCB showing the labeling of the connectors but this forum kept saying it was too large even though the per file limit is 8MB.

Ramps 1.4 not powering extruder or motors (3 replies)

$
0
0
Hello,
I have a reprap prusa i3 rework. Connected to my ramps 1.4 shield is an Arduino mega 2560. I run it with marlin and pronterface. The problem is when I use pronterface my ramps have stopped working. The only thing that works is the powering of the heatbed, unlike the stepper motors and the extruder that doesn't get any power. I took away all the connected motors form the shield expect one. Then I tested to switch out the stepper motor driver with a spare part, but that didn't help at all. I have voltage into the shield and there are signs on the shield that it would have burned. I have also tried using another Arduino mega 2560 with no success. Does anyone know what might be wrong?

Thanks,
Axel

bed is not centered and is offset and Steps/mm are all over the place (3 replies)

$
0
0
Hey all, it's my first time using ramps 1.4 or even marlin for that matter. I just upgraded from an ANet A8 after my board crapped out and after the nightmare that was setup without this forum as a resource, I've got a problem with my bed not quite being registered correctly and my steps/mm on my z axis are crazy off. I am quite tired now and about to sleep so here is an imgur link explaining the problem from earlier when I was more lucid.

Thanks to everyone in advance

RAMPS 1.4 and MEGA 2560 Printer Setup Help (3 replies)

$
0
0
Howdy

I've claimed this reprap printer from a mate, it was a project for guys doing an apprenticeship and it fell by the way side. I couldn't let it be thrown away or just left to gather dust. I'm experienced in 3D printing and have some Arduino exposure.

The pictures are representative of the state that the below code is from and what Pronterface is throwing at me. At the moment it won't move anywhere (I'm assuming because of endstops being triggered). From what I can tell the remainder of the machine is working, the bed warms up along with the extruder.

The firmware is stock, I've tried messing with it but it didn't get better or worse. Mostly found that the endstops didn't prevent travel. I'll need to calibrate movement at some stage as I don't believe it is travelling the 200mm correctly however that is a future Jake problem. Any help would be greatly appreciated, combine this with my Ender 5 I will be killing it.

//===========================================================================
//=============================Mechanical Settings===========================
//===========================================================================

// Uncomment the following line to enable CoreXY kinematics
// #define COREXY

// corse Endstop Settings
// #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#ifdef ENDSTOPPULLUPS
  #define ENDSTOPPULLUP_XMAX
  #define ENDSTOPPULLUP_YMAX
  #define ENDSTOPPULLUP_ZMAX
  #define ENDSTOPPULLUP_XMIN
  #define ENDSTOPPULLUP_YMIN
  #define ENDSTOPPULLUP_ZMIN
#endif

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
//#define DISABLE_MAX_ENDSTOPS


// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define E_ENABLE_ON 0 // For all extruders

// Disables axis when it's not being used.
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false // For all extruders

#define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR false    // for Mendel set to true, for Orca set to false
#define INVERT_Z_DIR true   // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false

// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

#define min_software_endstops true //If true, axis won't move to coordinates less than HOME_POS.
#define max_software_endstops true  //If true, axis won't move to coordinates greater than the defined lengths below.
// Travel limits after homing
#define X_MAX_POS 200
#define X_MIN_POS 0
#define Y_MAX_POS 200
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0

#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)

// The position of the homing switches
//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)

//Manual homing switch locations:
#define MANUAL_X_HOME_POS 0
#define MANUAL_Y_HOME_POS 0
#define MANUAL_Z_HOME_POS 0

//// MOVEMENT SETTINGS
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)

Pronterface:

SENDING:M119
Reporting endstop status
x_min: TRIGGERED
x_max: TRIGGERED
y_min: TRIGGERED
y_max: TRIGGERED
z_min: TRIGGERED
z_max: TRIGGERED

Voltage drop cause print job to stop (2 replies)

$
0
0
Hello, I build a 3d printer. It works fine in normal use but when I turn on Air Conditioner (AC) in my house. There is voltage drop seen in house. Which as a result cause voltage drop on 3d printer for few seconds and if I am printing during that time the print job stops where it was when voltage dropped as if someone turn off and then on the printer and up ruining the printing object. I am using 12 volt power supply. Therefore I would like your feedback on it, what should I do.

Thank you
Viewing all 1807 articles
Browse latest View live