Seems these work with care: protosupplies.com/?s=low+profile
They are nice low profile PINS and Headers that are in 14, 24 pin lengths or 40 pin and Breakable to length.
Problem might be the bottom side pin length...
Does it look much like this one? www.tindie.com/products/loglow/teensy-3536-breakout-revision-a-due/
$17 with headers and pins a USB connectors
@loglow has done some good work ... and there is a discount code in his...
I'm kind of embarrassed to say I bought the kit back in May of 2020, and I'm only now getting around to assembling it. I would love to buy the socket set with the low profile bits, but it doesn't seem to be available?
Referring to your first post, you asked about using a master Teensy communicating with a number of Teensy slaves. Can be done using usbHost port (T3.6 0r later) for master, plug in a usb Hub then plug Teensy slaves,...
Would there be anyone interested in an adapter board that makes a Teensy 3.5 work with Arduino Uno/Mega/Due sheilds? It's basically just an adapter that arranges the Teensy pins to conform with the Arduino layout. I...
I ran some quick experiments to see how long each operating system waits. Even though the USB spec might give a requirement, the practical reality is most USB devices probably only get tested with Windows, maybe Linux...
Oh, both variables c0 and c1 need to be int32_t not uint32_t. Sorry for the confusion (never post untested code :-))
Great, if it works just stick with it.
Take a second Teensy and upload one of th...
Hi @wwatson
The new FTP_Server_Teensy41 releases v1.1.0 has just been published. Your contribution is noted in Contributions and Thanks
Best Regards,
---
Releases v1.1.0
No worries, in my case I am not using LittleFS, I just wanted to use the flash space between the program and EEPROM for buffering the new program. With the default offsets I was having the issues described above....
Okay, yes, I never updated FlasherX after Paul released Bootloader 1.07, and now that more folks are using LittleFS in program flash, I do need to do that. Could be a little while, but I'll get going on it.
If your...
I came across the same issue as @ipaq3115 when testing this, I also use the EEPROM in my program and when trying to flash I get "buffer = 0K FLASH (601FC000 - 601FC000)". I decided to use a ram buffer instead and...
Thanks. Yeah, a better way to add another case with some USB timer will be great but I didn't know how. Hope you find out what else may cause the issue and make a patch. I've heavily modified the library so I will have...
Quick look seems the Adafruit lib doesn't include pin changes.
In the Teensy SPI library is this:
// Teensy 3.x can use alternate pins for these 3 SPI signals.
void setMOSI(uint8_t pin);
Do a forum search...
So I know from reading the i.MX Rt1060 reference manual plus forums posts and, most notably the core pins doc, that GPIO7 seems to have enough pins for what I want to do and doesn't seem to interfere with others pins I...
Yes, that is right for pins 11 and 13.
If there is a way to specify the alternate pin 14 for SCK in the software, then that can be used.
If you chnage one alternate pin that is independant of other optional ALT pins,...
Am i correct in saying that these are how the pins are labelled on the Teensy 3.2?
MOSI = DOUT (Pin 11)
SCK = SCK (Pin 13)
Can i pick another SCK pin such as pin 14? If so would i have to change my MOSI pin to...
The battery taps are for charging, so they keep the cells balanced, as you mentioned.
Drawing off the taps in different amounts will unbalance them. Will the charger be ok with this?
Not sure this is good...
You need 5 or 4 pins connected
MOSI
SCK
CS
D/C
Reset (can be optional, depends on library)
The SPI hardware will dictate MOSI & SCK. You pick the rest of the pins from your available GPIO and define them in your...
@KurtE have you run the standard graphicstest in DMA mode? Is it any faster? How long would a screen fill take with DMA?
For the clip rectangle, let me ask these simple questions. The frame buffer is populated as...
I have SimpleFTPServer so messed up I will have to start over with it. I think now that I have FTP_Server_Teensy41 working, I'll try to add WiFiNINA to it as a base to work from. It is easier to adapt to and debug. Use...
There are lots of different tricks that you can do.
If for example you are simply updating one or more fields, you can use the clip rectangle code, where you set the clip around the field being updated and then do...
@wwatson
Sorry been distracted with USBMSC stuff. Sounds like you are making progress. Also probably applicable SimpleFTPServer as well. Will have to play again soon with this.
@mjs513, @Khoih-prog - Was working with FTP_Server_Teensy41 today to try and figure out why I was only getting partial transfers when downloading from the T4.1 to the PC using gFTP or Filezilla. Turns out the failure...
@KurtE yes, I am using your library. Details, are hard to write, but often very helpful to those starting out (like me). Thanks for making the library. I'll visit the readme and docs. At the moment the only thing...
Hello. I have been struggling on getting to send MIDI information to my Launchkey. On Digital Audo Workstations it shows up as two devices (from the same Midi Keyboard). I cannot figure out how to get information about...
I’m currently working on a project that requires at least 16 channels out over a single cable… and if anyone’s goals are similar—precisely synchronized timing to interface every individual channel with a DAW—USB 2.0...
As for the display it may depend on what you are doing and the like, which library and how you are using it.
Sounds like you are using my: ILI9341_t3n
No it does not use DMA by default. You need to tell it to...
Thanks Manicksan! This is very helpful.
You are correct the 4x size was strange, so I dug in and noticed that if a sample is re-used for multiple key-ranges inside of the soundfont, the program decodes the sample...
Reply to Kurt:
Hopefully someone who is less electrically challenged than me, will be able to give a more definitive answer.
Note: when I first read the message, it was not clear to me, what battery...
But...
p.s. i've just realised that i might need to hook up more than 3 pins from the Teensy 3.2 and the SSD1306. I still have enough free pins on the Teensy 3.2 in my project but am even more confused which other pins i...
OK, So what about the floating input? I have no idea if it will ever actually have a voltage, or just float high. I know for sure it goes to ground.
12 volts constant
Fuel injector (12 ohms) or ignition coil (3...
Hi all,
i've been trying to get hardware SPI to work for my SSD1306 (Adafruit Monochrome 1.3" 128x64 OLED graphic display - STEMMA QT / Qwiic) display on a Teensy 3.2 but with no luck. I've been trawling the posts...
Hopefully someone who is less electrically challenged than me, will be able to give a more definitive answer.
Note: when I first read the message, it was not clear to me, what battery...
But looking at the...
@luni, This code stub doesn't seem to work. If I print out c1 and c0, they either are the same, or only differ by one count, independent of the physical encoder shaft RPM. spindleEnc.getValue is not working as I would...
I've been having this problem on a sketch I'm working on but to remove all extraneous information I can recreate the problem with blink.
/*-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
...
I'm creating a couple of audio projects (megaphones) that require different voltages for the power amp and other components. I plan to use rechargeable power tool batteries to power them.
As described on this page -...
Hi from a new member (post #1),
I got a Teensy4 for cheap and compact audio processing, with the hardware potential to keep full highres. Then I found out about the "standard" library, its limitation to 44.1kHz,...
I want to connect to an NTP server on boot up, read time and use it to set the time on the T4.1 RTC. I will do this once an hour maybe, depending on the drift I get.
I then want to call the RTC typically every few...
Just had a look at Octopart. There are plenty at "unsusal" suppliers. https://octopart.com/search?q=mcp23S17¤cy=USD&specs=0&in_stock_only=1 (click on "show all" below the standard distributor list)
Sure, something like this should work (untested, first value will be wrong)
#include "Arduino.h"
#include "EncoderTool.h"
using namespace EncoderTool;
Encoder spindleEnc;
IntervalTimer speedTimer;
Trying to implement your suggestions. Made version 2.
@luni, is there a way to readback the count value at a moment in time? I want to estimate RPM and I know the count when I enter the onEncoderChanged callback...
Hello Luni
Thanks so much for posting such helpful / useful information.
I am presently in the learning phase of the project, learning how the tech works and how to implement it. So, very good timing.
I already own a...
Here an example how to use a MCP23S17 to read out encoders with the EncoderTool (working example here: https://github.com/luni64/EncoderTool/tree/master/examples/2_multiplexing/multiplexed_MCP23S17). If you want to use...
Could I talk you into trying with 1.57-beta1?
https://forum.pjrc.com/threads/70196-Teensyduino-1-57-Beta-1
If that doesn't solve the problem (odds are it will be exactly the same) then I'm hoping you can give me...
Your first step should probably be with the Scanner example. In Arduino, with Teensy selected from Tools > Boards (so the software updates its menus for Teensy) click File > Examples > Wire > Scanner.
Connect 2...
Clicking github from posted link:
#define MLX90393_DEFAULT_ADDR (0x0C) /* Can also be 0x18, depending on IC */
And here for passing Address and Alt Wire:...
Maybe. I'm still investigating, so it's too early to really have a well informed opinion.
But initial testing shows 2ms delay alone is not nearly long enough, so my gut feeling is that delay probably isn't be the...
I did also forget to say don't get fooled by the cpp size.
Think the convert tool do have flash usage, that will show how much space that particular soundfont takes, also notice that the current soundfont decoder is...
Still no answer??
Ok I will try
Using 32bit is surely because the cpu is 32bit
and will then optimize the reads from progmem (better fitting in the cache?)
Also using 16bit access on a 32bit cpu slow things down.
...
With one working that is a great start!
The product page links to learn.adafruit.com/mlx90393-wide-range-3-axis-magnetometer?view=all
if (! sensor.begin_I2C()) { // hardware I2C mode, can pass in address &...
Try the new FTPClient_Generic releases v1.2.0,which is supporting the vsftpd Server using in Linux, Ubuntu, Raspberry Pi, etc. now.
The following is debug terminal output when running example FTPClient_UploadImage...
@Paul,
Is it related to this issue? This causes issues to
https://github.com/PaulStoffregen/USBHost_t36/issues/87
Can you please share what delay command you used? Thanks.
@PaulSoffregen I2C is running ok however I'm getting a lot of bad character read and transmission. I've isolated and tested with Teensy 4.1 and other boards in identical configuration however while all other boards get...
Hi Paul,
Tried that and there was an improvement for my standard DAQ capture from 856kB/s up to 1018kB/s.
Interested to know if others are getting USB MSC file write speeds higher than this though, seems very...
Just to document this process, here's the test I have set up on my workbench.
A little transistor circuit is connected to Teensy 4.1 pin 32 to control power to the Raspberry Pi Pico. This way I can turn it on...
You're right. I was looking at the pinout upside down...
The program pin does drop to 0 when the reset is pushed, but only has 0.22v on it otherwise.
I'm going to remove the PSRAM chips tomorrow and see if that helps...
I believe Bill's driver for SDIO (and also dedicated SPI) is leaving the card in the middle of a multi-sector write.
But the USB code is probably doing single sector writes. The actual access done to the SD card...
Hi defragster, will continue to search, nothing found yet.
Any pointers on where to look for the USB host write buffer settings?
So some more data about the speed difference with a more scientific approach.
...
Hi Paul,
Here is the link to the product page. If you scroll down a bit, there's a link to all of the technical info that they provided, including the software.
https://www.adafruit.com/product/4022
Thanks...
Hi Paul,
That is amazingly helpful. Thanks for that. As to the project I'm fooling around with right now, sure, let me explain a bit.....
We're trying to create an array of magnetometers, or at least, see if it...
The pinout reference card that comes with Teensy 4.1 tries to give a quick overview of the pins & their capabilities. If you don't have the physical printed card yet, you can see it here:
...
Hey ! The board is working :). I add some stuff to the original schematic.
Now I have the codec, 24 pots + 1 for volume control, 1 rotary encoder for the menu, a ILI9341 display, line out and headphone, midi in, thru...
So far the lockable model is only available direct from PJRC.
We have a small number left here, even though the website status is showing out of stock. It's not many, under 50, maybe not even 40. Place an order...
Hi,
I am new to Teensy, and I'd like to get a better understanding of the hardware. Is there any documentation the describes all of the pins on a Teensy 4.1 and what they are used for? Or, are there multiple sources...
Tried again with these instructions, but still could not reproduce the problem!
Here's what was on the CIRCUITPY drive right before unmount and plug from my PC.
paul@preston:/tmp > find /media/paul/CIRCUITPY/...
Thanks for the help. The hook now gets called when using USB to power but not when running via battery even though I see 4.67V at VIN. I have a scope coming next week to look at the power supply rise time. I'll open a...
@Paul, @KurtE, @mjs513 - Decided to test the latest with USBhost_t36. I tested with TD1.57B1 first Paul's latest and then Kurt's latest. found no issues.
Here is output from Kurt's active branch of USBHost_t36....
Paul
This is the minimun install to recreate the issue.
Load Circuitpython for keybow2040 onto the Pico (just so it has the same pin mapping) - https://circuitpython.org/board/pimoroni_keybow2040/
Add ...
The nice thing about this approach is, the whole thing runs completely in the background. Your foreground code can do whatever it wants, as long as it doesn't disable interrupts your leadscrew will magically follow your...
Thanks for replying @luni. Yes, the number of encoder counts per spindle revolution is always more than the number of required stepper pulses per lead screw revolution.
I do monitor the count in the main loop, and do...
Ok, I realized I probably missed the Boot.py step. So....
9: Remove Pico from Teensy 4.1 - Beagle 480 - Hub and plug back into my PC. CIRCUITPY drive appears again.
10: Copy the code from msg #24 into a file...