Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Want to send the data received serially via SPI #397

Open
OjasPatkar opened this issue Nov 25, 2023 · 6 comments
Open

Want to send the data received serially via SPI #397

OjasPatkar opened this issue Nov 25, 2023 · 6 comments

Comments

@OjasPatkar
Copy link

I am using esp32 in a ev project car and want to have that data transmitted 3 kms away at my pits using Ra-02 Ai Thinker LoRa module using semtech sx1278 chipset and I am programming esp 32 using arduino IDE so want to print the same data on serial monitor.

@syssi
Copy link
Owner

syssi commented Nov 25, 2023

You could describe your setup in detail? How many ESPs do you want to use and what kind of data do you want to transfer using SPI?

@OjasPatkar
Copy link
Author

So basically I'm competing in completion known as eBAJA where we make Electric ATV so I used your codes and we were successful in getting the bms data onto the esphome logger. But since we would be in pits and the driver would be 3-4 kms away from us and we don't have reliable display so we want to tell the driver via radio to come to pits for Battery swapping.
We are thinking of having 1 ESP 32 in the car which is connected to LoRa module using SPI protocol which would transmitted to receiver side having another LoRa module connected via SPI protocol to the ESP 32 which would be connected to the esphome.
I would like to get all the data which is provided by the bms but specifically

  1. Total Voltage
  2. Ampere
  3. Remaining battery capacity
  4. Battery temperature
  5. Battery SoC

@syssi
Copy link
Owner

syssi commented Nov 27, 2023

Sounds like a pragmatic solution because there is no LoRa support in ESPHome yet. Passing some measurements via UART or SPI to a second ESP which is responsible for the radio stuff should be feasible. How can I support you?

@OjasPatkar
Copy link
Author

Actually we are short of space in the vehicle. So what if we add header files of lora in the configuration files ?

@syssi
Copy link
Owner

syssi commented Nov 28, 2023

Actually we are short of space in the vehicle. So what if we add header files of lora in the configuration files.

To be able to use a single ESP?

@OjasPatkar
Copy link
Author

No no for the second ESP as you said

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants