Skip to content

Line following robot targeting the Arduino Uno board

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

pete-eiger/rusty-line-follower

Repository files navigation

Rusty Line Follower 🦀

Line follower robot built with Rust, utilising the avr-hal project. For now it only supports the Arduino Uno board, but the code can easily be adapted for other boards with the help of the avr-hal examples.

Prerequisites

You need to have the following installed on your system:

Rust

Install the Rust compiler, this this curl command:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

On Windows use rustup-init.exe.

Avrdude

The installation process for avrdude will depend on your OS.

Windows

You can download avr-gcc, which includes avrdude. You can use the following guide. After downloading the archive extract it to C:\Users\Username\Programs\avr8-gnu-toolchain. Then, create a AVRGCCStart.cmd file with this content:

set Path=%Path%;C:\Users\Username\Programs\avr8-gnu-toolchain\bin
set Path=%Path%;C:\Users\Username\Programs\avr8-gnu-toolchain\avr\bin

start cmd

After that save it, and then execute the script. From there you can change to where you've cloned the repository and follow the steps after.

MacOS

avrdude is packaged in a homebrew formula and can be installed with

brew install avrdude

Linux

There should be a avrdude package in your distro package manager, for instance for Ubuntu you can use:

sudo apt-get install avrdude

Usage

Clone this repo:

git clone [email protected]:axiomatic-aardvark/rusty-line-follower.git

And just run the project:

cargo run

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Line following robot targeting the Arduino Uno board

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published