bromagosa / Snap4Arduino

Binding Snap! and Arduino together
http://snap4arduino.rocks
GNU Affero General Public License v3.0
134 stars 85 forks source link

Snap4Arduino, cannot connect to arduino #309

Closed SRayGT closed 2 years ago

SRayGT commented 2 years ago

I am teaching coding using Creator MicroBots and MiniBots 2.0. I am attempting to block code using Snap4Arduino. My bot is plugged into my computer USB. LED lights are on and everything is wired in correctly. However, when I try to execute code, it says "Error arduino not connected."

SRayGT commented 2 years ago

I've gone through the steps under the Arduino tab to connect my bot. It was unsuccessful. I tried to run the standard firmata and it showed an error message

jguille2 commented 2 years ago

Hi @SRayGT ,

We need more details to help you.

About your first post... it is the normal behavior. If you don't connect any device and play any "Arduinos" block, the message will be just: "Error arduino not connected."

But I guess you have tried to "Connect Arduino". What is the result message after this action?

And some extra comments... Are you using those devices with other programming languages or utilities? This question is because some OS (like Windows) need special drivers installed... and others (like Linux) need to set USB (and serial) permissions correctly. For example, if you are using Arduinos, installing Arduino IDE on your computer could fix those problems (because it installs drivers and/or set permissions).

If this is not the problem... Tell us more details (OS, device, error messages...)

Joan

SRayGT commented 2 years ago

Hi! Yes I tried to connect on the Arduino tab after attempting to upload the Standard Firmata on Arduino IDE. Neither were successful. I updated my computer overnight and it finally worked today. Thanks for your help.

On Tue, Sep 28, 2021 at 8:12 PM Joan Guillén i Pelegay < @.***> wrote:

Hi @SRayGT https://github.com/SRayGT ,

We need more details to help you.

About your first post... it is the normal behavior. If you don't connect any device and play any "Arduinos" block, the message will be just: "Error arduino not connected."

But I guess you have tried to "Connect Arduino". What is the result message after this action?

And some extra comments... Are you using those devices with other programming languages or utilities? This question is because some OS (like Windows) need special drivers installed... and others (like Linux) need to set USB (and serial) permissions correctly. For example, if you are using Arduinos, installing Arduino IDE on your computer could fix those problems (because it installs drivers and/or set permissions).

If this is not the problem... Tell us more details (OS, device, error messages...)

Joan

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bromagosa/Snap4Arduino/issues/309#issuecomment-929741161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV2SXM76YVYXFLPNIWNHU73UEJRWVANCNFSM5E6C3T3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.