Programming ESP8266-EVB with microPython tutorial


Our Belgium distributor MCHobby made nice tutorial about how to program ESP8266-EVB board with microPython.

The tutorial is available also in French.

New Product: Electromagnetic Door-Lock


DOOR-LOCK is electromagnetic door lock. It operates with 12V DC, when power is applied the door lock pin is moving inside housing, when power is released the pin is moving out by spring.

With SNS-FINGERPRINT and DOOR-LOCK you can make complete access system with logging with platform of your choice – ESP8266, Arduino or OLinuXino.

New Product: Optical Fingerprint sensor SNS-FINGERPRINT adds fingerprint recognition to your next project


SNS-FINGERPRINT is optical fingerprint sensor which will make adding fingerprint detection and verification very simple. Inside there is DSP chip that does the image rendering, calculation, feature-finding and searching. You can teach the sensor for fingerprint images and up to 1000 images can be stored in the internal Flash memory. There’s a red LED in the lens that lights up during a photo so you know its working. In image search mode the sensor compare the current scanned image with the stored database and if images match it sens index number of the stored image which match the current scanned fingerprint.All communication is done by UART.

ESP8266 IoT firmware plug and play detects if SNS-FINGERPRINT is connected to UEXT uart so you can make wireless door access system very easy using just Javascript programming.  We also have demo in Arduino C++ and OLinuXino Python3 so you can access this sensor with any of our development boards.


Python modules for access to GPIO, I2C and SPI to all OLinuXino boards and SOMs on GitHub


We made modules which work same way on all our OLinuXino and SOM boards. The sources are on GitHub.

You can address the GPIOs in two ways – as connector pins and as processor ports.

connector.gpio1p5  means connector GPIO1 pin number 5, same signal can be addressed with port.PG0

Collection of 51 free e-books for Python programming


Python now is what BASIC was in 1980s . With the broad range of modules for any purpose there is hard to find problem which can’t be solved with this easy to learn and use language.

OLinuXino OSHW Linux computers can be programmed with Python and you can have access to all GPIOs, I2C, SPI, UARTs etc resources using py modules.

Enjoy this free e-book collection with Python resources:

1. Learning to Program Using Python

Author: Cody Jackson, 2013

An introduction to computer programming, using the easy, yet powerful, Python programming language. Python, a cross-platform language, lets you work quickly and efficiently, allowing you to concentrate on your work rather than the language.

2. Introduction to Programming Using Python

Author: Brian Heinold

Publisher: Mount St. Mary’s University, 2013

Partly a tutorial and partly a reference book. I summarize information in tables and give a lot of short example programs. I also jump right into things and fill in background information as I go, rather than covering the background material first.

3. A Beginner’s Python Tutorial

Author: Steven Thurlow

Publisher: Wikibooks, 2013

Contents of Beginner’s Python Tutorial: Installing Python; Very Simple Programs; Variables, Scripts; Loops, Conditionals; Functions; Tuples, Lists, Dictionaries; for Loop; Classes; Importing Modules; File I/O; Exception Handling.

4. Python Cookbook

Author: David Beazley, Brian K. Jones

Publisher: O’Reilly Media, 2013

This cookbook is for experienced Python programmers who want to focus on modern tools and idioms. You’ll find complete recipes for more than a dozen topics, covering the core Python language as well as tasks common to a wide variety of applications.

5. Hacking Secret Ciphers with Python

Author: Al Sweigart, 2013

The book teaches complete beginners how to program in the Python programming language. The book features the source code to several ciphers and hacking programs for these ciphers. The programs include the Caesar cipher, transposition cipher, etc.

6. Effective Django

Author: Nathan Yergler

Publisher: PyCon, 2013

Effective Django development means building applications that are testable, maintainable, and scalable. After reading this book you should have an understanding of how Django’s pieces fit together and how to use them to engineer web applications.

7. Test-Driven Development with Python

Author: Harry Percival

Publisher: O’Reilly Media, 2013

Test-Driven Development with Python focuses on web development, with some coverage of JavaScript. This book uses a concrete example — the development of a website, from scratch — to teach the TDD methodology and how it applies to web programming.

8. PyQt4 Tutorial

Author: Jan Bodnar

Publisher: ZetCode, 2013

PyQt4 is a toolkit for creating GUI applications. It is a blending of Python language and the successful Qt library. This tutorial is suited for beginners and intermediate programmers. You will learn to program non trivial PyQt4 applications.

9. Python Programming

Author: Hannes Röst, et al.

Publisher: Wikibooks, 2013

