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.
Type: Posts; User: Robbert
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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....
FIXED;
So I've just fixed it by just putting everything inside audioController.cpp as follows;
#include "audioController.hpp"
// GUItool: begin automatically generated code
...
@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>
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...
Thanks, this is definitely what I was looking for.
Just forgot the whole passing by reference thing in C++. Good reminder.
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 :)
This actually just fixed it;
int setPort; // Data-type for correct port-handling
setPort = 4;
serialArray[setPort-1] = Serial4; // RX31 TX32 - Teensy 3.5...
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...
Thanks everyone for the replies.
Fixed the problem and learned something again ;)
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...
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...
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...
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...