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 #293

Closed Nikau closed 1 year ago

Nikau commented 4 years ago

Firmata is loaded and tested on my Arduino but SNAP4Arduino either cannot find board or connects and then within seconds disconnects. I have tried with both the downloadable version and the online version on Chrome with relevant installed extension.

jguille2 commented 4 years ago

Hi @Nikau,

Chromium plugin should work too, but let's look at the desktop version first, that is the most stable and complete. Many possibilities here... but you have said sometimes it connects and disconnects after few seconds. So, I guess drivers, port permissions, firmware... is ok. My question, What board have you? And what elements (motors, servos, bluetooth...) have you connected to that board?

Sometimes the problem is only on power supply. If your elements consume too much intensity, maybe the communication (PC - board) is broken (maybe only in small moments) and then, the board is disconnected from Snap4Arduino.

Test with your board without any element or change the power supply. Continue...

Joan

Nikau commented 4 years ago

Hi, thanks for getting back to me...the board I am using is based on the Arduino Pro Board(The Victoria University Wellington(New Zealand) Quizmaster board is based on an Arduino Pro board ( arduino.cc/en/Main/ArduinoBoardPro), which uses an ATmega328 microcontroller.)I successfully uploaded the Standard Fermata sketch and I have checked to see that this has loaded and it all checks out. Please note that there are no external devices connected to the Arduino Board. The desktop version of Snap4Arduino sometimes connects with the board successfully but moments later disconnects. I will try again tomorrow with the Arduino Nano. I am really wanting to use this package with my high school students to help them learn about Robotics. Regards, John Bleakley

On Mon, Jan 27, 2020 at 2:06 AM Joan Guillén i Pelegay < notifications@github.com> wrote:

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

Chromium plugin should work too, but let's look at the desktop version first, that is the most stable and complete. Many possibilities here... but you have said sometimes it connects and disconnects after few seconds. So, I guess drivers, port permissions, firmware... is ok. My question, What board have you? And what elements (motors, servos, bluetooth...) have you connected to that board?

Sometimes the problem is only on power supply. If your elements consume too much intensity, maybe the communication (PC - board) is broken (maybe only in small moments) and then, the board is disconnected from Snap4Arduino.

Test with your board without any element or change the power supply. Continue...

Joan

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bromagosa/Snap4Arduino/issues/293?email_source=notifications&email_token=ABZ4Z366JKNET5MM5RW7CZTQ7WDG7A5CNFSM4KLVDO52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ5TMJI#issuecomment-578500133, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ4Z34UT7UK3QHN2U5OXGDQ7WDG7ANCNFSM4KLVDO5Q .