For any add-on boards such as VR conditioners, optos and OEM interface boards
By apollard
#15895
dirtyharry wrote: Where abouts in the program is the commented out code for a pot control. Have got it all working and have pre-set the wheel like yourself but I really don't want the gui.

Loosing the will to live with this massively over complicated simulator , many thanks to the creator but something simpler with possibly an lcd display would have been more usable for myself.

Open Ardustim, then click on the Loop.cpp tab. Find the following code:
/* if (adc0_read_complete == true)
{
adc0_read_complete = false;
tmp_rpm = adc0 << TMP_RPM_SHIFT;
if (tmp_rpm > TMP_RPM_CAP)
tmp_rpm = TMP_RPM_CAP;
reset_new_OCR1A(tmp_rpm);
}
*/
Un-comment the code by deleting the /* and */ so that it reads
if (adc0_read_complete == true)
{
adc0_read_complete = false;
tmp_rpm = adc0 << TMP_RPM_SHIFT;
if (tmp_rpm > TMP_RPM_CAP)
tmp_rpm = TMP_RPM_CAP;
reset_new_OCR1A(tmp_rpm);
}
I believe that is the only change I made. It defaults to the pot on A0 (adc0) after 5 seconds IF there is no serial connection. So, you must power the auduino via the Vin pin or +5V pin, not the USB.
#18274
im getting error on serialmenu.cpp while compaling
error is no matching function for call to 'SUI::Menu::setName(const char [19])'
librarys are ok
also i tried firmware file via xloader , but still no success.
Here is the error of arduino
Attachments
Adsız.jpg
Adsız.jpg (254.46 KiB) Viewed 7972 times
By Enquirer
#18560
Hi,
The compiling error appears due to the version of the SerialUI doesn't match that needed by the Soft of the stimulator.
The stimulator needs the SerialUI-V1.4.0.zip. It doesn't compile with newer ones.
In case you can't find it, give me a sign and I'll attach it for the forum. I can't do that right now, because I have it in another PC.
Regards
Enquirer
By mattsabun
#20724
got my uno just now. compiling with no error, connected to serial and looks ok.
how do i use it? planning to use new 4g63/miata pattern.

please guide me.
thanks.
Attachments
ardustim.png
ardustim.png (78.67 KiB) Viewed 7524 times
By dazq
#20755
That looks about it:-)
Now just choose your correct wheel pattern(click on the show list button to see which ones are available if you don't know)
Then set the rpm you want or a sweeping range if you prefer.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 9

you could set 'skip revolutions' to 3, then it wou[…]

Hi, I am trying to assign Signed values to the x-a[…]

blitzbox

I've finally figured out why MAP and Lambda weren'[…]

Hello, I bring news!! Let me tell you that after […]

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