Page 1 of 1

Blue Pill + ESP8266 + TJA1050

Posted: Fri Jun 19, 2020 5:34 pm
by damian.lo
Hi all,

I will try to ask here, I hope this topic will be in good place here. If not very sorry - please moderator to move to right place.
According to my question with check engine light, speedometer and rest of signals necessary to my car here:
viewtopic.php?f=7&t=770
In meantime, when maybe Johannes or someone else will help me (I hope so ;) to go deeper into code of his small project:
https://github.com/jsphuebner/stm32-car
I want to ask for hardware doubt. For wifi - no problem, it should be working well. I have question to CAN bus module. For Blue Pill I can't to use MCP2515, but I think direct serial TJA1050 module?
This should be working like on picture?
I need this module only for CAN messaging in fact only, so not other parts are needed.
I know, that maybe faster will be to use only v3 board from Johannes, but for now I even don't know if I will be able to go further with programming in code::blocks - or even modify Johannes sketch :)

Re: Blue Pill + ESP8266 + TJA1050

Posted: Fri Jun 19, 2020 10:10 pm
by Isaac96
Yes I believe that will work. However the TJA1050 requires 5v supply. I suggest a SN65HVD230, which is designed for 3.3v.
-Isaac

Re: Blue Pill + ESP8266 + TJA1050

Posted: Tue Jun 23, 2020 7:24 pm
by damian.lo
Yes, thank You for info. I will also look at this board and then decide which take for final version. For now is only important, that this will work. I have to order one of those and try. First I have to compile somehow Johannes project and try to look at can bus. I will report then what is happen.

Re: Blue Pill + ESP8266 + TJA1050

Posted: Fri Nov 06, 2020 7:48 pm
by mackoffgrid
The MCP2515 does work with the bluepill, I have used it in a design and I second what Isaac96 says about using the 65HVD230

Re: Blue Pill + ESP8266 + TJA1050

Posted: Fri Nov 06, 2020 9:14 pm
by Bigpie
That little esp doesn't have the space for the web interface, though you should be able to cut a lot of it down. I did start doing do but then lost interest and turned the esp01s into an alexa doorbell instead. The bigger flash sized esp8266 are a couple of quid more.