ardu-stim's People
Forkers
pazi88 tbamax gregorsupersamsa donpasquale majdimohammad jt2aw15j celturbo minimike800 karan96kaushik mike501 karniv00l vitorboss delta06450 brainfs borathtl 65corvaircorsa salmon-built-designs enrikote neil427 data-ptr techmade16 vemoto customsolutions futte6392 djandruczyk joeclone quiksa adbancroft deionsi rerpha autotroniccommunity maretzky85 rubenray jacomach mathieu0 echajazuka bukurat sibem0l nofoxgiwn arlontm doubler59 jonbills okie2020 kevinl8890 todlewin diy-efi nickz1969 viper128 electrohelps tgrapplied dillanm01 dotmat win2466 vbperformance byronap jfseaman boomacoh twisted-builds-llc jpcturbo jinbotol409 rusefi ruckusman ggurovardu-stim's Issues
Contribution guide
hi @noisymime,
thank you and great work on rejuvenates the stim.
first, i understand quite a bit on how to add wheels trigger pattern definition in ArduStim, but not sure how to get the real trigger pattern in real engine.
maybe some writing on readme can help a bit on guides how to get trigger pattern in real engine such probing at the crank or cam ecu input to get the pattern with what scope setup. or is just by counting on tooth per degree cycle? generally quick start guide on how does the apps work could help potential contribution from others.
i am new on engine management. trying to understand how the cam/crank signal affecting the ecu and feedback from the configuration made.
still learning how i could add more ecu reading but not sure what else possible to read from the ecu. maybe i am looking for injector status and firing orders with sound will be great addition.
thanks
TS
4 cylinder dizzy RPM
Most simple 4 cylinder dizzy RPM is out of alignment with reality.
Ardustim app speedometer shows 16368rpm with the potentiometer maxed out, but real output is about 1637rpm.
The node stuff won't build
fails with 'v8.h': No such file or directory while compiling some serialport.cpp
Merge Rover MEMS trigger pattern (36-1-1 & 36-1-1-1-1)?
Firmware upload speed is fixed.
When uploading FW, speed is fixed at 57600
Line 116 in 0ed5648
Some Nanos ship with a bootloader which uses 115200
The ability to switch or autodetect this would be ideal
No connection with arduino uno
Hi I try to use this version of ardustim but can connect with arduino uno , I can upload ardustim.ino to arduino uno or arduino mega via arduino ide, but when open Ardu_Stim.0.04
can connect with arduino uno just arduino mega, I only have one arduino mega an is for speeduino I need help. thanks
"36-1 crank with second triger on teeth 33-34" trigger pattern faulty
"36-1 crank with second triger on teeth 33-34" only actually have 34 tooth on one rotation! So that one crank rotation is missing two teeth, the other missing one!
Failed to compile in Arduino IDE
storage.ino: In function ‘void saveConfig()’:
storage.ino:30:10: error: ‘class EEPROMClass’ has no member named ‘update’
storage.ino:31:10: error: ‘class EEPROMClass’ has no member named ‘update’
storage.ino:32:10: error: ‘class EEPROMClass’ has no member named ‘update’
storage.ino:36:10: error: ‘class EEPROMClass’ has no member named ‘update’
storage.ino:37:10: error: ‘class EEPROMClass’ has no member named ‘update’
Unable to install GUI, fails to build at "npm install"
Hi guys
Unable to install the gui - tried now on my Raspbian machine, Mac laptop and Windows10 PC.
Always fails at the the "npm install" stage.
npm version 9.5.1, node v18.16.1
Here's the traceback on windows:
PS C:\Users\ivesh\Ardu-Stim\UI> npm install
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated [email protected]: Please use @electron/notarize moving forward. There is no API change, just a package name change
npm WARN deprecated [email protected]: Please use @electron/asar moving forward. There is no API change, just a package name change
npm WARN deprecated [email protected]: Please use @electron/osx-sign moving forward. Be aware the API is slightly different
npm WARN deprecated [email protected]: Please use @electron/rebuild moving forward. There is no API change, just a package name change
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\tar-stream',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\ivesh\Ardu-Stim\UI\node_modules\tar-stream\node_modules'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\tar-stream\\node_modules'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\ivesh\Ardu-Stim\UI\node_modules\usb
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c prebuild-install --verbose || node-gyp rebuild
npm ERR! prebuild-install info begin Prebuild-install version 5.3.6
npm ERR! prebuild-install info install installing standalone, skipping download.
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.4 found at "C:\Users\ivesh\AppData\Local\Programs\Python\Python311\python.exe"
npm ERR! gyp http GET https://nodejs.org/download/release/v18.16.1/node-v18.16.1-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.16.1/node-v18.16.1-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v18.16.1/SHASUMS256.txt
npm ERR! gyp http GET https://nodejs.org/download/release/v18.16.1/win-x64/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v18.16.1/win-x86/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v18.16.1/win-arm64/node.lib
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.16.1/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.16.1/win-x64/node.lib
npm ERR! gyp http 200 https://nodejs.org/download/release/v18.16.1/win-x86/node.lib
npm ERR! gyp http 404 https://nodejs.org/download/release/v18.16.1/win-arm64/node.lib
npm ERR! gyp info find VS using VS2019 (16.11.33801.447) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! (node:7808) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
npm ERR! gyp info spawn C:\Users\ivesh\AppData\Local\Programs\Python\Python311\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\usb\\build\\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\ivesh\\AppData\\Local\\node-gyp\\Cache\\18.16.1\\include\\node\\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\ivesh\\AppData\\Local\\node-gyp\\Cache\\18.16.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\ivesh\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.16.1\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\usb',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\usb\\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! Traceback (most recent call last):
npm ERR! File "C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\gyp\gyp_main.py", line 51, in <module>
npm ERR! sys.exit(gyp.script_main())
npm ERR! ^^^^^^^^^^^^^^^^^
npm ERR! File "C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 670, in script_main
npm ERR! return main(sys.argv[1:])
npm ERR! ^^^^^^^^^^^^^^^^^^
npm ERR! File "C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 662, in main
npm ERR! return gyp_main(args)
npm ERR! ^^^^^^^^^^^^^^
npm ERR! File "C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 629, in gyp_main
npm ERR! [generator, flat_list, targets, data] = Load(
npm ERR! ^^^^^
npm ERR! File "C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 150, in Load
npm ERR! result = gyp.input.Load(
npm ERR! ^^^^^^^^^^^^^^^
npm ERR! File "C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 3021, in Load
npm ERR! LoadTargetBuildFile(
npm ERR! File "C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 411, in LoadTargetBuildFile
npm ERR! build_file_data = LoadOneBuildFile(
npm ERR! ^^^^^^^^^^^^^^^^^
npm ERR! File "C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 239, in LoadOneBuildFile
npm ERR! build_file_contents = open(build_file_path, "rU").read()
npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onCpExit (C:\Users\ivesh\Ardu-Stim\UI\node_modules\node-gyp\lib\configure.js:351:16)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19044
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ivesh\\Ardu-Stim\\UI\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\ivesh\Ardu-Stim\UI\node_modules\usb
npm ERR! gyp ERR! node -v v18.16.1
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ivesh\AppData\Local\npm-cache\_logs\2023-07-04T20_57_59_172Z-debug-0.log
Any ideas?
Web serial is available in browser now (Edge, Chrome, Opera only)
Bar the avrdude/direct binaries, the rest of this can now be done in browser only (without node).
I can't get the node stuff to work in Linux which is a shame.
Should be possible to do almost all of this in plain JS/HTML now using web serial
https://codelabs.developers.google.com/codelabs/web-serial#7
St170 pattern generating data at the incorrect rate & 3a92 pattern incorrect
ST170 data generates data at approx 1/6 the required rate meaning RPM seen in tunerstudio doesn't match what is generated in Ardu-Stim. Change to wheels Wheels[MAX_WHEELS] array required to set the st170 entry as follows.
{ ford_st170_friendly_name, ford_st170, 3.0, 720, 720 },
3a92 pattern also incorrect. Pattern in wheel_defs.h should be,
const unsigned char mitsubishi_3A92 [] PROGMEM =
{
1,0,1,0,1,0,1,0,1,0,
1,0,1,0,1,0,1,0,1,0,
2,0,1,0,1,0,1,0,1,0,
1,0,1,0,1,0,1,0,1,0,
1,0,1,0,0,0,1,0,1,0,
1,0,1,0,1,0,1,0,1,0,
1,0,1,0,1,0,1,0,2,0,
2,0,1,0,1,0,1,0,1,0,
1,0,1,0,1,0,1,0,1,0,
1,0,0,0,1,0,1,0,1,0,
1,0,1,0,1,0,1,0,1,0,
1,0,1,0,1,0,2,0,1,0,
1,0,1,0,1,0,1,0,1,0,
1,0,1,0,1,0,1,0,1,0,
0,0,0,0
};
Will attemp to push fixes into git.
36-1 with cam routine has extra missing tooth on revolution 2 - tooth 35
36-1 pattern should only have missing teeth at location 36 on the trigger wheel. On the second revolution (the one without the cam) tooth 35 is also missing on pattern const unsigned char thirty_six_minus_one_with_second_trigger[] PROGMEM =
Line reads, " 1,0,1,0,1,0,1,0,0,0, /* Teeth 31-35 */"
When it should read " 1,0,1,0,1,0,1,0,1,0, /* Teeth 31-35 */"
Error with pattern "36-1 crank with 2nd trigger on teeth 33-34"
The second revolution of the crank wheel has two missing teeth instead of one. I can see the error in wheel_defs.h (missing 1 for the 35th tooth on the second rev) and was able to add it and fix the issue but I'm new to Github/coding so someone that uses this platform regularly can problably fix it in a few minutes. Thanks
Audi 135 pattern gives wrong RPM
See Speeduino issue for details noisymime/speeduino#717
My calculations might be off and there is nothing wrong.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.