home.social

#firmata — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #firmata, aggregated by home.social.

  1. The #Arduino homepage is so bloated now it crashes my browser, it's amazing!

    On other news, I'm going to try switching fom #firmata / #pyfirmata to #telemetrix (mryslab.github.io/telemetrix/) let's see how it goes...

    Also, our recurrent reminder that the origins of Arduino are more interesting that what is usually reported: arduinohistory.github.io/ #Wiring

  2. vvvvTv got renewed for Season 2 and the pilot episode aired last night!

    In it we demo a quick way of reading sensor data into and controlling motors from vvvv. We demo this using an Arduino board running the Firmata firmware, which means that there is no coding required on the arduino side.

    youtu.be/uvLNZsStve8

    #vvvv #visualprogramming #creativecoding #dotnet #arduino #firmata @arduino

  3. Getting #firmata data into #MaxMsp seems disastrously tricky. Pduino is so easy. How is something with so much investment so hard? Surely there's an easy object somewhere?

  4. Ok, you want to send data to your computer from your code running on your arduino and you don't want to design a protocol? Use #Firmata!!

    It's easy and fun!

    In the top of yor file don't forget to

    #include <Firmata.h>

    In your setup:

    //start serial connection
    Firmata.setFirmwareVersion(FIRMATA_FIRMWARE_MAJOR_VERSION, FIRMATA_FIRMWARE_MINOR_VERSION);
    Firmata.begin(57600);

    In your loop:

    // Send any analogue data whenever *you* feel like it without having to set anything in the client code!

    Firmata.sendAnalog(SENSOR_PIN, analogRead(SENSOR_PIN));

    And, when you want to send something weird, like the results from your proximity sensor, you can roll your own sysex:

    Firmata.write(START_SYSEX);
    Firmata.write(SONAR_DATA);

    Firmata.sendValueAsTwo7bitBytes(distance); //writes value as 2 bytes
    Firmata.write(END_SYSEX);

    Then, when you want to receive all of this stuff in PD, you treat the analog stuff as normal.

    For the sysex, let's assume SONAR_DATA is 99:

    [arduino 1]
    [route analog 99]

    The first outlet goes to do your analog stuff.
    The second outlet outputs the two byte long distance that you measured with your sonar.

    Need extra sonar modules? Increment the IDs!

  5. 76-bit Trombones Led By The Big MIDI File - Inspired by the creative genius of Martin Molin of Wintergatan fame, [iSax] set out to create a robo... - hackaday.com/2020/12/27/76-bit #arduinohacks #musicalhacks #pneumatic #trombone #firmata #midi

  6. Interface Your C64 With Arduinos Through Firmata - Microcontrollers are cool, but sometimes the user interface options they can deliver are disappoin... more: hackaday.com/2019/04/09/interf #retrocomputing #commodore64 #arduino #firmata #c64