- Arduino
- MCP2515 shield or board
Follow instructions of the MCP2515 board.
Make sure to terminate the bus with a 120-ohm resistor and use twisted wiring at all points.
Microchip MCP2515 | Arduino |
---|---|
VCC | 5V |
GND | GND |
SCK | SCK |
SO | MISO |
SI | MOSI |
CS | 10 |
INT | 2 |
- Install Platformio
cd
to projectpio upload
cd
to projectpio device monitor
- Use
space
to turn on/off the CAN BUS - Use
[1-9]
to control speed1
is 0%3
is the minimum to start9
is ~10%0
is -1%. This is needed to slow down past ~500RPM. You may also pressspace
which puts the inverter into idle.