Final followup to this old thread.
O_C T4.1 was released as open source with everything for DIY building in February 2025.
In August 2025, the design was converted to KiCad by Beau Seidon, and a zener diode (D6) was added to protect against...
I also rely a lot on adding serial prints and setting or toggling io pins that I connect up to logic analyzer.
Note with Seria.prints sometimes I will also do a flush, as I have had hangs where some of the prints don’t output. And I end up...
Looks like the default line buffer is set to 80chars. Its defined in SdConfigFile.h:
// If lines containing parameter values in the
// config file are longer than 40 characters, the
// length of the buffer can be changed here
#ifndef...
@wwatson
Forgot you will need to update the example as well"
/**
* SdConfigFile Library Example Sketch
*
* This example sketch shows how to read parameters from and write new
* values to an SD Card Configuration File using the SdConfigFile...
@wwatson
Looks like that fixed the rest of it as well. The file marked copy is the original file. Oh for you ease of use - added MTP_teensy (Pauls version)
/**
* SdConfigFile Library Example Sketch
*
* This example sketch shows how to read...
@wwatson - here is the fix - in write function
String tmpFileName = tempFile.name();
tempFile.close();
// Delete the original configuration file and rename the temporary file
if(SD.exists(fileName))
SD.remove(fileName);
if...
Yeah saw that as well - trying to debug it now - looks like rename is failing.
And Hope you feel better - I am usually the same way. Recovering myself.
@wwatson
Think I found the problem. Change the get strings to lower case, i.e.,
while (configFile.read(configFileName))
{
// Each parameter can be retrieved using the "get" method
configFile.get("intValue", intValue)...
@mjs513 - I'm back at it. Going to clean up the code a bit and post it on GitHub. This is what I did for fgets() in readConfigLine():
// Read in a new line - Note: removes '\r' but leaves '\n'
int bufferLength =...
Actually in terms of SdFat its actually a function embedded in the library:
int ExFatFile::fgets(char* str, int num, const char* delim) {
char ch;
int n = 0;
int r = -1;
while ((n + 1) < num && (r = read(&ch, 1)) == 1) {
// delete CR...
@ptillish on Arduino forum had some good posts about this on similar thread
https://forum.arduino.cc/t/adafruit-s-linkedin-comment-on-arduino-s-acquisition/1415418/4?u=kurte
Arduino IDE is still open source. They're saying "Our 20-year commitment to open-source is unwavering".
https://blog.arduino.cc/2025/11/21/the-arduino-terms-of-service-and-privacy-policy-update-setting-the-record-straight/
I believe Arduino is...
I can not say for sure, everything on my document is perfect... But have built a few different boards like:
Although this one is simple adding stuff to plug into their ATP board. Including SDIO connector
The one board that I actually made...
Might require multiple hub objects, as some hubs with more than maybe 4 ports, are made internally with multiple hubs. Also don’t remember if serial objects require HID objects. Also don’t remember if Pico connects at full speed or high speed...
Try 4 NiMH rechargable AA batteries (about 5.3V), which should have better high current handling. 3 x alkaline AA is only 4.5V and thus much closer to undervoltage cutoff, and the max current is less than with good NiMH cells.
1000uF is not...
Sorry what version of Teensyduino are you running? Where is MTP coming from. Over that last several iterations Paul took it over.
Before that my directory was probably the most recent. For what Teensy? As far as I can tell, Paul has only...
So far I have only been doing the hobbyist things with it... Then again ditto for the Teensy boards 😆
But I am having some fun. I nice diversion/distraction.
As for product things. My guess, is that Arduino is probably working on a second...
At some point, someone might extend out the Teensy support on zephyr. Currently some things limp along, but
the default memory layout stuff is really primitive although there is a document on how one could do stuff to align memory.
AFAIK - Paul merged in the code to add ST7796 about 7 months ago. Which should be in the semi-recent beta releses
of Teensyduino. If you are using the released version of TD not sure there has been any since then.
But you should still be able...
You might also consider using '/' as your path separators and let microsoft's appalling choice of separator just turn into a distant memory. As a bonus your code will also just work on linux filesystems without any problems.
Edit: I consider...
Or you could quickly hack it and do something like instead of printf
Serial.print("Base name: ");
Serial.write(filename, strlen(filename) - 4);
Assuming they all have .wav on it...
else you could use strrchar(filename, '.');
to find the last ...
The bots that caused trouble earlier this year are back again. Or they never really left, but blocking slowed them down and increasing memory limits let this server to handle the load... until now.
We were down for at least 6 minutes yesterday...
Hi,
Thanks for all the kind words :) Here are some details about the build for those interested. It is a long post, so I am splitting it into two parts: one about the hardware and the other about the software.
Hardware
Enclosure:
It was...
I don't know if anyone else has had this problem but I ran out of ram1 on my large project that uses the lvgl library and the RA8875 library so i created a real simple library just for printing the lvgl gui on the screen with the FT5206...
Note: PJRC I purchased a certain number of PIDs, I am not sure how many he still has left.
If you ever look up VIDs, like using:
https://the-sz.com/products/usbid/index.php?v=0x16c0&p=0x0483&n=
You will see output like:
That is the VID of...
Note: I have been playing with it and having some fun and ... So far mostly playing at the Arduino level.
I created an excel document that shows all of the GPIO pins... Still WIP... Not sure if anyone will be interested but here is a PDF of it.
This 7:23 summary a few hours old - in a word it is 'Weird' power not up to Pi4 level - they call BRICKS the combined INO and linux Python:
Some test specs/notes he exposes here:
https://github.com/geerlingguy/sbc-reviews/issues/83
Actually we were playing with these ch32 riscv chips and I had the talkie library running on it. Didn't come across this though when I was playing with it. Have to look more
Been playing around with the Q for the last couple of days developing an actual app that reads imu data from the MCU and processes it on the MPU through a Madgwick filter. Note think we are working on the 2gb version as saw something thats says...
Note: I am currently using one of these:
https://www.amazon.com/dp/B0BR3M8XHK
I have this one on order:
https://www.amazon.com/dp/B09T9PXW35?th=1
Which also added Ethernet
SBC - with Arduino onboard:
Hardware & Software Requirements
Hardware
Computer (Windows/Mac/Linux)
Arduino® UNO Q board
USB-C® cable
Alternatively, using the board as a Single Board Computer (SBC), the following is required:
USB-C dongle
A...
Uno, Mega, Nano, etc - are now names by form factor. I personally did not feel the UNO R4 was properly named as it too much implied
that it was the next revision and it was far too different from the R3... But for example there is the Nano and...
That's a long time. Waiting 25 seconds for a boot up
I don't get the hype in the microcontroller world for this. It's not a microcontroller, but a microcomputer. More so to compete with the Pi.
Add to that everything seems so undeterministic.
Uno Q is compatible with Arduino shields and lots and lots of Arduino libraries. That makes it quite different from RPi. I haven't used Uno Q yet, but I would imagine the on-board microcontroller can boot up more or less immediately, so perhaps...
I know you can order boards with memory and the like pre-installed from: protosupllies.
https://protosupplies.com/product/teensy-4-1-fully-loaded/
Not sure of details like do they ship to Switzerland or not.
@KenHahn - @defragster - @KurtE
Ok - got it working. Still has the issue with the extraneous text bits but thats next I guess. Sorry @defragster. Working on myedits branch got confused with the repos. But should be a drop and replace.
Here...