Giter Site home page Giter Site logo

rdmrocha / sam-fusee-launcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noemu/sam-fusee-launcher

0.0 1.0 0.0 22.9 MB

Fusee Launcher for the SparkFun SAMD21 breakout boards

License: GNU General Public License v2.0

C 99.84% C++ 0.05% Python 0.11%

sam-fusee-launcher's Introduction

sam-fusee-launcher

Fusee Launcher for the adafruit trinket m0 board. Based on sam fusee launcher.

Build and tested with Arduino SDK.

Install

  • Download and extract the firmware: CTCaer Hekate 3.2, SXLoader 1.0
  • Connect the Trinket M0 and press the reset button twice
  • Open the TRINKETBOOT device and copy the extracted files on the device

Build

Go through trinket m0: arduino-ide-setup and trinket m0: arduino-ide-setup2

Summary:

  • Download and install arduino IDE http://www.arduino.cc/en/Main/Software
  • In Arduino: go to "Prefences" and add to "Additional Board Manager URLs" followin URL:
  • https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
  • go to "Tools > Board > Board Manager" and select Type: All and
  • Install "Adafruit SAMD Boards" by Adafruit (not sure if required: Arduino - Boards SAMD)
  • Select the Trinket M0 with "Tools > Board > Adafruit Trinket M0"

Go to Sketch > Include Library > Manage Libraries Install USBHOst, Adafruit DotStar and FlashStorage.

Connect the Trinket m0 to your computer and double Click on the Reset Button. Your computer should detect the Trinket m0 automatically (On win7 install this driver)

Got to Tools > Port and select your conneted trinket m0

Download this Repository, open main/main.ino with Arduino IDE.

Then Verify/Compile (Ctrl + R) If no errors appear Upload (Ctrl + U).

The trinket is ready for use.

LED is:

  • blinking orange -> searching for Switch in RCM mode
  • red -> no Switch found
  • off (except the power LED) -> finished successfully

Update the Payload

download your favorit payload as a .bin file. run the python script tools/binConverter.py with the path to the file as an argument: python binConverter.py "C:\pathToMyPayload\hekateNew.bin or just drag the .bin file on the script

in the same folder as the .bin file is located, a new .h file should appear. Copy the new file to the main folder and in the main.ino go to line 6 #include "hekate_ctcaer_2.3.h" and rename it to your new file #include "hekateNew.h"

Then just compile and upload.

Hardware

trinket m0 + liPoly charger + Button + 150mAh LiPoly Battery

Layout

front

back

Power consumption:

  • Idle with error and power LED: 3.5mA
  • Idle with only power LED: 1.3mA
  • Running: 12.7mA

Finished Dongle

Micro USB to USB C converter

microUsbToUsbC

inside

dongle

plugged

Test

Thanks to:

sam-fusee-launcher's People

Contributors

rdmrocha avatar atlas44 avatar noemu avatar

Watchers

 avatar

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.