Matrix M4 portal Not communicating

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Kingfrankbob
 
Posts: 37
Joined: Thu Jul 19, 2018 7:11 pm

Matrix M4 portal Not communicating

Post by Kingfrankbob »

Greetings, I have a matrix M4 Portal with the pixeldust example loaded onto it. It shows up as MATRIXBOOT when it uploads as well as when you double click the reset button. I have used multiple usb cords and computers but I cant get the serial to work. I used

Code: Select all

while(!Serial){ 
delay(10);
err(250);
}
err being the provided loop from the pixeldust example
The light has blinked for a while now, I have reinstalled arduino and all of the drivers and libraries. I also have tried various methods. All while using the arduino IDE, I even added a

Code: Select all

Serial.println("Hi");
in the

Code: Select all

void loop()
to try to find out what it is and still no luck.
Any suggestions?


Cheers, MC

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix M4 portal Not communicating

Post by dastels »

What are you using to monitor the USB/serial with?

Dave

User avatar
Kingfrankbob
 
Posts: 37
Joined: Thu Jul 19, 2018 7:11 pm

Re: Matrix M4 portal Not communicating

Post by Kingfrankbob »

Dave,
I have been using the standard Arduino IDE comm viewer, but I have heard of xojo. haven't used it though.
MC

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix M4 portal Not communicating

Post by dastels »

The Arduino serial monitor should work fine. The baud rates match between Serial.begin() and the monitor setting?

Dave

User avatar
Kingfrankbob
 
Posts: 37
Joined: Thu Jul 19, 2018 7:11 pm

Re: Matrix M4 portal Not communicating

Post by Kingfrankbob »

Yes I have all of that set correctly, I got it to work one time, and then it said the accelerometer couldn't be detected, I will try again though.

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix M4 portal Not communicating

Post by dastels »

You hadn't mentioned the accelerometer before.

Can you be more precise about exactly what is happening?

Dave

User avatar
Kingfrankbob
 
Posts: 37
Joined: Thu Jul 19, 2018 7:11 pm

Re: Matrix M4 portal Not communicating

Post by Kingfrankbob »

dastels wrote:You hadn't mentioned the accelerometer before.

Can you be more precise about exactly what is happening?

Dave
Dave,
Please dont worry about the accelerometer as that error hasnt happened yet again. I upload the program pixeldust, from the protomatter library, which has the line, ""Serial.printf("Protomatter begin() status: %d\n", status);"" and the ""Serial.begin(115200);"" I have the serial monitor set to 115200, and it wont communicate I freshly uploaded the program and opened the serial comms to see what was happening and nothing, if you would like me do a short video of the process I am able to do that.
Attachments
SS of my process.
SS of my process.
Screenshot (2)_LI.jpg (984.5 KiB) Viewed 258 times

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Matrix M4 portal Not communicating

Post by dastels »

Try putting a Serial.println("Started"); or similar BEFORE the matrix.begin() line. I'm wondering it that is going wrong.

Dave

User avatar
Kingfrankbob
 
Posts: 37
Joined: Thu Jul 19, 2018 7:11 pm

Re: Matrix M4 portal Not communicating

Post by Kingfrankbob »

So I put a Serial.println("Tst") in the void setup and it doesn't print for some reason, but when I put it in the void loop it will print, I also moved the Serial.begin(115200); and put it at the end of the Serial.begin so, I think I solved it with your help of moving some of the lines! Thanks for the suggestion!

Locked
Please be positive and constructive with your questions and comments.

Return to “Itsy Bitsy Boards”