Skip to content

Commit

Permalink
Update Readme.md to include instructions
Browse files Browse the repository at this point in the history
Includes instructions for programming now.
  • Loading branch information
Kgray44 authored Nov 27, 2022
1 parent 40af256 commit fe22cf7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# Ionizing-Radiation-Detector
This code is for building an Ionizing Radiation Detector using Arduino!

# How to code the Microcontroller

What you need:
* USB-C cable
* PC

## Step 1
First, download the Arduino IDE from here:
https://downloads.arduino.cc/arduino-ide

## Step 2
Once you have the IDE downloaded, download this Ionizing Radiation Detector code by clicking [here](https://github.com/Kgray44/Ionizing-Radiation-Detector/archive/refs/heads/main.zip).

## Step 3
Once the code is downloaded, open the downloaded folder and click on the "geiger.ino" file. It will automatically open in the Arduino IDE. Be patient though, as this may take up to a minute to open.

## Step 4
You have to select the correct microcontroller and USB port before you are able to program. Click on *tools / board / Arduino AVR Boards / Arduino Leonardo*. That sets the board to Leonardo (Atmega32-U4). Now, click on *tools / port / '/dev/cu/usbmodem14101'* (''this is the usual port on MacOS for a Leonardo).

## Step 5
Now, plug the USB cable into your PC and into the Leonardo.

## Step 6
Click the arrow (upload) button to the top left of the sketch, and it will program the board!

## Step 7
If you click the magnifying glass icon to the top right of the sketch, it will open the Serial Monitor. This is great for debugging!

0 comments on commit fe22cf7

Please sign in to comment.