Tag Archives: programming

Controlling Mindstorms EV3 with a Raspberry Pi

PDF24    Send article as PDF   

Original Article: The MagPi, The Official Raspberry Pi Magazine

LEGO Mindstorms is a great tool to gain experience in understanding robotics, but what if you wanted to make your own input sensor? In this guide, we will show how simple it is to construct a circuit to control a Mindstorms robot through GPIO in Raspberry Pi.

We will show every step from connecting the robot to writing the code. The result will be a program in Ch, a superset interpreter of C/C++, to control the direction of the robot with a push-button.

Writing Your First Shell Script with Raspberry Pi

First Bash Script with Raspberry Pi
PDF24    Send article as PDF   

In this tutorial we’ll be writing our first bash script for Raspberry Pi. We’ll create a directory to keep this and future scripts, write the actual script, and set it up as something that can be executed from the shell.

Scripts are an incredibly powerful tool to have in your toolbox. In essence, a script is just a sequence of commands that you could otherwise have entered into the shell. The power of scripts is that they can be used to make decisions, and execute certain commands based off that decision. Scripts can be scheduled to run at certain times, and can execute trigger other scripts.

In this tutorial we’re assuming you’re familiar with how to use the terminal to navigate the file system and create files and directories.

WS2812 Addressable LEDs: Raspberry Pi Quick-start Guide

PDF24    Send article as PDF   

This tutorial is aimed at getting some instant gratification from your WS2812 LEDs (trade name: neopixels). I’ll briefly cover a bare-bones setup for Raspberry Pi.

If you’ve never used a Raspberry Pi before, we’ve got you covered with our free, online Raspberry Pi How-To’s.

RobotC v4.54 – The LEGO Mindstorms EV3 ‘C’ Programming Language

PDF24    Send article as PDF   
The ROBOTC Development Team is very excited to announce their latest update, ROBOTC for MINDSTORMS 4.54, which includes new features, functionality, and bug fixes. 

Programming the BeagleBone Black with Python

PDF24    Send article as PDF   

Building a surveillance system with a PIR sensor, the BeagleBone Black and Python.

The BeagleBone Black is an outstanding tool for projects that involve the Internet. Access is easy (simply connect it to the router through an Ethernet cable ), and both Python and JavaScript feature libraries that greatly simplifies matters.

Programming with BoneScript on the BeagleBone Black

PDF24    Send article as PDF   

This Article introduces BoneScript, a Node.js library containing functions specially created for the BeagleBone Black. This library simplifies the process of accessing and configuring the pins of your BeagleBone Black.

Controlling an output, reading a button/sensor, controlling a motor are quite easy with BoneScript. If you used an Arduino before, you’ll find most functions very similar.

EV3-Basic: Microsoft Basic Programming for the EV3

PDF24    Send article as PDF   
Introducing EV3-Basic which allows programming the LEGO Mindstorms EV3 with Microsoft’s ‘Small Basic’. EV3-Basic is a basic compiler to target the Lego Mindstorms EV3 intelligent brick. EV3-Basic is a programming language that is designed to make programming extremely easy, approachable and fun for beginners. EV3-Basic’s intention is to bring down the barrier and serve as a stepping stone to the amazing world of computer programming.

RobotC – The LEGO Mindstorms EV3 ‘C’ Programming Language

RobotC 4.10
PDF24    Send article as PDF   


ROBOTC is the premiere robotics programming language for educational robotics and competitions. ROBOTC is a C-Based Programming Language with an Easy-to-Use Development Environment.

Do NOT follow this link or you will be banned from the site!