Close
0%
0%

Real Scania Truck Home Simulator

The Scrapyard and Arduino make a great combination!

Similar projects worth following
I always wanted to build my own Simulator and now I`m proud to present you my:

"Real Scania Dashboard Truck Simulator"

For instructions, please visit the "LOGS" button in the right bottom section!

P.S. Sorry for all missing pictures, my Picturetrail got hacked and now most links are dead. If you need pictures, please request!

Please do respect this project has ended because I'm far too busy. Replies might take a while.

Why build a Home Truck Simulator?

Because we can (thanks to Vos Truck Parts Hedel NL)!

Feel free to ask "anything"!

switch1.png

Lightswitch diagram 1

Portable Network Graphics (PNG) - 84.63 kB - 03/29/2020 at 06:27

Preview

svet_2.jpg

Lightswitch diagram 2

JPEG Image - 32.53 kB - 03/29/2020 at 06:26

Preview

svet.jpg

Lightswitch diagram 3

JPEG Image - 68.81 kB - 03/29/2020 at 06:26

Preview

ETS2_124L_NUCLEO_F446RE.bin

Program for running on a Nucleo FR446RE for the Scania Cluster and ETS2 with the 64-bit silas Parker Plug-In.

octet-stream - 35.02 kB - 11/08/2019 at 08:56

Download

component list.docx

PCB for cluster list of components

document - 11.82 kB - 10/14/2019 at 19:47

Download

View all 17 files

View all 9 components

  • Arduino Pro Micro HID Code for Toggle Switches

    Jeroen van der Velden04/27/2018 at 10:04 0 comments

    Use this code to connect a Toggle Flip Switch to an Arduin Pro Micro or Leonardo.

    The pin to connect is Digital PIN 8 and GND

    ON will output "a"

    OFF will output "b"


    Change if you like!

    #include <Keyboard.h>
    
    const byte switchPin = 8;
    byte oldSwitchState = HIGH;  // assume switch open because of pull-up resistor
    const unsigned long debounceTime = 10;  // milliseconds
    
    void setup ()
      {
      Serial.begin (9600);
      pinMode (8, INPUT_PULLUP);
      }  // end of setup
    
    void loop ()
      {
      Keyboard.begin();
      // see if switch is open or closed
      byte switchState = digitalRead (switchPin);
      
      // has it changed since last time?
      if (switchState != oldSwitchState)
        {
        oldSwitchState =  switchState;  // remember for next time 
        delay (debounceTime);   // debounce
        if (switchState == LOW)
           {
           Serial.println ("Switch closed.");
           Keyboard.press('a');
           delay(100);
           Keyboard.releaseAll();
           }  // end if switchState is LOW
        else
           {
           Serial.println ("Switch opened.");
           Keyboard.press('b');
           delay(100);
           Keyboard.releaseAll();
           }  // end if switchState is HIGH
        }  // end of state change
         
      // other code here ...
       
      }  // end of loop

  • Scania 4-Series Opticruise for ETS

    Jeroen van der Velden03/25/2018 at 19:48 0 comments

    Hi folks!

    Today I show you my Scania 4-Series Opticruise working in ETS2. In fact, it will work on any Simulator due to the use of an Arduino Leonardo which Windows will recognize as a HID device (keyboard). I programmed Shift up to "Right Shift" and shift down to "Right CTRL" which are the ETS2 default keys for shifting gear!

    Have fun!

    Arduino Leonardo Code:

    #include "Keyboard.h"
    
    #define SHIFTUP_PIN   2
    #define SHIFTDOWN_PIN   3
    
    // Works on the Leonardo board 
    // Build by Jeroen van der Velden
    // https://hackaday.io/project/8448-real-scania-truck-home-simulator
    
    static void ShiftUp(void)
    {
        Keyboard.press(KEY_RIGHT_SHIFT);
    }
    
    static void ShiftDown(void)
    {
        Keyboard.press(KEY_RIGHT_CTRL);
    }
    
    void setup(void)
    {
        Keyboard.begin();
    
        // Set pin to input
        pinMode(SHIFTUP_PIN, INPUT);
        // Enable pullup resistor
        digitalWrite(SHIFTUP_PIN, HIGH);
    
        // Set pin to input
        pinMode(SHIFTDOWN_PIN, INPUT);
        // Enable pullup resistor
        digitalWrite(SHIFTDOWN_PIN, HIGH);
    }
    
    void loop(void)
    {
        static uint8_t shiftUpStateLast = 0;
        static uint8_t shiftDownStateLast = 0;
        uint8_t shiftState;
    
        shiftState = digitalRead(SHIFTUP_PIN);
        if (shiftState != shiftUpStateLast) {
            shiftUpStateLast = shiftState;
    
            if (shiftState == 0) {
                ShiftUp();
                delay(100);
                Keyboard.releaseAll();
            }
        }
    
        shiftState = digitalRead(SHIFTDOWN_PIN);
        if (shiftState != shiftDownStateLast) {
            shiftDownStateLast = shiftState;
    
            if (shiftState == 0) {
                ShiftDown();
                delay(100);
                Keyboard.releaseAll();
            }
        }
    
        delay(50);
    }

  • Scania 4-series cockpit cluster part 4

    Jeroen van der Velden04/13/2017 at 20:46 0 comments

    My very first test with our new PCB for original 4-Series Clusters.

    This film shows how the board below works:

    Below is the final result of the PCB on top of the Nucleo. If you are interested in the PCB, please contact me. I do have some spare boards.

    Credits for Arcannae who developed the Nucleo integration and code. Check his YouTube for more info:

    https://youtu.be/wuZenTPaic8

  • Scania 4-Series Cockpit Cluster Part 3

    Jeroen van der Velden03/13/2017 at 18:40 0 comments

    Many thanks to HEX173 ("Ad") who has send me new PCB`s for our Scania Cockpit Cluster.

    I`m struggling very hard to get all the components required to complete our board. I also struggle mastering the required Soldering Skills.

    Here`s a picture of the progress:

    End Result:

  • Scania 4-Series Cockpit Cluster Part 2

    Jeroen van der Velden02/08/2017 at 19:57 0 comments

    Hi all,

    We got the Gerber files for our PCB and a first sample has been made:

    We are going to use a "Nucleo F446RE" board along with this print to get our cluster up and running.

    Keep following!

  • Scania 4-Series Cockpit Cluster

    Jeroen van der Velden11/04/2016 at 19:00 1 comment

    We have a Cluster! Keep following!!

  • Steer Part 2 continued

    Jeroen van der Velden10/01/2016 at 18:03 0 comments

  • Steer Part 2

    Jeroen van der Velden09/03/2016 at 18:55 0 comments

    Hi folks!


    Now Mr. Blom has made some beautiful pieces for our Scania Steering Wheel we have started working on the Steering Again.

    If you have read my old Steer Part 1 you have noticed that we started all over. We warn`t satisfied with our results so I have spoken to our new sponsor and he made me a disc that fits over our Logitech Drivingforce Pro wheel.

    This is the result:

    The Steering Shaft in the picture is a BMW Steering Shaft, very lightweight and cheap on Ebay and perfect for our simulator. The disc is quite heavy weight but its perfectly tune-able for our sim and if it causes trouble we will cut some slices pizza out of it.

    Mr. Blom is now working on the top part of the steering shaft and a bracket to hold it all into place. Keep following for more updates!

  • New Sponsor !!

    Jeroen van der Velden09/03/2016 at 18:44 0 comments

    Hi folks,

    After a long summer-stop we are back in business and this time we are proud to announce our new sponsor "Blom Eethen". Mr. Blom is helping us with some of the metal parts required to get the steering wheel connected to our USB Racing Wheel. Mr. Blom is very skilled and he has over 45 years of experience and just about all the right tools for any kind of metalwork job !!

    If you need some "Custom" metal work for you DIY simulator, he`s the person you should talk to!

    Mr. Blom Eethen and his tool shop (pictures and video below):

    Feel free to have a look at his website for more information: http://www.blomeethen.nl/

  • Pedals Connected!

    Jeroen van der Velden06/19/2016 at 13:41 0 comments

    Progress with our Pedals!



