Weekend Programmable Challenge – Week #69 – Levenstein distance

We got 7 solutions this weekend:

  • Python x2
  • C++ x2
  • Lisp x1
  • Php x1
  • C# x1

You can enjoy the solutions on GitHub as usual.

Weekend Programming Challenge – Week #69 Levenshtein Distance



Levenshtein Distance  is string metrics for measuring the difference between two sequences. Make code which inputs two strings and calculate Levenshtein Distance between them.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday November 18th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.


New Set of LCDs in stock for OLinuXino now directly support LIME and LIME2 connectors


We have now in stock 7 new LCDs with driver circuit which support 40 pin 0.1″ connectors like these for A13-OLinuXino, A13-OLinuXino-MICRO, A20-OLinuXino-MICRO, but also have LIME and LIME2 compatible 40 pin 0.05″ connectors.

You can see all of them here.

The 15.6″ LCDs now include Full HD 1920x1080p display.

Weekend Programming Challenge – Week #68 Solutions

We got 5 solutions this weekend:

  • Python x2
  • C x1
  • C++ x1
  • Php x1

You can review them on GitHub as usual.

Weekend Programming Challenge – Week #68 Text Formatting



Input text and width, then format the text in this width to be with no spaces at the end of the line. You can use this text to test your code

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday November 9th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

New Product in Stock: Open Source Hardware Simon-85 game assembled and as kit


Simon-85 is based on the popular Simon says game and check and train your short time memory. It’s sold as DIY kit but also as assembled and tested board:


To run the game you need USB-A-B cable or LiPo battery. In case you want to use battery you may also need charger for it.

Inside the game there is ATiny85 microcontroller with micronucleus bootloader which allow the board to be re-programmed with Digispark’s Arduino IDE. All sources are on our web and you can download and modify the game yourself. No need for external programmers etc.

When power is applied after 5 seconds the four LEDs will flash for a while and the game will wait you to choose difficulties “Level”. There are 4 levels for sequencies of 10-20-30-40 LED blink patterns. Depend on which button you press BUT1,BUT2,BUT3,BUT4 the game will start at the corresponding level. You will hear Super Mario Bros theme and LEDs will blink then the game will start and you have to repeat the LED blink pattern you see.

If you make mistake the game will over and you can start it again. Each time you complete the pattern correctly the game will flash new one which is one more blink longer. Each new game starts with random pattern so you can’t memorize these.

Simon-85 assembled and tested cost EUR 7.95 the kit is EUR 5.95.

Assembling Simon-85-KIT is good way kids and beginners to learn basic electronics components and how to solder.

A20-OLinuXino-LIME2 review and updates


Sorry for blogging so late for A20-OLinuXino-LIME2 but last two month every week I had to travel somewhere.

This is also the reason for the two last weeks without Weekend Programming Challenge and Friday Free Board Quiz.

I promise these will be resumed next week after Open Fest :)

A20-OLinuXino-LIME2 is product of the continual improvement of our OSHW OLinuXino boards based on your feedback, tips and suggestions.

The major differences to A20-OLinuXino-LIME are:

1. Much better routing of DDR3 memory. We increased the number of layers to 8 vs the 6 layers in LIME, we put the DDR3 memory closer to the A20, we layout the tracks shorter, as result now LIME2 runs with DDR3 on 532Mhz on LIME there were problems to run DDR3 at more than 400Mhz.

2. Double the memory, LIME2 now is with 1GB RAM and we expect 8Gbit DDR3 memories to experiment on having LIME2+ with 2GB RAM (shhhhht do not tell anyone and do not ask when it will be available as we also don’t know if these experiments will be successful).

3. Faster Ethernet, now we use A20 GMAC instead of EMAC so LIME2 have Gigabit Ethernet.

4. GPIOs 0.05″ connectors now made right. When we designed LIME we first though to use female connectors instead of male, but when we finished the design we realized that this time we will break the order we made all “mother boards” to have male connectors (to may connect to ribbon cables) and the shields/modules/capes to have female connectors. In the last moment we decided to make LIME with male connectors and we had the dilemma – to go again to re-routing and prototyping or just to assembly the female connectors with male, we wanted to release LIME earlier so we went with the latter without realizing that this way when cable is attached the cable numbering will be mirrored!

Once we made this mistake we continued it with A10-OLinuXino-LIME-UEXT as otherwise we couldn’t have functional extension board.

Then we had internal discussion if we have to make these GPIOs right, the problem was that there were already many thousands LIMEs sold so what to tell to our customers who already bought LIME and made shields for it? So we left it “as is”.

In LIME2 we decided to make it right and LIME2 is with connectors which have no mirror, but this make them incompatible with LIME :(  What we will do now is to make new version of LIME with correct GPIOs, but we will keep the production of the old LIME too, just have to figure out how to name the new board to not add more confusion to our customers.

So to conclude about the GPIOs:

LIME and LIME2 connectors are with different layouts (mirror). This means you can’t use A10-OLinuXino-LIME-UEXT on A20-OLinuXino-LIME2. We have A20-OLinuXino-LIME2-UEXT which is in production and will be ready around 10th of November in Stock.

Also new version of our A13-LCD4.3 A13-LCD7 and A13-LCD10 is developing which have standard 40 pin LCD connector to attach to A13-OLinuXino and A20-OLinuXino-MICRO + two small connectors for direct connection to LIME and to LIME2. I hope this is not confusing for you too :)))

Here is picture on the new LCDs:


as you can see you can connect directly now any of our boards including LIME and LIME2 without need to go through adapter board.

I’m sorry for all these confusions but we decided to make thing right and move forward than to keep the GPIO error forever (Arduino for this reason keeps the shield connectors off 0.1″ step, they made initial mistake but decided to not correct it).

Now we will have the inconvenience to keep LIME (mirrored GPIOs), LIME2 (correct GPIOs) and NEW-LIME(correct GPIOs) but this is our mistake and we want to fix it.

EDIT: Something important! Debian and Android images for LIME and LIME2 are different because of the memory and Gigabit ethernet, so if you have LIME download the images for LIME if you have LIME2 download the images for LIME2!!!

Previous Older Entries


Get every new post delivered to your Inbox.

Join 564 other followers