Project image
)}
€19,910
pledged of €15,000pledged of €15,000 goal
107
backers
8days to go

All or nothing. This project will only be funded if it reaches its goal by Mon, April 29 2019 5:19 AM UTC +00:00.

Peer StritzingerBy Peer Stritzinger
First created
Peer StritzingerBy Peer Stritzinger
First created
€19,910
pledged of €15,000pledged of €15,000 goal
107
backers
8days to go

All or nothing. This project will only be funded if it reaches its goal by Mon, April 29 2019 5:19 AM UTC +00:00.

About

Prototype GRiSP 1 Board with various Pmods
Prototype GRiSP 1 Board with various Pmods

GRiSP 2 is a combination of embedded hardware and software aiming at being the best prototyping solution for Erlang and Elixir developers.

The first version of the GRiSP board was and is still used extensively for a wide range of applications like custom made home automation systems, teaching, European research projects, and even industrial prototyping.

Solving the Pain Points with Embedded Development

Traditional embedded development is done with low level languages or specialized virtual machines and language subsets. Many problems become hard to solve in such environments. Properties like fault tolerance, debugging and tracing, test and iterate are hard to implement. The GRiSP platform solves these problems by bringing native Erlang and Elixir into the embedded world. You can now get the full fault tolerance properties from Erlang and its supervision structure. Debugging and tracing is easy and fast, and can be performed against live hardware and existing systems. Testing and iterative development is more fun and flexible with features such as hot code loading.

Getting into embedded development can be a daunting task for high-level language developers. There are many hardware platforms and configurations out there. Learning new or specialized languages that have special limitations reduces productivity and comes at a cost. Picking an option and setting up environments is a painful process. What if you could program embedded systems using normal Erlang and Elixir and their standard tools? With GRiSP that becomes a real possibility. We have taken a layered approach to the hardware API so you can interact with the hardware and peripheral drivers through pure Erlang. You can keep using any existing libraries that you are used to, since the VM is the same as you would run on any other platform. GRiSP lets you venture out into the world of embedded development using your existing skillset!

The Evolution of GRiSP

The GRiSP 2 board will be the natural evolutionary next step for our GRiSP 1 board. We have overcome design pitfalls and optimized our hardware, and all we learned will be put into GRiSP 2 by design.

Prototype GRiSP Board
Prototype GRiSP Board

The experience and feedback we gathered lead us to work on the second version of the board with the following enhancements:

  • Real bare-metal Erlang using the RTEMS RTOS
  • Support for Elixir via Nerves and Linux
  • More CPU power for better peak performance and enhenced power efficiency
  • Better booting capabilities, aiming at ultra-fast boot time
  • Ethernet port for more network configuration choices
  • Overall improved IO throughput
  • More modular design to ease the move from development to production
  • Improved tooling
  • Complete Erlang project backward compatibility
 project video thumbnail
Replay with sound
Play with
sound

GRiSP 2 Specifications

GRiSP 2 is a prototyping board made from a System on Module (SoM) and an IO break-out base board.

System on Module

CPU

  • NXP iMX6UL, ARM Cortex-A7 @ 696 MHz, 128 KB L2 cache
  • Integrated power management
  • TRNG, Crypto Engine (AES/TDES/SHA), Secure Boot

Memory

  • 128 MB of DDR3 DRAM

Storage

  • 4 GB eMMC
  • 4 KBit EEPROM

Networking

  • Wi-Fi 802.11b/g/n WLAN
  • 100 Mbit/s Ethernet port with support for IEEE 1588

External Storage

  • MicroSD Socket for standard MicroSD cards

Exposed Input/Output

  • Dallas 1-Wire via 3-pin connector
  • Digilent Pmod™ compatible I²C interface
  • Two Digilent Pmod™ Type 1 interfaces (GPIO)
  • One Digilent Pmod™ Type 2 interface (SPI)
  • One Digilent Pmod™ Type 2A interface (expanded SPI with interrupts)
  • One Digilent Pmod™ Type 4 interface (UART)

User Interface

  • Two RGB LEDs
  • 5 DIP switches
  • Reset Key

Debug & Power Supply

  • Serial port via Micro USB for console (Erlang Shell or RTEMS Console)
  • On-board JTAG debugger via Micro USB
  • JTAG / Trace connector for external debuggers
  • Power supply via Micro USB connector
  • Only one USB cable needed for power, console and on-board JTAG

Features

Bare-Metal Erlang

Like for the first version, the project provides all the tools to build and run Erlang code on bare-metal hardware. What you get is a complete, full-blown Erlang Virtual Machine (VM) that is identical to what you would run on a normal OS, but running directly on the CPU.

 project video thumbnail
Replay with sound
Play with
sound

The Erlang virtual machine is compiled together with the real-time abstraction layer The Real-Time Executive for Multiprocessor Systems (RTEMS) Real Time Operating System (RTOS). This allows Erlang to work directly with the hardware without any layer in-between. Drivers or NIFs implemented in C can process signals with stringent deadlines and together with Erlang’s excellent soft real-time properties can make for a very snappy hardware system.

Towards Hard Real-Time

We are also working on research to bring hard real-time to the embedded Erlang world. Working with C drivers in your Erlang system can already give you hard real-time benefits, but we want to make this accessible from Erlang directly without requiring any low-level knowledge. Once mature, this will be part of our future software stack and feature set.

Nerves and Linux

In addition to running Erlang bare-metal, GRiSP 2 supports the Nerves platform on Linux. This greatly widens the range of embedded applications that can be prototyped and deployed on GRiSP 2 hardware.

Improved Input/Output

