# Ground Control message continually toggles from "Connected" to "Not Connected"

**URL:** <https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129>\
**Category:** Software\
**Created:** [November 19, 2017, 9:04am UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129 "2017-11-19T09:04:00Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 9:15pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/21 "2018-03-29T21:15:33Z")

</div>

> [@blurfl](#):
>
> Do you have a different USB port, or a USB hub you could use to connect to the Arduino?

I have 6 usb ports on the desktop, which I tried switching and only 1 on the tablet

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [March 29, 2018, 9:16pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/22 "2018-03-29T21:16:20Z")

</div>

Once you’ve gotten the ‘done uploading ‘ message, quit the Arduino program before starting GroundControl - they fight each other for control of the serial port…

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [March 29, 2018, 9:50pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/23 "2018-03-29T21:50:28Z")

</div>

Were you able to find the same COM port in Ground Control and by clicking **Actions-\>Ports**?

---

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 9:58pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/24 "2018-03-29T21:58:15Z")

</div>

> [@blurfl](#):
>
> quit the Arduino program before starting GroundControl

when you say quit you mean close out of it right?

> [@bar](#):
>
> Were you able to find the same COM port in Ground Control and by clicking Actions-\>Ports?

yes

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [March 29, 2018, 10:03pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/25 "2018-03-29T22:03:56Z")

</div>

> [@blurfl](#):
>
> The first thing to ask is - have you been through [these](https://github.com/MaslowCNC/Firmware/wiki/Firmware-Setup) steps? If you have, and got the happy ‘Done uploading.’ message

When you finished step 7 in those instructions, what did the Arduino IDE look like? Were there any warning messages shown? A screen shot could help

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [March 29, 2018, 10:05pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/26 "2018-03-29T22:05:24Z")

</div>

OK - you are going to get different information here. It is all in an effort to find your problem. I respect @blurfl and he is very knowledgeable.

He is testing things from a different direction. I want you to test by wiping out the Arduino and having it test it’s self. This has the advantage that you will need to re install the firmware later. If there was a bad write in the original upload you will probably not see the issue a second time. This also will use the Arduino IDE to test it removing ground control from the equation.

With the Arduino plugged in -

Open the Arduino IDE - make sure the correct port is selected.

In the Arduino IDE go to files -\> examples-\>basic-\>AnalogReadSerial

![unnamed](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/8/8c38d1a3aeaec8349adb825ec21db03628e52ccf.png)

Then upload this file to your Arduino by clicking the right arrow icon at the top of the IDE program next to the check mark.

Once it finishes uploading click the square in the Upper right corner as shown in the picture below.

This will open the terminal window and should display a random group of numbers. If you are not seeing the numbers check the communication speed is 9600. This is shown in the lower right of the terminal window. It has a pull down if you need to change it to 9600 baud.

The goal is to get the window scrolling numbers and leave it that way for about 30 minutes. If it keeps scrolling numbers it means the system is maintaining a connection and we can look else where.

The other circle is pointing out the code that sends data to the terminal window.

 ![unnamed-1](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/7/7b4d5cda4ea26e6cae2d1cd75c0e6ef32a0f942a.png)

Let us know the results of this test.

We can proceed from there.

Thank you

---

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 10:22pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/27 "2018-03-29T22:22:40Z")

</div>

> [@Bee](#):
>
> The goal is to get the window scrolling numbers and leave it that way for about 30 minutes

there are no scrolling numbers, it says “an error occurred while uploading the sketched”

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [March 29, 2018, 10:24pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/28 "2018-03-29T22:24:25Z")

</div>

What comport are you using?

Restart the computer and try again before opening anything else. Report back plz.

Thank you

---

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 10:28pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/29 "2018-03-29T22:28:56Z")

</div>

ok…im using comm 1

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [March 29, 2018, 10:34pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/30 "2018-03-29T22:34:37Z")

</div>

In the Arduino IDE go to tools - port like the picture. On your keyboard press the “print screen” key on your keyboard - It may be abbreviated “prt scn” usually its in the top rows in the upper right. This takes a screen capture internally. Open paint and paste, this will put the screen in the paint program. Save the file and link it here plz.

Thank you

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [March 29, 2018, 10:36pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/31 "2018-03-29T22:36:28Z")

</div>

> [@garru2](#):
>
> ok…im using comm 1

Are you sure COM1 is the right port? COM1 is usually used internally by the computer. COM3 or higher is much more common. Are there any other ports available to connect to?

---

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 10:37pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/32 "2018-03-29T22:37:13Z")

</div>

I redid the procedure on my desktop and its scrolling the numbers now

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [March 29, 2018, 10:38pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/33 "2018-03-29T22:38:14Z")

</div>

Are you still on comm1? Let me know what happens in 30 min.

Thank you

---

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 10:40pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/34 "2018-03-29T22:40:39Z")

</div>

no comm3 now, dif computer  
thank you

---

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 10:47pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/35 "2018-03-29T22:47:37Z")

</div>

![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/1/1b11a719d21a78241589b797ce2fee3d88c48ced.png)

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [March 29, 2018, 10:55pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/36 "2018-03-29T22:55:24Z")

</div>

> [@garru2](#):
>
> no comm3 now

I’m pretty sure this is the issue. I think that COM1 is not actually the port it’s on. It sounds like everything is working properly on that desktop where it shows up as COM3, but the laptop might not be detecting the Arduino properly

---

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 10:59pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/37 "2018-03-29T22:59:39Z")

</div>

but I’m getting the same results on both no matter what com port I use, I even connected a usb hub to both and still nothting

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [March 29, 2018, 11:03pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/38 "2018-03-29T23:03:03Z")

</div>

Were you able to

1 Upload the firmware successfully on COM3  
2 Close the Arduino IDE  
3 Open Ground Control  
4 Select COM3 by clicking **Actions -\> Ports** and choosing it from the drop down  
5 Press **Actions -\> Connect**

---

<div class="post-metadata">

**Author:** ![garru2](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garru2/32/22819_2.png) [@garru2](https://forums.maslowcnc.com/u/garru2)\
**Post date:** [March 29, 2018, 11:08pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/39 "2018-03-29T23:08:52Z")

</div>

yes to all of your questions above

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [March 29, 2018, 11:11pm UTC](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129/40 "2018-03-29T23:11:25Z")

</div>

…and it’s still toggling back and forth ☹

Basically what that means is that Ground Control hasn’t received any position information from the machine for two seconds. That could be because some other program is using the USB port, because it’s not plugged in, because the firmware isn’t installed so no position information is being sent…

I’m a little stumped

What kind of Arduino is it again?

[Previous page](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129.md?page=1)

[Next page](https://forums.maslowcnc.com/t/ground-control-message-continually-toggles-from-connected-to-not-connected/1129.md?page=3)
