Skip to content

The landing page for the Open System Protocol (OSP) on Arduino with top-level sketched and documentation.

License

Notifications You must be signed in to change notification settings

ams-OSRAM/OSP_aotop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSP

Open System Protocol (OSP) on Arduino

Welcome to the landing page of the aolibs (short for Arduino OSP libraries from ams-OSRAM) to be used with the Arduino OSP evaluation kit.

Introduction

OSP or Open System Protocol was developed by ams OSRAM for dynamic lighting, for example in car interiors. OSP is open for everybody and free of license.

An OSP based system consist of an MCU (the "Root MCU") connected to a series of (up to 1000) daisy chained OSP nodes. OSP nodes contain or drive (RGB) LED modules, or implement gateways to other protocols like I2C. The SAID or Stand Alone Intelligent Driver, officially known as AS1163, is an example of an OSP node with external LEDs and an integrated I2C bridge. The E3731i or Intelligent RGB (RGBI) is an example of an OSP node with an integrated red, green and blue LED.

OSP chain

ams OSRAM supplies an evaluation kit demonstrating OSP. This kit is known as the Arduino OSP evaluation kit. With this evaluation kit comes software, which is partitioned over several libraries, the aolibs. Each library is stored in its own GitHub repository. This document is part of one of those repositories/libraries known as aotop. However, aotop is not really a library (with reusable code), but rather a container for top level demo applications (which use the real libraries), and a container for top-level documentation (like this readme and for example training material). The diagram below shows an overview of all aolibs.

aolibs in context

All aolibs (including aotop) are registered as Arduino libraries. Library aotop is registered as an Arduino library which is dependent on all others. Use the Library Manager of the Arduino IDE to search for aotop ("OSP ToplevelSketches aotop"), install it and all others will also be installed.

There is a dedicated Getting started manual. It describes what hard and software is needed (the evaluation kit and the libraries), and how to turn on the first RGBs.

Links

This section links to various resources.

(end of top-level documentation)



(begin of library specific documentation)

OSP ToplevelSketches aotop

Library "OSP ToplevelSketches aotop", usually abbreviated to "aotop", is one of the aolibs; short for Arduino OSP libraries from ams-OSRAM. This suite implements support for chips that use the Open System Protocol, like the AS1163 ("SAID") or the OSIRE E3731i ("RGBi"). The landing page for the aolibs is on GitHub.

Introduction

Library aotop is at the top of the dependency graph. It contains no (library) code; but it serves several other functions.

  • It contains top-level sketches for advanced demos (using the Arduino IDE examples mechanism). See next section for an overview.
  • It is made dependent on all Open System Protocol libraries (aolibs), so installing aotop via the Arduino IDE will install all other libraries as well.
  • It is the "landing" place for the Open System Protocol software, providing global documentation (Getting Started, Training) with links to all related resources.

aotop in context

Examples

The examples in aotop are not examples in the Arduino IDE sense (explaining a feature), rather they are full-fledged (demo) applications You can find them in the Arduino IDE via File > Examples > OSP ToplevelSketches aotop > ...

  • saidbasic (source)
    This application assumes a SAIDbasic board is connected to the OSP32 board. It shows several features of the SAID, which can be selected via the (A,X and Y) button on the OSP32 board.

  • eepromflasher (source)
    One of the features of the saidbasic application is to play (LED animation) scripts from an EEPROM. There are EEPROMs on the OSP32 board, the SAIDbasic board, and on stand-alone I2C EEPROM sticks. The eepromflasher application allows writing any script (stock or user developed) to any of these EEPROMs. The stock scripts are rainbow, bouncingblock, colormix, and heartbeat.

  • osplink (source)
    This application allows the PC (with a terminal like the Arduino Serial Monitor) to send and receive OSP telegrams, using serial-over-USB. There is also an experimental Python app for PC, that sends commands to the OSPlink application. Please find it in aocmd/python.

  • training (source, source, source)
    These are exercises for the training.

API

This library does not contain (reusable library) code, so there is no API.

The only exception is the macro AOTOP_VERSION (in aotop.h), which identifies the version of this "library".

Version history aotop

  • 2024 November 8, 0.1.6

    • New image for evaluation kit; link added.
    • Added schematic for RGBI strip OSIRE_E3731i_V2.3.pdf.
    • OSP system picture now has two I2C devices.
    • Replaced OSP32 schematics v9 by v10.
    • Now 4 cables in EVK.
    • Updates to readme.md.
    • osplink 1.8 now prints all library versions.
  • 2024 October 25, 0.1.5

    • Replaced OSP system picture with one having also a SAID with I2C.
    • Improved labels of links.
  • 2024 October 24, 0.1.4

    • Added URLs for SAID, SAIDB and Arduino OSP evaluation kit.
    • Getting Started, section Debugging, explains the USB ports in more detail.
  • 2024 October 23, 0.1.3

    • In saidbasic.ino started app before command interpreter.
    • Added debugging section in Getting Started.
  • 2024 October 11, 0.1.2

    • Made library version accessible in code (AOTOP_VERSION) and added to saidbasic.
    • Improved Installation of Getting Started with new and more screenshots.
    • Better comments in eepromflasher.ino and saidbasic.ino.
    • Fixed links to training and OSP specification.
  • 2024 October 8, 0.1.1

    • Updated intro section of getting started (added pictures).
    • Added examples\training[123].ino.
    • Added extras\manuals\ArduinoOSP-Training.pptx.
  • 2024 October 8, 0.1.0

    • Fixed name to Open System Protocol (OSP) on Arduino and aolibs.
    • Moved domain from github.com/ams-OSRAM-Group to github.com/ams-OSRAM.
    • Added user manual (ppt) to saidbasic.ino.
    • Changed eepromflasher.ino to compare SAIDbasic eeprom to rainbow.
    • Adapted to aoosp_exec_resetinit not needing last and loop.
    • Added links in readme.md for all example sketches.
    • Updated ospchain.jpg.
    • Extended gettingstarted.md.
    • Added minimal documentation to top of saidbasic.ino.
    • Corrected link to all GitHub repos from aoxxx to OSP_aoxxx.
    • Remove "oalib" from sentence= in library.properties.
    • Updated readme.md.
    • Arduino name changed from OSP Top level sketches - aotop to OSP ToplevelSketches aotop.
    • license.txt line endings changed from LF to CR+LF.
    • Reorder libs in aocmd_version_extra() in saidbasic.ino.
    • Added extra\schematics\xxx.pdf of all boards in the evaluation kit.
  • 2024 July 2, 0.0.1

    • Initial release candidate.

(end)