Comments (1)
Hello guys, again another amateur mistake.
All connections described above are correct. However, the Vin pin of ESP32 does not provide 5V. It is slightly less than that (4.75V, even less when loaded). I thought it was ok, because we always have a margin of operation on those chips and dismissed the possibility of an error due to the value of this voltage.
Then, after trying hundreds of different approaches to solve the problem, I decided to take a look on MCP2551 datasheet, then I found that the minimum value of the VDD for this particular chip is 4.5V (so we do not have a good margin of operation here). Thus I decided to use an external 5V power supply.
On top of that, since the emulator is near the receptor (aka short line) I plugged a ballast resistor of 120 Ohms between CANH and CANL (on some modules there is a jumper to this).
Now is working like a charm.
from esp32-obd2-emulator.
Related Issues (10)
- FS errors HOT 2
- ESP says "Invalid data received !"
- Build error HOT 1
- Add instructions for changing the PIN configuration HOT 2
- Problem with http_server.h and type definitions HOT 2
- How to read the logs? HOT 1
- Install problem HOT 2
- Can't build code HOT 2
- Adding new PID's HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-obd2-emulator.