Skip to content

GigelBosket/FBB-Racing-Wheel

Repository files navigation

FBB-Racing-Wheel

Custom Racing Wheel with Force Feedback containing the wheelbase and steering wheel with the attachments to connect the 2 together. A custom PCB will be used to control the hoverboard motor and read it's position throw a rotary encoder connected to the motor with 2 gears. A Pico 2 is used in the wheelbase to receive data from the wheel(which also has a pico 2) throw SPI protocol. The pico 2 isn't used only for receiving data from the steering wheel, it could also get data from other devices like pedals, shifter, handrbrake and many more. The pico 2 supports up to 6 SPI/I2C connections and also sensors can directly be connected to it's GPIO pins.

The big difference between my racing wheel and others is that mine has direct data transfer throw the magnetic pins from steering wheel to wheelbase which goes in the pc. That means very small latency and no cable twisting all thanks to the magnetic pins (pogo pins) and the slipring. The downside that comes with this is the plastic parts for the high strain parts like the motor extension and the quick release all from plastic(3d printed) but it still should work fine.

I'm making the project so I could inspire others with my design as it's different than most I've seen. And also it's way cheaper than buying a new one with similar specs.

Specs:

  • up to 15nm of torque
  • fast response time of 1ms(1000hz)
  • wheel base is L=20cm, W=20cm(at the corner, max dist) H=17cm.
  • steering wheel is 33cm
  • the 3d printed case for the steering wheel L=16.2cm, W=3.2cm, H=7.5.
  • 12 buttons
  • 5 encoders
  • 1 funcky switch(for easier customization of the car in games/other actions like camera fix position)
  • high precision encoder(for motor)

Wheel final version below Rendered_model

Wheel base Screenshot_26

Close image from the steering wheel face Screenshot_2

The back of the steering wheel Screenshot_3

Simple wiring scheme for the Pico 2 of the wheel base to the wires of the slip ring. The image also includes a simple connections from the pico 2 to some sensors if you want to directly connect any sensor to it. image

Custom bldc motor driver PCB image

PCB image of it's top copper layer image

Steering wheel buttons/encoders will be connected to the pico 2 throw a matrix system in which each button is connected to column and row and the pico 2 will send a signal to each column and then wait for output from any of the rows and that's how it will find which buttons got pressed. This matrix system allows the usage of a high number of buttons without haveing a pin for each button. Also a diode will be used to prevent the current from flowing the opposite direction and causing ghosting. The order in which the buttons are connected doesn't matter so I won't include a photo of that. Also I won't add the file for schematic as it's a very simple schematic which isn't linked to other files and it's used to have and idea how the connections work for who doesn't already know(the wires can be connected to others pins and still work fine).Just don't forget to connect it to the pogo pins which then go to the Pico 2 in the wheel base which will process the data, don't forget to wire the pins accordingly for SPI protocol(example above). The pico 2 of the steering wheel is gonna be the slave while the pico in the base is gonna be the master. Slave awaits commands from master.

Print tips So the parts used to connect the motor to the wheel should be printed with 95% infill, the oher parts should be printed with 15-30% infill as they won't have that much strain on them I m gonna use ASA fillament as it is pretty strong and should do the job well. Also if you are a total beginer you should download only the stl files as they are the only one needed to print the parts.ts.

I used Raspberry Pi Pico extension in VS code which downloads the SDK for pico and other packages automaticly. If you want to use my code for Pico 2 just git clone my project then open the folder with the code you want to upload on your pico, in VS Code (after installing the extension) and just compile, select port of Pico 2 and upload.

Pico 2:

image

What you need to wire to the bldc motor driver PCB: PCB small diagram

