Help with Seeeduino328

Hello Guys,

This article might be strange to you guys, but excuse me for second please and pay me your attention to this matter.

I'm looking for your kindly support with Seeeduino328.
In fact; I have set up my code for calculating direction using GPS module of EM-406A. The code has got lots of FLOAT function, which means the Seeeduino168 cannot handle all types of these calculations. Unfortunately, I have Seeeduino168 and it is impossible to find Seeeduino328 in the market for the time being.

I'm a student at University of Teesside. I'm studying BEng:Electrical & Electronic Engineer. I'm doing my final year. And as academic requirements I have to work on project. My project is to design a control system for disabled person allowing to control Sailboat.
The Arduino is a part of my project (I do not want to go through this in details, just to give you glue).

In addition; I have presentation coming up next week and I would like to prepare for it by getting some results out of my code program through the serial Monitor.

Therefore; I was wondering if anyone of you guys could borrow me his Seeeduino328 and I can give him mine just for one week then I promise to return it back once I finish the presentation. Otherwise, I can manage to come to his place to do the test personally allowing me to get the results printed on Serial Monitor.

Moreover; my code is working properly and I do not have to modify it. This to make you sure I will not waste your time if you permits me to come to get the board from you or to let me to do the test personally.
Therefore; anyone of you guys live around Middlesbrough with 100 Miles range, please do contact me soon as possible if you wish to support me in this case.

Guys I will not ever and never forget your favour to me and your support will be appreciated.

Waiting your positive feedback guys.

Sorry for any inconvenience.

Kind of regards

Yousuf
Back to top

The code has got lots of FLOAT function, which means the Seeeduino168 cannot handle all types of these calculations.

The ablity to handle float math should not be any different in a 168 Vs 328 chip. The 328 just allows for double the size of the overall program and double the sram memory for holding variables and arrays. Are you sure you have identified your problem(s) well?

Lefty

Yes mate, I have double size in formula I need to be figured by 328.

My formula in my program is as follow:

fFirstAngle = atan((cos(fLatitudeRadian2) * sin(fLongitudeRadian2 - fLongitudeRadian1) ) / (cos(fLatitudeRadian1) * sin(fLatitudeRadian2) - sin(fLatitudeRadian1) * cos(fLatitudeRadian2) * cos(fLongitudeRadian2 - fLongitudeRadian1))); __
__ fSecondAngle = atan( (cos(fLatitudeRadian3) * sin(fLongitudeRadian3 - fLongitudeRadian2) ) / (cos(fLatitudeRadian2) * sin(fLatitudeRadian3) - sin(fLatitudeRadian2) * cos(fLatitudeRadian3) * cos(fLongitudeRadian3 - fLongitudeRadian2)) );__

fFirstAngle = fFirstAngle * ( 180 / PI );
fSecondAngle = fSecondAngle * ( 180 / PI );

if ( fFirstAngle < 0)
fFirstAngle = fFirstAngle + 360;

if ( fSecondAngle < 0 )
fSecondAngle = fSecondAngle + 360;

fFirstAngle = (fFirstAngle);
fSecondAngle = (fSecondAngle);
fAveregeDirection = (fFirstAngle + fSecondAngle) / 2 ;

I have double size in formula

Are you saying that your program doesn't fit in the available memory?

Or that you want to perform the calculation using double instead of float?

I'm saying my code does not fit the available memory.

So, I need to have the Seeeduino 328 rather than 168 mate.

Cheers.