![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
The uBITX uses an Arduino internally. This article describes how to update its software.
Required hardware
The connector on the back is a Mini-B USB connector, so you'll need a "Mini-B to A" USB cable. This is not the same cable as used with older Android smartphones. The Mini-B connector was used with a lot of cameras a decade ago.
You'll also need a computer. I use a laptop with Fedora Linux installed.
Required software for software development
In Fedora all the required software is installed with sudo dnf install arduino git. Add yourself to the users and lock groups with sudo usermod -a -G users,lock $USER (on Debian-style systems use sudo usermod -a -G dialout,lock $USER). You'll need to log out and log in again for that to have an effect (if you want to see which groups you are already in, then use the id command).
Run arduino as your ordinary non-root user to create the directories used by the Arduino IDE. You can quit the IDE once it starts.
Obtain the uBITX software
$ cd ~/Arduino $ git clone https://github.com/afarhan/ubitxv6.git ubitx_v6.1_code
Connect the uBITX to your computer
Plug in the USB cable and turn on the radio. Running dmesg will show the Arduino appearing as a "USB serial" device:
usb 1-1: new full-speed USB device number 6 using xhci_hcd usb 1-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64 usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0 usb 1-1: Product: USB Serial usbcore: registered new interface driver ch341 usbserial: USB Serial support registered for ch341-uart ch341 1-1:1.0: ch341-uart converter detected usb 1-1: ch341-uart converter now attached to ttyUSB1
If you want more information about the USB device then use:
$ lsusb -d 1a86:7523 Bus 001 Device 006: ID 1a86:7523 QinHeng Electronics CH340 serial converter