3D printer hosts not getting response from arduino nano. January 20, 2018 10:51AM |
Registered: 8 years ago Posts: 9 |
Re: 3D printer hosts not getting response from arduino nano. January 20, 2018 07:31PM |
Admin Registered: 13 years ago Posts: 7,147 |
/* * Hello World! * * This is the Hello World! for Arduino. * It shows how to send data to the computer */ void setup() // run once, when the sketch starts { Serial.begin(9600); // set up Serial library at 9600 bps } void loop() // run over and over again { Serial.println("Hello world!"); // prints hello with ending line break delay(1000); }
Re: 3D printer hosts not getting response from arduino nano. January 20, 2018 07:31PM |
Admin Registered: 13 years ago Posts: 7,147 |
/* * Hello World! * * This is the Hello World! for Arduino. * It shows how to send data to the computer */ void setup() // run once, when the sketch starts { Serial.begin(9600); // set up Serial library at 9600 bps } void loop() // run over and over again { Serial.println("Hello world!"); // prints hello with ending line break delay(1000); }
Re: 3D printer hosts not getting response from arduino nano. January 21, 2018 04:56AM |
Registered: 14 years ago Posts: 7,616 |
Quote
scrub
does not have these menu options, rather in the settings tab it has "macros", "options", "slicing settings" and "debug communications". In options i can't find anything resembling "debug g-code".
Quote
scrub
Maybe i'm not waiting long enough for my arduino nano to connect? How long should this take, anyways?
Quote
scrub
I never thought getting into 3D printing could be such a fiddle.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: 3D printer hosts not getting response from arduino nano. January 21, 2018 05:23AM |
Registered: 8 years ago Posts: 9 |
With debug communications on it says "SENT: M105". Do i need to be connected with debug on or does this just blind bit bang the g-code into my arduino?Quote
Traumflug
Quote
scrub
does not have these menu options, rather in the settings tab it has "macros", "options", "slicing settings" and "debug communications". In options i can't find anything resembling "debug g-code".
Take "debug communications" ... and edit the wiki to reflect this change in Pronterface wording.
Quote
scrub
Maybe i'm not waiting long enough for my arduino nano to connect? How long should this take, anyways?
A second or two.
Quote
scrub
I never thought getting into 3D printing could be such a fiddle.
1000 developers with 10000 ideas on how to "improve" things.
Re: 3D printer hosts not getting response from arduino nano. January 22, 2018 04:36AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: 3D printer hosts not getting response from arduino nano. January 22, 2018 08:34AM |
Registered: 8 years ago Posts: 9 |
Checked the clock and it's 16meg, same as in config, in fact 16meg it the only available frequency for atmega328p in configtool. Since 57600 Baud rate worked for uploading the firmware i set 57600 Baud rate in both pronterface and configtool but it still doesn't connect.Quote
Traumflug
Having Debug turned on just shows what happens anyways.
There should be lines starting with RECV, too. Not having them indicates communications not working. Baud rate mismatch, Arduino unpowered, such stuff. Also make sure CPU Clock Rate (Configtool -> Board -> CPU) matches your Arduino.
Re: 3D printer hosts not getting response from arduino nano. January 22, 2018 08:46AM |
Registered: 14 years ago Posts: 7,616 |
Quote
scrub
Since 57600 Baud rate worked for uploading the firmware i set 57600 Baud rate in both pronterface and configtool but it still doesn't connect.
Quote
scrub
Interestingly whenever i connect the arduino to a USB port it gives me a blink code of 3-2-2-2-2-3 (i think), whenever i connect the arduino to a power bank it just gives me a single blink.
Quote
scrub
Could it be that pronterface is not finding my config.h?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: 3D printer hosts not getting response from arduino nano. January 22, 2018 12:04PM |
Registered: 8 years ago Posts: 9 |