WEEK 16

Applications and Implications

Individual assignment: Propose a final project masterpiece that integrates the range of units covered. Answering:

1. Individual Assignment

1.1. What will it do?

MY IDEA FOR THE FINAL PROJECT IS TO BUILD A VIRTUAL REALITY SIMULATOR FOR ELECTRIC SCOOTER. "VR SCOOTER".

I design and build an electric scooter on a simulation platform that will integrate the movements made by the user in a virtual scenario created in Unity software, and it can also be viewed using Vive Cosmos HMD.

The user’s brake, throttle and steering handlebar actions are transferred to the virtual scene and their road slope are replicated on the platform.

Replicate the structure of an electric scooter on the market (xiaomi pro 2), the functionality of the scooter is to integrate the following inputs (Throttle, handbrake, power button and direction)

VR Scooter 1.0: Initially I have thought of a sketch of a 2 degree of freedom (pitch / roll) platform driven by two electric motors. In this new version the platform will only have 1 degree of freedom of movement, I will use an electric actuator for the movement (pitch), I have ruled out the movement (roll) since the user could fall from the platform and suffer an injury, in addition, the stage Virtual will simulate the tour of a city where you would only find slopes up and down.

The platform will be composed of:

  • a power supply (230vac - 24vdc)
  • a motion control system
  • an electric actuator
  • a fastening system for the electric scooter (a shock absorber is included to simulate a roll due to the inertial movement due to the movement of the user's body)
  • the support structure

Creation of a virtual reality and communication scenario A computer will be used to create the scenario in the UNITY software and to communicate through the serial port with the platform. The visualization of the scene will be done through virtual reality HMD.

1.2. Who's done what beforehand?

I have not found any project that uses an electric skateboard simulator, but I have projects that have built electric skateboards like the following:

1.3. What will you design?

This project is composed in 3 parts:

  • Desing and construction of an electric scooter (not funcional). Replicate the structure and inputs.
  • Design and development of a 1 degree of freedom platform.
  • Electronic design of an electronic board: motor control, direction, brake and accelerator sensors, led button for start.
  • Creation scenario VR in Unity software and communicate with platform.

1.4. What materials and components will be used?, Where will come from? and How much will they cost?

Table of materials

Component Source Unit Unit price Total Price
Premium PLA to 3D print the structure of the electric scooter (9kg) 2 spools of 4.5 kg each https://www.formfutura.com/shop/product/premium-pla-2833 2 95 190
Matt PLA 1.75mm to print the small parts of the scooter: throttle, brake and steering (750 gram roll) https://www.formfutura.com/shop/product/matt-pla-2817?category=459 1.5 24.75 37.12
Profile forms round tube of raw aluminum. Ref: 80109841 https://www.leroymerlin.es/fp/80109841/perfil-forma-tubo-redondo-de-aluminio-en-bruto 2 4.99 8.98
Hall effect sensor https://www.digikey.es/product-detail/en/A1324LLHLT-T/620-1402-1-ND/2639992/?itemSeq=317725685 2 1.88 3.76
Potentiometer https://www.digikey.es/products/es?keywords=987-1396 1 0.65 0.65
6mm Press Car Press LED Light 5Pin Self-Reset 1NO 1NC Metal Push Button Switch On / Off (Yellow Light 5V) https://www.amazon.es/Self-Reset-Interruptor-moment%C3%A1neo-encendido 1 6.09 6.09
ATtiny3216-SN IC MCU 8BIT 32KB FLASH 20SOIC https://www.digikey.es/product-detail/en/microchip-technology/ATTINY3216-SNR/ATTINY3216-SNRTR-ND/9477801 1 0.75 0.75
Regulator lineal 5 v ; 100 mA IC REG LINEAR 5V 100MA SOT23-3 https://www.digikey.es/product-detail/en/LM3480IM3-5.0%2fNOPB/LM3480IM3-5.0%2fNOPBCT-ND/270751/?itemSeq=317722283 1 0.94 0.94
499Ω resistors RES SMD 499 OHM 1% 1 / 4W 1206 https://www.digikey.es/products/es?keywords=311-499FRCT-ND 2 0.08 0.16
1K Ω resistors RES SMD 1K OHM 1% 1 / 4W 1206 https://www.digikey.es/products/es?keywords=311-1.00KFRCT-ND 1 0.08 0.08
0KΩ RES SMD 0 OHM JUMPER 1 / 4W 1206 resistors https://www.digikey.es/products/es?keywords=311-0.0ERCT-ND 1 0.08 0.08
LED GREEN CLEAR 1206 SMD https://www.digikey.es/products/es?keywords=160-1169-1-ND 1 0.25 0.25
LED YELLOW CLEAR 1206 SMD https://www.digikey.es/product-detail/es/kingbright/AP3216SYCK/754-2163-2-ND/2415184 1 0.25 0.25
Capacitor 1uF CAP CER 0.1UF 250V X7R 1206 https://www.digikey.es/products/es?keywords=399-4674-1-ND 2 0.29 0.58
Marine phenolic plywood board made of ocume and pine wood. Measurements: 250 x 122 x 1.5 cm https://www.leroymerlin.es/fp/19112142/tablero-fenolico-para-exterior-de-122x250-cm 1 80 80
Brushed spruce slat 44x44mm x 2.4M (width x thickness x length). Ref: 14126196 https://www.leroymerlin.es/fp/14126196/liston-de-abeto-cepillado-44x44mm-x-2-4m-ancho-x-espesor-x-largo 12 8.29 99.48
35 steel milled head wood screws 20 mm long Ref: 82231804 https://www.leroymerlin.es/fp/82231804/35-tornillos-para-madera-con-cabeza-fresada-de-acero-y-20-mm 1 1.59 1.59
50 wood screw with flat steel head and 80 mm long Ref: 14675682 https://www.leroymerlin.es/fp/14675682/50-tornillo-para-madera-con-cabeza-plana-de-acero-y-80-mm 2 8.05 16.1
40 wood screw with flat steel head and 50 mm long Ref: 14684411 https://www.leroymerlin.es/fp/14684411/40-tornillo-para-madera-con-cabeza-plana-de-acero-y-50-mm 2 4.9 9.8
RS PRO Electric Linear Actuator, 24V dc, 2500No, 67.1mm / s, 102mm RS Stock No:177-4509 https://es.rs-online.com/web/p/actuadores-lineales-electricos/1774509/ 1 374.72 374.72
Pololu Single Motor Driver 12A, 5.5 - 24V by Pololu. Ref RB-Pol-173 https://www.robotshop.com/es/es/controlador-motor-unico-pololu-12a-55-24v.html 1 22.14 22.14
Gyroscope Accelerometer IMU MPU-6050 6 DOF https://www.robotshop.com/es/es/giroscopio-acelerometro-imu-mpu-6050-6-dof.html 1 8.19 8.19
TDK-Lambda Integrated Switch Mode Power Supply (SMPS), 24V dc, 12.5A, 300W, 1 Output, Panel Mount https://es.rs-online.com/web/p/fuentes-de-alimentacion-de-modo-conmutado-smps-integradas/8139128/ 1 91.69 91.69
953.405 Euros

1.5 What parts and systems will be made? and What processes will be used?

Almost all parts of the simulator will be manufactured. The structure of the electric scooter is manufactured in PLA using large format 3D printing (Discovery printer) and the smaller parts such as: brake, accelerator, steering with 3D printing (ender3 pro printer).

The handlebar grips will be made with molding and casting. I will create the low cost silicone molds with the router (Stepcraft420) and the casting material for the vytaflex40 urethane rubber compound handlebar grip.

The platform structure is made of wood by milling with the large format milling machine CNCBarcenas.

The electronic boards for the sensors and the electronic control board will be CNC milling (SRM-20) and soldering the electronic components.

1.6 What questions need to be answered?

Which motor to select to move the platform?: I must take into account the weight of a person, the weight of the electric scooter and the weight of the top wood of the platform.

How am I going to control the motor and which electronic board will I use?: During the week of output and electronic desing I will carry out motor control tests and look for chips to integrate into my electronic board

How am I going to get the sensor data for the throttle, steering and brake?; In the week of inputs, embedded programming I will look for sensors that can help me to obtain turning values for the steering and other sensors to obtain the physical values of acceleration and braking.

How to create a Virtual Reality interface?: I have previously developed virtual reality projects, so I will use the Unity software to create an interface and communication with the electronic board. I will also configure the VR glasses. Finally I will create a virtual scene of a city where the user can make tours with the scooter. I will be guided by what I do in Networking and communication / Interface and application programming week.

1.7 How will it be evaluated?

I have structured the project in a spiral diagram. In each spiral, the operation of the device can be evaluated