@KurtE - Teensy_loader_cli.sln works to build setting Debug x86:
Usage: teensy_loader_cli --mcu=<MCU> <file.hex>
Hello World - Defragster was here!
-w : Wait for device to appear
...
Hello, I am following up on this thread with a problem I'm having as I run a number of tests. I chose to post this question here because it is directly related to my project.
The test in question is fairly...
Thank you very much for this information, since this new information, i wonder this hypothetical scenario, imagine if my 20dollar multimeter shows lets say a 1.18v on the PWM pin, since it actually goes up to 5v and...
I was mashing together a few different Sparkfun boards, there was a POE board that had all that extra stuff. It should have all your notes in there. I checked the Arduino to MM pins, they look good. Looking at the eval...
Yes, it is very easy to clip any drawing operation to a given rectangular region of an image by creating a sub image referencing this region and drawing on it instead of the main image. Let me illustrate this. Say you...
Thanks.
So I've tried it but it doesn't solve the problem for me.
Now I see that:
Received 1024 bytes succesfully.
Received 3235 bytes of bulk dump (at 1078333 bytes/s = 1053,06 KB/s)
Quick update: I reworked the setup, such that the Visual Studio builds using the same .c file as used in the makefile
I then added the external stuff into that source file. And it appears to build again.
I then...
I think it's a bug in the teensy 4 USB library. Paul should know what doesn't work there.
I modified the usb.c in the midi library. It works. But it's not a good solution.
File Path: C:\Program Files...
Hi,
I've got some problem with usbMidi too.
I try to send a DX7 bank sysex file by usbMidi (file stored on a SD card).
When I send only a patch it's working perfectly.
But when I try to send the whole file (4104...
Hello again,
So I've been looking at calibrating custom built low rpm bldc motors with a magnetic rotatory encoder. I've been investigating different encoders and have settled on the as5600. I've found some code here...
In order to generate an analog voltage, you need a DAC output, which Teensy 4.x does not have. When you use AnalogWrite() on a digital pin, you are creating a PWM signal. The 2nd argument to the analogWrite() is the...
Greetings, im jus starting to learn how to use this wonderful board, i have found out that i need to output specific voltages through 1 wire, those voltages usually range between 100-500milivolts.
Naturaly i assumed...
Hi,
I just want to let you know that I updated the ILI9341_T4 library so that it now accepts any pin for CS and DS (but using a hardware CS pin for DS will provide the best performance). So you can now try it with...
Hi,
I am using the Teensyduino Beta 1.57 on a great, full featured Teensy 4.1
I am implementing a file transfer as soon as a pen drive ist inserted to the USB Host. It works, slowly but stable.
Declaration...
Good to know it is working :)
I think it should be faster using only 3 chunks instead of 4 no ?
By the way, I just push an update to the library with some breaking change: the view port dimensions are not...
I should also mention, a few other pins configure the chip (in the absence of MDIO usage) depending on their voltage at startup. But I believe they all have built in pullups for the settings we will use. And even if...
Here's a few possible issues I see...
VDDCR must not connect to 3.3V. This is the output of a 1.2V LDO regulator which powers internal circuitry. Add capacitors to this pin, but do not connect to any other power,...
I know, on the card is pin 8 not labelled as sda0.
But there are also this pinout cards form KurtE in this github repository.
In this pdf, to be exactly.
In one of those cards
Oh no. I've just recognized that I've...
Thanks for the groundwork on this Paul. I started an Eagle schematic, pdf attached.
I'm not quite done, need to find an LDO and finish up the voltage regulation section. Maybe bring out some pins to a header and add...
I just tried the simple example on a Teensy 4.0 and get the same result as with the T3.6, with missing note events if I simultaneously vary the modwheel touchpad rapidly on the minilab.
So perhaps it's not a...
You might want to give my Dynamic Audio Library a try out: the updated audio objects are on github, and you also need AudioStream.cpp and .h from cores, which can be found here. I started a thread on the updated...
Looking at the T_4.1 card here pin 8 is not labelled as SDA/{SDA0}. SDA/{SDA0} is pin 18? And that is on the opposite side of pin 8, the same side as pin 35.
Hi
I'm working on my Solartracer / Weather station project.
Goal is to have a Solarpanel which faces towards the sun and follows.
I use a Teensy4.1 for this project. There are several sensors attached and finally...
Even though the example bytecount isn't assigned from readBytes(), I've updated the web page to show unsigned int type rather than unsigned char.
I'm curious, was this question also asked on NXP's community forum? ...
Thanks for replies on "what scale to use". For viewing the details of the sound in the higher frequencies the difference is not big. But it might help to stretch the band around the 20kHz. A lot of sound there what...
Paul,
I think you just pointed out the problem. I copied the code from https://www.pjrc.com/teensy/td_serial.html, and didn't notice the bytecount is defined as unsigned char, while the available byte counts can be...
p.s. if anyone else happens to have an Arturia Minilab II and is willing to try the above example code whilst playing notes and sweeping the modwheel slider it would be good to get verification of the problem.
Or if...
I just had a look at the library code. You can simply attach a nullptr to remove the callback.
I.e.:
SpindleEnc.attachCallback(onEncoderChanged); // attaches onEncoderChanged to SpindleEnc...
Richard:
I took another look at my TeensyMIDIPolySynth source & realized that there is one additional difference in my implementation of the USBHost interface that might be pertinent. Because I have only used T4.x...
Thanks for this! I went with this loop in the end, which works for even multiples of the screen height:
static const int SLX = 480;
static const int SLY = 800;
static const int chunks = 4;
static const int chunkSize...
It's coming along nicely, thanks. Just got the preset buttons on the Akai MIDI mapped to the QOSCs, with 8 channels in 8 columns and harmonic waveforms in rows. Now, I can select the image frequencies, plus 2 LFO's, and...
When you try larger reads, is "bytecount" still only an 8 bit number? Storing the result into only 8 bits would explain why you get 0 when you should get 512.
If this doesn't help, maybe you could consider showing a...
Thank you very much for your wonderful explanation of all the possibilities i currently have to read such data, im really new at Teensy and your post is very enlightening, you have no idea how hard was to find a post as...
Ok I think the problem is SerialUSB1.readBytes() itself. I am sending a big chunk of 32K bytes from pc. int handleDataTransfer(){
unsigned char bytecount = 0;
int rd=SerialUSB1.available();
if(...
Thanks Mark,
I very much appreciate any and all suggestions, as I'd really like to have the option of connecting controllers to my synth without a computer. But this is a synth I'd like to make into a product so (for...
Hi,
I would suggest you use an internal framebuffer. Since your screen is monochrome with size 128x64, a memory buffer will only take 128*64 / 8 = 1kb of RAM (at 1 bit per pixel). You may use the GFXCanvas1 class...
Hi KurtE,
Thanks for the reply.
The display can be showing several things as it has 3 pages. One page is just settings for the project so can be ignored. The other two screens show details about the clocks...
Hello Mark
I am sorry. But unfortunately I can't help you much.
Unfortunately, I don't know much about C-classes. I copied the scope code from another open source project.
For display output I use a frame...
I've been using the audio library for some interesting non-audio things. In one of the processes I've written, I've had a need to flush an FFT of all data and start putting new and different data in it. I'd first...
Here is an (untested) snippet of code for drawing a 400x700 viewport centered on a 480x800 screen (in portrait mode) in two passes. First we draw and upload the upper half of the viewport then we do the same with the...
I don't see how it can not be connected unless that etch run has burnt open. You could check that by checking for 5 volts over on pin 1 of Encoder1. (But it would be much better if you check for etch continuity using...
Kurt - works to build fine as x86:
D:\Tim\downloads\Teensy_loader_cli\Debug>Teensy_loader_cli.exe
Filename must be specified
Usage: teensy_loader_cli --mcu=<MCU> <file.hex>
-w : Wait for device to...
Might help if we had a better idea of what is going on and what you would actually like:
That is you say you have 4 clocks running that can update the display? Do they want to update the whole display, or do they...
I now have upgraded to ILI9341_t3n, but I still have Arduino 1.8.13 and Teensyduino 1.53. This must be the reason why it does not work for me.
Thanks for the opaque text output, this is much better!
Until I update...
@Rolfdegen (or anyone else who has already succeeded in adding an oscilloscope display to your TFT project display):
I would like to add an oscilloscope display of the (digital) audio stream created by the Teensy...
Not right now I am building for Debug x86
I am not sure if x64 can build.
If you open properties on project:
Go to linker/Input section
The Additional Dependencies:...
Hi all,
i am working on a project which uses a SSD1306 display connected to a Teensy 3.2. At first i was updating the display whenever something happened which should cause the display to be updated. That didn't...
Didn't restart yet - opened and build gave this:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailW referenced in function...
It was asking for some specific 1.45 (?) tool pack. Rather than see if an update would grab it (or it could be found) - the Install of VS2022 Enterprise is done - ready for a reboot
Thehermit... How are you getting on with this project? I'm now able to project ilda files by using laserboy to convert them to wave files first. The results are quite good.
Great, sounds awesomely flexible! I tried with a full 480*800 buffer with all storage in EXTMEM, and "buddha" worked, managing 6.3 FPS :) "mars" also worked (slowly as expected) using fullscreen EXTMEM buffer. Sample...
I just need also 0-5V CV octave/volt from teensy 4.
I used I2c dac and get nice 0-3.3V output then use opamp for amplify it to 0-5V but opamp is not really super solution in this case.
Paul what do you think, if I...
Yes, the 3D renderer is part of the TGX library which is completely independent of the screen/graphic driver used. All the renderer does is to draw graphics in regular RAM and then it is up to you to decide what you...
For the heck of it, I thought I would see if I could make a version of the teensly_loader_cli that builds on windows using visual studio.
For Linux it was easy to build even under windows using the WSL setup, but for...
Logarithmic frequency scales are very common in bio-acoustics as they reflect the hearing capabilities of animals.
However FFT is common in signal processing as it is fast but results in a linear frequency scale....
Hi Eef, I think you are referring to MEL scale.
I think it would become quite hard to determine the species since all batworkers are used to the linear scale (All books and other images I have seen use linear...
Hello everyone,
I would like to show you the project I am working on for more than a year now.
It is called Beatmaker's sketchbook and is an Open Source Sampler & Sequencer, based on a Teensy 4.1.
Check out this...
@vindar - is there an example of configuring your 3D renderer to use just a single non-DMA partial framebuffer? I'm interested to try this on my 800*480 16 bit parallel screen which, given the size and the nature of...
In general, if you go over to https://www.pjrc.com/teensy/td_libs.html, it has all of the pages for documentation about the Teensy libraries.
From there, go to the SPI page,...
It depends on which country or continent you live in/on. Here is an enclosure company based in USA:
https://www.polycase.com/
Lots of options even handheld boxes if you have drill and router to open holes for...
@rvh: Regarding your earlier question on the use/need for calling myUSB.Task(), the USBhost source shows:
/**
* \brief USB main task, responsible for enumeration and clean up stage.
*
* \note Must be...
Use Teensy Loader's auto mode. Once the HEX file is loaded and auto mode is on (which is the default if Arduino caused the hex file to load automatically), then you just plug each Teensy into the USB and press its...
Is anyone using a lockable Teensy 4.1 in production? I am starting to produce my Teensy 4.1 based product and was curious as to what the most optimal workflow is for programming and securing the Teensy. It appears...
#define USE_NATIVE_ETHERNET
#define USE_ILI9341_T3N
//#define USE_ILI9341_T3
#ifdef USE_NATIVE_ETHERNET
// In NativeEthernet.cpp,EthernetClass::begin(...) you must remove waiting on the link status:
/// ...
As I understand it, the usb_midi_flush_output() function is responsible for deleting unread data in the midi buffer.
Since I am constantly querying the Midi buffer in my Polyphonic DIY Synthesizer with MIDI.read()...
And already a question:
When I look at the display and settings of the filter, I see this is measured in kHz and scale is linear (what seems very logical at first sight).
However our ear works in a logaritmical...
Dear members of the forum. Being new here: My name is Eef, and just finished building the detector, with some great help from Edwin.
And compliments for Cor, Edwin and others who contributed here: Great job. (I don't...
i see what you are saying, it is just confusing in the diagram tho, pin 3 hav 3.3V and there is no connection there to the 5V as it seems in the picture. i checked it with a voltage-meter.
Hello all, I am new to the Forum and to the Teensy devices.
I am working on a CAN-ModbusTCP bridge, with a Teensy 4.1 and native PHY Ethernet.
Currently, I have this project working good with an Arduino Mega 2560,...
I have copy-pasted your entire code into a new sketch, uploaded it, and it makes no difference for me:
the output stops after "initializing ILI9341" and when I upload another sketch I have to press the Teensy button....
I have not been able to make the Arturia minilab II work reliably with midi via the USB host port, so it seems the T36 host lib as it stands cannot be used in midi products that would be released to the general public...