Coder Social home page Coder Social logo

osX, can't detect board. about s2a_fm HOT 5 CLOSED

mryslab avatar mryslab commented on August 29, 2024
osX, can't detect board.

from s2a_fm.

Comments (5)

MrYsLab avatar MrYsLab commented on August 29, 2024

Do you have either StandardFirmata or FirmataPlus uploaded to the Arduino?

If yes, could you please run this test program and let me know the results.

Here is a sample output of that program:

Please Enter Your Serial Port In Quotes:'/dev/ttyACM0'
Attempting to open /dev/ttyACM0 at 57600
Serial Port /dev/ttyACM0 is open

from s2a_fm.

MrYsLab avatar MrYsLab commented on August 29, 2024

@Cyberek If the test program is successful, then please show me the command line you are using to start s2a_fm. Thanks.

from s2a_fm.

Cyberek avatar Cyberek commented on August 29, 2024
Please Enter Your Serial Port In Quotes:'/dev/tty.usbmodem1411'
Attempting to open /dev/tty.usbmodem1411 at 57600
Serial Port /dev/tty.usbmodem1411 is open

I use this port to communicate via Arduino software.

from s2a_fm.

MrYsLab avatar MrYsLab commented on August 29, 2024

Good, so we know that pyserial can open your serial port. I don't own a Mac and that is why I am asking you to help me debug your problem.

The next step is to try another simple program that will blink the on-board LED (L13). The program is here. I edited the program to use the serial port you are using, so you just need to run this program and should not need to make any changes to it.

If this program fails, then I would like you remove the USB cable from your computer and then plug it back it. Wait about 10 seconds to allow the board to reset and try running the program again.

If this now works, then I would try removing and replacing the cable again and then try rerunning s2a_fm.

Please let me know the results.

from s2a_fm.

Cyberek avatar Cyberek commented on August 29, 2024

I was able I solve the problem... Formata was somehow missing from the board causing all the problems. FirmataPlus works really well with all sensors. Thanks for the support.

from s2a_fm.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.