Git Product home page Git Product logo

lightsaber's Introduction

LightSaber

This project is a light saber based on Arduino Mini. This reposity includes four parts, arduino code, pcb layout file, pcb layout gcode, and sound effect.

Code

There are two version of the arduino code, the general one and the silence one.

  • General Version: There are two mode, light saber and light gun.
  • Silence Version: We added a new mode, silence saber.

PCB

We designed the circuit by easyEDA, which provided online circuit editor and gerber file generation.

Gcode

We made lots of efforts to generate the gcode from gerber files, because most CAM software are not open source. In the end, we find FlatCam, which provide gcode viewer, milling, routing, double side PCB, etc.

There are serveral complicated step to generate the pcb files.

  1. Generate Gcode From FlatCAM: Download the flatCAM from http://flatcam.org/. Load the gerber file and output the gcodes, including top_layer, drill and outline.
  2. Translate Gcode To Fit Roland: Because the gcode we obtained from flatCAM is not compatible with the CNC mechine we used, we need to translate it into a correct format. We wrote a python script called gcode_trans.py to do this.

Sound Effects

Copy these effects into the SD card, so that arduino can read the HEX audio files from it.

lightsaber's People

Contributors

sciyen avatar

Watchers

 avatar

Forkers

houcy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.