Loading...
Pages: [1]   Go Down
Author Topic: Importing array onto Arduino  (Read 997 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
Online Online
Brattain Member
*****
Karma: 137
Posts: 19045
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.

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
Online Online
Edison Member
*
Karma: 65
Posts: 2250
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

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
Online Online
Brattain Member
*****
Karma: 137
Posts: 19045
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.

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
Print
 
Jump to: