este o blog é dedicado ao meu amor:)
contém fotos nossas, minhas, dele.....de vários momentos da nossa vida..
terça-feira, 14 de abril de 2020
Hacking All The Cars - Part 2
Connecting Hardware to Your Real Car:
I realized the other day I posted Part 2 of this series to my youtube awhile ago but not blogger so this one will be quick and mostly via video walkthrough. I often post random followup videos which may never arrive on this blog. So if you're waiting on something specific I mentioned or the next part to a series its always a good idea to subscribe to the YouTube. This is almost always true if there is video associated with the post.
In the last blog we went over using virtual CAN devices to interact with a virtual car simulators of a CAN network This was awesome because it allowed us to learn how to interact with he underlying CAN network without fear of hacking around on an expensive automobile. But now it's time to put on your big boy pants and create a real CAN interface with hardware and plug your hardware device into your ODB2 port.
The video I created below will show you where to plug your device in, how to configure it and how to take the information you learned while hacking around on the virtual car from part1 and apply it directly to a real car.
Video Walk Through Using Hardware on a Real Car
As a reference here are the two device options I used in the video and the needed cable:
Hardware Used:
Get OBD2 Cable: https://amzn.to/2QSmtyL
Get CANtact: https://amzn.to/2xCqhMt
Get USB2CAN: https://shop.8devices.com/usb2can
Creating Network Interfaces:
As a reference here are the commands from the video for creating a CAN network interface:
USB2Can Setup:
The following command will bring up your can interface and you should see the device light color change:
sudo ip link set can0 up type can bitrate 125000
Contact Setup:
Set your jumpers on 3,5 and 7 as seen in the picture in the video
Sudo slcand -o -s6 /dev/ttyACM can0 <— whatever device you see in your DMESG output
Ifconfig can0 up
Summary:
That should get you started connecting to physical cars and hacking around. I was also doing a bit of python coding over these interfaces to perform actions and sniff traffic. I might post that if anyone is interested. Mostly I have been hacking around on blockchain stuff and creating full course content recently so keep a look out for that in the future.
Quando os meus olhos te tocaram Eu senti que encontrara A outra, metade de mim Tive medo de acordar Como se vivesse um sonho Que não pensei em realizar E a força do desejo Faz me chegar perto de ti Quando eu te falei em amor Tu sorriste para mim E o mundo ficou bem melhor Quando eu te falei em amor Nos sentimos os dois Que o amanha vem depois E não no fim Estas linhas que hoje escrevo São do livro da memória Do que eu sinto por ti E tudo o que tu me das É parte da história que eu ainda não vivi E a força do desejo Faz me chegar de ti Quando eu te falei em amor Tu sorriste para mim E o mundo ficou bem melhor Quando eu te falei em amor Nos sentimos os dois Que o amanha vem depois e não no fim André Sardet
Collide
The dawn is breaking A light shining through You're barely waking And I'm tangled up in you Yeah But I'm open, you're closed Where I follow, you'll go I worry I won't see your face Light up again Even the best fall down sometimes Even the wrong words seem to rhyme Out of the doubt that fills my mind I somehow find, you and I collide I'm quiet, you know You make a first impression I've found I'm scared to know I'm always on your mind Even the best fall down sometimes Even the stars refuse to shine Out of the back you fall in time I somehow find, you and I collide Don't stop here I've lost my place I'm close behind Even the best fall down sometimes Even the wrong words seem to rhyme Out of the doubt that fills your mind You finally find, you and I collide You finally find You and I collide You finally findYou and I collide
Howie Day
Everything
You're a falling star, You're the get away car. You're the line in the sand when I go too far. You're the swimming pool, on an August day. And You're the perfect thing to see. And you play it coy, but it's kinda cute. Ah, When you smile at me you know exactly what you do. Baby don't pretend, that you don't know it's true. Cause you can see it when I look at you. And in this crazy life, and through these crazy times It's you, it's you, You make me sing. You're every line, you're every word, you're everything. You're a carousel, you're a wishing well, And you light me up, when you ring my bell. You're a mystery, you're from outer space, You're every minute of my everyday. And I can't believe, uh that I'm your man, And I get to kiss you baby just because I can. Whatever comes our way, ah we'll see it through, And you know that's what our love can do. And in this crazy life, and through these crazy times It's you, it's you, You make me sing You're every line, you're every word, you're everything. So, La, La, La, La, La, La, La So, La, La, La, La, La, La, La And in this crazy life, and through these crazy times It's you, it's you, You make me sing. You're every line, you're every word, you're everything. You're every song, and I sing along. Cause you're my everything. yeah, yeah So, La, La, La, La, La, La, La So, La, La, La, La, La, La, La Michael Bublé
Sem comentários:
Enviar um comentário