Coder Social home page Coder Social logo

Comments (4)

msadowski avatar msadowski commented on June 7, 2024

As a follow up test I've tested this with a trivial sketch that reads serial data and sends it back. I can confirm that this issue is also visible in this case:

int incomingByte = 0;    // for incoming serial data

void setup() {
    SerialUSB.begin(9600);    // opens serial port, sets data rate to 9600 bps
}

void loop() {
  // send data only when you receive data:
  if (SerialUSB.available() > 0) {
  
    // read the incoming byte:
    incomingByte = SerialUSB.read();
  
    // say what you got:
    SerialUSB.print((char)incomingByte);
  }
  
}

from 9dof_razor_imu.

santaimpersonator avatar santaimpersonator commented on June 7, 2024

What does SBC represent?

I've used the Razor on multiple computers and I've never had an issue retrieving data or controlling it from a serial terminal (emulator) after the computer boots. Have you tried debugging whatever the SBC is?

from 9dof_razor_imu.

msadowski avatar msadowski commented on June 7, 2024

SBC is "Single Board Computer" in this context. Basically any time I was powering the machine with the board already plugged in I was having issues.

from 9dof_razor_imu.

santaimpersonator avatar santaimpersonator commented on June 7, 2024

I have never had any issues with the Razor working on a Raspberry Pi from boot up. However, I have never really been trying to control it through the serial (USB) connection. I was mostly testing it out as a VR headset concept:
https://www.sparkfun.com/news/2882

  • Maybe it is a kernel/application specific issue communicating with the USB device? I have found screen to work consistently, don't forget to check your baud rate... I've seen some emulators display properly at double/quadruple the baud rate.
  • Since you are using an SBC... have you tried just connecting it to the serial pins directly?

from 9dof_razor_imu.

Related Issues (20)

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.