You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- I expect RS485 devices to use specific communication protocols, which frequently have some addressing feature. So one bus suffices, if EV charger and energy meter are set to different addresses. The Arduino will play the role of the EV charger for the energy meter, and vice versa. The MITM attack works then on the protocol level, not the electrical level.the busybee– the busybee2024-06-28 05:44:16 +00:00Commented Jun 28, 2024 at 5:44
- That's really helpful. I know that power meter is addressable, not sure about the charger. So basically I need to use MAX 3157 to read needed registers from power meter and store it in Arduino's memory as a float (adding 20A in the meantime). Then charger needs to speak with Arduino (via another MAX 3157 or using addressing) and ask for these registers thinking it speaks with power meter, correct?Martin– Martin2024-06-28 06:50:06 +00:00Commented Jun 28, 2024 at 6:50
- 3RS-485-based protocols are typically single master: the master queries a slave, and the slave responds only when it has been addressed. If you add an Arduino that can behave as a master, then you will risk collisions on the bus. Collision detection and mitigation can be implemented, but I doubt the charger does that.Edgar Bonet– Edgar Bonet2024-06-28 07:01:51 +00:00Commented Jun 28, 2024 at 7:01
- @EdgarBonet I stand corrected respective the single bus. Thanks!the busybee– the busybee2024-06-28 07:58:16 +00:00Commented Jun 28, 2024 at 7:58
- @thebusybee: If the charger sends its requests on a predictable timing, maybe the Arduino could manage to send its own requests in-between the ones from the charger, and your scheme could still work.Edgar Bonet– Edgar Bonet2024-06-28 08:39:20 +00:00Commented Jun 28, 2024 at 8:39
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. arduino-uno), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you