Skip to content

Code and CAD for our ECE445/ME470 design: Wireless Charging Table with Automatic Alignment

Notifications You must be signed in to change notification settings

liuzikai/wireless-charging-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qi Wireless Charging Table with Automatic Alignment

Code and CAD of our ECE445/ME470 Senior Design Project SP21 at ZJUI.

Team 24: Kaiwen Cao, Tianyi Han, Tingkai Liu, Zikai Liu

Demo Demo

Demo

Features

  • Charge 3 Qi-Compatible devices placed on the table concurrently.
  • Automatically align charging coils with mechanical system and computer vision.
  • Phone cases up to ~2mm thick are allowed.
  • Detection and memorization of Qi-incompatible device.
  • Maximal 15W power supply to each device.

2021.10.22 Update: similar idea but cooler design 😃 => 【何同学】我做了苹果放弃的产品...-哔哩哔哩

Design

=> Final Presentation

=> Final Report

Mechanism

Block Diagram

Setup on Jetson Nano

Ubuntu 18.04 for Jetson Nano has OpenCV 4.1.1 pre-installed.

GPIO Connections

Charger Red Pin Green Pin
0 9 10

GPIO pins are indexed in BCM mode:

=> Jetson Nano Pin Layout

Setup GPIO Permission on Jetson Nano

Adapted from JetsonGPIO README

In order to use the Jetson GPIO Library, the correct user permissions/groups must
be set first. Or you have to run your program with root permission.

Create a new gpio user group. Then add your user to the newly created group.

sudo groupadd -f -r gpio
sudo usermod -a -G gpio $(whoami)

Install custom udev rules by copying the 99-gpio.rules file into the rules.d
directory. The 99-gpio.rules file was copied from NVIDIA's official repository.

sudo cp lib/JetsonGPIO/99-gpio.rules /etc/udev/rules.d/

For the new rule to take place, you either need to reboot or reload the udev rules by running:

sudo udevadm control --reload-rules && sudo udevadm trigger

Install Boost

The Boost library from apt-get of Ubuntu 18.04 is too old. Building from source can be time-consuming as Jetson Nano doesn't have powerful CPU. Instead, install newer Boost from other source.

sudo add-apt-repository ppa:mhier/libboost-latest
sudo apt-get update
sudo apt install -y libboost1.74-dev

If the error dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) occurs, run the following commands.

sudo dpkg -i --force-overwrite /var/cache/apt/archives/libboost1.74-dev_1.74-0~16~ubuntu18.04.1_arm64.deb
sudo apt install -f libboost1.74-dev

Build

git submodule update --init
mkdir build
cd build
cmake ..
make

About

Code and CAD for our ECE445/ME470 design: Wireless Charging Table with Automatic Alignment

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •