Re: RADDS work now stable with RepRap Firmware October 27, 2015 08:51PM |
Registered: 8 years ago Posts: 185 |
Quote
dnewman
Quote
filipeCampos
I receive today the lcd send by angelo, installed but is not working with the reprapfirmware. On repetier the radds lcd works fine.
This reprapFirmware porting supports the radds 20x4 lcd? It is necessary to make some configuration?
As has been previously stated, the RepRapFirmware does not support a direct connect LCD UI. I've also stated that I have started work on a LCD UI for the RepRapFirmware on RADDS. However, it is not yet available.
Re: RADDS work now stable with RepRap Firmware November 03, 2015 05:50PM |
Registered: 8 years ago Posts: 346 |
Re: RADDS work now stable with RepRap Firmware November 03, 2015 06:56PM |
Admin Registered: 16 years ago Posts: 13,891 |
Re: RADDS work now stable with RepRap Firmware November 03, 2015 07:35PM |
Registered: 8 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware November 04, 2015 01:54PM |
Admin Registered: 16 years ago Posts: 13,891 |
Re: RADDS work now stable with RepRap Firmware November 04, 2015 04:50PM |
Registered: 8 years ago Posts: 346 |
Re: RADDS work now stable with RepRap Firmware November 06, 2015 04:51PM |
Registered: 8 years ago Posts: 346 |
Re: RADDS work now stable with RepRap Firmware November 06, 2015 04:57PM |
Registered: 8 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware November 06, 2015 05:21PM |
Registered: 8 years ago Posts: 346 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 10:38AM |
Registered: 9 years ago Posts: 95 |
Temperature fault on heater 0, sensor circuit is open/disconnected, T = -273.1 Temperature fault on heater 1, sensor circuit is open/disconnected, T = -273.1
M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B3974 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
Re: RADDS work now stable with RepRap Firmware November 07, 2015 10:46AM |
Registered: 8 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 10:55AM |
Registered: 9 years ago Posts: 95 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 10:58AM |
Registered: 8 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 11:06AM |
Registered: 8 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 11:17AM |
Registered: 9 years ago Posts: 95 |
T:100000.0 B:3950.0 R:4700.0 L:0.0 H:-100.0 X:0 ok
T:100000.0 B:3974.0 R:4700.0 L:0.0 H:0.0 X:1 ok
Quote
dnewman
Is the RADDS board being powered just from USB when you do this test or from the printer's power supply?
Quote
dnewman
This would especially be the case if you have RAPS-128 stepper drivers and have not yet put into config.g the commands to invert their enable.
Re: RADDS work now stable with RepRap Firmware November 07, 2015 11:21AM |
Registered: 10 years ago Posts: 14,672 |
Quote
mandrav
Hi there.
I 'm setting up RADDS for use with my CoreXY printer and I 've stumbled onto a problem with the thermistors.
No matter what I do, no thermistor works.
I 've tried 4 thermistors I have around, all 100K, none of them works.
Temperature fault on heater 0, sensor circuit is open/disconnected, T = -273.1 Temperature fault on heater 1, sensor circuit is open/disconnected, T = -273.1
I checked the RADDS board with a multimeter and found nothing of interest. I also confirmed the series resistors are 4K7.
I measured the A0 pin (testing for T0 thermistor) of the DUE at ambient temperature (~21C atm) and the voltage is 3.144V. The other thermistor pins which are unconnected read 3.284V. There's a ~140mV difference there which should be picked up by the 12-bit ADC but it obviously isn't for some reason...
I added some debug statements in Platform::getTemperature() to see what the ADC reads and it looks that, after averaging the values, it always reads 8190 (with 1-bit oversampling I suppose). This is larger than adDisconnectedVirtual and the heater is considered decoupled...
The only time I managed to make it read *some* value was when I connected a 10K pot in place of the thermistor and played with it.
My heaters section in config.g:
M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B3974 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
Any idea what to look for?
Re: RADDS work now stable with RepRap Firmware November 07, 2015 11:40AM |
Registered: 9 years ago Posts: 95 |
Quote
dc42
If you do the sums, you will find out that a 100K resistor (e.g. thermistor at 25C) connected with a 4.7K series a resistor should give a reading of about 7800, not 8190. So I don't think you can have the thermistor connected correctly.
FIRMWARE_NAME: RepRapFirmware FIRMWARE_VERSION: 1.09j-dc42 ELECTRONICS: RADDS 1.5 DATE: 15/11/07
Re: RADDS work now stable with RepRap Firmware November 07, 2015 12:14PM |
Registered: 8 years ago Posts: 185 |
Quote
mandrav
I even tried heating up one of the thermistors to see if anything would change and it did: at some point it started giving me some values. Probably wrong values but still...
One thing I forgot to mention is that I 'm using the dev tree of RRF from dnewman's github.
FIRMWARE_NAME: RepRapFirmware FIRMWARE_VERSION: 1.09j-dc42 ELECTRONICS: RADDS 1.5 DATE: 15/11/07
I can't dismiss though that it may very well be a blatantly stupid mistake on my part. That's why I 'm asking for help.
Any ideas welcome
Send: M115 Recv: FIRMWARE_NAME: RepRapFirmware FIRMWARE_VERSION: 1.09j-dc42 ELECTRONICS: RADDS 1.5 DATE: 15/11/07 Send: M305 P0 Recv: T:100000.0 B:4066.0 R:4700.0 L:0.0 H:0.0 X:0 Send: M305 P1 Recv: T:100000.0 B:4066.0 R:4700.0 L:0.0 H:0.0 X:1 Send: M105 Recv: ok T:17.0 B:17.2 Send: M105 S3 Recv: ok {"status":"I","heaters":[17.2,17.1],"active":[0.0,0.0],"standby":[-273.1,0.0],"hstat":[2,2],"pos":[0.00,0.00,0.00],"extr":[0.0],"sfactor":100.00,"efactor":[100.00],"tool":0,"probe":"0","fanRPM":0,"homed":[0,0,0],"message":"","geometry":"coreXY","myName":"CoreXY"}
Re: RADDS work now stable with RepRap Firmware November 07, 2015 12:24PM |
Registered: 8 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 01:22PM |
Registered: 9 years ago Posts: 95 |
Quote
dnewman
You did notice that your "M305 P0" output showed "H-100.0" and not "H0.0"? That's the bed thermistor.
Quote
dnewman
And since you appear to have compiled yourself, you might want to try a .bin file from my github repo and see if that makes a difference.
Re: RADDS work now stable with RepRap Firmware November 07, 2015 02:36PM |
Registered: 9 years ago Posts: 95 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 02:37PM |
Registered: 8 years ago Posts: 185 |
Quote
mandrav
I have tried with RepRapFirmware-1.09k-dc42-radds-a.bin but I will try the one you linked right away.
Re: RADDS work now stable with RepRap Firmware November 07, 2015 02:50PM |
Registered: 8 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 03:02PM |
Registered: 9 years ago Posts: 95 |
Re: RADDS work now stable with RepRap Firmware November 07, 2015 04:08PM |
Registered: 10 years ago Posts: 14,672 |
Quote
mandrav
If I put a 5K6 resistor in place of the thermistor, the "temp" reads 40C. Is that about right or is it totally off?
Re: RADDS work now stable with RepRap Firmware November 07, 2015 04:20PM |
Registered: 9 years ago Posts: 95 |
Quote
dc42
Quote
mandrav
If I put a 5K6 resistor in place of the thermistor, the "temp" reads 40C. Is that about right or is it totally off?
That is way off, the temperature reading should be much higher. It sounds to me that your thermistor series resistors are a lot lower than 4.7K, or they are connected to +5V instead of +3.3V, or the analog reference voltage on your Due is a lot lower than 3.3V.
Re: RADDS work now stable with RepRap Firmware November 08, 2015 05:15AM |
Registered: 8 years ago Posts: 5,232 |
Re: RADDS work now stable with RepRap Firmware November 08, 2015 07:19AM |
Registered: 9 years ago Posts: 95 |
Quote
o_lampe
Don't know about the Due, but you can specify the AD-reference voltage on all 8-bit arduinos with "analogReference()"
Maybe it isn't set right in your simple test program?
-Olaf
Re: RADDS work now stable with RepRap Firmware November 08, 2015 06:01PM |
Registered: 8 years ago Posts: 185 |
Quote
mandrav
I haven't delved too deep into Due development but it looks like analogReference isn't supported on the Due?
Re: RADDS work now stable with RepRap Firmware November 09, 2015 04:17AM |
Registered: 9 years ago Posts: 95 |
Quote
dnewman
Quote
mandrav
I haven't delved too deep into Due development but it looks like analogReference isn't supported on the Due?
For some definition of "supported" it is supported but it is effectively a no-op. That is, the routine is declared in wiring_analog.h and code for it exists in wiring_analog.c which then sets a variable named analog_reference. However, that variable is not referenced anywhere else in the Due Arduino API sources. So, it is initialized at compile time to AR_DEFAULT, can be changed via analogReference(), but is use nowhere else in the code. That in contrast to the AVR Arduino API sources which do make use of it in analogRead().