No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
etc
html
static
.gitignore
LICENSE
Makefile
README.md
figureEight.c
hotWheelsLib.c
hotWheelsLib.h
hotWheelsServer
hotWheelsServer.c
hotWheelsServer.mac
mongoose.c
mongoose.h

README.md

Team Hot Wheels

Matthew Morehouse, Tim Cahoe, Nathan Morin, Matthew Depue

Purdue University CNIT 315 Professor Eric Matson

Introduction

This project will design a C library for controlling a simple off-the-shelf RC car from an on board control unit with local internet access (i.e. raspberry Pi) library will be demonstrated with a simple web based app that allows the RC car to be navigated through a preset obstacle course. Below, this team has included the technical requirements for this project, a more detailed project description, a list of physical components with links to potential products, and references to some preliminary research performed by this team. Included in the html & static folders is a sample web app created using HTML/CSS/JS that allows user to easily controll car manually as well as with mobile device accelerometer.

Requirements

Usage Notes

  • Compile hot wheels server with gcc -o hotWheelsServer mongoose.c hotWheelsLib.c hotWheelsServer.c -lpthreads -lwiringPi
  • Run hot Wheels server with root privilages to run on web port 80. NOTE: web socket can be configured in hotWheelsServer.c

Documentation

GPIO PINS USED on Raspberry Pi B+

(note, these values be changed in hotWheelsLib.h)

  • GPIO 0 - turn right
  • GPIO 2 - turn left
  • GPIO 8 - go back
  • GPIO 7 - go forward

Sample Components List

Demo

Alt text for your video

References