
Senior Capstone
achihuahua22/Alex-Harris-Capstone
This project builds on an-ven’s graspib project by adding more RS232 support and a UART breakout pin.

This project builds on an-ven’s graspib project by adding more RS232 support and a UART breakout pin.
Senior Capstone is an open-source printed circuit board by achihuahua22, from the achihuahua22/Alex-Harris-Capstone repository on GitHub, published under the MIT licence. It is a 2-layer board of 65.5 × 56.4 mm with 47 parts on 110 nets, routed with 259 tracks and 32 vias.
It is built around the MAX232N, SC16IS752IBS and L77SDE09SA4CH3FC309. Its parts include 19 resistors, 9 diodes, 7 capacitors, 5 connectors and 3 ICs.
This project is a Raspberry Pi Hat that is intended to receive inputs from Self-Driving-Laboratory equipment and utilize the raspberry pi to publish device data onto the network. This repository contains all of the schematics, documentation, and code necessary to build this device.
This project builds on an-ven’s graspib project by adding more RS232 support and a UART breakout pin.
It also utilizes the Linux GPIB package
Currently, this device supports UART, RS232, and GPIB.

If you want to make one yourself, the files are here
This project is a Raspberry Pi Hat that is intended to improve self driving lab connectivity and modularity by allowing researchers to integrate multiple lab devices into their networks. I worked with Dr. Taylor Sparks' self-driving laboratory (SDL) to develop a device to more easily network with lab equipment. A self-driving laboratory is a laboratory where everything from specimen handling, experiments, and decision making is fully automated to accelerate research [1]. This device intends to be an easy-to-use device for networking and save researchers money. To make a device “easy to use” I wanted to work with hardware that researchers are familiar with. This led to me choosing to design a board that attaches to a Raspberry Pi. I chose to use a Raspberry Pi based solution because of its prevalence in the research space. Many pieces of university research level lab equipment have very little interconnection due to the age of the device or the type of communication protocol. Another issue is that products can use proprietary connection methods, which makes the task of developing an interconnected SDL very difficult [2]. I wanted to develop a device that can put data collected by lab equipment onto the network using a Raspberry Pi and a circuit board that sits on top of the Pi to handle the communications.
I began with researching similar solutions to this problem, and the two options were a series of adapter dongles, or a device that interfaces with a single board computer to allow for communication. I chose this method as it would be easiest for the end user to have a single device that handles lab equipment connectivity. I started by purchasing pre-built adapter components and build a breadboard analog of the final device. This device consisted of RS232 adapters and a serial expansion board for a Raspberry Pi. With this, I was able to test the idea of sending device data over the network using ROS and the python socket library.
I designed a circuit board that could serve as an add on that connected to the Raspberry Pi’s GPIO port. To expand the capability of the device, a GPIB connection was added, taking advantage of the open-source Linux GPIB package [3]. GPIB is a very common protocol with adapters often costing hundreds of dollars. The board was manufactured by JLCPCB, hand assembled, revised, and tested thoroughly. A GitHub repository was maintained throughout the project detailing hardware and software setup instructions. The low-cost goal was achieved with the total cost being around $40 for the entire device excluding shipping
Improvements of the Linux GPIB library are needed to facilitate easy setup of hardware and improved compatibility with the IEEE-488 standard. Future works should expand on the software for using the Raspberry Pi to communicate over the local network. Possibly a user interface to improve ease of use Future works should also investigate more permanent, universal communication protocols to improve laboratory equipment integration.
While there are many communication protocols used in laboratory equipment, a few come up most often when looking at the back of devices in labs around my university. Some of these include:
Obviously, it is not possible to develop a device to encompass every existing communication protocol, so I chose three that were most necessary to our SDL and were most feasible with the constraint of a Raspberry Pi powered device. The three protocols I chose were RS232, UART, and GPIB. I chose each of these for the following reasons:
I chose UART because of its prevalence in open-source projects such as the OpenTrickler, a powder dispensing device that we are using in our SDL. UART is also a simple protocol to implement as it only requires four pins: 3v3, TX, RX, and GND. The end user can configure the Baud rate, parity or stop bits in software. I believe that including this communication allows for other SDLs to integrate their own custom devices and not have to design for network capabilities if they choose to use my device.
I chose RS232 because it was very prevalent in older equipment in our lab such as the Fischer Scientific Analytical Scale, and some open-source devices such as the OpenRAMAN, a laser spectroscopy device for materials classification. While RS232 is an old communication protocol, it is still useful for simple communication of commands.
Lastly, I chose GPIB because it was also extremely prevalent in many types of laboratory equipment such as multimeters, spectrum analyzers, and other devices. The issue that many laboratories face with GPIB enabled devices is that adapters such as GPIB to USB can cost more than $1,000 and can only communicate with proprietary software. This can render perfectly usable lab equipment almost completely useless in terms of automation or remote data collection.
The following are protocols I didn't choose, future works could consider adding them.
I didn’t choose CAN or any of its variants (CAN, CAN-FD, CAN-XL) because it has too many variants to effectively develop a multipurpose product that could encompass of CAN. The differential pair nature of CAN also makes it difficult to develop for.
I didn’t choose USB because of its complication with drivers, enumeration, host/peripheral, and all the headaches that come with that. In addition to this, a Raspberry Pi does not have the same driver setup as a normal computer which makes implementation difficult when this problem can be solved with a computer and a USB hub.
I didn’t choose HPIB because of the general nature of GPIB (General Purpose Interface Bus) and how HPIB is limited to Hewlett-Packard devices, and that does not make sense with the intent of this project.
I didn’t choose Ethernet because it also defeats the purpose of this project. The Raspberry Pi used for this project has Ethernet connection capabilities, allowing me to develop a device that just handles the communications between the laboratory equipment and the Pi, reducing cost and complexity.
At the time of writing, JLCPCB is a very good option for low cost PCB manufacturing. You can get 5 boards for roughly $4 not including shipping. All you need to do is zip these Gerber Files, go to JLCPCB.com, click "upload gerbers" and choose the zipped file. Everything else should populate automatically. You don't need to do any configuration besides choosing the "Lead Free HASL" for a lead free surface finish on the pcb. Feel free to order a stencil as it might make surface mount soldering easier, not required though.
Here is the BOM for the pcb components
I would recommend using solder paste and a heat gun for installing the small surface mount components such as the resistors, capacitors, crystal and LED's and installing the components in the following order:
It is not required to install the components in this order, but is is easier to install the smaller components first so you don't have to navigate around the large connectors or IC's.
Setup fresh install of raspberry pi os
Configure your network, password, etc to your liking
Download Provided files to send data to network
From graspib documentation :
Install build tools and dependencies
$ sudo apt install build-essential autoconf automake libtool flex bison$ sudo apt install raspberrypi-kernel-headers$ sudo apt install python3-devDownload linux-gpib source files
Build and install kernel drivers
$ cd linux-gpib-src-dir/linux-gpib-kernel$ make$ sudo make install$ sudo depmod -a$ sudo modprobe gpib_bitbangWhen Raspberry Pi OS kernel gets upgraded, linux-gpib kernel module also needs to be rebuilt and reinstalled. Basically just repeat above make and make install steps when kernel gets upgraded
Build and install user space tools
$ cd linux-gpib-src-dir/linux-gpib-user$ ./configure (run $ ./configure --help to list additional options)$ sudo make installConfigure GPIB interface
$ sudo crontab -e$ sudo groupadd -r gpib$ sudo usermod -a -G gpib your_user_nameReboot system to apply changes (udevadm utility can also be used, but reboot is dead simple to remember) Test by running ibtest without sudo
Run and do the following to enable the I2C interface:
sudo raspi-configsudo apt-get update and sudo apt-get install -y python3-smbus i2c-toolssudo haltRun the following in the raspberry pi os terminal to configure serial and socket:
sudo apt updatepython3 -m pip install socketpython3 -m pip install pyserialsudo apt install wiringpisudo apt install build-essentialSee following instructions from grasPIB repository to configure the raspberry pi for GPIB
Configure Baud rate, IP, and I2C addresses in code
| Qty | Value | Footprint | References |
|---|---|---|---|
| 17 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2, R3, R4, R5, R6, R7, R8, R10, R11, R12, R14, R15, R16, R17, R18, R19 +1 |
| 8 | WL-SMCW_0603 | WL-SMCW_0603:WL-SMCW_0603 | D2, D3, D4, D5, D6, D7, D8, D9 |
| 7 | 100n | Capacitor_SMD:C_0805_2012Metric | C1, C2, C3, C4, C6, C7, C12 |
| 4 | MountingHole_Pad | MountingHole:MountingHole_2.2mm_M2_ISO7380_Pad_TopBottom | H1, H2, H3, H4 |
| 2 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R13 |
| 2 | Conn_01x04_Pin | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J4, J5 |
| 2 | L77SDE09SA4CH3FC309 | L77SDE09SA4CH3FC309:AMPHENOL_L77SDE09SA4CH3FC309 | J2, J3 |
| 2 | SC16IS752IBS | Package_DFN_QFN:VQFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm | U1, U5 |
| 1 | GPIO | Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical | J1 |
| 1 | MAX232 | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U2 |
| 1 | PWR_LED | WL-SMCW_0603:WL-SMCW_0603 | D1 |

