aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-14 18:48:00 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-14 18:48:00 -0700
commit703190b167fb294f8979278f9ae0b8440d616dd4 (patch)
tree946563d329d630e4a784939f3a96968436da67f1
parenteafcc516f75bf7b3d71d1058663dc85cb08d4944 (diff)
update
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index 33c05fc..d167fa7 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,13 @@ all_SRE_edited.c and all_SRE_edited.h are auto generated by [dbcc](https://githu
Infrastructure configs, included in pi_configs dir
- I prefer manage infrastructure configs using my [cfg](https://git.flylightning.xyz/fsh/tree/sh/cfg) script, but that script is my personal project and I don't want to force people to use that, so I include those config files in this repo and I did not manage it with my cfg script on raspberry pi.
-- /boot/firmware/config.txt raspberry pi configs to make CAN hat work, make CAN network interface on raspberry pi work
+- /boot/firmware/config.txt raspberry pi configs to make CAN hat work and make CAN network interface on raspberry pi work
- /etc/systemd/system/can0.service autostart CAN network interface configs
- /home/Spartan_Racing_Charger/.config/systemd/user/mycan.service autostart mycan
+- To enable and start can0 autostart, run `sudo systemctl enable --now can0`. To enable mycan autostart, run `sudo systemctl --user enable --now mycan`.
+
+mycan future improvements
+- Use a database like SQLite
+- More platform independent
+
+To assemble the raspberry pi for remote plotting software, CAN hat need to be placed and inserted onto raspberry pi's male pins. Touchscreen display needs to be put at the bottom of the raspberry pi. All these three items should be screwed with metal rods. Display needs to connect to raspberry pi's 5V and GND ground for power. Raspberry pi it self also need to connect to power supply on 5V and GND ground. CAN hat needs to connect to CAN high and CAN low wires to receive CAN messages from battery BMS.