This is an old revision of the document!
To make it easier to address the buspirate v4 consistently (ttyACMx is not consistent), create an udev rule to have it always created as: /dev/buspirate
Create the following files:
sudo touch /etc/udev/rules.d/99-buspirate.rules
(Make sure that the rule has the ending “.rules”, otherwise it will not be parsed.)
Write the following contents in this file:
SUBSYSTEM=="tty", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fb00", GROUP="users", MODE="0666", SYMLINK+="buspirate"
Reload the udev rules with following command:
sudo udevadm control --reload-rules
* * * * * * * * * * * * * * * * * (SWITCH) USB PORT ARDUINO (2) (4) (6) NANO (1) (3) (5) * * * * * * * * * * * * * * * * *
BUSPIRATE | ARDUINO MICRO |
---|---|
MISO | MISO (1) |
5V | Vcc (2) |
SCK | CLK (3) |
MOSI | MOSI (4) |
CS | RESET (5) |
GND | GND (6) |
The Arduino micro can be powered directly from the buspirate. No external power is necessary.
$HOME/Backup/apps/arduino/arduino-1.8.13/hardware/tools/avr/bin/avrdude -C$HOME/Backup/apps/arduino/arduino-1.8.13/hardware/tools/avr/etc/avrdude.conf -v -patmega32u4 -c buspirate -P /dev/ttyACM3 -Uflash:w:/tmp/arduino_build_779360/stepper_motor_control.ino.hex:i
* * * * * * * * * * * * * * * * * * ATMEGA644 (6) (5) (4) (3) (2) (1) * * * * * * * * * * * * * * * * * *
BUSPIRATE | ARDUINO ATMEGA644 |
---|---|
MISO | MISO (1) |
5V | Vcc (2) |
SCK | CLK (3) |
MOSI | MOSI (4) |
CS | RESET (5) |
GND | GND (6) |
The Arduino ATMEGA644 can be powered directly from the buspirate. No external power is necessary.
$HOME/Backup/apps/arduino/arduino-1.8.13/hardware/tools/avr/bin/avrdude -C$HOME/Backup/apps/arduino/arduino-1.8.13/hardware/tools/avr/etc/avrdude.conf -v -patmega644 -c buspirate -P /dev/ttyACM3 -Uflash:w:/tmp/arduino_build_779360/stepper_motor_control.ino.hex:i