achihuahua22/Alex-Harris-Capstone
This project builds on an-ven’s graspib project by adding more RS232 support and a UART breakout pin.

achihuahua22/Alex-Harris-Capstone
This project builds on an-ven’s graspib project by adding more RS232 support and a UART breakout pin.


peterheinrich/InternetOverSpaghetti
Transmitting IP packages over a pair of spaghetti thus demonstrating how media independent IP really is.

necroware/ps2-serial-mouse-adapter
PS/2 to serial port mouse adapter

LimeProgramming/USB-serial-mouse-adapter
Convert USB mouse to Serial mouse using Pi Pico

RetroFuturisticEngineer/RetroARDUInput
Use USB Keyboards, Mice and Joysticks on PC/XT, PC/AT, Tandy 1000, Atari, Amiga, C64 and Apple

jbevren/6809v2
Code and design repository for the 6809v2 SBC: To be released at VCFMW 13

cyberboy666/_transcribe_
midi to rs232 bridge - for performance control of old video mixers and switchers

AK-Homberger/NMEA0183-WiFi-Multiplexer
Reads NMEA0183 messages from two serial lines and forwards multiplexed messages to USB-Serial and WLAN as UDP broadcast.
It measures 65.5 × 56.4 mm and has 2 copper layers, 1.93 mm thick.
47 parts, built around the MAX232N, SC16IS752IBS and L77SDE09SA4CH3FC309. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the achihuahua22/Alex-Harris-Capstone repository on GitHub, at the commit this page was made from: the board is capstone_rev4/Senior Capstone-backups/Senior Capstone-2025-02-23_174028/Senior Capstone.kicad_pcb and its schematic capstone_cad_rev2/Senior Capstone Page 2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).