You could consider using a Nextion for the control panel, that uses UART comms.
It would free up an SPI port and offload some of the comms interfacing code (It is an "intelligent" display).
Okay I fixed it. I noticed that I could delete the entire WiFi101 library folder without compiler complaints. I did a search for all things WiFi101/ATWINC1500 on my system and could not find any copies that the IDE was using. I just decided to go...
16bpp is possible at 640x480 but compression is required which can degrade the quality.
The limit is the USB bandwidth which maxes out at roughly 30MB/s. 60 frames a second of 640x480 using 16bpp = 60*640*480*2 = ~37MB/s. That's why these...
To simplify and put into context - EEPROM.put on the T4 will do the same as .update for you, so use EEPROM.put. If the user constantly saves their settings every hour, 24 hours a day, 7 days a week, it will take them almost 12 years to do 100,000...
If it were me I would use Serial. It has been reported here that the T4.1 Serial Port will work at 20MHz.
It may well be faster than Ethernet as there are no complicated protocols involved.
Could you try with the following code.
/*
SD card test
This example shows how use the utility libraries on which the'
SD library is based in order to get info about your SD card.
Very useful for testing a card when you're not sure whether...
Hello everyone,
Just wanted to share here. I made a version of the Teensy Loader built in Javascript for project maintainers to be able to host their firmware and have users update through the browser.
I have a Github page here with an action...
Thanks, and Merry (post) Christmas to everyone!
Robin & I spent the day with both our families. I'm just now catching up to messages from the last couple days.
No, obviously not. Us the spreadsheet, changing the value of the series resistor in cell B1.
The voltages for full and empty will be calculated and shown in Column E.
The minimum safe resistor would be 575 Ohms. This gives an empty voltage of...
Here is a spreadsheet which will allow you to change series resistor and see effects.
Choose a resistor value which matches a voltage that you would like to see.
NOTE: This spreadsheet will disappear in 7 days time.
Since this is on a vehicle you...
I believe the analogue inputs expect a low impedance source.
Buffering with an op-amp circuit could provide the step down and low impedance requirement.
Spent the last few days since posting the above trying to get my Logic analyzer to show the same data. Today I finally decided to assign the KEY1 (Slave Busy) signal to CS on Logic2 - voila! Got the same values
I then took my T3.2 (using it due...
Can I suggest a Hybrid approach. You have the PIC currently triggering and collecting data from the ADC(s). Could you not continue to do this and transfer the readings to the Teensy (on the fly?) for Advanced DSP Processing?
I've never looked at Codeclocks but would not VisualMicro (Arduino IDE for Visual Studio) with Visual Studio (Community Edition) not help solve your problem?
This is what I use all the time. In my case with Arduino 1.8.19 but it will work with...
Those 6 pads on Teensy 4.1 can be accessed on both top and bottom. Maybe you could still get access to the signals on the other side which isn't facing the audio shield?
Future Teensy with will USB-C. I can't discuss any other details at this time. I probably should not even write this message, but hopefully it at least answers this 1 simple question.
Glad to hear it. I have a business too and know the ups and downs of product development. Lots I want to do, limited time and resources. Just know there a lots of out here wishing you well and best of success.
I would use an accelerometer to detect start and stop of braking. Likely to be jolt at the end giving negative deceleration as the vehicle comes to a stop and the springs (suspension) settle.
You could potentially double integrate the...
I was (and am) surprised by the I/O speed and the overall snappiness of it. I haven't benchmarked the raw SD card access speed, but even when writing a single large file to the filesystem (read: with the filesystem layer making things slower) I'm...
I have not read in detail what you are doing, but noticed that you said that you dis-abled interrupts in loop. This will stop serial print working. All serial stuff uses interrupts. I would suggest it would be better to have a flag variable which...
EDIT: Oops looks like @Kurt beat me to it. Link now shows up.
No link shown.
Please show your code.
When attaching your code post it to the page using the </> button.
It opens another screen then you can post your code into that screen.
Doing it...
Let's put newlib rebuild off until at least 1.61.
After we wrap up the Black Friday Sale tomorrow, I'm going to go on a sprint to get MTP merged, and then a series of beta releases leading up to 1.60 release with MTP.
Might merge some other...
Hi Diggable.
It looks like you want to get this project going as fast as possible.
Here is my take on your question and thread replies so far and where you could go from here to get the best results.
The code comments in your original post...
...: SOLUTION :...
Thanks to the good people of this community SAI3 for Audio is possible! 👏
SAI3 can be used by using the files below for Audio Output. Here's how to do it.
NOTE: This uses the following pins for SAI3 Audio Output.
SD_B1_01...
I know this is a few years old, but in case anyone wants to do something like this going forward, I have something that may help. As I tried to do this while prototyping I ran into a few times where efforts to swap from one prototype board to...
When you post code on this B.Board can you enclose it between code tags using the </> button on the top left of the form.
It maintains the formatting and makes the code much easier to understand.
#include <Audio.h>
// Audio setup
AudioInputI2S...
I am not an Ethernet expert, but you should try using QNEthernet instead.
It would appear that NativeEthernet is no longer maintained, whilst QNEthernet is actively maintained.
On Windows Addr2line can be found here: "C:\Program Files (x86)\Arduino\hardware\tools\arm\bin\arm-none-eabi-addr2line.exe"
Here you can find some more useful info on using CrashReport and Addr2Line.
Your setup code needs t start with
void setup() {
Serial.begin(9600);
while (!Serial && (millis() < 3000)) // for Leos
NOT
void setup() {
while (!Serial && (millis() < 3000)) // for Leos
Serial.begin(9600)...