We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Connected car as your IoT device

00:00

Formal Metadata

Title
Connected car as your IoT device
Title of Series
Number of Parts
94
Author
License
CC Attribution 4.0 International:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Connected car as your IoT device This session will give you an overview on how to build your connected car (or motorbike), starting from the introduction of the opensource hardware available today on the market, that can be integrated easily in existing car, going through the process to build your IoT platform. The session will describe the implementation of the use cases of Vehicle management, predictive maintenance, mobility management and safety. describing the options available today and the challenges, keeping all that secure (or at least to try do it). Fabrizio Manfredi https://programm.froscon.de/2019/events/2446.html
Open sourceFreewareGoodness of fitBitMultiplication signNP-hardExpected valueLatent heat2 (number)Presentation of a groupInteractive televisionSheaf (mathematics)Line (geometry)CodeSoftware developerXMLComputer animationLecture/ConferenceMeeting/Interview
Computer hardwareSoftwareDemo (music)SoftwareComputer hardwareDemo (music)Right angleMereologyGraph coloringConnected spaceMultiplication signComputer animationXMLUML
Incidence algebraSpherical capPoint (geometry)BitPlastikkarteData recoveryPressureCASE <Informatik>Communications protocolFood energyMathematical optimizationAreaConnected spaceView (database)InternetworkingDifferent (Kate Ryan album)Standard deviationTelecommunicationMereologyWater vaporComputer hardwareHazard (2005 film)Right angleBootingComputer-assisted translationMeeting/Interview
InternetworkingComputerCodeLine (geometry)Process (computing)IntelAreaTotal S.A.EstimationConnectivity (graph theory)Component-based software engineeringService (economics)CodePersonal computerLine (geometry)Expected valueResultantConnected spaceBitComputer animation
Data managementDevice driverInformationElectric currentPurchasingService (economics)Content (media)VideoconferencingUsabilityMilitary operationHeat transferCondition numberFunction (mathematics)Wide area networkInterface (computing)Mobile WebSocial softwareInternetworkingInformation overloadFitness functionIntegrated development environmentAlgorithmConnected spaceDependent and independent variablesHazard (2005 film)EvoluteSurface of revolutionSpacetimeMobile WebData managementAreaPhysical systemLecture/ConferenceComputer animation
Data managementDevice driverOpen sourceConvex hullInterior (topology)Link (knot theory)Execution unitMaxima and minimaStreaming mediaComplete metric spaceOrder (biology)INTEGRALMereologyObject (grammar)Flow separationDevice driverOnline helpMultiplication signCondition numberBitDiscounts and allowancesService (economics)Black boxVirtual machineData managementStaff (military)Projective planeEndliche ModelltheorieInformationPattern recognitionMachine learningXMLComputer animationLecture/Conference
Category of beingPoint cloudBitState of matterLogicCuboidComputer animation
Discounts and allowancesType theoryDevice driverPhysical systemCASE <Informatik>Category of beingCuboidPoint cloudLecture/Conference
Open setFreewareCategory of beingPoint cloudOpen sourceCASE <Informatik>Multiplication signServer (computing)Series (mathematics)Communications protocolComputer animation
INTEGRALPrice indexFlow separationKey (cryptography)Right anglePhysical systemMoment (mathematics)Interface (computing)Multiplication signBitPattern recognitionLecture/Conference
System programmingTraffic reportingTerm (mathematics)WhiteboardCAN busBus (computing)GUI widgetExecution unitComputerControl flowMicrocontrollerStandard deviationAreaGame controllerComputer networkMultiplicationSerial portVertex (graph theory)Maß <Mathematik>Kolmogorov complexityRange (statistics)Hacker (term)Interface (computing)Gateway (telecommunications)SoftwareLaptopSoftware testingCommunications protocolExecution unitAbsolute valueGame controllerBus (computing)WhiteboardComputerFrequencyBitCodeLatent heatMultiplication signGradientSlide ruleComputer animation
CAN busPhysical systemControl flowVertex (graph theory)Maß <Mathematik>Computer networkHacker (term)Kolmogorov complexityRange (statistics)Interface (computing)ComputerSoftwareGateway (telecommunications)LaptopCommunications protocolOpen sourceFreewareSlide rule
Physical systemAddress spaceBus (computing)Gateway (telecommunications)Very-high-bit-rate digital subscriber lineMessage passingSource codeExecution unitBitHeat transferFirewall (computing)InformationData structureRoutingOvalElement (mathematics)Polygon meshLecture/Conference
Source codeInformationParameter (computer programming)Information retrievalPhysical systemExecution unitComputerControl flowSystem identificationNumberWell-formed formulaFunction (mathematics)Maß <Mathematik>Codierung <Programmierung>Series (mathematics)CAN busBasis <Mathematik>Conditional-access moduleBus (computing)Power (physics)Rule of inferenceMessage passingSet (mathematics)CodeMultiplication signArithmetic meanPhysical systemState of matterSeries (mathematics)Personal identification numberComputer animation
Hacker (term)Message passingDependent and independent variablesCodeStandard deviationCore dumpInformationOpen setCurvatureComputerExecution unitControl flowSource codeParameter (computer programming)NumberSystem identificationWell-formed formulaFunction (mathematics)Maß <Mathematik>Information retrievalPrincipal ideal domainPhysical systemCodierung <Programmierung>Open sourceFreewareHill differential equation2 (number)Communications protocolMessage passingLevel (video gaming)Type theoryBitSystem identificationPrincipal ideal domainMeasurementComputer animationXML
Core dumpMessage passingCodeStandard deviationDependent and independent variablesOpen setFreewareInformationSystem identificationAsynchronous Transfer ModeDemo (music)InternetworkingGoodness of fitPrincipal ideal domainComputer animation
ComputerControl flowExecution unitSource codeInformationParameter (computer programming)NumberSystem identificationWell-formed formulaFunction (mathematics)Maß <Mathematik>Principal ideal domainPhysical systemInformation retrievalCodierung <Programmierung>FreewareOpen sourceLinear subspaceCodeStandard deviationDependent and independent variablesCore dumpMessage passingBus (computing)CAN busLibrary (computing)Multiplication signPrincipal ideal domainLatent heatCommunications protocolInformationPerfect groupMereologyComputer hardwareNP-hardWordKeyboard shortcutTunisSoftware protection dongleMessage passingSynchronizationGame controllerPower (physics)Bus (computing)Endliche ModelltheorieData conversionSerial portPiXMLComputer animation
Latent heatPoint (geometry)Lecture/Conference
Stack (abstract data type)Information securityService (economics)Point (geometry)Right angleBitBinary codeWater vaporTouchscreenMoment (mathematics)AreaConnectivity (graph theory)Expected valueBus (computing)Direction (geometry)Execution unitProcess (computing)Line (geometry)FirmwareCodeSoftwareAutonomic computingMathematical optimizationSoftware developerMeeting/Interview
Multiplication signInternetworkingMusical ensembleModule (mathematics)Computer hardwareBand matrixInheritance (object-oriented programming)Set (mathematics)Connected spacePerfect groupPower (physics)Computer animationLecture/Conference
Communications protocolSystem programmingData managementCodeClient (computing)Interface (computing)Mathematical optimizationInformationLine (geometry)Web 2.0Multiplication signCASE <Informatik>Functional (mathematics)Computer programmingSoftwareVideo gameServer (computing)Device driverComputer animationSource codeJSON
Uniform resource locatorLatent heatWhiteboardPerfect groupVideo gameInterface (computing)Point (geometry)Serial portKernel (computing)Module (mathematics)BitLecture/ConferenceComputer animation
Server (computing)LengthQuery languageLine (geometry)BitEndliche ModelltheorieMultiplication signLibrary (computing)Communications protocolMoment (mathematics)Connected spaceBuffer solutionTelecommunicationCore dumpFile Transfer ProtocolPerfect groupWebsiteLecture/Conference
Function (mathematics)outputMultiplication signPosition operatorCASE <Informatik>Standard deviationWindowLine (geometry)CodeTerm (mathematics)InformationMusical ensembleBuildingXMLLecture/Conference
Communications protocolData transmissionFile formatPrincipal ideal domainHexagonBus (computing)CASE <Informatik>Mathematical optimizationMereologyCommunications protocolLine (geometry)Message passingBinary file2 (number)Binary codeAdditionMultiplication signComputer hardwareConnected spaceDigitizingServer (computing)Front and back endsoutputFunction (mathematics)Computer animation
Communications protocolData transmissionHexagonFile formatPrincipal ideal domainFreewareOpen sourceFront and back endsServer (computing)Process (computing)Bus (computing)File formatSoftware frameworkForm (programming)Operator (mathematics)Band matrixLatent heatOpen setCommunications protocolTable (information)Level (video gaming)Binary fileQuery languageComputer hardwareMessage passingFirmwareLecture/ConferenceXML
Computer hardwareComputer programOperations researchCompact spaceDivisorDevice driverLocal ringLibrary (computing)Asynchronous Transfer ModeChannel capacityINTEGRALFood energyAxiom of choiceHigh-level programming languageBitDifferent (Kate Ryan album)Computer hardwareCalculationLevel (video gaming)Java appletView (database)Software developerComputer animation
Open sourceSoftwareBitLatent heatCASE <Informatik>Computer hardwareComputer programmingDifferent (Kate Ryan album)State of matterSoftware developerMereologyRoutingData storage deviceApplication service providerLecture/Conference
Front and back endsSeries (mathematics)Service (economics)UDP <Protokoll>Service-oriented architectureDatabaseEvent horizonInformationMessage passingPoint (geometry)Normal (geometry)Level (video gaming)Pay televisionRoutingComputer programmingView (database)Computer animationProgram flowchart
AreaTrailPredictionDisintegrationMathematical optimizationSoftware maintenancePersonal digital assistantCASE <Informatik>DatabasePressureVirtual machineFlagAreaComputer animation
PredictabilityMultiplication signMonster groupBitModule (mathematics)Level (video gaming)Right angleFlow separationCartesian coordinate systemOpen setLecture/Conference
Process (computing)Visualization (computer graphics)Data managementComputing platformSource codeWhiteboardVideo trackingVacuumCartesian coordinate systemOpen setComplete metric spaceWhiteboardPhysical systemOpen sourceComputing platformMultiplication signBitComputer animationLecture/Conference
Maxima and minimaPressure volume diagramDemo (music)WindowHookingFinite element methodPlastikkarteVideo trackingSource codeTrailNormed vector spaceView (database)Bus (computing)MassEstimatorNumberAreaService (economics)Real-time operating systemServer (computing)WordRight angleVideo gameResultantComputer animation
Archaeological field surveyoutputComputer clusterPlastikkarteVideo trackingDemo (music)Computer animationLecture/Conference
Source codeWeb browserMetrePhysical systemPower (physics)Position operatorFlow separationLecture/ConferenceComputer animation
ThumbnailOnline helpLink (knot theory)View (database)Hill differential equationBoom (sailing)TrailBuildingServer (computing)Physical systemCASE <Informatik>outputSatelliteMultiplication signPosition operatorInstallation artComputer animation
Simultaneous localization and mappingBoom (sailing)Bargaining problemMoment (mathematics)BitReal-time operating systemSimulationPlastikkarteMereologyVideo game consolePower (physics)Multiplication signConnected spaceObject-oriented programmingCellular automatonFile systemLine (geometry)BuildingService (economics)InformationDirect numerical simulationPhysical systemMedical imagingSoftwareBootstrap aggregatingComputer animationLecture/ConferenceSource code
WhiteboardComputing platformExecution unitE-learningPhysical systemCommunications protocolData managementVideo trackingSoftwareMultiplication signData managementPhysical systemDevice driverSoftware maintenanceFluxComputer animationLecture/Conference
Computing platformOpen sourceIntegrated development environmentPattern recognitionInterface (computing)Demo (music)Inheritance (object-oriented programming)Pattern recognitionMultiplication signLine (geometry)CodeFinite-state machineMedical imagingOpen setComputer animation
Internationalization and localizationMobile WebPower (physics)CAN busLibrary catalogFood energyOpen sourceLibrary catalog2 (number)Multiplication signBootstrap aggregatingFrequencyMereologyComputer networkPower (physics)Right angleSoftwareAsynchronous Transfer ModeComputer animation
Open sourceFreewareMoment (mathematics)Physical lawBus (computing)Multiplication signLecture/ConferenceXMLComputer animation
Transcript: English(auto-generated)
Good morning everyone Yeah, the first session I can understand that is a little bit hard To the time to start that the first one is always the most complicated
Yes is in English then no, I want to set up the expectation of this session first of all is in English not in German and the second is an introduction an introduction to how to connect Michael and In general an overview of the problem But in the presentation you will not find deep dive on specific topic. You will not find
tones of line of code or X X code for the film around something like that then if you are a film of guys Or a developer guy that is wrong. This is wrong section is introduction
Well If Is fine for you. I would like to start Agenda yes a small overview why we are talking about Vocal why we is so famous right now, or is kind of hype the hardware that you can use to do that and
How to use it? the software how to build the software or how to use software that already exists and Yeah, if it works well because that is the most tricky part some small demo and Show you eventually some hardware on that but first of all
What do you want? Why you want a connected car? What what is the reason? Well sometimes I receive funny answer like Is is is nice color to have a connected car? or
Yeah, it's like I want to be social my car is all the time alone Then I want to stay with the car connected no and so on but I want to ask you Why you are here? What is your interest if anyone want to? Tell me Why you are interested in this session, but I want to talk to you
Okay Okay, any other that's over there oh Loader
Okay Well the cat with the question is Why you are here the answer is I want to understand a little bit better. What happened in my car if it's Yes, I Seen a couple of hands over there. I forgot yeah well
yeah to have pressure of tire and fuel or Speed or any other temperature why not yeah, that's that's is fine Yeah
Yes, that is the one of the topic Yes, please that's what you want to be faster and to find the right path This is one case or faster because I want to drive faster. I want to
Or I want to be more efficient in the fuel for example to want to reduce my consumption Yeah Well that is another wonderful use case
I want to know how much can I save on money in different area eventually I can Split in different now on the car itself on how to use how to share eventually because I can Bring a use case that I can share the car then I can reduce the cost Yes
What standard I use it yes? Yes, what is the what what is the protocol the usual typical protocol hardware communication and so on yes
The reason well get operational alert and Eventually suggestion how to be what is the right behavior? Yes, that is a wonderful yes Yeah
I Produce my electric energy and then I want to schedule and make optimization on that to use no to not lose because if the tricky part of a seller knows some seller and electricity that can from
Renovable that you are not able to store then are you storing? Heating water this is one of one of the trick or you charge your car or you charge the battery But the battery are quite expensive. Sorry was something over there. Yeah
Okay, that's where is I want to get an advice on the safety area. No I have advice on Incident had to my car or some hazard that are in my path Yes, that's you cover most of them And we will see that we are in probably you are in the right session that is great
unfortunately the Connected card definition is not really Good today from my point of view They say the only okay is a Peter with the internet assets This is a connected card if you try to figure out in the vocabulary this definition. That is much more
It's much more because if you start to think that in the Toyota car today There are kind of 20 personal computer. No One more than 1 million lines of code then isn't probably is nothing more. We have to change the name It's not more a car. It's something else know
Why the people well why there is also interest because the expectation is to spend 170 Billion for 2020 that was one or two years ago They move a little bit ahead, but yes the connected car thinks
Is growing massively no and there is a lot of acquired today Intel acquired no for 15 billions Cisco for 1.4 and so on That's huge interest huge investment Unfortunately not many results right now, but we will see soon all we already start to see something
We will see more and more in 2021 22 because Bring something in the car takes at least between four to six years Then if something started last year or two years ago We will see into 2020 then we will see in 2020 a huge revolution something is already there
But more will come Based on what based on your answer. Yes, we can identify Mainly this area that that is the area. That's the manufacturer as working on mobility management know identify
The best path to go to the work or the place that I want know That's end to hand then from my house from my door to the parking then tell you where is the space? Eventually in the future you will be able to Book the space that parking lot
in the pay in the place that you want to go and more the system will tell you eventually if you have to change No You are park and you can bring a bike or now a scooter or something like that That's complete integration of the journey your journey Commerce
That's that's there is obviously this is a interesting form for many parts, you know, I Mean the car I can buy my stuff and not go to the supermarket or go to the supermarket That's something that is already exist in us You go to the supermarket with your car you order in your car. You find everything there you put in your trunk you go home
There is many others on the commerce. No, you can buy Movie but that is already possible. No you do with your phone Why you cannot the my passenger not able to see a movie in the in the in the back? Very very cold management vehicle management has a lot of stuff no from the condition or we talk about
If something happened, but in special way Collect all the data to make to make today's is a huge topic to predict that you will have a failure now because I will be able to collect all the data for all the models like
You and then based on machine learning and other other way I will predict that your car needs to be repaired in a specific time Then to avoid that's no longer a fixed time that you bring every year the car to the service
But eventually to bring when is really needed and when you bring to the service the service will be able to It doesn't have to spend time because all information are already there There are several projects that Want to send all this information to the service book the service for you and mainly to reduce the time to keep the car
Stop it in the service No that minimize the time that could be today's eight hours tomorrow could be two hours, right? You can make a shop know buy something and bring your car home Safety safety is a huge topic and or from recognition of the object on the street told without a car receive information
No Help the driver know help the driver in several condition when you are not able to to see because the condition there is fog or is rain or You don't understand your street that is too small is slippery and so on
That's is no can see a lot of stuff and the last one also We already mentioned a little bit collect data something that is already exist In many countries the insurance if you adopt a black box in your car you have a discount
But they are today is a value everyone want data then Probably today the more the most attention is to understand your behavior Because from that you can build a lot of commerce stuff. Yes
Yes, true, but I don't have and well in general probably a little bit more than other countries
But probably there are a huge percent with that have But usually you need insurance the country side the state yes Yeah, but in general if you have to make an insurance on the car well there is a lot of logics that
and the insurance start to To give you this deal if you want you can make a small box where we detect if you are driving the right way and Then in this way I can I can be sure that you are a good driver
And then I can apply a discount for you, but if you have 1 million probably You don't have the the Volkswagen Polo, and you are you are also on the type of car that has already all this system All the the use case that we have found or rather that we have seen
You we can collect in five categories no vehicle to infrastructure that the vehicle have to talk with the surround vehicle to vehicle no car to car Vehicle to pedestrian, this is something I didn't see yet, but no advise the pedestrian somehow and vice-versa
And okay, that's that's the last one vehicle to everything that's Connected to IOT connect to solar power. I know that's that's not to regulate the charging and and Today the most user is vehicle to the cloud About the vehicle to some some server that is outside, and then we will see more this case today
No, we will not spend time on the other First question that is connected on on what is the protocol and so on how can I talk? How can get data from my car well that's I know that in general is quite famous
this this Series that was Simple for him because was able to talk really to talk with the car But do you have any idea about to talk with the car? Do you have any? suspicious on how to do it
Yes well
It's funny no that that's I want to repeat that was yes in the 80s was several not only audio so Reno has this system to drive and give you indication and You know no didn't work very well That's everyone dropped at the end For several reason that was not the right time
Yeah, this is what a small a small things that is not related to the car connected, but yes the next next Interface no is a couple of year that is we are talking voice interface Then we will see a lot of voice interface. You will see a lot of voice in your car especially wind
2022 We'd also some Probably a little bit before that is already there, but it's a little bit unstructured no some cars as to voice system recognition no there are some car because you have a navigation that has own and The body and so on has another one and then another one and then when you want to activate the navigation you have to
say okay Navigation, but this is an one and the other one is car and another one and so on that Several things to do that is ongoing and We will see yeah a lot of voice in the car and also some Face recognition I believe the key I already has in the market that you sit on your car
The car recognize yourself and then set up your no seat mirrors and everything around you That that's we will see more and more integration on that that would be a lot of fun But yeah, we cannot use the voice at the moment We will see 2022 and we have a friend in the car. That's a start
In I believe where we can see later in the 1998 the first car on 1996 To adopt the canvas canvas is industrial bus. That is a transport. We are talking about the transport In the car you have a CU that is electronic control unit that you can think I know
ABS or also the light that is controlled by an ACU in the car today and then you can have up to there are some car that has 80 ACU connected to the bus and Then at the end of this bus
Usually you have the OBD that is our own board genostics. That's was Good Well canvas is not really your friend It's not friended at all it's not friended at all because Well, it's only a transport and no and
You will not find the specification of the your car on the protocol and on that means the timing of The of the frequency and especially with the code the code that is used at exchange between the CU There is a nice book. That is a good start If you are interested is a free that you can download that that is great
And then you can understand a little bit better all these all this topic It's not big But I don't remember if it's 40 or 50 pages and give you example and also instruction and so on You will find I believe the slide I will upload the slide on the website
Today do you think okay? I should I should cancel this one. That's that should be a question Do you think that you have only one canvas in your car? Yes
Yes in the car how many in the Seems too much I'm not sure about that. Yeah today. Well in general you have at least three at least
One for well, what is name is funny for me comfort That means in info entertainment air conditioning and so on and usually is a low speed Then you have usually to high speed in most of the car today. Yes is a little bit more, but not so much
One for the body know the lights And I don't know the sensor of the rain and Sun and one for the system than the engine know that that are separated this bus usually are connected between a
Con a firewall a gateway that says avoid to talk each other know that avoid To inject command directly to other elements, but this is a long story Based on the structure of the the message of the canvas you don't have really an address
But you talking about message, then you write in message. You don't you don't know Exactly who is the you don't have source and destination For this reason there is a unit. That's you Probably in your comfort that usually is also your dashboard you want to know the speed
But the speed is in another canvas, and then you need someone that is route this message for this reason There is a unit that permit the transfer only the message that is needed on the other bus But going back yes canvas is not really your friend Who is your friend the obd obd is a long story no starting for 92
No, B&W started with X series in the 88 this canvas was 84 from Bosch more or less and No slowly in us, but also Europe was introduced and standardized and yes
And the state and government know Apply some rule that have to be present that standardized means there is a set of code a set of code that is a yeah, you can get that are documented that you can read and
You can build your system Where is that you will find in your car usually isn't under under the dashboard no under the cluster And has a 16 pin and Most of the time you will have only two or better for two are the signal because the canvas is really similar to the bus RS of
482 or something like that and Yes, you have no high and low and eventually the ground and the power if you need and then you can connect there Then you can connect and you will see all the messages At least all the obd messages that you will have a X code and then
You will be able because this is the commented to get no typical is about a typical obd unfortunately had several stages then changed quite a bit, but
Fortunately all the device today are able to support all the protocol that the message should be 11 And bit for identification 64 bit for the message the first one the first byte is the size of the message the second is the type and The third one is the PID I
To go back what is the PID mainly the measurement that you want to read And after that you have the value example, okay identification request then identification Answer. No, you have the size you have the mode. I'm sorry
Also, this is the the mode the PID and then the value then translated the car is going for 50 kilometer per hours done simple if you don't have That's you have to use a typical no Dumping that you probably did on the TCP do them the same on the canvas
No, and then after that good luck search on the internet But I have to say most of the car use well as a as a going back the car
They are not forced to use all the PID define it and they they can also define some of PID By day or own for some specific of the car, but most of the time you will find in the definition of this specific one Perfect now we know where is the
Yes You know Where is the part we know more or less the protocol we know where to get the information now The problem is where is the hardware? well Because it's so funny. You will find a lot of hardwares and because it's not so complicated
Eventually if you are in electronic engineer you can build why not then you can buy MCP 25 15 and 25 oh, sorry, that's the other one that I don't remember that you need to one is the receiver one is controller Couple of dollars and then you can build your reader
If you don't want you can buy a car for Arduino for a Raspberry Pi I use Normally the Pi can pick an is great that you put start is able to get everything and is able to sync One of the most tricky part as I said before Is the delay of the signal inside of the bus to find the right triggering and so on that's the pine you put the pie
Can too and is starting one of the interesting part of the pink and to this is weed out There is a model that there is a small converter here then you can read power from the bus and then you can
Put the power on the Raspberry Pi that means that you don't need to supply power To the Raspberry Pi that you can get from the the OBD You can buy there is tons of dangle USB serial Bluetooth Wi-Fi and and so on then you put there and then you can read from your phone
Then as we said you will read something like that you can write sometimes also something then you can drive You can first of all control your cluster or build your new cluster your new dashboard There are company that is building only Dashboard no fancy dashboard. They build the dashboard for you. You can make a specification and
You can download that's the basic one are for free and then you you can really make a lot of In your car if you want Okay, any question on this point?
Yes Yeah, honestly, and I don't I don't know right now. I have to think on that
well, I Didn't understand very well, but seems the car won't move more on TCP bus this seems that will be in the next step Because that means they can move on the we said
100 millions of line of code then is a lot of software and working with Q and X or film where is low down a lot of process of development and then also innovation then moving to a Substack of TCP probably you can convert in a more microservice infrastructure
Most run away Yes, yes, yes Yes, that's that's the point that what is interesting for the all know that we have also others Okay, blah blah blah bus, right?
Yeah, that would be one of the point more or less next when you have to send the data that I have a Optimized bus a lightweight when I can get the data put in a packet in binary way. I can send because
We are talking 5g we have Vodafone that is make in Germany I've seen a lot of advertising and also in other countries then seems that 5g would be Everywhere and so on it's not true. It's not absolutely true. If you are happy you will have 100 kilobyte Could be no and then yes, I will agree with you that we should go back
To something that is really optimized on the bus and more bus can be But at the moment I don't I don't I don't have a really an answer on is better we move there Yes, this is my expectation yes, yeah
Well, that's I am far away from the car security
That says now I'm working in in completely different direction. Yeah Yes, and this is why the Jeep received a fine a ticket two or three years ago of 200,000 that is not much
For because was the car was insecure what happened in u.s. Someone was able to hack the radio and from the radio able to hack them. Yes, and then was able to It's still that we all Accelerate and so on for this reason. No, the most important is the unit the firewall in unique that connect the bus between
But if you are physical able to attach to the bus, yes No chance There are some I am I don't know That's about the security to increase the security then the trustability between the part But in the beginning at least until five ten years ago
The trust was because you are not able to reach that component, right? That's OBD. Also OBD is not able to go everywhere But today the things are changing a lot because from your radio you want to see more and more no
That's no if you turn off the car and you remove the battery probably is a is a safe car. Yes Well at all Yes
The Autonomous driving and so on is is still in no in the process to be We will see a lot Well, this is a no typical that have to be because of you need eventually to be able to interview. No but on that area, I'm
Still quite confused. They are quite free in China is completely free that China is Wonderful is great Well on that and that side is great now after that you are not able to send one bit outside China But this is a different topic. Yes but yeah for but we are not covering the
What is the autonomous driving right now, we are only talk about collect data then we collect the data Now we have to send the data This is the second problem wonderful no wonderful the screen but probably you are here because you don't want that only
Great as a OBD you will find a lot of hardware that is able to connect to the internet or to have a T or narrow band with IOT and so on then you can connect to your Arduino like ESP 32 or Raspberry Pi and then you can start to send data
most of this module has most of the most of the time also GPS or better GNSS no that is a super set of GPS in in inside And it's really small chip that has everything inside sometimes also a bluetooth
Low power bluetooth, and then you can put a connection perfect, that's Great no GPS. There is a GPS D that he the in with the GPS D You don't have to care about the device. No is done by GPS D GPS D is exposed to you and standard interface you can buy the device that you want
He's talking to the device make also some optimization and then we decline you can you can Query the GPS D. Then you can get all the information that you want two lines two lines of code done great
Then I have obd I have GPS sometimes in the in the device there is also accelerometer and so on With Linux the life is super easy if you have a driver Because most of then if you want to buy and you build if you want to build Check if there is a driver
And if you want to use the raspberry or Linux base Check if you have the QMI interface because in this case the device will be a simple network interface for you Then if it's a network interface you have an IP you can Do like a normal programming right open the interface you can put also web server inside and then answer from outside
if you want Sometimes not all the information are exposed through the interface now the QMI most of the time are not Implementing you know all the the function in on the functions, but the most most important IP is always implemented
Perfect if you don't have The QMI interface the life start to be a little bit more complicated Why because these devices are able to understand only 80 common no we are in the 80s No that you have to send to a serial line 80
Something like For someone who never changed yes, well for me it was and I move a little bit no Yes, yes It's true, but I don't have to write right
This is the point no the point that they raise is anyway the kernel is doing something like that because anyway is the interface of the module Yes, and no well there is a couple of small different anyway but if you don't have most of the time you have a nice book with all the command and Probably is difficult to find a library that is in implementing the communication with your model then pay a lot of attention on that
At the moment we are lucky because More or less we there are two producer, and then we start to see the library and then We'd be more simple to use but You will have to write all 80 command and
The device will implement it for you some some protocol like HTTP MQTT FTP then you will send 80 command to open a connection, and then you have to handle the protocol that you want to use because no you build and
Then you put in a buffer you sent then we is a lot of work today This is going a little bit better because you can find a lot of example But it's not like I use the core make the query to the website is done one line. It's a little bit more But it's fine any question
Perfect Probably you want something more probably you want something more on the Check in the time You want to collect something not only the car But well the position the acceleration the gyroscope
The accelerator has a can give you a lot of use cases really interesting in the bike a lot of of them because if you go on on you can calculate your lean and your Deviation of the back based on the front and then you understand the perfectly that you can use then there is a lot of
Things that you can do that is in the bike is really nice But also temperature of the no invite all know like open the window of is too hot and all this stuff automatically Then you can put on top also in this case. There are tons of the device you can talk with I see
to I to see With a couple of lines of code in case of Python you can receive all information of the gyroscope, and then you can build something Data then we collect GPS obd I want to collect everything that I can
Eventually can also know connect some digital input output Like if I want to control the start and stop of the car then you can intercept the line And then we go back on the bus and the optimization yes Everyone is thinking that you have 5g or 4g or LTE 100 100 megabyte per second in your car all the time
That is not true Then the protocol and handle the protocol handle the disconnection handle the retry handle the Duplication of the message in case this is the the hard part that you have to do on the device That usually is not is not covered You can decide no you want to build your solution. No we decide hardware
We see how to interact with the hardware collect data now. We have to build the famous packet We have to send the data over there We can decide to do with the UDP. That's UDP Put a complete binary one or Exedition one binary format super optimized then you decode on the back end server
You don't have no then also the processing in the car is low because you get the bus And you send then if it's the bus optimized you send small quantity of data then also if you are in GPRS Coverage you don't have problem
You can use know some some devices using the OBD format but They convert in text and they send the text to simplify Sometimes because they visualize also inside of the car then is already decoded and they send in this way Or in the JSON format that that's simplify your back end because you can get the JSON and put in
No SQL, and then you can run the query without any problem Obviously, no, that's increased the size of the packet and sometimes no is a bandwidth problem For you will find on the open hardware. No you can buy
Also devices that is doing like that where they claim to be open and the open is you can decide The end point to send the data you cannot change the firmware You cannot make any operation in the firmware, but there is tons of devices One of them one of my preferred is Teletronica that is not far away from here
But you cannot change the firmware and they can send the data and they have their own format binary format You will see everyone has their own binary format. There's tons of binary format. There is no really specification on that There is some some work ongoing
Open seeks or something like that that they try to have a open protocol for IOT devices to exchange the message Great That we have seen GPS GNS, John better GNS s OBD and sensor you
If you want to build you mainly you have two choices One is the Raspberry Pi one is I want to I will go it for a speed 32 because there are a lot of support and integration Okay, Raspberry give you probably if you come from the development high-level with the high-level languages like Python
JavaGo or JavaScript what you want? Probably was very is much more simple for you. The drawback has a high comes energy consumption The SSP is a little bit Cheaper no. Well, we can talk a difference between the two solution probably of
4050 euros between a solution based on SP probably last on one and based on on Raspberry Pi Raspberry Pi you have much more capacity and calculation, but the energy is a huge problem in SP you have most of In hardware a little bit more complicated to program
but when the device is going to sleep or in Higher half hybrid the state you will have like 5 million pair of consumption That is close to nothing for a car or eventually there are devices on the market that they put a small battery there That can survive for several days, right?
That that is is great And then as I assume there is a movement on the car you wake up and send the data Then then in SP is much more Optimized then and this is mainly the usual usual usual story between the difference between Raspberry Pi and Arduino That is much more Hardware and Arduino or as very parts a little bit more oriented on that on the development
Then you can build you can build something that we describe for 70 euros Up to 120 depends if you want to use LTE if you want to use on something that has more Features But we are talking about yeah
Well an under euros or less you can buy if you don't want to build you can buy You can buy from freematics freematics is open source company That's that's all specification are available and they start from I believe with the radio 70 Australian dollar they are Australian up to 120 with the GNSS with ceramic antennae and so on
There is another Denmark company that they start a similar business they are based on raspberry in that case The first one is based on a SP and then I believe they start from 170 and Then you can buy and then everything is there there is also some software example software and then you can start to play
Fine I will okay, we have the data we receive the data how we receive the data what we can do Yes, usually UDP HTTP is on embedded is most used but
From my point of view the right things to do is with MQTT MQTT in this way you you set up a Subscription a subscription that eventually you can so send also command back But this is not a story then you can not get the broker save the data in your database Put some stuff from OpenStream map that you can make the map you can make the route and
then with some Microservices or you can build some program that is subscribe to MQTT event to specific topic Then you can create topic like a liar
Normal information is on then when you have alert then you wake up you send a notification message That is is quite is quite simple Some use case what you can do well The first one that I did is okay when I stop the car go out the car on my phone
I put lock it that doesn't happen anything exactly in the car I put in the database that the machine the car is locked then as soon that the car is Moving and there is a flag that is locked. I receive an alarm because means that someone is stolen the car or Anyway someone is hitting the bike eventually
If it's the car no when I Give the car to my children that is not true my children doesn't have the license But this is the typical use case You want that they stay in a specific area that you want to be advised when they go out in some or if they? Go too fast like with the car and so on
Well sometimes you want to track all your trips And then no review and understand why your consumption know the fuel consumption and what was your speed? What was really your speed why use you spent three hours to go somewhere? Check the status no receive the pressure the water level and so on that through civil an alarm that oh
Yes, it's not turning on, but it's really close right that's before that to have a surprise That is turning on and when you have a trip The best would be no prediction Prediction that's connected with where you are with the traffic that is around you and give you advice and suggestion
and Eventually you can you can be a little bit more social know that you can share. That's where is your car with your friend and Stop together to drink a beer, but that's there is also one of my colleague with a bike He made a small module that he is a is able to chat with the bike and the bike has a small
Intelligence that is able to answer and I say how are you? Oh well very well my fuel level anyway is 20% Then please next time stop to to refill right that that's you can you can do a lot of stuff You yeah, then you can build your monster
This is the the topic if you don't want to build your monster There is several tones of application open application that can do this thing for you one of the things more things more is a Complete open-source IOT platform
That is able to handle vehicle but also industrial system and then you can create your Graphical interface and and build your your dashboard as you want and then collect all the data and then analyze your data We want to give you a real and example on that we take a little bit time
We check Probably this one. Yes
This is an San Francisco area tracking the bus No, you can see warning The bus cross speed is going too fast no, and it stopped it is arrived to the right stop and And the fuel you can see the fuel of the by or the bus
No, and eventually you can make an estimation you will run out of in this area and in that area There is or stop before or make a trip and then identify where is the best way or the best place to make the refill and
Yes, and this is and then you can see where is the bus which is a mass number the speed in real time Then you send the data there There is a Cassandra plus a postgres then there is all then you can install where you want You can use the service or you can install in your server and then immediately you have our
Yes Potentially, yes That should be life. Yes, but this is not mine. I will show you mine Let me This is the device this is another thing
I Check and we can jump to you see this is a live data
This is data from this device Will show you I will show later, but this is GPS antenna and this is
80 euros device more or less and Then you can see that we are sending the data now Accelerate no because I move it and then yeah
There is okay. This is the Temperature of the device. This is one of the bigger problem in special way in SP No That is the heating the heating for the radio system radio system is generating a lot of heating special way if you don't have The antenna that has to use a lot of power to to send and then the overall
yeah, and the position and several other stuff and Let me Jack Can see some of my trips
with the speed tracking speed acceleration and so on and yes, and when you stop it for a long and Something like that. That is free No You can get and customize as you want that is a small server that you can download
Install where you want and eventually put more data that you want there then if without know building all the system that I said before set up a muscrito for MQTT or HTTP save the data and and and so on that that is I said to there are many other
No, you can well, this is I said This is a registered one. I can in this case, I don't have Some satellite for example
Satellites I had all the time six satellite or I Had all the time in position and this one. Yes, and now I'm Moving a little bit and then I receive in real time all the data without any problem I can connect to the device and then get the data directly from the device as well because it is exposed or what?
Wi-Fi then I can connect to the device At the moment I using my another Wi-Fi because I don't well my sim concepts not working here in Germany I have to understand a little bit but has the same car inside that is able to send the data What is the nice part I can show you that could be is more
Know that you can see we send all the data. This is a no I'm connecting through the console That is the data that we are sending That's we sending more or less 168 kilobyte with all the information
You can see the time to time anyway I fail know when you are in a small in and bad that Sending the data is really a problem on the connection is the problem then you have to think all the of the system on that That's a can switch from
Should be something here I
Can switch from from Wi-Fi sending the data now save Building
redeploy now we should Use the internal the internal radio another big advantages of a SP and so on is
You don't have to care about the file system file system or raspberry that that's usually you have a Fixed image and you copy on the on the bootstrap all the time because that you don't want to have a corruption on the file system Yes, gns is okay that you can see now we have an AP then I can and is I'm able to connect to the device and
Yes, now is scanning obd. I don't have obd then we'll take a little bit And then we will try to connect to the network and then start to send the data If it's not able to do that because okay, I'm also saving all the trace in the in the device
I have a small SD card of 32 gigabyte. Yes For that and yes now is try to connect to the cell line No didn't work No service power off I Don't have data. I'm not able to read GNS is not changing power off. I'm moving I
Wake up immediately That will take more or less nothing That is great as I said, everything is great You can find a lot of software that you can start to use software that is already on the market
In a couple of minutes then the market has a lot of stuff And that you don't have to write all the time everything Yes, we have seen two of them there is also others like trucker trucker is another quite well
No a system to track all the device and also handle has already inside all the management for fleet that you can handle driver car manual Maintenance of the device everything is there and they is able to support tones of devices
Yes There is also mine flux that is mainly an interface for analyze the data There is a tinger that another interface to analyze the data The demo we have done What else well if you have time you can start to put some camera and make image recognition today super simple as well
20 line of code if you want to do that with open VC or Other other stuff then you can put and put and then go into that the recognizers are on your street You can put voice as well
but Everything is nice Don't forget that you are connected then potentially everyone can hack you Challenge usually the challenge is GPS takes quite a while, but turn on the car
I start the GPS probably is not there Especially if is the catalog is outdated then can take 10 15 seconds that most of the time is fine But you have also a bootstrap then and then when you started that that is difficult for GPS to catch back there Data Network the mobile we already said that is not so stable as you expected is not stable at all. I like to say
then you have to put several things around and figure out for duplication of the data or how to record the data if you Need you have to? Identify the frequency of the data that you want probably every second. No everyone start
Oh, I want everything and I worked for each millisecond probably you don't need Power consumption power consumption is the big part if you want to have a real know you want to know where is parked at Your car then the car somehow have to be connected that have to be alive
I have to be able to answer that means that there is something that has power right this is you have to supply power Heating can be another problem. That is much better if you will use external antenna on all these small devices and In the bike there is no Official obd because at the moment the law is not forcing to have an obd really obd
That's most of the time they decode on on the bus of the bike are proprietary That's that's most of the vendor. They started to discover that but someone is not is not clear I Believe that I hope I gave you Introduction on this topic and I believe there are only two minutes or less for questions
That is good for me probably bad for you Do you have any questions? Thank you very much