Skip to content

Fireflybot mimics the synchonization patterns of fireflies with electronic components.

Notifications You must be signed in to change notification settings

nataliya-dev/fireflybot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fireflybot

Fireflybot mimics the synchonization patterns of fireflies with electronic components.

Hardware

  • Raspberry Pi 3 Model B (v1.2)
  • Sandisk Ultra 32Gb Micro SD Card
  • Intel® RealSense™ Depth Camera Model D435

Software Requirements

Installation tips

  • Intel® RealSense™ D400 cameras with Raspberry Pi
  • Build with DBUILD_GRAPHICAL_EXAMPLES=false
  • Specify the cores when running make (make -j `nproc` )
  • In some cases the RAM capacity is not sufficient to compile the SDK, so if the compilation process crashes or exits with an error-code try to create a swap file and then recompile the SDK.

Usage

Clone the project into your desired directory then build the project.

cd fireflybot
mkdir build && cd build
cmake ..
make

Connect the LED to WiringPi GPIO 29 and the camera via USB to the Raspberry Pi. Test each component individually before running the system to make sure the hardware is connected properly.

To test the blink module:

sudo ./fireflybot -tb

To test the camera module:

./fireflybot -tc

To test the hardware-free synchronization module:

./fireflybot -sim

Once all the components are connected and tested separately, you can run the synchonization module.

sudo ./fireflybot

About

Fireflybot mimics the synchonization patterns of fireflies with electronic components.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published