Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Robbert

Search: Search took 0.00 seconds.

  1. Thanks, that definitely looks like an option to...

    Thanks, that definitely looks like an option to check out. I might need one that allows for slightly higher output current, but will look into it and update if this solved my issue.
  2. Yes, the USB cable feeds the power from the RPi...

    Yes, the USB cable feeds the power from the RPi -> Teensy so everything on the board is sharing that power. I can't see a way to upload an image here, but you can check out a photo of the board here...
  3. Audio shield noise Teensy 4.0 / Raspberry Pi 4

    Hi there,

    I am experiencing high-pitched noise over both the line-out and the headphone jack of the SGTL5000 audioshield. The sound that is programmed to be there comes through too, but there is...
  4. It's running a custom application written in C++...

    It's running a custom application written in C++ using OpenFrameworks. So there is basically a similar structure running on the Raspberry Pi as on the Teensy. Here's some documentation on their...
  5. Teensy 4.0 Raspberry Pi 4 serial communication problems.

    Hi there,
    I've been struggling with this for quite some time now so hope someone might have an idea;
    I have a Teensy 4.0 hooked up with some RX/TX pins (Hardwareserial) through an FTDI converter...
  6. Replies
    1
    Views
    1,098

    RX/TX question on Teensy 4.0

    Hi there,

    I'm working on an installation for which I need to use 3x RX/TX pins from the Teensy 4.0. Two of them go to FTDI converters that then connect to two Raspberry Pi, and one goes into an...
  7. Replies
    7
    Views
    2,059

    I guess I could also just have (for example) 4...

    I guess I could also just have (for example) 4 boards per teensy, and then have one 'master' board that sends data over to the correct 'slaves'. The image is not changing that fast in my...
  8. Replies
    7
    Views
    2,059

    Thanks for your reply! Just wondering if you ment...

    Thanks for your reply! Just wondering if you ment to say; 640 pixels * 32 rows (typed 16 in post) * 50-60 times per second. Cause if you actually ment to say 16, I wonder why it would be 16 instead...
  9. Replies
    7
    Views
    2,059

    LED matrix questions

    Hi peeps,

    I'm planning to make an installation that makes use of a bunch of (preferably daisy-chained) LED matrixes like this Adafruit one; https://www.adafruit.com/product/2278
    Before I buy...
  10. The two boards are sending over RGB data that I...

    The two boards are sending over RGB data that I convert from 8-bit RGB into a frequency range of 85-400hz. This (rather odd) protocol is part of an art installation I'm making. The chosen frequencies...
  11. Okay, so I'm trying my best to thoroughly...

    Okay, so I'm trying my best to thoroughly understand this ;)

    The algorithm will ALWAYS calculate at least 24 blocks, using about 70ms. It will then output the number of frequency that it is most...
  12. I mean; notefreq1.available() is true only...

    I mean;

    notefreq1.available()

    is true only 2 to 3 times when i cycle through it, which is when I call notefreq1.read() and save that value.
    I do have a 5ms delay in the loop at the moment. But...
  13. Hey Duff, Thanks for the answer, so far pretty...

    Hey Duff,
    Thanks for the answer, so far pretty much all code is in place, and saving and such. Basically one teensy works as a sender beeping of sine-waves in different frequencies. Those then get...
  14. Detection time for noteFrequency in teensy audio lib

    I'm making an installation in which two seperate microcontrollers send over data by using frequency values.
    I've decided to use the notefreq (AudioAnalyzeNoteFrequency object) to do that detection....
  15. Replies
    4
    Views
    1,529

    FIXED; So I've just fixed it by just putting...

    FIXED;

    So I've just fixed it by just putting everything inside audioController.cpp as follows;


    #include "audioController.hpp"

    // GUItool: begin automatically generated code
    ...
  16. Replies
    4
    Views
    1,529

    @wcalvert that's what I would expect but it...

    @wcalvert that's what I would expect but it doesn't seem to work.
    Here's my code;

    audioController.hpp

    #pragma once

    #include <Arduino.h>

    #include <Audio.h>
  17. Replies
    4
    Views
    1,529

    Audio Lib inits in other than main.cpp

    I've used the audio library before and had trouble when pasting the init code in another .hpp file, other than main.cpp

    By init code I mean the code the audio library generates:


    #include...
  18. Replies
    9
    Views
    3,041

    Thanks, this is definitely what I was looking...

    Thanks, this is definitely what I was looking for.
    Just forgot the whole passing by reference thing in C++. Good reminder.
  19. Replies
    9
    Views
    3,041

    Could you maybe post a simple example of this?...

    Could you maybe post a simple example of this? Can't seem to figure it out;

    I've been trying to push the initiated Serials into an HardwareSerial* serialArray[6];
    But doesnt seem to work :)
  20. Replies
    9
    Views
    3,041

    This actually just fixed it; int...

    This actually just fixed it;



    int setPort; // Data-type for correct port-handling
    setPort = 4;
    serialArray[setPort-1] = Serial4; // RX31 TX32 - Teensy 3.5...
  21. Replies
    9
    Views
    3,041

    Array of HardwareSerial objects

    I'm making a project that involves a lot of communication to boards. (driving a lot of octoWS2811).
    Therefore I'm using the Teensy hardware serial. I was planning to put those into an array and then...
  22. Thanks everyone for the replies. Fixed the...

    Thanks everyone for the replies.
    Fixed the problem and learned something again ;)
  23. I've declared it in the code with the PROGREM...

    I've declared it in the code with the PROGREM keyword. Does that mean the Teensy doesn't store it in PROGREM memory anyway? Because taking away the & actually fixed it now... Kind of overlooked that...
  24. 16bit gamma correction on Teensy not working as expected

    So I'm running an installation with a Teensy 3.5 controlling 10 TLC59711 LED drivers.
    I've been wanting to implement some gamma correction for the LEDs (as described in this article by Adafruit...
  25. So after posting this and fiddling around for...

    So after posting this and fiddling around for some time more I managed to fix the problem. Somehow it seems the audio library class instances have to be initiated in the main loop. As I still wanted...
  26. Teensy audio not working with external power

    I've been writing a project for two Teensy's including SGTL5000 audio shields. The code for both teensy's can be found here: https://github.com/RobbertGroenendijk/protocol_1
    They're communicating...
Results 1 to 26 of 26