Okay so this is what I have so far:
Vdd connected to 3.3V, ground connected to GND pin next to MIC pin, and output connected to MIC pin with 10uF capacitor (not 25uF I was mistaken).
The code I'm using is the...
you most probably have wrong connections, because the mic has separate output and Vdd pads!!
Have a look at the data sheet page 6.
I am afraid nobody can be of more help unless you post pictures of your exact...
Per the 250mA max note on the reference card 100mA for the SD card is not a problem unless you are also powering other things that eat into that capacity. Be aware that the standard SD card library working in SPI mode...
Hello,
We are using both the ICs FXOS8700CQ(Accelerometer and Magnetometer) and FXAS21002C(Gyroscope) for measuring roll, pith and yaw.
In our PCB both the ICs Axis(X-Axis and Y-Axis) mapping is not match with each...
@Paul
Downloaded and installed Beta2 with no issues whatsoever. Did see all the new USB stuff in the IDE dropdowns.
Out of curiosity I tried to run the keyboard simple example but my PC is having issues with...
Hi GremlinWrangler!
I think it will be 400 KB/m writing rate(using Class 10 Ultra SDHC) data logging, is it better to have Voltage regulator from 5V to 3V3 or the T4 can deliver 100 mA to the micro SD card?
Teensyduino 1.49-beta2 is now available, with USB MIDI support for Teensy 4.0.
https://forum.pjrc.com/threads/58654-Teensyduino-1-49-Beta-2
Please give this a try and let me know how the USB MIDI works for you? ...
@PaulStoffregen
PR has already been issued for the updated ST7735_t3 lib.
Do you think you can get the PR incorporated for Wire library in the 1.49-beta2 release or is it too late?
re: post #27 above { fail at 24 and 150 MHz } - it may be a clock setting issue : pjrc.com/threads/58567-Teensyduino-1-49-Beta-1
Resolved perhaps in TD 1.49 by release.
Follow up to post #27. There is a problem at 24 MHz startup speed switching from power up reset speed - this may explain failed SDIO on SDFat Beta code?
IDE speed option doesn't provide 150 MHZ - but it does 24 MHz...
Indeed it is likely a rare not 'generally' easy to hit problem - and easy to work around. In doing the work on MICROS() using the millis() + CycleCounter timing I never triggered it. If the clock drops/raises in steps...
Yes, most SD cards run on 3.3V so that would be the expected wiring method. One thing to watch for is that writing flash memory is quite power hungry, possibly up to 100mA so if you are doing high rate writes factor...
Hi,
Ive been trying to build a custom Teensy 3.6, however it is non responsive. The 3.3V supply generated seems good. When pressing the program button I can see both the reset and program signal lines being pulled...
Hi,
I've ran that tutorial as suggested and all I hear is noise which doesn't change if I make loud sounds (clapping etc.). Sorry I'm not able to provide pictures right now but I have a cap on the output line,...
I think that part is https://www.digikey.com/products/en?keywords=H126097CT-ND and https://www.mouser.com/ProductDetail/Hirose-Connector/DM3D-SF41?qs=%2Fha2pyFadugJhiiWzySXEZUVzYcQ5VTvMqeB9Kjr7fD7we5j9ikO2w%3D%3D
Hi, I am new to Teensy and have some questions regarding CANBUS on Teensy 3.5 and 3.6.
As I understand it there are at least these 3 libraries:
https://github.com/teachop/FlexCAN_Library (Teensy 3.1) NOT 3.6....
Paul - this millis() issues on certain set_arm_clock transitions. See: pjrc.com/threads/58053-T4-set_arm_clock-and-micros()
Title says micros() but that is because it tracks on millis() clocking.
Paul - TeensyDuino 1.49 fixable? Certain passes through set_arm_clock() with clock speed transition depending on current settings leave the clocking for millis() not properly set.
Post #2 the code in code block #2...
Thx for your input.
My first plan was to be abel to do OTA upgrade for both esp32 and Teensy 4.0, when working with the esp32 I like it can be upgraded without unplugging it and connect to a pc first, but it seems...
Pipe Monster v4 digital theremin antenna and sensors mounting.
Made of 20mm and 32mm PPL pipes and fittings.
Antenna sizes and distance between antennas - like in Etherwave.
32mm pipe pieces (coil + sensor PCB)...
Well of course the Keypad library examples only send to the serial monitor. They use Serial.print().
You need to copy and paste code, maybe even improvise slightly, to create a hybrid of these 2 examples which...
That isn't part of std WIRE lib it seems - so adding may have complications.
Looking at : \hardware\teensy\avr\libraries\i2c_t3 included in TD it does note non-blocking version details.
For T_3.2 it should support...
Thinking this switch may be useful for one of my future projects, I searched further on the internet.
Is this the switch? ALPS RKJXT1F42001.
The circuit diagrams on that page may help you in debugging the circuit.
...
Thanks defragster and KurtE. Recent re-format drill. No other IDE install folder.
Compiler verbage indicates that it's looking in the right place for Teensy's version of the Wire library and I guess it makes sense...
If we are going to update ST7735_T3 from mjs513's new changes, would it be possible to add the two uncanny eyes examples that mjs513 had in his tree to the Teensy version? I believe KurtE, and defragster worked on it...
I'm going to add some new information because I think it might be useful to those using PlatformIO. I'm getting an "undefined reference to _write" linker error which turns out to be the same as "undefined reference to...
My key question is, when using the Octo adapter, how to get the various twisted pairs to where they need to be.
A few presumptions, please correct me if I'm off base!
1) I can Daisy chain strips if I want those...
I've committed USB MIDI code for Teensy 4.0 to github.
https://github.com/PaulStoffregen/cores
If you're feeling adventurous, edit your boards.txt file to enable MIDI in the USB Type menu, and update your...
I've programmed the keypad and I can send keystrokes because they register on the serial monitor, but the keystrokes don't register in any programs. What code do I use to have the keypad input register in a program...
Paul I think you are referring to the PR I did for the Encoder registers. Based on your preference I will redo the structure and ensure it retains the original register names. May have to do a little work on the lib...
@KurtE
Library taking shape. Instead of the ringbuffer @tonton81 has his circular buffer library not sure which is better. Will look at ring buffer tomorrow but wanted to let you know that I did merge for the timeout...
Yes, this should also work using the USBHost_t36 library.
Only Teensy 3.6 and 4.0 have USB host. They have only a single USB host port, so you'll need a USB hub to connect 2 USB MIDI devices.
USBHost_t36 supports...
@mjs513 - Hopefully next up figure out what we should do with the DMA cod with ADC..
Currently there is code in ADC library called class RingBufferDMA which I am sure started from his RingBuffer code, which you could...
Ok I edited it like you mentioned...
You might want to take a look, to make sure I did not screw up something.
https://github.com/PaulStoffregen/cores/pull/406
Thanks all!
Then I think I will code my control logic in a class that will encapsulate connections and disconnections of object instances of the audio library and that should solve the needs of freeing/allocating...
Would this technique work while using 2 Teensy's (or rather, 2 Trinket M0's) that are acting as USB Hosts? So I could set merge the MIDI data and send it out to one DIN jack?
Yes, this.
The other ones with a dedicated struct typedef has (mostly) been done that way.
Eventually we'll probably get rid of all the old offset stuff. I did that before the beta test because it was much faster...
My last Christmas light show I used 6 custom Teensy controllers with a custom breakout boards all ran from xlights/LOR. My farthest pixel was about 15 feet. most were within that range.
crees
I managed to get the second code I posted to work, by resetting pushCounter to 0 before returning true in the buttonPress boolean. this wakes the teensy and resets to mode 1.
However the code is still weirdly formatted...
Will do.
I for sure would not delete the old defines. Have two choices, both ways are in imxrt.h.
That is could redefine all them as reflecting the new structure: like with I2C...
} IMXRT_LPI2C_t;...
What you have will get you started in playing with pixels and code. To make a Christmas light show will take some more engineering and parts. Distances will vary but I have gone up to 90ft inside testing but was...
I'm not quite sure either....
Yes, please do.
But do not delete the already defined full register names. Convert them to the new struct. I believe there's at least one pull request still pending which I...
HI Brian,
This is what I posted on the Arduino forum. The first response was to ask for all of the code - which is a lot. Since you devised the S-Bus library, maybe you can recognize the problem, I tend to suspect...
Hi All.
Got question about implementing an I2C slave on T3.2. One common I2C technique is for the master to start a Read transaction and then proceed to read an arbitrary number of bytes from the slave. After each...
@Paul was wondering about possible additions to IMXRT.h. That I have run into as part of the ADC port to T4 Things like:
ADC structure definition:
Which I currently have in the ADCL_t4 library:...
FWIW, we are currently using these 5 hardened runtime entitlements on the JRE and top-level bundle, because they're required for Java 8:
com.apple.security.cs.allow-jit...
If you haven't seen it yet, check out the Teensy 4.0 breakout board and USB host board I made in this thread:
https://forum.pjrc.com/threads/57672-Another-Teensy-4-0-Breakout-Board
It copies the circuit from the...
All the info I've found so far is sandbox is meant for programs distributed by Apple's app store and hardened runtime is intended for programs distributed outside the Apple app store.
My (perhaps bad) attitude is to...
I am hoping to use 8 channels at 10kHz with 12 bit data, this is ~160KB/s. all the data is ADC voltage readings. It seems quite tricky which is why I'm really hoping on some help from someone much better than me at this...
Noticed that although code signed the app is not sandboxed.
https://developer.apple.com/library/archive/documentation/Security/Conceptual/AppSandboxDesignGuide/AboutAppSandbox/AboutAppSandbox.html
Assuming no...
Are you sure about that?
I was under impression(looking at the code but i might be wrong) that unity gain is handled as a special case in both the mixer and the amp, but that zero gain is only handled as a special case...
Hey all - I've got most of the gear together for an 8 strip play with leds and the octo adapter, sweet!
My first head scratcher question is ... each twisted pair is to be connected to an led strip (along with power...
@PaulStoffregen... :D Sounds great.
There were a few other PR's out in special thread, like fixing some issues for Wire. @mjs513 has a nice version of the ST7735_t3 code base...
Wondering about things like ADC...
I realized that after reading #10, then looking at the code.
Well, AudioAmplifier transmits nothing if mult==0.
But, AudioMixer4 will call transmit() if there is input on any channel, regardless of multiplier.
Yes, I did the HID ones and I'm working on MIDI now. I did a few quick tests on keyboard, mouse and joystick. Touchscreen still needs more work.
My plan is for 1.49-beta2 within the next few days.
Planning to...
That is a wrong assumption. The mixer and amp handle zero gain as a special case. They stop sending data, which does affect the CPU usage of most (but not all) objects connected to their outputs.
All objects in the...
I'm making a USB host using the Teensy 4.0 and I think I've worked out details, but have a few lingering questions I'm making educated guesses about.
I'm using a PTC fuse, a TVS diode and 100uF between the 5V that...
I saw github CORES has first pass of T4 USB Keyboard checked in followed by mouse and joystick - likely out with Beta 2 when it is ready:
Add USB keyboard for Teensy 4.0
Add USB mouse & joystick for Teensy 4.0
Again others can answer better than I can...
I do very little Analog stuff, and rarely do I need to write stuff to SDCards...
Usually just enough to help other fix problems or testing out new Teensy boards...
...
What are looking to do with the combination?
I've built an ESP32 add-on to my Teensy 4 breakout board and have successfully gotten firmware updates to the ESP32 to work passing through the Teensy.
I'm hoping...
I actually was able to get this to work, I realized that if I swap the GND and PUSH pins on my board, that it actually worked, and then when I reached out to the company, they admitted that they sent me V1 of the boards...
@mjs513...
I hacked up my test program on T3.5 to generate the sine wave where I use one pot to change the amplitude...
Again not the cleanest setup, but:
#include <Audio.h>
#define POT_PIN 14
int last_pot_val...
As I understand it, it's not just the write speed of the card, it's rapidly taking incoming newly converted ADC data and putting that on a card in a new file which is slightly different. I didn't mention it in my first...
You are right, the 0402 is more difficult than other sizes, only should be used when you don't have other sizes available.
I buy microSD in a reel from a Chinese manufacturer that only sells to their domestic market....
I've realized that what is needed using this method is an amplifier and a mixer - not two mixers. A mixer always outputs an audio buffer even when all inputs are zero gain.
When the amplifier is set to zero gain, it...
@daspuru
In order to have an audio object with an input to stop processing you need to stop the audiostream going to it's input.
There are 2 ways to achieve this:
use AudioConnection::disconnect
or
insert an...
I don't expect that anything you can do with the level controls on a mixer object will affect CPU utilization of anything before or after. Maybe I'll test it to satisfy my curiosity.
The attached pic was this:
In these day I went on with my tests... and this assembly showed some limit: with intense use of the chip some errors appares. I guess if a small PCB with its groun plane could help data...
Hi All,
Im new to Teensy and just got some 4.0 boards and have been looking for guide/examples/code on how to use the esp32 wifi on Teensy 4.0, but have not been abel to find it.
Have been working with the esp32...
Well, it doesn't quite work fine. Most of the time I get double output. I'm reading four channels and it looks like the "While" is open long enough sometimes to read two passes of the S-Bus Data.
I could clear this...