hoantv / carsimulatorfirmware Goto Github PK
View Code? Open in Web Editor NEWThis is openfirmware ffb for stm32 that supports all effets
This is openfirmware ffb for stm32 that supports all effets
Add oled that display all configurations
Hardware tab -> Motor section -> Controller drop down -> Select "Internal DAC"
Click Apply
Click Save
Debug reports...
[16:25:31] [Motor]Data successfully sent (42) bytes
[16:25:31] [Save-11]Data successfully sent (9) bytes
[16:25:36] Unable to save data
Go back to drop down and it remains on "PWM".
Hello, really nice work! Can you share your newest source files for stm? I'm trying to rewrite your code for adruino, but I can't.
While the force is correct direction when no in game and the wheel centers perfectly both directions, in LFS it reverses direction for the CCW direction. See this video: https://youtu.be/UvV70YOY9iM . The MMOS firmware works perfectly on LFS and same hardware (TDD board). The settings of the board can be seen on the video as well.
Thanks
Thanos
You could add a function to light an LED when the input FFB is so high that it saturates the signal, so you can remedy it by lowering the strength of the ffb in the game.
We are several users who have the stm32f407 black board and this has two LEDs, one on pa6 and one on pa7
Add readanalog for pedal, shifter
Add option to adjust ffb frequency.
Hello,
to help to know if we use compatible firmware, a great function can be :
Vincent
when the wheel at 1080 position, choose a customized profile with 540 degree. the wheel running and stop after 2 second.
Reprocedue:
With time software center goes left. UI shows wheel in the center, but physically wheel turned right. In time this angle increasing. Always in one direction.
Doesn't matter - I racing in sim or rotating wheel with UI running - center moves.
UI: v2.6.1.4
FW: VNM_WHEELBASE_V1_STM32F407 (V1.0.1.11 ?)
Internal DAC, Z-index on, PPR 2500
130ST-10010
AASD
Windows 10
1kom resistors presented (encoder wires -> STM's 5V).
Every time you start the board, it loads the default configuration values, instead of the last ones adjusted with the GUI, it would be nice that once the parameters were set in the GUI they will be saved in the flash of the board, so there is no need to open the GUI every time you want to use the steering wheel.
Hi Hoan
Today i tested new V1 Firmware and the wheel and pedals work great. (PC0 to PC3)
So i want to test shifter.
Which inputs do you use for the analog inputs for the shifter?
There is no information in the wiki
Kind regards
C1500
Maybe add support for external led (not the ones on the board).
One for e-Stop engaged, another for e-Stop disengaged ?
Do you have any plans to support absolute encoders? I have a BISS C 22bit which I would love to use with this.
Many Thanks
Hi hoan I have been following you for some time and I admire your work.
I tried the game configurations for dirty 2 and everything works quite well, but the vibrations due to the contact of the wheels with the different surfaces of the tracks are almost nil, I made a slight modification to the line suggested by you to add a little more ffb and something has improved, however I have read that the dirty ffb is not optimized very well.
To have a bigger playground, you could add the Automobilista 2 configuration specs.
Thanks and good job
hello, I an on the way test your last vision. when the wheel turning from left stop point to right point PE8 output all the time keep high level. when the wheel over the right stop point PE8 output turn to low level.
No update log for last wheelbase firmware.
But obviously there is at least blocking compatibility with Thanos TDD Board.
v.0.19.4: game (Raceroom), after load game, load race - ffb work, exit to menu and return to race - ffb not working or very very weak
Add, please, 4k resolution to program.
Test this case
Allow to adjust this value
Add gain for desktop effect
Hello,
i made a PWM Review.
I think you have to use a DAC because in the main file, you don't initialise PIN with the TIM fonction like that : GPIO_PinAFConfig(GPIOE, GPIO_PinSource9, GPIO_AF_TIM1) in the main.c program around line 226. So without this pin enabling function, PWM signal is not generated, and i think, you need to declare the DAC to force the pin.
You would remove adc, it will not help at all.
in your "run" pwm method : I think you have to setup first the DIR before the PULSE pin. As you have to do job twice (setup the PWM and the DAC), i think you have several clock that allow PWM to generate a quick not wanted signal.
=> In summary, what you could do :
On the capture with saw that the "noise" is generated before the "PULSE".
Vincent
Pulse/dir # pwm/dir. correct the name.
It can be use BTS7960 ?
Hi
this firmware is compatible with industrial servos + drivers?
brands like:
Mitsubishi
Yaskawa
Siemens
Fanuc
SanMotion (Sanyo Denki)
ABB
Schneider
Parker
Allen-Brandley
Kuka
Festo
Bosch
Omron
etc..
?
greetings
Hello,
a new feature would be to a full stm32 reset after saving a setup.
Vincent
Using the TDD Board, I tried the option for internal or external DAC and ended up with a dead wheel with no forces applied in UI or in game.
Rollback the code detects zindex. calibration and store the value in flash.
Hello,
To test if the setup is ok, add on the main screen the feedback of encoder : if index is found or not, current encoder position.
Vincent
It's compatible with linux with full Force Feed Back? thanks
After turnon stm32, the wheel automatic return to the centering regardless of a certain position.
Wheel rotates constantly from end to end since v2.3... on TDD Board+AASD-30A+Big Mige.
3 loadcell pedal
is possible to have source code for porting on stm32 blue pill (STM32F103C8T6 based)?
It was capable to run a ffb firmware (i know a closed source firmware thath works, https://www.facebook.com/EMCDeveloper/), but pin used in MMOS does not exist on this board
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.