Skip to content

A very simple cheatsheet to get started with a Digispark (ATtiny85 microcontrolller).

License

Notifications You must be signed in to change notification settings

Rob2n/Digispark101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Digispark101

A very simple cheatsheet to get started with a Digispark (ATtiny85 microcontrolller).

Requirements

First, download the Arduino IDE and follow the instructions on there to set it up correctly.

Then you will need this encoder.jar file, to convert your ducky script into a payload.

Finally, clone the duck2spark repository to convert the payload into an arduino sketch.

Getting started

Once you have all the requirements installed, create a .duck file and write your ducky script inside of it.


Then convert the ducky script into a .bin payload by entering the following command :

java -jar encoder.jar -i myscript.duck -o myscript.bin -l en

Dont forget to replace myscript.duck and myscript.bin by the name of your script

The -l en flag is specifying the keyboard layout of the payload, change it according to the target's keyboard layout.


Next, use duck2spark to turn your .bin payload into an arduino sketch, by issuing this command :

python duck2spark.py -i myscript.bin -l 1 -o myscript.ino


Now, open Arduino IDE and open the .ino sketch you just created.

Click Upload and plug-in your Digispark.

Enjoy !

About

A very simple cheatsheet to get started with a Digispark (ATtiny85 microcontrolller).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published