This book describes Python, an open-source general-purpose interpreted programming language, available for all Platforms. Python is a high-level, structured programming language that can be used for a wide variety of programming tasks.

10. Python Scientific Lecture Notes

Author: EuroScipy tutorial team, 2012

Teaching material on the scientific Python ecosystem, a quick introduction to central tools and techniques. The different chapters each correspond to a 1 to 2 hours course with increasing level of expertise, from beginner to expert.

11. The Art and Craft of Programming: Python Edition

Author: John C. Lusth

Publisher: The University of Alabama, 2012

Contents: Starting Out; Literals; Combining Literals; Precedence and Associativity; Variables; Assignment; Conditionals; Functions; Python Programs and Using Files; Input and Output; More about Functions; Scope; Loops; Lists; Recursion; etc.

12. Porting to Python 3: An in-depth guide

Author: Lennart Regebro

Publisher: Colliberty 2011

Porting to Python 3 doesn’t have to be daunting. This book guides you through the process of porting your Python 2 code to Python 3. Using plenty of code examples is takes you cross the hurdles and shows you the new Python features.

13. Introduction to Python for Econometrics, Statistics and Numerical Analysis

Author: Kevin Sheppard, 2012

Python is a widely used general purpose programming language, which happens to be well suited to Econometrics and other more general purpose data analysis tasks. These notes provide an introduction to Python for a beginning programmer.

14. Python Scripting for Computational Science

Author: Hans Petter Langtangen

Publisher: Springer, 2009

With a primary focus on examples and applications of relevance to computational scientists, this useful book shows computational scientists how to develop tailored, flexible, and human-efficient working environments built from small scripts.

15. The Programming Historian

Author: W.J. Turkel, A. Crymble, A. MacEachern

Publisher: NiCHE, 2010

This book is a tutorial-style introduction to programming in Python for practicing historians (and other humanists). We assume that you’re starting out with no prior programming experience and only a basic understanding of computers.

16. Programming Computer Vision with Python

Author: Jan Erik Solem

Publisher: O’Reilly Media, 2012

The idea behind this book is to give an easily accessible entry point to hands-on computer vision with enough understanding of the underlying theory and algorithms to be a foundation for students, researchers and enthusiasts.

17. Design Patterns In Python

Author: Rahul Verma, Chetan Giridhar

Publisher: Testing Perspective, 2011

This book is about learning design patterns with Python language. If you are new to design patterns, this text provides the first building blocks. If you are interested in design of test automation frameworks, this book will be very useful.

18. Making Games with Python and Pygame

Author: Al Sweigart, 2012

This is a programming book that covers the Pygame game library for the Python programming language. Each chapter gives you the complete source code for a new game and teaches the important programming concepts from these examples.

19. Learning to Program with Python

Author: Richard L. Halterman

Publisher: Southern Adventist University, 2011

The focus is on introducing programming techniques and developing good habits. Our approach avoids some more esoteric features of Python and concentrates on the programming basics that transfer directly to other imperative programming languages.

20. How to Think Like a Computer Scientist: Learning with Python

Author: Jeffrey Elkner, Allen B. Downey, Chris Meyers

Publisher: Green Tea Press, 2012

This book is an introduction to computer science using the Python programming language. It covers the basics of programming, including variables, functions, control flow, program debugging. Later chapters cover basic algorithms and data structures.

21. Natural Language Processing with Python

Author: Steven Bird, Ewan Klein, Edward Loper

Publisher: O’Reilly Media, 2009

This book offers a highly accessible introduction to natural language processing, the field that supports a variety of language technologies. With it, you’ll learn how to write Python programs that work with large collections of unstructured text.

22. Learn Python The Hard Way

Author: Zed A. Shaw, 2011

This is a very beginner book for people who want to learn to code. If you can already code then the book will probably drive you insane. It’s intended for people who have no coding chops to build up their skills before starting a more detailed book.

23. Think Stats: Probability and Statistics for Programmers

Author: Allen B. Downey

Publisher: Green Tea Press, 2011

Think Stats is an introduction to Probability and Statistics for Python programmers. This new book emphasizes simple techniques you can use to explore real data sets and answer interesting statistical questions. Basic skills in Python are assumed.

24. Python for Informatics: Exploring Information

Author: Charles Severance

Publisher: PythonLearn, 2010

The goal of this book is to provide an Informatics-oriented introduction to programming. The primary difference between a computer science approach and the Informatics approach taken in this book is a greater focus on using Python.

25. Start Here: Python Programming for Beginners

Author: Jody Scott Ginther

