Make Door Security Logger with A13-OLinuXino-WIFI + OpenCV


This is cool little project done in minutes with A13-OLinuXino running OpenCV. We were thinking what to make with OpenCV and with the use of GPIOs on A13-OLinuXino and decided to put small switch on our laboratory door connected to A13-OLinuXino GPIO:


then to wire A13-OLinuXino with Web Cam on the old ping-pong table in the front ot the door, so we can sense every time door is opened and closed:


OK, now we are ready and have just to write the python code to log the pictures with the Web-cam every time somebody enters the lab:

from cv2 import *
import sys
import time
import datetime
import A13_GPIO as gpio

def main():
    #init gpio module
 gpio.setcfg(gpio.PIN36, gpio.INP)

    while True:
        #select /dev/video0 as source
cam = VideoCapture(0)
#wait for low level (door open)
        while True:
            g = gpio.input(gpio.PIN36)
            if(gpio == 0):
            #take 15 pictures, and use only the last one
 for i in range(15): 
                s, img =
            #get the current system time 
            now =
            k = str(now)
            if s:
                imwrite(k + ".jpg", img)
                print(k + " -> New image saved...")
            #wait for high level (door closed)
            while True:
                g = gpio.input(gpio.PIN36)
                if(gpio == 1):
             #wait some time (debounce)

if __name__ == '__main__':

You can download the project code and OpenCV installation instructions on GitHub:

GPS Logger with Google Maps viewer made with A13-OLinuXino and MOD-GPS


A13-OLinuXino-WIFI can connect directly to MOD-GPS via UEXT connector, also A13-OLinuXino-WIFI have LiPo battery connector and can charge Lithium Polymer batteries and work without external power supply just on battery.
This allow us to make very nice GPS logger demo with just A13-OLinuXino-WIFI + LiPo battery + MOD-GPS

The code is available at GitHub:

With detailed step by step instructions how to setup the board to work as logger and how to upload to Googlemaps your path.

You can see on the picture above how one of our developers came to work with his bike carrying A13-OLinuxino+MOD-GPS in his backpack :)

RFID logger with Web server interface made with iMX233-OLinuXino-MAXI and MOD-RFID125


MOD-RFID125 and MOD-RFID1356 are USB RFID readers for 125Khz and 13.56Mhz RFID tags. They both support keyboard emulation mode and CDC Serial port communication mode and can be used with iMX233-OLinuXino-MAXI.

The project on GitHub creates RFID logger which logs when user approach with it tag and is controlled via web interface.

You should download the project from GitHub and build it then add rfid.php  to your web server directory.