Sign in

The Full Stack Dispatch
The Clouduino Stratus. Now with rounded corners! (wouldn’t wanna poke anyone’s eyes out)

The Clouduino is a mesh networking enabled, prototyping platform built for developers and engineers who want something a lot faster than an Arduino, while retaining the accessibility of the Arduino ecosystem’s IDE and libraries.


A Raytraced render of the Clouduino Stratus v0.9 PCB, hot off the design ovens at Proudcloud’s Deep Tech Lab

The Clouduino Stratus is a fully open source, mesh enabled, embedded development platform targeted towards industrial applications.

Component Choices

Microcontroller: ESP8266


This is a quick tutorial on how to query & mutate with arrays in graphQL Ruby.

Pre-Requisites

This tutorial assumes you’re developing graphQL in ruby on rails with the gem graphql-ruby. And are using the rails in-app graphiQL client or a seperate graphiQL client .

The complete code sample is in here.

Models

Scenario: Let’s have a Post model and a Comment model with a one to many relationship, where a single Post can have multiple comments.

Post model

# models/post.rbfield :title, type: Stringhas_many :comments

Comment model

# models/comment.rbfield :content, type: Stringbelongs_to :post

GraphQL Types

Post Type

# app/graphql/types/post_type.rbTypes::PostType…


Prerequisites:

  1. Install yarn
  2. Install Node v 9.2.0 on ubuntu or mac or windows.

Set Up:

  1. Create project directory:
mkdir projectName && cd projectName

2. Initialize project with yarn:

yarn init

you will be prompt with questions, you can press Enter for default value or input your answer for each questions until the end.

After this, it will generate a file package.json on your root directory.

3. To use es6 features. Install babel (as devDependencies):

yarn add babel-cli babel-loader babel-preset-env babel-preset-react -D

4. Create and configure .babelrcfile:

touch .babelrc

with the dot (.) before the word babelrc

configure our .babelrcput …


syntax highlighting, in-editor compile/deploy, & serial port monitoring

If you’re used to Vim, you’ll soon find Arduino’s IDE to be somewhat cumbersome and counter intuitive.

To make Vim work with your Arduino sketches, there are essentially three aspects we need to consider; syntax, compiling and uploading your code to the micro controller, and access to the serial terminal.

The Requisites

This tutorial assumes you’re on OSX and using Homebrew as your package manager. You’ll also need to have Python to painlessly install ino, an Arduino CLI that VIM will be using to compile and upload sketches.

Installing Python, if you don’t have it yet is pretty straight forward through Homebrew…

The Full Stack Dispatch

Agile development teams for startups with Ruby on Rails, Node.js, React, React Native, and GraphQL

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store