Publisher:, 2010

This book is meant to help you begin learning the basics of Python programming version 3 or later. It is a brief introduction to Python. The author attempts to be as brief as possible to get the new programmer into programming as fast as possible.

26. Practical Programming in Python

Author: Jeffrey Elkner, at al., 2010

The goal of this book is twofold: to teach you how to program in Python; and to teach you to think like a computer scientist. This way of thinking combines some of the best features of mathematics, engineering, and natural science.

27. Introduction to Media Computation: A Multimedia Cookbook in Python

Author: Mark Guzdial

Publisher: Georgia Institute of Technology, 2002

Guzdial introduces programming as a way of creating and manipulating media — a context familiar to today’s readers. Starts readers with actual programming early on. Puts programming in a relevant context (Computing for Communications).

28. Snake Wrangling for Kids

Author: Jason R Briggs

Publisher:, 2007

Snake Wrangling for Kids is a printable electronic book, for children 8 years and older, who would like to learn computer programming. It covers the very basics of programming, and uses the Python 3 programming language to teach the concepts.

29. The Definitive Guide to Django

Author: A. Holovaty, J. Kaplan-Moss

Publisher: Apress, 2007

Django is the Python–based equivalent to the Ruby on Rails web development framework. The authors show you how they use this framework to create award–winning web sites. This is the first edition of the Django Book which covers 0.96 version.

30. Python course in Bioinformatics

Author: Katja Schuerer, Catherine Letondal

Publisher: Pasteur Institute, 2008

This course is designed for biologists who already have some programming knowledge in other languages. The focus is on biological examples that are used throughout the course, as well as the suggested exercises drawn from the field of biology.

31. Python 201: (Slightly) Advanced Python Topics

Author: Dave Kuhlman, 2003

This document contains discussions of several advanced topics that are of interest to Python programmers: regular expressions, unit tests, extending and embedding Python, parsing, GUI applications, guidance on packages and modules.

32. Python 101: Introduction to Python

Author: Dave Kuhlman, 2008

This document is a syllabus for a first course in Python programming. It contains an introduction to the Python language, instruction in the important features of the language, and practical exercises in the use of those features.

33. Python for Fun

Author: Chris Meyers, 2004

This collection is a presentation of several small Python programs. They are aimed at intermediate programmers – people who have studied Python and are fairly comfortable with basic recursion and object oriented techniques.

34. The Python Imaging Library

Author: Fredrik Lundh, Matthew Ellis

Publisher: PythonWare, 2002

The Python Imaging Library adds image processing capabilities to your Python interpreter. This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities.

35. Python Tutorial

Publisher: Python Software Foundation, 2008

This tutorial introduces the reader informally to the basic concepts of the Python language and system. It introduces many of Python’s most noteworthy features, and will give you a good idea of the language’s flavor and style.

36. Python Quick Reference collection

Author: Richard Gruet, 2007

This reference collections cover references for python version 1.52 to version 2.7. It covers invocation options, environment variables, lexical entities, basic types and their operations, advanced types, statements, iterators, generators, descriptors, decorators, built-in functions, built-in exceptions, and more.

37. How To Write Your Own Software Using Python

Author: Steven F. Lott, 2008

The book will help you build basic programming skills. It is organized in a way that builds up the language in layers from simple concepts to more advanced features. Programming exercises are provided to encourage further exploration of each layer.

38. The Python Language Reference Manual

Author: Guido Van Rossum

Publisher: Network Theory Ltd., 2003

The definitive language reference for Python. It describes the syntax of Python and its built-in datatypes. It covers advanced topics, and is suitable for readers who are familiar with the details and rules of the Python and its object system.

39. Data Structures and Algorithms with Object-Oriented Design Patterns in Python

Author: Bruno R. Preiss, 2004

The primary goal of this book is to promote object-oriented design using Python and to illustrate the use of the emerging object-oriented design patterns. The book shows how these patterns are used to create good software designs.

40. Think Python: An Introduction to Software Design

Author: Allen Downey

Publisher: Green Tea Press, 2008

A concise introduction to software design using Python. Intended for people with no programming experience, this book starts with the most basic concepts and gradually adds new material. The goal is to teach you to think like a computer scientist.

41. Learn to Program Using Python

Author: Alan Gauld

Publisher: Addison-Wesley Professional, 2000

Book for hobbyists, self-starters, and all who want to learn the art of computer programming in Python. Data types and variables, debugging, and namespaces are covered. Also includes sample applications that illustrate ideas and techniques in action.

42. Introduction to Programming using Python

