Fixed in https://github.com/h4yn0nnym0u5e/cores/tree/feature/Audio%2Fminor-connection-improvements, and I've put in PR #556 on GitHub. I believe this not only fixes this bug, but also makes it safe to connect and...
Hello, I meet almost the same issue. I have two detected gamepad controllers when I plug my Teensy Lc. Joystick and buttons work in the RetroPie menu but not in the games. I tried all different Joystick codes I found on...
Hi Wcalvert, thank you for the suggestion, I will try that in the morning. Yeah apologies for the ugly code format, I wasn't sure how to attach it nicely, will do next time.
Thanks again,
Harry
I have a couple devices that have serial out for data. One has a baud rate of 38400 maximum and the other needs to run at 921600 minimum. Serial data is coming in in ~10hz chunks and are asynchronous between the two...
Are the yellow and green wires soldered on to the board at the right? It looks like they are jumper wires whose pins might just be pushed into the holes in the board.
Pete
When I am talking about adding DC, I am talking through a large value resistance and sensing the voltage division (or shorted to ground). The current through the transducer would be very small. The problem is detected...
I believe you missed myusb.Task() inside your loop() in the "host" code. Also if you could wrap your source code in code tags next time, it would be a lot easier to read.
Out of curiosity I soldered a crystal and end header to my T3.2, hooked up a 3V coin cell and loaded the stripped down and modified version of the TimeTeensy3 sketch shown below. I removed all the time sync stuff (which...
Nope:
hm01b0_testv3:503: error: duplicate case value
case 48:
^
hm01b0_testv3:489: error: previously used here
case '0':
^
only wants single characters - maybe redo section for way it...
I saw some hangs leaving Vid mode as well in some combination with ILI9341 - thought it was just an invalid command series but it was there. Some part of the DMA left active doing interrupt spasms?
@mjs513 does the "case 0x30:" work as "case 48:" ?
I've got outdoor things to do as well. Spring sun is sprouting trees in deck cracks and a pickup firewood to unload.
I did GIT that ST7735 lib ... Would be nice...
I've already used library UTFT and Teensyduino to connect Teensy 3.2 using DB pins but I've not been able to use optimized ILI9341 library to run my TFT, I'm not sure if I'm doing bad wiring or it's software issue
I...
@KurtE
Just gave your 'V' mode a try with the ST7789 and....
1. Sparkfun config - worked very nicely, however when I exited video mode the TMM was basically hung. Could not enter any other commands and had to do a...
Seems to me, by using the pins-mux pdf found by following the link "A larger, more detailed pinout chart" etc. (and the reference manual), that those CS-pins mentioned for the SPI1 (or LPSPI3 in the mux-pdf or reference...
Afternoon all
@KurtE - looks like you been busy this morning and afternoon between the new board design and fixing ST7735 lib. Kind of been a bit distracted with running errands again and in backyard :) Will give it...
Thank you, Phil for your comments. I can understand and follow your comments very well. Last year I even gave up with microcontrollers and used a system called Blumat, which worked more or less but needed adjustment...
The Teensyview has solder jumpers so that you can change some pin assignments. You can eliminate the reset function which is on pin 15 (A1) by changing the solder jumper to pin #2. You can modify the D/C function on...
I think you are confused as to how the Teensy and RTC work.
Look at this stream https://forum.pjrc.com/threads/63928-Teensy-TimeLib-question?highlight=teensy+rtc
If you are using a Teensy 3.2 you have soldered a...
Hi,
I am trying to use a Teensy 4.1 with USB Host cable to send Midi note data to another Teensy 4.1.
On the host Teensy I have the following code which has been adapted from the USBHost_t36 Interace_16x16...
Hello.
Trying to convert code from a project that uses a Due to the 3.6.
On the 3.6 I seem to be running into issues with how I implemented my serial parse function. I've put code below. It looks like rec is not...
I tried!
1. Run TimeTeensy3.ino. Teensy display right time and date! For ex. 21:02:34 14 4 2021 OK !
2. I put setTime(0); into setup loop.
Reload TimeTeensy3.ino. The serial monitor display 0:00:00 1 1 1970 OK!...
Here's my code and a photo of my setup. The wires on the right side are not connected to anything, they were for connecting to a stepper but I've removed that feature just to get the scale working. The serial port was...
I am certainly not an expert on these things, but I have been doing a deep (theoretical) dive on MCU based timing things before, and collected some (someone else's) ideas and points along the way. Some points out of my...
@all I just pushed up a new st7735_t3 branch: https://github.com/KurtE/ST7735_t3/tree/t4x_dma_no_copy
With the WIP code, that appears like it might be working on Micromod with the V command.
Note, will need to...
The RA8875 5" with GSL1680 controller is quite simple, build many projects with this RA8875 display.
Best regards,
Johan
#include <SPI.h>
#include <RA8875.h>
#include <GSL1680.h>
#define TC_INT 8
I will probably testing soon, had a few diversions this morning.
Like, my updates to FlexIO was incomplete, I was in the process of saying there are 8 timers and shifters not just 4... But some of the tables were not...
This immediately suggests rail bounce (inductance of the wiring causing a spike or ringing on sudden current changes)
There should be decoupling at both ends of a power cable to quell this tendancy - if this is...
There is a variety of ways, also several topics on this:
Some of this is sort of mentioned on the Teensy 4.1 product page: https://www.pjrc.com/store/teensy41.html#software
a) you could use makefiles. You can...
It will depend when the PWM is enabled w.r.t. the clock driving the PWM unit I think - the way PWM units work is that the output
change is triggered by exact matches of the counter register to the PWM value register -...
I am working on a MIDI controller project using a Teensy 3.2. I will be using A0-A9 for potentiometers and pins 0-9 for some leds and buttons. Now I am thinking about adding a SparkFun TeeensyView. It looks like the...
Adding DC to the headphone out isn't advised, it'll risk pushing the transducer cone to the end-stops.
Why do you need to detect the difference? Is it to set different levels or some such? Or to disable the right...
Hi have a arm base SBC running ubuntu 16.4. Have a Teensy 4.1 connected to it via USB. The ubuntu install dose not have a GUI or screen connected we remote into it via SSH and a LAN wired Network connection. Does...
My friend Andre is busy soldering. I'm curious ..
Soldering the components shouldn't be a problem. I hope the SMD pads are not too small and can be soldered well. :)
Example of the first case
it's probably possible, that is, there is sufficient computing power available. But how much Library development are you willing to do, to avoid using the Teensy 4?
Why not just use a Teensy? The libraries are...
I have looked at sensing soil moisture to control irrigation off and on for 20+ years. I think it is a quixotic quest. Even if you could create a perfect sensor (inexpensive, long lasting, reliable, easy to calibrate)...
My knowledge may be outdated, but as far as I remember the Pico can do either audio-in or audio-out, but not both. You would also have to see if it can provide mclk for the SGTL.
In the meantime there is an...
Good luck @KurtE. Be interesting see how it works.
Thinking about changing the name of the test sketch in prep for release to: HM01B0-KitchenSink :) Then start breaking some of the code out for demo purposes. ...
Thank you for the info, Paul.
I was thinking of using the Pico to build a very rudimentary walkie-talkie using the teensy audio board. Just transmitting voice from a microphone to another device and playing it to...
Hi Everyone
This is a very strange one. Some of my VSTs respond perfectly to switch or button changes while using my diy teensy LC controller. Others will switch once and get stuck. The controller is sending 7F and...
I've not heard of anyone has writing code for Pico to work with Teensy's audio shield. I did see a few people working on generic audio stuff (not specifically for SGTL5000 or this shield) but it looked like a pretty...
SPIFIFO isn't really recommended anymore, but I decided to give it a quick try just to see how much of the CPU time on a Teensy 3.2 would remain unused if an IntervalTimer uses it every 5 microseconds.
Here's the...
Yep - Will hopefully figure out what the syncing up is...
Yesterday, I made a first pass of code editing to ST7735/89 DMA code. Need to start testing.
First need more coffee, and head to town and ...
Is it possible to make the Rpi Pico work with the Teensy audio adapter? (input and output)
I am thinking it probably is, using the PIO, but it is beyond my level of knowledge :)
If yes, does anybody have any code...
You would need a debug probe like a JLink and the corresponding GDB server to make this work. Plus you need to modify the hardware of your Teensy to be able to connect this probe. You find some information and a link...
The last PR incorporated from @KurtE included the 'V'ideo command.
Tested with both Sparkfun and non-Sparkfun. Only thing is for DMA video/continuous it does take a while for the image to synch into a image stream...
Good Morning all
Just gave our latest set of updates a spin. Tested the same as @defragster and agree all is working well. The only thing not tested was the 'z' command.
This is the USB Serial. You may want to try Serial2 :-)
If that doesn't solve the problem, you'll have to show us some code - or better, all the code.
It needs to be broken down to a minimalistic example.
Hi,
this is about monitoring soil moisture for plants, perhaps with the aim of controlling an irrigation pump for my next tomatoes.
Last year I invested a lot of time with capacitive moisture sensors, which you can...
I activated the "Debug support" window at the visual teensy and generated a new project,
But when activating "Start Debugging" using F5, it advised that is needed the Cortex-Debug
I found it here:...
Yes, there is a solution. All you need to do is use a recent beta version, because PDM support for Teensy 4.x was added after 1.53 was released.
Get it here:...
Hi all,
I am running a PWM at 50/255 with default settings on a Teensy 4.1, using the simple Arduino code below:
int PWM_Pin = 0;
void setup() {
// put your setup code here, to run once:
pinMode(PWM_Pin,...
Dear Community,
i get the same compiling error as the thread starter in first post.
is there already a solution? If i read correctly the work is still going on? - is it?
i am using a different chip ( not MP34DT01-M...
What's the fastest way to send 6 bytes over SPI? I see DmaSpi, SPIFIFO, and some other libs.
I am using a Teensy 3.2. My application is transmit only, always 6 bytes, and no other devices/libs will be using SPI. No...
"V" works SO SMOOTHLY! it only works USE_SPARKFUN - comes up Very Dark without a good "Calibrating Auto Exposure" it seems, and at times it comes up iffy for a bit, one time it was running and went more like that odd...
Saw the PR to mjs513 was taken -testing:
//#define USE_SPARKFUN 1:
SEEM GOOD :: s, c, D, f, F :: i.e. no signs of tearing or skewing or shift offset in the ILI9341 image
"d" :: (before FlexIO) DMA cont repeated...
Hi everyone :)
This is my first forum post here and it's about a personal project I'm working on right now. I want to play with the T3.6 with a few projects in mind but the wiring on the breadboard can get quite big...
Playing around with a Horizontal slider and discovered that Snap doesn't seem to work and while setting up this example code found artefacts to do with handleShape(5) - only.
And the code:-
#include...
I am using the headphone output on the WM8731 codec for line out or optionally headphone out. I want to detect the difference between a mono 1/4” plug (line out) and a stereo (headphone out) when the connector is...
Hi all, new to the forum, thank you for any guidance you can provide.
I am trying to get the Teensy 4.1 to interface automatically with an Ohaus AR3130 scale via its RS 232 port. I am using a Max3232 converter board...
All
Had a strange thought - not sure where it came from must have been a nightmare. With the lack of PSRAM on the MM board is there a way to use the SDIO pins to simulate having a PSRAM and maybe telling the core to...
Good luck @KurtE.
Will keep using the ILI9341 then perhaps swap to the ST7789 when your new work is done.
Not sure what is up with 'z' - it can work - but sometimes just aborts it seems.
Also REALLY odd the...