Arduino YUN and sha...
 
Notifications
Clear all

Arduino YUN and shakeit motor

6 Posts
2 Users
0 Reactions
1,416 Views
(@ciccio88it)
New Member
Joined: 4 years ago
Posts: 4
Topic starter  

Hi,

 

i have a problema with arduino yun. I can load the sketch correctly, but after that the hardware is not detected.
the board is an arduino YUM (original), I can upload the sketch using the arduino LEONARDO mode, they are both based on the (ATMega32U4 board).
I also tried to change the speed of the serial, both in the windows settings and in the program. Some idea?

 

I have upload some screens

https://ibb.co/Ln3Ldjg
https://ibb.co/xqchPfb

This topic was modified 4 years ago by ciccio88it

   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

Hi !

I'm sorry the Arduino Yun is not part of the supported boards. I guess that uploading a firmware compiled for another board (even if using the same mcu) could be the cause of the issue. It would be better to stick to a supported board like Uno which is cheap and far enough for the purpose.

Nicolas


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

NB : I've encountered a few times some defective/badly soldered adafruit motor shield v2 which will freeze the Arduino when initialized (it won't prevent upload) a quick check for this is to simply remove the shield and see if it connects.


   
ReplyQuote
(@ciccio88it)
New Member
Joined: 4 years ago
Posts: 4
Topic starter  

@admin5435 thank you for your suggestion. 

I tried to start it only with the arduino and it is recaptured!
After replacing an extension (the YUN having the ethernet port is higher and the shield needs extensions to get to the pins), even with the shield attached it is recognized!

But now I have another problem. I was uploading the sketch for ADAFRUTI MOTORSHILED V2, but I have a SUNFOUNDER L293D, which appears to be the same as the SHAKEIT DK MOTOR SHIELD board. When I go to load it, however, it gives a compilation error.
Any other super tips?
In the meantime, thank you very much for the previous advice!

 

https://ibb.co/kyZGrsB
https://ibb.co/0MKyfkH


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

Ah,the dk motor shield has been deprecated for years and the manufacturer library is not available for anything more recent than Arduino Uno ( Arduino Mega 1280 & 2560, Diecimila, Duemilanove, and UNO are supported by the library to be exact)


   
ReplyQuote
(@ciccio88it)
New Member
Joined: 4 years ago
Posts: 4
Topic starter  

In the meantime, thanks for the support.
I bought an ADAFRUTI MOTORSHILED and I can confirm that now everything works perfectly.
Immediately, despite having activated the SPEED mode in EFFECT PROFILE, the SPEED voice did not come out MOTORS OUTPUT, so it did not go. After a few reboots and tests with the STATIC WIND modility, the rumor appeared.
Even with the YUN it works!
If you need some tests for this type of card, I am available.


   
ReplyQuote
Share: