Pages: [1]   Go Down
Author Topic: Importing array onto Arduino  (Read 1364 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am trying to test a filter that I have implemented on MATLAB on my Arduino Uno. I have an array of 100000 numbers that I want to send to the Arduino (so that I don't have to type it) so that I can run the filtering algorithm. However, everywhere I look, I haven't found anything.

Please help...
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26314
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
However, everywhere I look, I haven't found anything.
It's always in the last place you look.
Look there first.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Edison Member
*
Karma: 26
Posts: 1339
You do some programming to solve a problem, and some to solve it in a particular language. (CC2)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
However, everywhere I look, I haven't found anything.
It's always in the last place you look.
Look there first.

Nice suggestion smiley-razz
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Appreciate it...
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 146
Posts: 5511
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am trying to test a filter that I have implemented on MATLAB on my Arduino Uno. I have an array of 100000 numbers that I want to send to the Arduino (so that I don't have to type it) so that I can run the filtering algorithm. However, everywhere I look, I haven't found anything.

Please help...

I don't think 100000 numbers will fit into 2K of RAM.

They might fit on an SD card though...
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can desample the amount that I have. I am just unsure of how to get the numbers onto the Arduino
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26314
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Either via the serial interface, or from an array held in program memory.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Edison Member
*
Karma: 26
Posts: 1339
You do some programming to solve a problem, and some to solve it in a particular language. (CC2)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd first type Matlab inside the upper right search box.

Also typing matlab arduino shows the playground section "interfacing with matlab" on this very site as first result.

That should give you a starting point...
Logged

Pages: [1]   Go Up
Jump to: