Skip to content
Calliope Demo Program.
C++ CMake C Python Other
Branch: master
Clone or download
joernalraun Update Readme
Added the correct file name.
Latest commit 6a17a46 Jan 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contrib modified stack size to make it work May 16, 2018
source Calliope test 20180823 with updated image output Aug 23, 2018
.gitignore initial commit Oct 30, 2016
.yotta.json
.yotta_ignore modified stack size to make it work May 18, 2018
CMakeLists.txt Calliope test 20180822 Aug 22, 2018
LICENSE initial commit Oct 30, 2016
README-RAM-DEBUG.md Calliope test 20180822 Aug 23, 2018
README-STACK.md added discription to current settings in README-STACK.md Jun 1, 2018
README-UUIDS.md Configuration of heap and stack, flexible and equal to the branch "" Jun 27, 2018
README.md Update Readme Jan 23, 2019
calliope-firmware-v3.1.0-no-demo.hex ready for release Sep 9, 2018
calliope-firmware-v3.1.0.hex
calliope-mini-v0.3.png
calliope-mini-v1.0.png updated with latest version Mar 11, 2017
config.json
defines.json reduced stack and heap usage Sep 9, 2018
module.json remove unused config, bump version Jul 8, 2018

README.md

Calliope mini Demo (and Board Test)

Calliope mini Demo.

This repository contains the demo code and the board test code. The board test is only shown after initially flashing the device. Any subsequent reset or power cycle will not show it again.

Compiling

  • yt build (add --config config_en.json to compile with English localization, default is German)
  • copy the calliope-firmware-v3.1.0.hex on the board

Test Code

After flashing this code, the test program will be executed once. Pressing RESET will directly go into the demonstration code, as desribed in the next section.

  • Triple beep
  • LED matrix full on, dimming down, and back up
  • check reading the accelerometer (final checkmark)
  • RGB led colors (red, green, blue)
  • If further testing is required the board can be tilted and turned to show:
    • + face up, - down
    • L tilted left, R right, U up, D down
    • S shaked, 2 2G, 8 8G, F free fall
    • 0-3, A, B, A+B touch pins and buttons
  • Pressing A, B or A+B will also light up the RGB led in different colors.
  • Blow on the microphone will light up the LED matrix.

Demonstration code

  • An Intro is shown (may be skipped using long A+B click).
  • Menu: 1-4
    • 1: Oracle (shows a smiley or sadly on button press)
    • 2: Rock, Paper, Scissors, Well
    • 3: Love Meter (touch P1 and P2 to show value, errata: it's P0 and P3 in the booklet)
    • 4: Snake (adaped snake code from the microbit-samples)

Clicking A+B should reset back to the menu selection.

Hardware

Revision 1.0 (2017, startnext, school rollout)

Calliope mini rev. 1.0

Revision 0.3 (old, 2016, IT-Gipfel)

Calliope mini rev. 0.3

Pin Descriptions

  • 0 - 3 - edge connectors P0 - P3
  • Connector Double Row (IO)
    • C1 - C15 - GPIO pins
    • C16 / C17 - UART RX / TX
    • C18 / C19 - I²C - SCL / SDA
V  1  3  5  7  9  G 11 13 15 17 19  G
o  o  o  o  o  o  o  o  o  o  o  o  o
o  o  o  o  o  o  o  o  o  o  o  o  o
G  0  2  4  6  8  G 10 12 14 16 18  V
  • Single Connector Row (Motor)
    • V - VCC
    • G - GND
    • 1 / 2 Motor pins
    • VM external power
G  2  1  G  VM
o  o  o  o  o 

(c) 2016, 2017 Calliope gGmbH

Licensed under the Apache Software License 2.0, see LICENSE.

You can’t perform that action at this time.