🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content
HiPi-SensorPublic

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

HiPi

Firmware, Python reader, and PCB fabrication files for HiPi: Reproducible High-Fidelity Piezoresistive Sensors for Robotic Manipulation.

This initial release provides a basic software quick start for an already assembled HiPi sensor using a WeAct Black Pill V2.0 (STM32F411CEU6). Illustrated wiring, fabrication, and assembly instructions will follow. Do not infer connector pinouts from PCB filenames.

Install

Use Python 3.10 or newer and a graphical desktop. Run these commands from this folder on Linux; ROS is not required.

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python -m pip install platformio==6.1.19

Build and Upload

The default upload method is ST-Link; tactile data uses the MCU's USB connector. Close any serial reader before uploading.

pio run
pio run -t upload

The default environment is blackpill_f411ce. Additional timing profiles are listed in platformio.ini.

View Tactile Data

Connect the MCU with a USB data cable and enable the intended readout modules. Find the serial port, then start the viewer:

python -m serial.tools.list_ports
python pc_reader/view_tactile.py --port /dev/ttyACM0

Replace /dev/ttyACM0 with your device's port. Keep the sensor unloaded during the startup baseline. Press r while unloaded to recalibrate and q to quit.

The viewer automatically displays the enabled readout modules, each as a 64x16 block. Use --layout 32x16 to show the first 32 rows of each block. Display refresh defaults to 50 Hz. Run the viewer with --help for other options. Restart the viewer after changing enabled modules.

Files

  • src/: STM32 firmware.
  • include/: pin definitions and timing settings.
  • pc_reader/: viewer, configuration, and raw stability checker.
  • PCB_Fabrication/: HiPi PCB manufacturing files.

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages