Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodstanur committed Apr 1, 2019
1 parent a705b4d commit 5765429
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SOURCES=main.c
CC=avr-gcc
OBJCOPY=avr-objcopy
MMCU=attiny13
COM=COM2
COM=COM2
CFLAGS=-mmcu=$(MMCU) -Wall

$(PROJECT).hex: $(PROJECT).out
Expand Down
7 changes: 7 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Attiny13A Qi wireless power receiver.
PB4 to be connected to mosfet gate for modulation.

PB3 to be connected to rectified DC voltage via 4.7/47k divider).

Schematic: Please visit
http://blog.vinu.co.in/2019/04/qi-wireless-power-receiver-from-scratch.html
19 changes: 19 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*Attiny13A Qi wireless power receiver. PB4 to be connected to mosfet gate
for modulation....
PB3 to be connected to rectified DC voltage via 4.7/47k divider).
Copyright (C) <2019> <Vinod S http://blog.vinu.co.in>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.*/

#include <avr/io.h>
#define F_CPU 9600000
#include <util/delay.h>
Expand Down

0 comments on commit 5765429

Please sign in to comment.