No video

An Experimenter's Starter Kit with MAUI Android and ESP32 Microprocessor n' Some CAN stuff

  Рет қаралды 621

Roudter

Roudter

Күн бұрын

I wanted to share a set of code as a starting point for anyone interested in messing around with electronics and programming. The ESP32 development board is cheap and all of the software is available online.
I wrote a MAUI Android application along with a simple embedded program for almost any ESP32 board. Pin numbers in the code can be adjusted to your specific board.
_MAUI/Android app code_
-Download the latest version of Visual Studio
-get code at "github.com/MOtterbine/ESP32_A..."
_ESP32 microprocessor board code_
-Download the latest version of Visual Studio Code
-Install the PlatformIO extension in Visual Studio Code
-It's a good idea to install GIT extension as well (optional)
-get code at "github.com/MOtterbine/ESP32Co..."
Chapters:
0:00 Intro
0:15 ESP32 Microprocessor
1:08 Making sample code available
2:02 Microsoft MAUI for Android
2:30 Basic Operation
4:46 ESP32 Firmware Code
5:30 Visual Studio Code with PlatformIO
6:35 MAUI app code and requirements
9:42 CAN serial board with ESP32
11:26 CAN Sniffer Hardware Setup
13:15 ESP32 is an RTOS IC
15:08 Digression

Пікірлер: 10
@robertparenton7470
@robertparenton7470 Жыл бұрын
Thank You for your effort in this video and all the source code. I am a subscriber to your channel. Neat stuff you do!
@williamhawes7005
@williamhawes7005 10 ай бұрын
I haven't tried this code yet, but I've been scouring the internet trying to find even a starting point, and I think your code might have provided that starting point. Thanks man!
@Roudter
@Roudter 10 ай бұрын
Thanks. I really hope it helps. You should know that some of it is just my way of doing things. And, that it's focused on android. Meaning, getting IOS and/or WIndows going could be a bit more work...
@bodiesolomon1768
@bodiesolomon1768 2 ай бұрын
Great stuff. I probably missed something, but where does RS232 come into the picture? Are you just using it to send messages to your CAN modem? I was looking at a USB to OBD2 connector, but I guess ESP32 doesn’t have direct support for driving something like that?
@tonycoke1440
@tonycoke1440 Жыл бұрын
I've got 2 questions for you. What's the difference between an ESP32 and an ELF327, and more importantly, why do you need one? Could you not just say, connect the CAN wires to an RS232 port (or usb) and can-utils (or whatever software) see the voltage changes? THANKS!
@Roudter
@Roudter Жыл бұрын
ESP32 is a general purpose microprocessor that can be programmed to do virtually anything (read temps, levels, set switches, relays and a lot of other stuff). There's nothing specific that ties the ESP32 to automobiles. It's just a blank slate. The ELM327 is a microprocessor that is already programmed. The ELM327 is specifically designed for automobile CAN interfacing and is ready to communicate with a CAN out of the box. But, you still need some app that will talk to it. You need a piece of hardware that will translate RS232 to CAN. For example, RS232 requires at least three wires, transmit, receive and ground. CAN doesn't require a common ground, and the two wires that send/rcv data both participate in each direction. Electrically, the two (RS232 vs CAN) are not compatible. Also, USB wires require a special IC to communicate via RS232 or CAN. At about 10:18 in the video there is a tiny board (1"x.5") that translates CAN and RS232. The blue wires are the can. The wires going to the board are RS232.
@tonycoke1440
@tonycoke1440 Жыл бұрын
@@Roudter Great, that makes total sense! So, what is the tiny board and what is the difference between it and an ELM327 🙂
@Roudter
@Roudter Жыл бұрын
@@tonycoke1440 The tiny board is RS232 to CAN translator - literally RS232 on one side and CAN on the other. It translates one to the other, electrically. So, the larger board talks 'RS232' to that tiny board, and on the other side (the blue wires) is CAN. Data can flow in and out this way.
@zackarymcclain164
@zackarymcclain164 Жыл бұрын
Do you have an email? I’m an auto technician who’s trying to get deeper into electronics. I’m pursuing my electrical engineering degree and want to get into the hardware side but I’m also trying to learn software. Is there anyway to get in touch with you through email?
@Roudter
@Roudter Жыл бұрын
Mikeotterbine@gmail.com...
I Built an INFINITELY ONE-SIDED Violin??
15:39
Xyla Foxlin
Рет қаралды 115 М.
Can You Forge Tungsten?
16:14
Alec Steele
Рет қаралды 754 М.
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 10 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 41 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 28 МЛН
How to Compile and Customize My MAUI App for Android
26:28
AMD Core-Parking problems FIXED once and for all!
24:17
JayzTwoCents
Рет қаралды 165 М.
ESP32 + BaseCam Bluetooth Gimbal Control
53:52
Austin Allen
Рет қаралды 2,4 М.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 270 М.
Things About Money That I Don't Hear People Say
10:43
Roudter
Рет қаралды 216
OBDII: CAN Motoring With The ELM327 Is Less Than Ideal
19:04
mRNA: Career Killer - How They Wanted Me To Participate
16:31
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 565 М.
Android vs iPhone - Which is ACTUALLY Better? (ft MKBHD)
20:23
Mrwhosetheboss
Рет қаралды 8 МЛН
How to hack your car | Part 1 - The basics of the CAN bus
16:57
Adam Varga
Рет қаралды 294 М.
Kids' Guide to Fire Safety: Essential Lessons #shorts
00:34
Fabiosa Animated
Рет қаралды 10 МЛН