The GRiSP 2 hardware has been carefully designed to improve the IO contentions that we detected in the first version. We added an on-board Ethernet port, to increase the number of ways you can interact with the board via networking.

Modular Design

The GRiSP 2 hardware is designed with a SoM (System on Module) on top of an IO break-out board. When designing a production board after the prototyping phase, the same SoM can be reused and only the IO board need customization. This greatly reduces the cost of designing production hardware.

Tooling

GRiSP 2 comes with a complete toolchain to create and deploy embedded projects using Erlang or Elixir. There is also automated tooling support for creating custom builds of the Erlang VM that include your own custom C drivers or any other included C code that you may need.

We want to make it as easy and painless as possible to deploy embedded projects with Erlang. It should feel as close as possible to a normal Erlang project and our tooling is there to help you with all steps in the process.

Backward Compatibility

The GRiSP 2 hardware and software suite is fully backward compatible with the Erlang code developed for the first version.

First Stretch Goal: We make cases

When we reach 20,000€ we will make a case to hold a GRiSP 2 board and normal sized PMODs plugged into it. We will create a design and publish the 3-D files as open source. We will also sell ready made cases and add them as rewards in this Kickstarter.

The actual technology used for making these cases is a bit dependent on the demand as will be the final selling price.

Second Stretch Goal: We add battery management

When we reach 25,000€ we will provide support for Lithium Battery management. We will create an adapter for batteries that will charge a battery when connected to USB and run the board with the battery as a power source when disconnected. Adapters will be available for some standard battery form factors. In addition, we might sell batteries and add them as rewards (Lithium batteries are complicated to ship, so all we can promise at this time is that we will point to a source for the batteries that fit our adapter). An extension to the case will be made to allow batteries to fit.

Risks and challenges

During development of the first GRiSP board we have learned a lot. Initially we did have issues with Wi-Fi connectivity due to antenna problems and the USB controller stealing too much CPU cycles to make Wi-Fi work. The still outstanding issues will of course be fixed in this version, but unforeseen problems can still occur with hardware components. In addition, there could be problems in manufacture or shortage of component parts.
We have the experience from manufacturing the previous board and are not deviating too much from that. We have also selected common components that are in good supply to avoid any production chain hiccups. Therefore we foresee a very stable production with only minimal risk.

Learn about accountability on Kickstarter

Questions about this project? Check out the FAQ

Support

  1. Make a pledge without a reward

    About $11
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  2. Select this reward

    Pledge €1 or more About US$ 1.12

    Support the project

    You support the project and you will get updates from the project.

    Less
    Estimated delivery
    2 backers
    About US$ 1.12
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  3. Select this reward

    Pledge €10 or more About US$ 11

    Official Supporter

    Your name will be listed on the official list of supporters on the GRiSP website.

    Less
    Estimated delivery
    8 backers
    About US$ 11
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  4. Select this reward

    Pledge €30 or more About US$ 34

    Limited Edition GRiSP T-Shirt

    Receive your Limited Edition GRiSP T-Shirt
    Organic Cotton
    Fair Trade

    Less
    Estimated delivery
    Ships to Anywhere in the world
    7 backers
    About US$ 34
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  5. Select this reward

    Pledge €179 or more About US$ 201

    GRiSP 2

    You will receive a GRiSP 2 board

    Includes:
    • GRiSP 2 board
    Less
    Estimated delivery
    Ships to Anywhere in the world
    14 backers
    About US$ 201
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  6. Select this reward

    Pledge €219 or more About US$ 246

    GRiSP 2 + T-Shirt

    Receive your GRiSP 2 board and in addition a T-shirt.

    Includes:
    • T-Shirt
    • GRiSP 2 board
    Less
    Estimated delivery
    Ships to Anywhere in the world
    6 backers
    About US$ 246
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  7. Select this reward

    Pledge €319 or more About US$ 358

    Early Bird:Two GRiSP 2 Boards + T-Shirt

    One GRiSP board will be lonely, you need at least two to have Internet of Things (plural).

    Includes:
    • GRiSP 2 board
    • T-Shirt
    Less
    Estimated delivery
    Ships to Anywhere in the world
    Limited (6 left of 20) 14 backers
    About US$ 358
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  8. Select this reward

    Pledge €379 or more About US$ 426

    Two GRiSP 2 boards + T-Shirt

    One GRiSP board will be lonely, you need at least two to have Internet of Things (plural).

    Includes:
    • GRiSP 2 board
    • T-Shirt
    Less
    Estimated delivery
    Ships to Anywhere in the world
    3 backers
    About US$ 426
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  9. Select this reward

    Pledge €799 or more About US$ 898

    IoT Education Starter Package

    Get started with IoT education! You will get five GRiSP 2 boards for students. Teach IoT programming in a high-level function language Erlang without any previous hardware or C knowledge. Interact with real hardware in a hassle free environment

    Includes:
    • GRiSP 2 board
    Less
    Estimated delivery
    Ships to Anywhere in the world
    2 backers
    About US$ 898
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  10. All gone!
  11. Reward no longer available

    Pledge €149 or more About US$ 167

    GRiSP 2 Early Bird

    Receive your GRiSP 2 board at the special rate.

    Includes:
    • GRiSP 2 board
    Less
    Estimated delivery
    Ships to Anywhere in the world
    Reward no longer available 30 backers
    About US$ 167
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  12. Reward no longer available

    Pledge €189 or more About US$ 212

    GRiSP 2 Early Bird + T-Shirt

    Receive your GRiSP 2 board at the special rate and in addition a T-shirt.

    Includes:
    • T-Shirt
    • GRiSP 2 board
    Less
    Estimated delivery
    Ships to Anywhere in the world
    Reward no longer available 20 backers
    About US$ 212
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.