Skip to content

sentairanger/nodejs-robot-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

nodejs-robot-control

This project uses NodeJS to control a robot that uses the CamJam EduKit 3 motor controller

Introduction

This is a project that uses keystrokes to control a Raspberry Pi robot using pigpio with NodeJS and uses the CamJam EduKit 3 motor controller. However, this can be applied to any motor controller with slight adjustments.

Getting Started

First NodeJS and npm need to be installed. Be sure to follow your specific OS instructions whether they are Windows, Mac or Linux. This project can also be run directly on the Pi. Then, you need to install pigpio on the Pi if necessary with sudo apt install pigpio. Then install the pigpio-client with npm install pigpio-client. Enable pipgio on the Pi with sudo pigpiod or you can also make it permanent by enabling Remote GPIO. Then run the code with node robot.js. Then press the cursor keys to move the robot and the return or Enter key to stop the robot. Exit with CTRL+C.

About

This project uses NodeJS to control a robot that uses the CamJam EduKit 3 motor controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published