Author: K. Schuerer, et al.

Publisher: Pasteur Institute, 2008

This text teaches programming concepts to biologists. It is aimed at people who are not professional computer scientists, but who need a better control of computers for their own research. This course is part of a course in informatics for biology.

43. Text Processing in Python

Author: David Mertz

Publisher: Addison-Wesley Professional, 2003

A hands-on tutorial that teaches how to accomplish numerous text processing tasks using Python. Filled with examples, the book provides efficient solutions to specific text processing problems and strategies for all text processing challenges.

44. A Byte of Python (for Python 3.0)

Author: Swaroop C H, 2008

This is a tutorial and a guide on Python programming for absolute beginners. If all you know about computers is how to save text files, then this is the book for you. The book is updated for the upcoming Python 3.0 language.

45. Non-Programmers Tutorial For Python

Author: Josh Cogliati

Publisher: Wikibooks, 2005

This free tutorial is designed to be an introduction to the Python programming language. The guide is for someone with no programming experience. The author attempts to teach programming by reading code and writing code.

46. Building Skills in Python

Author: Steven F. Lott, 2008

This book is a complete presentation of the Python for professional programmers who need to learn the language. The author leads you from a tiny, easy to understand subset of statements to the entire Python language and all built-in data structures.

47. Python Standard Library

Author: Fredrik Lundh

Publisher: O’Reilly, 2001

A large collection of useful Python scripts, the best parts of comp.lang.python newsgroup messages, plus hundreds of new scripts. The text covers the standard library, the examples should work on most platforms and Python versions.

48. GUI Programming with Python: QT Edition

Author: Boudewijn Rempt

Publisher: OpenDocs, LLC, 2002

This book covers application development using the library extension PyQt, which forms the basis for GUI programming. First part explains concepts using small examples, in the second part the author develops a complete, complex application.

49. Dive Into Python

Author: Mark Pilgrim

Publisher: Apress, 2004

This is a book for experienced programmers, a hands-on guide to the Python language. Each chapter starts with a complete code sample, picks it apart and explains the pieces, and then puts it all back together in a summary at the end.

50. An Introduction to Python

Author: Guido van Rossum

Publisher: Network Theory Ltd., 2006

This book is an introduction to Python, an easy to learn, powerful programming language. The tutorial explains the basics of the Python, it does not cover every single feature of the language, but introduces the most noteworthy features.

51. Invent Your Own Computer Games with Python

Author: Albert Sweigart

Publisher: Albert Sweigart, 2008

A programming book for kids interested in learning to program their own computer games with python, a serious computer language which is used by professional programmers also. The book explains programming principles from the source code examples.

Getting started with A13-OLinuXino blog post on element14



We spotted blog post on element14 about Getting started with A13-OLinuXino

pyA10Lime 0.1.0. Python library for GPIO access


We just uploaded pyA10Lime

>>>import A10Lime as lime

# Initialize module

# Read configuration of GPIO
# or you can use

# You can address GPIO either by pin numeration or port name
# For example PG0 pin on GPIO-1 connector can be accessed with lime.PG0 or lime.PIN1_5

# Set configuration
>>>lime.setcfg(lime.PC3, lime.OUTPUT)
>>>lime.setcfg(lime.PC3, lime.INPUT)

# Set output level
>>>lime.output(lime.PC3, lime.HIGH)
>>>lime.output(lime.PC3, lime.LOW)

# Read input state

# Read detailed info about pin

Python GPIOs module for A20-OLinuXino-MICRO


pyA20 GPIO module is uploaded yesterday to Pypi

The use is same as the Python modules for imx233, A10S, A13 OLinuXino:

#!/usr/bin/env python
import A20_GPIO as GPIO
#init module
#configure module
#read the current GPIO configuration
config = GPIO.getcfg(GPIO.PIN#)
#set GPIO high
#set GPIO low
#read input
state = GPIO.input(GPIO.PIN#)

this is initial release so if you find some bugs please report back to us 🙂

Python 3.3: Trust Me, It’s Better than 2.7

Python 3 made significant changes in the language which made it incompatible with the ton of software written for 2.7 and this was not accepted by lot of people who use Python so they prefer to stay to 2.7. In this video at PyCon 2013 US Brett Cannon goes over the differences between 2.7 and 3.3 along with benchmark information to show where Python 3.3 shines in comparison to Python 2.7 (and vice-versa). His goal is to convince you that switching to 3.3. is for good 🙂


A10S-OLinuXino-MICRO Python GPIO module


pyA10S GPIO ports module is available at:

Previous Older Entries