Skip navigation
1 2 Previous

RIoTboard

25 Posts authored by: tushar panda element14 Team
In this small guide I will demonstrate how to integrate Riotboard with Ultrasonic sensor HC-SR04 .     Step1:   export ARCH & CROSS_COMPILE to environment path.   in my case its like below, yours might be different. $ export ARCH=arm $ export CROSS_COMPILE=<PATH_TO_TOOLCHAIN>/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-   Step2: create a directory $ mkdir driver   create a file named "Makefile"  and replace with your KDIR value, below is ...
In this guide we will be controlling a tower pro sg90 servo motor using software pwm module.     Step1: export ARCH & CROSS_COMPILE to environment path.   in my case its like below, yours might be different. $ export ARCH=arm $ export CROSS_COMPILE=<PATH_TO_TOOLCHAIN>/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-   Step2: create a directory mkdir driver   create a file named "Makefile"  and replace with your KDIR value, below is mine. obj-m : ...
In this mini blog series we will build an IoT based intruder detection and alert system.   Blogs: Part1 : Connecting Pir Sensor Part2 : Capturing intruder image Part3 :  Email alert  <--- this blog   In previous blog we integrated a camera to Riotboard for capturing images on IR detection.   In this mini blog we will send email (with captured image) of the intruder.   now add below line to previous code (below ln30) system("python /opt/send_snapshot.py"); ...
In this mini blog series we will build an IoT based intruder detection and alert system.   Blogs: Part1 : Connecting Pir Sensor Part2 : Capturing intruder image  <--- this blog Part3 : Email Alerts   In previous blog we integrated a PIR sensor to Riotboard for human movement detection.   In this very short guide we will try to capture image once an IR detection is made.   I am using a  Logitech C310 USB camera for this purpose.   Connect pir se ...
In this mini blog series we will build an IoT based intruder detection and alert system.   Blogs: Part1 : Connecting Pir Sensor  <--- this blog Part2 : Capturing intruder image Part3 : Email Alerts     In this post we shall connect a simple cheap Pir motion sensor to Riotboard. We will be using Pir sensor HC-Sr501.       Pir Sensor HC-Sr501 has pins : VCC, GND, OUT. VCC will be connected to pin2 (5VIN) in J13 expansion port. GND will be connec ...
In a previous blog series we have build u-boot, kernel and packages for  Riotboard using Yocto.   This time we shall use the Yocto Gui based BSP and QT to create a simple camera application.   Hardware Requirements: 1. RIoTboard 2. LCD8000-97C (LVDS) or HDMI 3. CAM8000-D   I am using LVDS display for this guide, you can use HDMI. make sure to change boot params accordingly.   Download the BSP from here , unzip it and flash to sdcard.   Now connect the cam80 ...
If you are looking for an inexpensive way to connect your Riotboard to Android then this guide will help you.   The Internet is packed with tutorials explaining how to connect various SBC & Arduino to Android handhelds.   Here we interface Riotboard to Android using HC-05  uart bluetooth module . The HC-05 is uart based low-cost bluetooth solution suitable for hobbyist and amateurs.   The HC-05 has a default serial baud rate of 9600.     The module has 6p ...
The Riotboard already has support for RT5370 WiFi dongle on Android and Yocto Platforms.   A quick check to confirm the dongle product, vendor and model info .   This post will guide you on setting USB RT5370 on Ubuntu Platform.   1. Setting up development platform 2. Configure Kernel 3. Update firmware 4. Edit network Interface 5. Start WiFi     Setting Up Development Platform      Refer User manual Pg48 to setup a development Environmen ...
Previously we managed to measure the inclination angle and calculated  pitch and roll of xtrinsic mma8491q . In the guide we will be measuring the 45 degree tilt detection using the dedicated pin-outs in xtrinsic.       Before moving on we will be automating the accelerometer EN pin GPIO setup process, so that we don't have to manually setup the gpio everytime we restart Riotboard.   below code will do that. system("devmem 0x20E009C w 0x5  > /dev
ull ");& ...
In the previous blog we setup the xtrinsic board to read accelerometer registers. However the raw register values doesn't mean anything by itself. It needs to be converted to suitable human readable format to be useful in measurement applications.   In this guide we shall use a proper logic to calculate the elevation and bank, other wise called Pitch and Roll of xtrinsic mma8491q accelerometer.   A self-explanatory image of Pitch, Roll & Yaw.   Pitch: Pitch is the measu ...
Earlier we have used xtrinsic as a temperature measuring module. This time we shall use it as an accelerometer.   The Xtrinsic Sensor Board comes bundled with multiple sensors & is arduino compatible. The Xtrinsic module supports consists of  sensors: MPL3115A2  - high-precision sensor used to provide accurate pressure and temperature. MAG3110     - small, low-power, digital 3-axis magnetometer MMA8491Q  - low voltage, 3-axis low-g acceleromete ...
Contents: Part1 : Environment setup and initial build Part2 : Build u-boot using Yocto Part3 : Build Kernel using Yocto Part4 : Package Development using Yocto Part5 : Application Development using ADT     <-- You are here     Previously we build a package in yocto and managed to get it bundled with sdcard image.   Users developing apps for a target hardware need a development platform. The development platform consists of  primarily Toolchain & ...
Contents: Part1 : Environment setup and initial build Part2 : Build u-boot using Yocto Part3 : Build Kernel using Yocto Part4 : Package Development using Yocto     <-- You are here Part5 : Application Development using ADT   In my last blog we walk through the steps involved in kernel build on yocto platform.   In this blog we will create a small package and add to yocto  using simple steps.   In previous blogs we have used bitbake commands to build ...
Contents: Part1 : Environment setup and initial build Part2 : Build u-boot using Yocto Part3 : Build Kernel using Yocto     <-- You are here Part4 : Package Development using Yocto Part5 : Application Development using ADT   In the previous blog we have build uboot for Riotboard.   The blog will walkthrough the process of fetch,configure,compile and build kernel for i.MX6 Riotboard  using yocto bitbake tool .   Setting up yocto for Riotboard: ~$ cd ...
Contents: Part1 : Environment setup and initial build Part2 : Build u-boot using Yocto     <-- You are here Part3 : Build Kernel using Yocto Part4 : Package Development using Yocto Part5 : Application Development using ADT In the previous blog we have build & flashed a basic sdcard image and booted with Riotboard.   In this blog we shall manually fetch, configure, compile and build uboot using yocto bitbake tool .   Setting up yocto for Riotboard: ~$ c ...