BOM Total Price in us dollars
Material/Product Quantity Price per Unit SubTotal Shipping TotalPrice Link
HoverBoard Motor 1 20 20 5 25 Local Market(OLX.ro)
Pico 2 1 5.5 5.5 6 11.5 https://www.tme.eu/ro/cart/step/0/order/33780296
SK16 support 2 5.5 11 5 16 https://www.cnc-kit.ro/cumpara/sk16-suport-ax-16-mm-676
Rotary Encoder 38S6G5-B-G24N 1 11 11 5 16 https://www.aliexpress.com/item/1005006657099269.html?spm=a2g0o.detail.0.0.48bfnCCMnCCMPD&mp=1mp=1
MicroUsb convertor to Usb A 1 0.35 0.35 0 0.35 https://www.aliexpress.com/item/1005005982662099.html?spm=a2g0o.detail.0.0.771aF986F986OE&mp=1mp=1
Usb C convertor to Usb A 1 0.35 0.35 0 0.35 https://www.aliexpress.com/item/1005005982662099.html?spm=a2g0o.detail.0.0.771aF986F986OE&mp=1mp=1
Aluminium Profile 20mm x 1m 1 8 8 5 13 https://www.automatic.ro/profiluri-de-aluminiu/510-profil-de-aluminiu-20x20-mm-canal-5-tip-item.html
M4x10mm Screw 48 0.04 1.92 0 1.92 https://www.dedeman.ro/ro/surub-cu-cap-cilindric-cu-locas-hexagonal-otel-zincat-alb-din-912-8-8-sw-3-m4-x-10-mm/p/1033735
M4 nuts 48 0.012 0.576 0 0.58 https://www.dedeman.ro/ro/piulita-hexagonala-din-otel-zincat-alb-din-934-m4/p/6000218
M5 screw(pack of 5) 1 3.62 3.62 0 3.62 https://www.dedeman.ro/ro/surub-cu-cap-cilindric-cu-locas-hexagonal-otel-zincat-alb-din-912-8-8-m5-x-30-mm-set-5-bucati/p/6014463
M5 nuts 4 0.012 0.048 0 0.05 https://www.dedeman.ro/ro/piulita-hexagonala-din-otel-zincat-alb-din-934-m5/p/6000211
Slip Ring 1 14 14 0 14 https://www.aliexpress.com/item/1005007469166149.html?spm=a2g0o.tesla.0.0.3dfdCxmRCxmRw3&afTraceInfo=1005007469166149__pc__c_ppc_item_bridge_pc_main__1392mx0__17645249671967196
6 pin magnetic connector(male and female) 1 2 2 0 2 https://www.aliexpress.com/item/1005010344872906.html?spm=a2g0o.productlist.0.0.23cd1f3eKvgHZs&mp=1mp=1
Power Supply 24v 20A(80%efficiency) 1 39 39 0 39 https://www.aliexpress.com/item/33051556213.html?spm=a2g0o.cart.0.0.295838daYNvhOv&mp=1mp=1
12AWG Red and Black cable 1 7 7 0 7 https://www.aliexpress.com/item/1005008617874353.html?spm=a2g0o.productlist.main.1.17d020b4Rvij4e&aem_p4p_detail=2025122612534416560488550501840001829804&algo_pvid=f49deaba-5b28-4f73-bf14-0f9abc170d7e&pdp_ext_f=%7B%22order%22%3A%22690%22%2C%22eval%22%3A%221%22%2C%22fromPage%22%3A%22search%22%7D&utparam-url=scene%3Asearch%7Cquery_from%3A%7Cx_object_id%3A1005008617874353%7C_p_origin_prod%3A&search_p4p_id=2025122612534416560488550501840001829804_1550501840001829804_1
Steering Wheel 1 59 59 3 62 https://www.aliexpress.com/item/1005005748732216.html?spm=a2g0o.detail.0.0.771aF986F986OE&mp=1mp=1
RKJXT1F42001 1 3.66 3.66 0 3.66 https://www.aliexpress.com/item/1005006287472896.html?spm=a2g0o.cart.0.0.295838daYNvhOv&mp=1mp=1
Push Button 1 2.2 2.2 0 2.2 https://www.aliexpress.com/item/1005001700262900.html?spm=a2g0o.detail.pcDetailTopMoreOtherSeller.3.dedc2Nkd2Nkdsq&gps-id=pcDetailTopMoreOtherSeller&scm=1007.40050.354490.0&scm_id=1007.40050.354490.0&scm-url=1007.40050.354490.0&pvid=ea68574a-2666-4e59-a2fa-c057ce48ff6b&_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:ea68574a-2666-4e59-a2fa-c057ce48ff6b,tpp_buckets:668%232846%238108%231977&pdp_ext_f=%7B%22order%22%3A%2246%22%2C%22eval%22%3A%221%22%2C%22sceneId%22%3A%2230050%22%2C%22fromPage%22%3A%22recommend%22%7D&utparam-url=scene%3ApcDetailTopMoreOtherSeller%7Cquery_from%3A%7Cx_object_id%3A1005001700262900%7C_p_origin_prod%3A001700262900%7C_p_origin_prod%3A
Rotary encoders 15mm shaft(pack of 5) 1 3.7 3.7 0 3.7 https://www.aliexpress.com/item/32877104625.html?spm=a2g0o.productlist.main.1.48556bd7NRqWOd&aem_p4p_detail=202512260523295366502074963100001276967&algo_pvid=1431a988-9934-4868-8815-4e6e2980ab92&pdp_ext_f=%7B%22order%22%3A%229%22%2C%22eval%22%3A%221%22%2C%22fromPage%22%3A%22search%22%7D&utparam-url=scene%3Asearch%7Cquery_from%3A%7Cx_object_id%3A32877104625%7C_p_origin_prod%3A&search_p4p_id=202512260523295366502074963100001276967_1074963100001276967_1
Knob of rotary encoders (pack of 10( 1 1.4 1.4 0 1.4 https://www.aliexpress.com/item/1005006995837493.html?spm=a2g0o.productlist.main.16.58eba5a4rt7KPi&algo_pvid=26de8e72-05c5-4207-9564-9d77d845d36d&aem_p4p_detail=2025122605252814300115747411750001318343&pdp_ext_f=%7B%22order%22%3A%222%22%2C%22eval%22%3A%221%22%2C%22fromPage%22%3A%22search%22%7D&utparam-url=scene%3Asearch%7Cquery_from%3A%7Cx_object_id%3A1005006995837493%7C_p_origin_prod%3A&search_p4p_id=2025122605252814300115747411750001318343_6747411750001318343_6
M6 x60mm screw 6 0.17 1.02 0 1.02 https://www.dedeman.ro/ro/surub-cu-cap-hexagonal-filetat-complet-otel-zincat-alb-m6-x-60-mm/p/6000728
M6 nuts 6 0.032 0.192 0 0.19 https://www.dedeman.ro/ro/piulita-hexagonala-cu-autoblocare-din-otel-din-985-8-m6/p/6006481
M3 x16mm screw(pack of 20) 1 0.86 0.86 0 0.86 https://www.dedeman.ro/ro/surub-cu-cap-bombat-amprenta-cruce-cu-piulita-easy-fix-otel-zincat-alb-m3-x-16-mm-set-20-bucati/p/6014509
1N4148 25 0.247 6.175 0 6.18 https://www.tme.eu/ro/details/1n4148-dio/diode-universale-tht/diotec-semiconductor/1n4148/
28AWG Black Cable 2 0.5 1 0.7 1.7 https://www.aliexpress.com/item/1005008612186010.html?spm=a2g0o.cart.0.0.295838daYNvhOv&mp=1mp=1
28AWG Red Cable 2 0.5 1 0 1 https://www.aliexpress.com/item/1005008612186010.html?spm=a2g0o.cart.0.0.295838daYNvhOv&mp=1mp=1
PCB(min 5 Q) 1 7 7 3.12 10.12
PCB BOM(for 1 board) 1 32 32 9.52 41.52
243.57 42.34 285.92

PCB BOM Price is around 23 euros for parts only on LCSC website + other fees..

Designator Footprint Quantity Value LCSC Part #
50W RESISTOR DEGSON DG381-3.5-02P-14-00A(H) 1 DEGSON DG381-3.5-02P-14-00A(H) C5272864
C1, C12, C2, C23, C29, C30, C33, C39, C4, C40, C5, C6, C7, C8 402 14 100nF C1525
C10, C11, C3, C9 402 4 4.7uF C23733
C13, C20, C24, C25 805 4 22uF C711104
C14, C15, C16, C19, C27 603 5 1uF C15849
C17, C18 402 2 15pF C161530
C21, C22, C31, C32, C34 805 5 10uF C440198
C26 603 1 100nF C1591
C28 603 1 47nF C1622
C35, C36, C37, C38 CAP_EEEFK1H221P 4 220uF C72499
D1 D_SMC 1 SMCJ30A C4154618
D10 402 1 LED C434446
D2 D_SMA 1 SS14 C2837270
J1 USB_C_Receptacle_G-Switch_GT-USB-7051x 1 USB_C_Receptacle_USB2.0_16P C2843970
J3 JST_SH_BM05B-SRSS-TB_1x05-1MP_P1.00mm_Vertical 1 Encoder Port C160391
J4 DORABO DB128V-5.08-5P-GN-S 1 DB128V-5.08-5P-GN-S C2927513
L1 AOTA-B201610S3R3-101-T 1 3.3uH C42411119
L2 VLS6045EX-4R7M-H 1 4.7 uH C360735
L3 IND_ETQP4M220KVK 1 ETQP4M220KVK C542324
Q1, Q2, Q3, Q4, Q5, Q6 TDSON-8-1 6 CSD18532Q5B C882766
Q7 SOT-23 1 IRLZ44N(UMW) C42370423
R1, R5, R6 402 3 33 C25105
R13, R14, R15, R4, R7 402 5 1k C11702
R16, R19, R29, R31 402 4 10k C25744
R18 402 1 100k C25741
R2, R3 402 2 5k1 C25905
R20, R21, R22 2512 3 5M1 C419720
R30 402 1 31k6 C11463
R8, R9 402 2 27 C278580
S1 SW_TL3365AF180QG 1 TL3365AF180QG C2886926
U1 QFN-48-1EP_7x7mm_P0.5mm_EP5.3x5.3mm 1 DRV8323RSRGZR C545497
U2 QFN-60-1EP_7x7mm_P0.4mm_EP3.4x3.4mm 1 RP2354A C41378174
U3 TSOT-23-6 1 AP63203WU C780769
Y2 XTAL_ABM8-272-T3 1 ABM8-272-T3 C20625731

The next 2 BOMS are an aproximation for how much for just one of them. It is not 100% accurate

Wheelbase Price in US dollars
Material/Product Quantity Price per Unit SubTotal Shipping TotalPrice Link
HoverBoard Motor 1 20 20 5 25 Local Market(OLX.ro)
Pico 2 1 5.5 5.5 6 11.5 link
SK16 support 2 5.5 11 5 16 link
Rotary Encoder 38S6G5-B-G24N 1 11 11 5 16 link
MicroUsb convertor to Usb A 1 0.35 0.35 0 0.35 link
Usb C convertor to Usb A 1 0.35 0.35 0 0.35 link
Aluminium Profile 20mm x 1m 1 8 8 5 13 link
M4x10mm Screw 48 0.04 1.92 0 1.92 link
M4 nuts 48 0.012 0.576 0 0.58 link
M5 screw(pack of 5) 1 3.62 3.62 0 3.62 link
M5 nuts 4 0.012 0.048 0 0.05 link
Slip Ring 1 14 14 0 14 link
6 pin magnetic connector(male and female) 1 2 2 0 2 link
Power Supply 24v 20A(80%efficiency) 1 39 39 0 39 link
12AWG Red and Black cable 1 7 7 0 7 link
151.36 31 181.37
Steering Wheel Price in us dollars
Materials/Products Quantity Price per Unit SubTotal Shipping Total Price Links
Steering Wheel 1 59 59 3 62 link
RKJXT1F42001 Multi-function switch 1 3.66 3.66 0 3.66 link
Push Button Switch with caps(pack of 50) 1 2.2 2.2 0 2.2 link
Rotary encoders 15mm shaft(pack of 5) 1 3.7 3.7 0 3.7 link
Knob of rotary encoders (pack of 10( 1 1.4 1.4 0 1.4 link
M6 x60mm screw 6 0.17 1.02 0 1.02 link
M6 nuts 6 0.032 0.192 0 0.19 link
M3 x16mm screw(pack of 20) 1 0.86 0.86 0 0.86 link
Pico 2 1 5.5 5.5 0 5.5 link
1N4148 25 0.247 6.175 0 6.18 link
28AWG Black Cable 2 0.5 1 0.7 1.7 link
28AWG Red Cable 2 0.5 1 0 1 link
100.21 3.7 103.91

About

Custom Racing Wheel with Force Feedback containing the wheelbase and steering wheel with the attachments to connect the 2 together.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published