Giter Site home page Giter Site logo

gwenaelleclech / oscar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oscaradapter/oscar

0.0 2.0 0.0 35.45 MB

Home Page: http://oscaradapter.co.uk/

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.02% C++ 1.18% C 0.06% Eagle 98.50% NSIS 0.21% QMake 0.03%

oscar's Introduction

OSCAR

A Retina screen controlling interface.

This repository contains the software for the host computer program, and the Arduino-ized firmware for the ATMega on board. This repostiory also contais the schematics and board files. This repository does not contain the new Aruduino variant required to build this code - but it can be found as a submodule.

Getting Started (from Source)

  1. git clone https://github.com/OSCARAdapter/OSCAR.git
  2. git submodule init && git submodule update

Build the firmware [in fw/]

  • make

Program to the device.

You may need to adjust MONITOR_PORT in fw/Makefile.

  • make upload

Build the software [in sw/] (Windows)

This requires you to have Visual Studio C++ installed, the QT5 development environment to be set up, and to have the libusb source.

  1. qmake -tp vc oscar.pro
  2. Open the generated vcproj in Visual Studio
  3. Adjust as required to fit your environment
  4. Build

Build the software [in sw/] (Linux/OSX)

This requires a C++ compiler, QT5 development libraries, libusb development package.

  1. qmake oscar.pro
  2. make

Other On Windows, you will be required to install the drivers for the device, these can be found in installer/drivers.

Getting Started (from Binary - Windows only)

  1. Download the installer from here
  2. Run the installer
  3. Plug OSCAR in

Repository Overview

Arduino/

Contains the custom OSCAR variant in hardware/arduino/cores/oscar. This is based on the ATMega task sample, and runs two tasks:

  1. USB Task - responsible for processing all USB packets
  2. Arduino Task - reponsible for maintaing the single-threaded Arduino compatible emulation layer.

Arduino-Makefile/

A makefile system to allow the compilation of the code without requiring the Arduino IDE. This project can be found at https://github.com/sudar/Arduino-Makefile.

fw/

Contains the firmware for the integrated ATmega. All of the OSCAR code can be found in fw/libs/AdapterBoard.* This keeps the top level oscar.ino clear of any unnecessary code, allowing you to directly extend the device as you require. Libraries for backlight control and control of the RGB led can also be found in fw/libs/

hw/

Contains the schematics and pcb layouts for the driver board.

installer/

The NSIS installer for Windows can be found in oscar.nsi. installer/qtlib contains the required DLLs for Qt5 and libusb to be directly included with the generated oscar executable for the installer. installer/drivers contains the required Windows drivers for XP and Vista/Win7/Win8 to interact with the libusb device.

logo/

Contains the OSCAR logo, which is included in the software

sw/

Has the control software for your computer. This code presents a GUI for Windows, Linux or OSX based upon Qt5 and libusb. The source code can be found in sw/src, UI designs can be found in src/ui.

Other Notes

Generating 'Combined' file for programming You will need the Caterina-leonardo.hex file from the bootloaders section of the Arduino code. You will also need the fw.hex generated from this source. You will also need the tool srec_cat (part of the SRecord suite of tools). srec_cat fw.hex -intel Caterina-leonardo.hex -intel -o combined.hex -intel

Licensing

The software and firmware is licensed under the BSD 3-Clause License (refer to COPYING).

The hardware is licensed under CC-BY-SA.

oscar's People

Contributors

alown avatar atomcomputing avatar

Watchers

 avatar  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.