For anything you'd like to see added to Speeduino
By Loverboy7000
#56014
Hey guys,

I would like to run an SD card logger through SPI on a AVR mega.
I think the processor has better availability for PCB projects and I started looking at this like 2 years ago.

I pulled the latest master software and was pleased that Josh implemented a lot of work on this front. However when I add the SD logging files I instantly exceed the SRAM limits.

Do you guys have any tips for me how I could save some big chunks of global variables or is there a branch ongoing working on this topic?

The engine is really simple, not sure if there are some advanced functions I could comment out.

Sorry, haven´t spend much time in the project yet, so I would really appreciate if someone could point me in the right direction.

Thanks
Andre
User avatar
By pazi88
#56015
There is not really enough RAM on mega2560 to do SD logging. Probaply not beneficial for loop times either. And there isn't really anything that you can easily pull out to save enough RAM.

You are much better with stm32 or Teensy if you want SD logging. Or if it's not an option, you can make external SD logger and pull data from secondary serial.
By dazq
#70436
Bram wrote: Fri Jan 10, 2025 4:59 am Any someone have tried this?

https://github.com/Autohome2/Speeduino-Simple-SD-Logger
It should still work ,not tried it for some time now.
To read all the data that serial3 can now stream it would need modifying to use the 'n' command instead of 'A'
If you do make any changes or improvements please submit them so they can be included.

Appreciate a bit of help with a pair of 2017 to 20[…]

I don't know the signal form, so I would try jumpe[…]

Voltage ±10% is fine for testing. Note GM […]

6 Cylinder Sequential

Really? Chamber pressure is going to be about at[…]

Still can't find what you're looking for?