Hackster is hosting Hackster Holidays, Ep. 5: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 5 on Friday!
Lilanka Udawatta
Published © GPL3+

Bionic Organs/Devices/Limbs Wireless Charging

Life of an electronic device depends on its battery life. Wireless charging propels the limits of Bionic Electronics to be eternal.

AdvancedShowcase (no instructions)5 hours10,924

Things used in this project

Hardware components

Qi 5W Transmitter Prototype Kit
IDT Qi 5W Transmitter Prototype Kit
×1
Qi 5W Receiver Prototype Kit
IDT Qi 5W Receiver Prototype Kit
×1
Microchip Atmega328p
×1
HC-SR04 Ultrasonic Sensor
×1

Hand tools and fabrication machines

Arduino cc
Schemeit
PCBWeb

Story

Read more

Custom parts and enclosures

Receiver Side CAD Circuit for PCBWeb

Transmitter Side CAD Circuit for PCBWeb

Receiver Side Circuit Gerber File

Transmitter Side Circuit Gerber File

Schematics

Transmitter Circuit Schematic Diagram

Receiver Circuit Schematic Diagram

Bill of Material

All these bills are taken from online sources. The PCB fabrication for the transmitter controller circuit may vary with where you choose to do your own fabrication.

Code

Atmega328 Contoller Code

C/C++
The code that controls the transmitter circuit. The code if uploaded trough the Arduino cc.
//Sonar 1
int initPin1 = 2;
int echoPin1 = 3;
int ENABLE = 4;

int SENSE = 0;


void setup() {
  
  pinMode(echoPin1, INPUT);
  pinMode(initPin1, OUTPUT);
  pinMode(ENABLE, OUTPUT);  
}


void loop() {
  
  digitalWrite(ENABLE, HIGH);

  SENSE = getDistance(initPin1, echoPin1);
  delay(150);
  
 
  while ( SENSE == 1){
    
    Activ_Trans();
  }
  
}


int getDistance (int initPin, int echoPin){

 digitalWrite(initPin, HIGH);
 delayMicroseconds(10); 
 digitalWrite(initPin, LOW); 
 unsigned long pulseTime = pulseIn(echoPin, HIGH); 
 int distance = pulseTime/58;
 
   if (distance  >= 120 || distance  <= 0 ){
     
      return 1;
   }
   
   else{
     
     return 0;      
   }
}

void Activ_Trans()
{
  digitalWrite(ENABLE, LOW);
}
 

Credits

Lilanka Udawatta

Lilanka Udawatta

6 projects • 42 followers
I am Electrical and Electronic engineering student, seeking for opportunities to create something that actually matter to the society.

Comments