Electronic Playground With Arduino and Scratch 2

Project tutorial by MJRoBot

  • 1,361 views
  • 0 comments
  • 13 respects

Physical Computing - Scratch for Arduino

Project tutorial by MJRoBot

  • 973 views
  • 2 comments
  • 8 respects

Arduino Color Detection

Project tutorial by MJRoBot

  • 2,956 views
  • 1 comment
  • 8 respects


Replicated projects 0

 MJRoBot hasn't replicated any projects yet.

Robot for supercool indoor navigation

Project tutorial by Team oblu

  • 5,713 views
  • 8 comments
  • 31 respects

Rocky Rover: Robotic Vision System PixyCam & Arduino 101

Project tutorial by Ron Dagdag

  • 10,639 views
  • 5 comments
  • 82 respects

Intel Arduino 101 BLE Blynk Tank

Project tutorial by Johnathan Hottell

  • 8,037 views
  • 5 comments
  • 33 respects

  • Connecting "stuff" via Bluetooth / Android / Arduino about 2 months ago

    Arduino "language" is closer to C++

  • Connecting "stuff" via Bluetooth / Android / Arduino about 2 months ago

    ;-) OK. Only I thought that I could explain better in Portuguese. Anyway, I try send you an explanation above. But maybe is better if you follow a C++ explanation about strings/char and how they are build.

  • Connecting "stuff" via Bluetooth / Android / Arduino about 2 months ago

    The bellow function is the one responsible to create the command string.
    while (BT.available()) //Check if there is an available byte to read
    {
    delay(10); //Delay added to make thing stable
    char c = BT.read(); //Conduct a serial read
    device += c; //build the string.
    }

    The BT.read() will read character by character, its the way that it was build inside the library. That's because you must use "char c" to receive the data. The BT device will send 7 characters, so, during the time that the BT.available() is TRUE (look the while), you must "store" each character on the string command. You do it with the line: device +=c;

    When you enter in the above function, command must be empty. So you can load it with a fresh command.

    What is your mother language? Portuguese?

Add projectSign up / Login