Skip to content

Latest commit

 

History

History

j5-chartist-sonar

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

firmata sonar

A demonstration of how to use johnny-five and chartist.js to visualize sonar readings

screenshot

Setup

To use the code you will need an arduino with PingFirmata flashed on it as well as a HC-SR04 sonar sensor connected to A0 (see below)

components

Usage

  • install dependencies
  • attach arduino via USB port
  • run node index
  • open website
  • move object within 1m range of sonar sensor