Show all posts by user
Page 1 of 2
Pages: 12
Results 1 — 30 of 46
Hi all,
I found it. We have another interruption which read the value of ADC in the file Temperature.cpp
The interruption is :
ISR(TIMER0_COMPB_vect)
Thank you :-)
by
chik
-
General
I think this is the explication :
The Atmega datasheet also cautions against switching analog pins in close temporal proximity to making A/D readings (analogRead) on other analog pins. This can cause electrical noise and introduce jitter in the analog system.
So can you help to understand how the Marlin reads the Temperature without any problems?!
Thank you!!
by
chik
-
General
Hello EveryBody,
I want to add one AnalogPin on the Arduino and Ramps, and use AnalogRead to read the value. But, it seems that I get problems with the values of the thermistors. They are about 350° which is not normal.
If I comment this line :
// val = analogRead(analogPin);
Everything will works fine. If I add it, I will get problems with the thermistors.
Any idea?!!
Do you know how Marli
by
chik
-
General
Hi ZarinaCampbell and uncle_bob,
Sorry for the late reply. I worked on another thing than the Marlin!
Last week, I sew this part, and it seems exactly as I put on another topic!
plan_buffer_line() will be called to place the move into the block buffer.
plan_discard_current_block() remove the command when it is finished!!
All this function are in interruption on stepper.c
Thank you!!
PS : I
by
chik
-
Reprappers
Hi bobc,
Sorry for the late reply. I worked on another thing than the Marlin!
Last week, I sew this part, and it seems exactly as you said!
plan_buffer_line() will be called to place the move into the block buffer.
plan_discard_current_block() remove the command when it is finished!!
All this function are in interruption on stepper.c
Thank you!!
by
chik
-
Reprappers
They are not connected!! I have just verified it!!
Thank you!
by
chik
-
RAMPS Electronics
Hi everybody,
Thank you for the schematic. It was realy helpful!!
But :
Are RSV and SENSE Pins connected to GND?
In my SD ramps => not, but in schematic => yes?!!
by
chik
-
RAMPS Electronics
Thank you uncle_bob for your response.
But, if we send just one command, it will read it directly. It does not wait 75% of the buffer. I am searching for the loop, where it wait to reach the 75% of the buffer, and I didn't find it.
I don't understand realy what does it do, when we send a complete Gcode through Pronterface. Please help me
by
chik
-
Reprappers
I post a new message, where I detail my problem :
I am sorry!!
by
chik
-
Reprappers
Thank you uncle_bob for your quick response,
My questions is how does Marlin use BLOCK_BUFFER_SIZE!! I know that there are different buffers on different functions of Marlin!! I see that Marlin has buffered functions, and unbeffered functions :
For the function (plan_buffer_line), Marlin use a lot of buffers, but I think that the buffer for commanding motors is "block_t block_buffer; "
I wan
by
chik
-
Reprappers
Thank all of you for your responses,
But I want to understand, when Marlin wait the new space of buffer!!
by
chik
-
Reprappers
Hi all,
I want to know if arduino is multithreading or not, because when I read Gcode from SD Card, it reads the 16 commands of BLOCK BUFFER SIZE "Buffer of plan motion", and begins their excutions in parallel!! It stops reading when it get the 16 command "Buffer full", after that, it will read command per command. For exemple, it will read a command number 35, then excute the command number 19
by
chik
-
Reprappers
Hi,
I am using Marlin with ramps 1.4 and arduino, and I want to know the max buffer when we are reading the SD card.
I found BLOCK BUFFER SIZE defined on configuration_adv.h, but I cannot understand the difference with BUFSIZE!!
Thank you
by
chik
-
Reprappers
Hi David,
Exactly!!
Think you so much!! I just need to put a radiator on the stepper driver!!
Thnik you!!
by
chik
-
General
Salut Manu,
Effectivement, je m'en doutais que j'ai vu quelques chose comme cela quelques part!!
Nikel, c'est exactement ce que je veux!!
Bien sur pour les radiateurs ;-)
Merci énormément.
by
chik
-
RepRap Groupe d'Utilisateurs Francophone
Hi, everybody,
I want to add a second motor to the X motor. I want to put them in parallel, when I command one, the second is also commanded!!
Can I connect a second motor in parallel after the stepper driver. Or must I connect the command of arduino to a second stepper driver, and this to a second motor.
by
chik
-
General
Bonjour à tous,
Je voudrais ajouter un second moteur en parallèle avec le moteur X. Cependant, je me demandais, si je dois simplement raccorder les sorties du stepper driver vers le second moteur, ou dois-je connecter les commandes qui sortent de l'arduino à un second stepper driver, puis vers le second moteur.
En gros, est-ce qu'un stepper driver, peut contrôler deux moteurs en parallèle, ou y
by
chik
-
RepRap Groupe d'Utilisateurs Francophone
Think You bobc!! I found it in Marlin_main!!
to jamesdanielv : No I just want to understand how the printer knows the changement of extruders!! And how it does it, because I want to use 2 extruders!!
by
chik
-
General
I can't found this code on Marlinmain.cpp!!
Is it normal?
by
chik
-
General
Think you rhmorrison ,
OK, but where can I find this function?!
Regards
by
chik
-
General
Bonjour à tous,
Je voudrais savoir comment se fait le passage d'un extruder à l'autre lors d'une impression!! Est-ce que ça se fait via une fonction sur le GCode, ou bien un réglage au niveau du slicer!!
Merci.
by
chik
-
RepRap Groupe d'Utilisateurs Francophone
Hi Everybody,
I want to know what is the function in GCode to jump from one extruder to an other in GCode file. I can't find it. Or, how do the printer to change extruder when printing!!!
Please help me!!
Think you!!
by
chik
-
General
I found new firmware which accepts two serial ports, it works very good!! You need to put your second device in port 2.
Good luck.
by
chik
-
General
I found new firmware which accepts two serial ports, it works very good!! You need to put your second device in port 2.
Good luck.
by
chik
-
General
Verygood!!
It works fine!! And I found where the error was!!
I use directly this firmware, it is good!! But I prefer mine, because I did a lot of modifications.
I put the new MarlinSoftware.h and MarlinSoftware.cpp, I changed Marlin.h, Marlin_main.cpp, and add MarlinBTSerial.cpp and MarlinBTSerial.h to my project and it works too!!
Think you a lot jamesdanielv for your help!!
I will put the sol
by
chik
-
Firmware - experimental, borrowed, and future
Hi jamesdanielv,
Think you for response!!
Please fond here my program "Marlin.cpp"
/* -*- c++ -*- */
/*
Reprap firmware based on Sprinter and grbl.
Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either versio
by
chik
-
Firmware - experimental, borrowed, and future
Any idea how to add another Serial port on Marlin working with the main one "MySerial"?!!
by
chik
-
General
Page 1 of 2
Pages: 12