• Content count

  • Joined

  • Last visited

1 Follower

About RomanST77

  • Rank
    Licensed Driver

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Most of arduinos do not have USB support (e.g. Arduino Nano for $3, it has only USB-UART bridge). By the contrast cheap STM32 boards have full USB device support. Paying 15-20 dollars for Teensy is madness...
  2. Finished my STM32 shifter/pedals adapter board:, will sell about 8-9 boards for $15 not including shipping costs... All info is open, you can make your own if interested...
  3. btw I'm planning to start selling stm32 based adapters for logitech pedals and shifters real soon. It will have open source firmware and open hardware design documents. the price will be similar to teensy boards but you don't have to solder anything to it. If anybody plans to fork the design and making it yourself - it's okay for me.
  4. Also the shifter schematics on the fist page of this thread needs to be fixed. Shift registers are 74HC165D, not HCF4021. They works pretty much the same way, difference is in nCS level, for 74HC165D active level high, for HCF4021 active level low. All 74HC165D inputs must have pull down resistors, overwise all buttons will be always '1'.
  5. G25: 1. VCC -> VCC 2. Data -> SPI MISO 3. Parallel/Serial -> SPI nCS 5. Not connected (not correct :-)) -> SPI MOSI 6. GND -> GND 7. Clock -> SPI SCK For G27 swap pins 1 and 7
  6. I attached some Arduino sketches to read & program shifter eeprom. Be careful with WRITE_VERIFY sketch, it will overwrite your eeprom data! Also there is a datasheet for EEPROM and live traffic between wheel base and shifter (yeah, I sniffed SPI data during wheel auto calibration). Please post here your eeprom contents. I will try to figure out if there are calibration values in it. Logitech wheel base has 8-bit ADC, so all values must be simple bytes... G27_EEPROM_READ.ino G27_EEPROM_WRITE_VERIFY.ino m95010.pdf calibration-eeprom.txt
  7. I only design some electronics for this project, rims will be made by other person...
  8. Custom formula rims for G27 with standard electronics (6 button) and with additional buttons (connected to DB9 shifter connector on G27 base). Work in progress...
  9. I use stm32f103c8t6 (costs $2 on aliexpress + $1,5 for st-link v2) to connect both pedals and shifter as standalone device. However it's a bit harder to write a proper code for it. I also made a small board with electronics similar to G27 shifter to get more buttons on steering wheel. It's connected to G25 or G27 wheel base instead of shifter and gives you 12 additional buttons, very useful if you want to make formula rim for G25 or G27...
  10. Hi folks, I have a working code for STM32F103 to use G27 shifter and pedals as standalone device, if anyone interested github link will follow. I also designed a small (5x5 cm) board based on STM32F042 with two DB9 adapters to connect pedals and shifter, it's not tested yet but I will do the tests real soon. Actually the only problem is shifter calibration. My code has hardcoded values which fit my shifter nicely. I guess that for other shifter I will need either to pick other values or to find a way to calibrate shifter. I assume that shifter eeprom has all the nessesary values but I don't know how to interpret the data. My shifter eeprom contents: 0x46, 0xD2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB2, 0x01, 0x7B, 0x91, 0x7B, 0x53, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x07, 0x1F, 0x3F, 0x5F, 0x7F, 0x9F, 0xBF, 0xDF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x0A, 0x0D, 0x0E, 0x10, 0x13, 0x15, 0x17, 0x19, 0x1B, 0x1D, 0x1F, 0x21, 0x23, 0x26, 0x28, 0x2A, 0x2C, 0x2E, 0x30, 0x32, 0x34, 0x37, 0x39, 0x3B, 0x3D, 0x3F, 0x41, 0x44, 0x45, 0x47, 0x56, 0x5E, 0x66, 0x6E, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAA, 0x55, 0xA6, 0x90, 0x90, 0x90, 0x57, 0x7B, 0xFF, 0xFF Hardcoded values are 25 (400 for 12-bit ADC), 175 (2800 for 12-bit ADC) for Y axis, 87 (1400 for 12-bit ADC), 162 (2600 for 12-bit ADC) for X axis. If you have no idea what I am talking about have a look at this video by Leo Bodnar: Leo stores calibration data inside his device. I hope to understand what's stored inside Logitech eeprom...