diff --git a/README.md b/README.md index 17fee19..8cf6acf 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,19 @@ both ATTINY13 and FS1000A are connected to 5V power supply. The source code for ATTINY13 is generating set of square waves - 10 sequences of 50 pulses with different width to put enough noise on 433/315Mhz frequency. The device can affectively jam all wireless key fobs in 100 meter range f.ex. in underground garage. Remember to buy appropriate FS1000A version for your location. + +COMPILATION ON LINUX PC : + +The script attached in repository ( "compileattiny" ) can be used to upload data to the chip if you have Linux machine with following packages : "gcc-avr", "binutils-avr" (or sometimes just "binutils"), "avr-libc", "avrdude" and optionally "gdb-avr"(debugger only if you really need it) . For example in Ubuntu download these packages using command : "sudo apt-get install gcc-avr binutils-avr avr-libc gdb-avr avrdude". After this is done you can run from directory you downloaded the github files appropriate compilation script by commands + + "sudo chmod +rx compileattiny" and "sudo ./compileattiny" + +COMPILATION ON WINDOWS PC : + +If you have Windows 10 machine please follow this tutorial to download and install full AVR-GCC environment for Windows : http://fab.cba.mit.edu/classes/863.16/doc/projects/ftsmin/windows_avr.html with latest compiler from Microchip/Atmel. + +After it is done please use "compileattiny.bat" for compilation inside directory where you have downloaded "main.c" file. You have to be logged as Windows Administrator to use avrdude software. + +PROGRAMMING THE ATTINY / ATMEGA / ARDUINO - connecting cables to the chip : + +To upload program code to the chip using cheapest USBASP programmer (less than 2 USD on eBay/Aliexpress) look at this page : http://www.learningaboutelectronics.com/Articles/Program-AVR-chip-using-a-USBASP-with-10-pin-cable.php , because we are not using ARDUINO bootloader here (especially for chips like ATTINY)