Skip to content

AUS Senior Design 2022 code for the project "Design of a thermoelectric-based thermal fatigue testing device"

License

Notifications You must be signed in to change notification settings

y-almannaee/tecberry

Repository files navigation

TECBERRY - Dockerized Thermal Fatigue Testing Implementation

About the project

Control and automate Peltier modules for thermal fatigue testing from a Raspberry Pi

Required items

  • 1x Raspberry Pi device
  • 6x Peltier Module
    • This project was built using the TEC1-12715

Setup instructions

For this you will need a Raspberry Pi with a working Raspbian installation. To set the Raspberry Pi up, follow the instructions here. When choosing the operating system (OS) in the Raspberry Pi imager it is highly recommended that you press on Raspberry Pi OS (Other) and select Raspberry Pi OS Lite (32-bit) or Raspberry Pi OS Lite (64-bit)

  1. After first boot, plug the Raspberry Pi into an HDMI-compatible monitor and connect a keyboard.
  2. Log in using the default username pi and password raspberry.
  3. Run the following commands on your Raspberry Pi to use the easy setup script:
pi@raspberrypi:~$ sudo apt update && sudo apt install -y python3 python3-pip
pi@raspberrypi:~$ curl -fsSLO https://bit.ly/tecberry-py && sudo python3 tecberry-py
  1. Follow the setup instructions to configure your Raspberry Pi
  2. You may run the containers using the following command:
pi@RaspberryPiLeader:~$ sudo docker-compose pull && sudo docker-compose up -d

Task list

  • Create basic dockerfile
  • Create easy setup script
  • Create remote administration logic
  • Create configurable GPIO logic

Want to modify the project?

If you would like to contribute to the project or simply modify the code to your liking you may do so by:

  1. Opening this repo on Github.com and pressing Fork
  2. On your PC you may git clone your/repo and work on it, then git push origin. You may also edit it in the browser
  3. Once you are satisfied with the modified code, on Github.com:
    1. press Settings → Secrets → Actions and create a secret titled DOCKERHUB_TOKEN and DOCKERHUB_USERNAME and populate these with the values you get from hub.docker.com
    2. press Actions → CI → Run Workflow (Enable the workflow if it isn't already enabled)
    3. once the workflow has finished running (usually takes ~20 mins) your Docker containers will be available on Dockerhub, you may follow the setup instructions above to set them up
  4. If you would like to contribute back to this project feel free to open a Pull Request with your modifications, we will get to it in a timely manner

About

AUS Senior Design 2022 code for the project "Design of a thermoelectric-based thermal fatigue testing device"

Resources

License

Stars

Watchers

Forks