View all 38 project logs

  • 1
    Step 1

    To learn how Scania Components are used, connected and wired, please folow this page. I will publish as much information as possible.

    Click here for my video channel

View all instructions

Enjoy this project?

Share

Discussions

retrosteamknight wrote 11/08/2017 at 02:59 point

Over here in America, we do not have access to a "Vos Truck Parts." Is there any alternative that we can use? Is there any other way to get the Scania dashboard? Or will this work with any other truck dash?

  Are you sure? yes | no

Jeroen van der Velden wrote 09/01/2019 at 05:38 point

think they do sell https://www.vostruckparts.nl/en/?gclid=EAIaIQobChMI3pbNh_Su5AIVQ7TtCh1gbwNaEAAYASAAEgJ64vD_BwE

But eBay SCANIA 4-series parts should work.

  Are you sure? yes | no

flayols.olivier wrote 08/12/2017 at 13:23 point

Bonjour, Je suis le propriétaire original de "votre" travail concernant la mise en application du tableau de bord avec une carte nucleo. j'aimerai vous dire que déjà la moindres des choses lorsque on utilise le travail de quelqu’un d'autre, on site la source ou la personne qui en est le propriétaire... ça fait toujours plaisir et ça évite certains malentendu...
Ensuite je vois également que vous vendez un travail qui ne vous appartient pas. sachez que je pourrais engager des poursuites judiciaire et demander un dédommagement pour atteinte au droits de propriété intellectuelle. MON travail est a disposition GRATUITE sur ma chaine YouTube et en aucun cas il est autorisé a être utilisée a des fins de revente par tierce personne. Vous voila prévenu.

Cordialement,

Arcannae

  Are you sure? yes | no

Jeroen van der Velden wrote 09/01/2019 at 05:42 point

Sorry Arcannae, I’m not selling your code. I did sell a few of my PCB’s at cost but no profit was ever made or intended. Anyway I’m no longer selling. Sorry if I disappoint you and thank you for your great work.

  Are you sure? yes | no

Mike McGuire wrote 11/21/2016 at 07:34 point

Great work! I've been working on a Kenworth Simulator Cockpit, myself for American Truck Simulator, since February, 2016. I've always liked Scanias, too though!

https://hackaday.io/furnacemike

  Are you sure? yes | no

Jeroen van der Velden wrote 09/01/2019 at 05:42 point

nice!

  Are you sure? yes | no

Roman wrote 02/27/2016 at 22:41 point

Very cool simulator, any plans to make one for a regular or may be a sport car? :) 

  Are you sure? yes | no

Jeroen van der Velden wrote 02/28/2016 at 11:33 point

Thanks Roman! Who knows what may be next! Nobody did a Truck and I have seen cars so for now I stick with Trucks ;0

  Are you sure? yes | no

Amitesh wrote 02/21/2016 at 15:04 point

Awesome project 

How much did it cost you ? Are all the codes available in your post ? can you make a tutorial on wiring and programming it ? I am thinking of making something similar to your project . I will be starting with Arduino and I am having no idea about its coding please help me with it ? 

  Are you sure? yes | no

Jeroen van der Velden wrote 02/21/2016 at 17:18 point

check my logs! It's all there my friend! Both Instructions and code. If you need specific help, send me a note and I will share my knowledge with you.

  Are you sure? yes | no

Amitesh wrote 02/22/2016 at 08:24 point

thank you very much I will be starting it by end of this March.

  Are you sure? yes | no

Amitesh wrote 02/22/2016 at 08:27 point

is Arduio UNO Rev3 the Arduino UNO R3??

  Are you sure? yes | no

Jeroen van der Velden wrote 02/22/2016 at 08:37 point

Yes Arduino UNO R3 or UNO Rev3 (its the same). The UNO is only used for the VW Polo Cluster Instrument Panel. I used Arduino Pro Micro and Leonardo R3 for all the Scania parts.

  Are you sure? yes | no

Richard wrote 02/17/2016 at 20:14 point

Really good looking project! Keep going!
Is there any way to contact some of developers? I`ve trying to create by myself, but have some problems :)

  Are you sure? yes | no

Greg Kennedy wrote 01/28/2016 at 19:31 point

I love simulator builds, and this one is quite nice!

  Are you sure? yes | no

Jeroen van der Velden wrote 02/21/2016 at 18:41 point

Thanks Greg!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates