Open Source Hardware STMP1-OLinuXino-LIME2 industrial grade Linux computer update – Debian Buster and Ubuntu Focal with mainline Kernel 5.10.12 now supports almost everything

STMP1-OLinuXino-LIME2 Industrial grade Linux Computer project took us almost an year of work to build proper software support for our hardware with mainline uboot and kernel.

ST demo board uses Yocto with kernel 5.4, our images use Linux Kernel 5.10.12

These who monitor our Official images at probably nottice that we already have images with Debian Buster and Ubuntu Focal for STM32MP1 where almost everything now work with mainline Linux Kernel 5.10.12.

  • We had lot of troubles around the Ethernet, but now it works pretty well!
  • CAN-FD – works!
  • Two USB High speed hosts with 1A current – works!
  • LCD – works
  • HDMI – works!
  • eMMC Flash boot – works!
  • PMU and LiPo charger battery support – works

Two things on this board left not complete:

  • low power modes

New prototypes rev.B now are in production, the Chinese New Year will delay them to end of February. We hope meantime to solve these two last issues and run production.

UPDATE: As some people wanted to know what was the Ethernet issue we were struggling so long, I posted in the comment section.

For the USB-OTG my guess is that it’s also some silly issue so people may help:

STM32MP1 has two High speed USB hosts and one Full speed USB-OTG, here is snip from their Hardware development document:

Here is our schematic which follows above guide:

The two High Speed USB hosts work as expected, but the USB-OTG has issue summarized here:

What makes us a little bit suspicious is that STM in their own demo board didn’t follow their Hardware Guide and were wiring one of their High speed USB as OTG and connecting USB hub to the other, ignoring the Full speed USB at all.

PWR-SWITCH is optically isolated EU style power load switch for up to 3500W, 230VAC/16A and can be driven with any microcontroller, Arduino, EPS32, or Linux computers directly with 3-24V

PWR-SWITCH hides the high voltage problems from the Arduino, ESP32, Raspberry Pi, Beaglebone, OLinuXino developers. It has 1500VAC optically isolation and can drive high voltage up to 230VAC / 16A loads safely.

To switch On or Off the loads from 3 to 24VDC can be used, so you can drive the loads with any microcontroller only 1mA is necessary to trigger the switch.

PWR-SWITCH is with EU stype plug and receptacle, so to use it in US or in UK you will need some of these:US to EU adapter, EU to US adapter or UK to EU adapter.

 PWR-SWITCH has CE-EMC and LVD certification.

Green LED show the switch status.

Use Raspberry PI as Iceprog programmer for iCE40HX1K-EVB or iCE40HX8K-EVB


Andreas Seltenreich sent us message how he is using Raspberry PI to program his iCE40HX1K-EVB and we add to the wiki section.

How to get in the News? Tell people that you will make and sell something which cost you $20 for $9!


Probably everybody heard for the next big thing after Raspberry Pi – the C.H.I.P. computer which sells for only $9.

What?? Single board computer with 512MB RAM and 4/8GB Flash and WiFi for only $9?

When Raspberry Pi foundation advertised they will make Linux computer for $25 very few believed this is possible, then after some time hitting rocks on the road they made partnership with Farnell and RS and made this happen. Actually lot of Android TV sticks in this price range were available so the technology was there just nobody from Western world had explored it.

The Rpi got quite successful, so lot of companies followed in the aim to make the next better Raspberry Pi (we at Olimex also 🙂 went to this route with OLinuXino OSHW Linux computers fixing the fact that RPi is closed source design).

The $35 was the magic number if you come close to it more chances to attract people you have.

Then few weeks ago there was the next big thing – computer with the specs of Raspberry Pi for only $9 on Kickstarter.

This blew people’s mind – they start fantasies like how Allwinner produce 1Ghz SOCs for $1 like on this thread on G+.

These guys plan was set for sale of 5000 computers, we purchased more than 150K SoCs chips from Allwinner last year alone and I know the DDR and Flash memory market, so I was quite skeptical this $9 is achievable even for the Bill of Materials not for sale price.

I asked Allwinner for quote and got $4.80/5K order (which is the original Kickstarter goal of Next Thing Co. guys). I assumed this price is for the module they use with the 512MB RAM and 4GB Flash (despite just the DDR and Flash exchange market price is higher than this number, well I hoped Allwinner manufacturing this module have some magic prices not applicable for mortals with the million of units they sell :).

Today I got datasheet of R8M and price of it is $16 including the PMU. Whaaat? Just the module is $16 but these guys sell this module on board with connectors and WIFI for $9 how this is possible?

I asked Allwinner again if there is mistake and they confirmed there is no mistake, R8 price is $4.80, R8M module price $16. Allwinner confirmed R8 just SOC cost $4.80 but this makes not much sense either this is the price of A33 quad core SOC why they price so expensive obsolete A13 Cortex-A8 SOC???

On my question how then Next Thing Co. sell this computer for $9 Allwinner response is:

“CHIP 9$ computer launched a big advertising campaign to promote their new development board, their actual cost is higher than 9$. After the Kickstarter their computer will sell for 39$.”

So, sorry guys to break your dreams for 1Ghz SOCs costing $1, maybe in future this would be possible, but not now.

The C.H.I.P. is just CHEAP marketing. At least for me R8 is not interesting at this price, better use A33 Quad core or H3 for your next design they are in same price range.

EDIT Update 08-06-2015: On the question why R8 cost is same as for quad core processor the response from Allwinner is:

R8 is new IC just published especially on IoT, it is not like A33 this one had used on a large scale forTablet PC.

So R8 is more expensive as produced in lower quantities than A33 which is selling for tablets in big volumes.

Who fears from the competition? RPi Foundation pressed Broadcom to stop selling BCM2835 to competing projects.


On July 29th I blogged about the Raspberry Pi Clones which now exist and the new Odroid project which actually makes better hack friendly module based on BCM2835 including better power supply, LiPo battery support etc features.

This is pure example that no matter if your project is open or closed hardware it could be cloned if there is enough interest to do so.

Also I made speculations that due to the bad financial condition which Broadcom faces due to the Chinese SOC competitors they start selling their BCM2835 to anyone with money.

Well this must have upset RPi Foundation a lot and they should have start to pess Broadcom about stop selling the BCM2835 to others than RPi.

Today Odroid guys wrote on their G+ account: “We have to stop ODROID-W project soon since Broadcom will not supply the SoC to Hardkernel anymore.
When the first trial batch is sold out, you can’t buy the ODROID-W anymore. Sorry for the inconvenience.”

The Raspberry Clones attack



I got interesting email this morning:

Hi Mr. Tsvetan Usunov,
How are you?
This is David from XXX which is a professional manufacturer of the credit card sized computer Raspberry Pi .
I find you are doing the business of embedded computers in your website,I guess  you would have the interest in our products.
Now we can provide you the latest version of Raspberry pi (type B+) with the competetive price and good service.and we serve several distributor in your country can see that the companies in your country sell the Pi in their website . .
If you have the interest in this products ,please kindly let me know.thank you
Best Regards, 

Well, I'm definitely not interested to re-sell Raspberry Pi, and far away from India, but out of the curiosity I asked about the pricing, the answer was immediately:

Hi Tsvetan,
Thanks for your reply.
For type B: USD 31 ,
For type B+:USD 32
FCA HK ,Delivery time: 4~7 days.
Please review the attached file for the difference between type B and type B+.
Anything you wanna know ,please feel free to contact me. thank you.
Best Regards,

So company in HK is manufacturing and selling clones of Raspberry Pi -> so far about the closed source designs which prevent you from being copied 🙂

No matter if your design is OPEN or CLOSED this do not stop others to copy and clone your design, this is not rocket technology after all, if they have one of your boards they can de-solder all components, then strip the board layer by layer and copy it 1:1.

The real protection for Raspberry Pi was that Broadcom didn’t sell few years their chips to anyone else than the RPF, but with the recent announcement Broadcom seems didn’t resist and start selling these chips to anyone with cash.

There is one more original design which I saw today again with Raspberry Pi based processor:



Board which run Linux but have no Ethernet connectivity and cost $30. To me at least seems that Raspberry Pi B+  for $5 more gives you +4 USB hosts and Ethernet to be a better deal. This probably try to compete with the recently announced Raspberry Module as have more sophisticated power supply.

There is an interesting discussion about this board on Raspberry Pi forum

Raspberry Pi project – interfacing Wii-Nunchuk with RPi


Wii Nunchuck  is Wii remote controller with 3-axis accelerometer, joystick and two button combo. Those who have watched old Bruce Lee movies know how dangerous such Nunchaku could be in some hands 😀

Olimex offers Wii-Nunchuck with UEXT adapter board for EUR 6.95

and now with RPI-UEXT you can connect Wii remote to your Raspberry pi

The Python code is on GitHub when you start it you will see on the console:


the joystick coordinates, accelerometer XYZ values and two button status

Friday Free Board Quiz issue #25 is RPI-UEXT + MOD-IO2



RPI-UEXT allow Raspberry Pi to have access to different modules see original blog post we made about it:

MOD-IO2 allow RaspberryPi to control 2 relays and to read/write 7 additional GPIOs, including Analog inputs. On top of this MOD-IO2 is stackable and addressable so you can stack and connect to Raspberry Pi as many relays as you need for your project.

You have chance to win RPI-UEXT + CABLE26-pin + MOD-IO2 today if you answer correctly our quiz question!

Today at 17.00 o’clock our local Bulgarian time (GMT+2) we will post on Twitter our questions.

You have one hour to reply to our tweet with the correct answer.

At 18.00 o’clock we will count the correct answers and ask to generate random number in range then announce the winner and ship the board by airmail in Monday.

Good Luck!

Raspberry Pi can now work with UEXT modules


In my previous post I wrote about the Raspberry pi adapter we designed which allow Raspberry Pi to have access to the modules we have like Relay modules, Thermocouple sensor modules, 3-axis magnetometer and accelerometers, Zigbee, WiFi, GSM, GPS etc.

The RPI-UEXT adapter is already in stock and you can wire it to your Raspberry Pi with any 26-pin ribbon cable, we do offer 15 cm cable also which you can use with RPI-UEXT

On this video you can see how Raspberry PI is controlling MOD-IO 4 relays with the help of the RPI-UEXT adapter:

to make MOD-IO control as on above video with your RPi you should do as follows:

step 1:

sudo vi /etc/modprobe.d/raspi-blacklist.conf
The file should look like:

# blacklist spi and i2c by default (many users don’t need them)
blacklist spi-bcm2708
#blacklist i2c-bcm2708

step 2:

sudo vi /etc/modules

# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
# Parameters can be specified after the module name.


step 3:

sudo apt-get install python-smbus

step 4:

sudo vi

import smbus
import time
bus = smbus.SMBus(0)
address = 0x58

while 1:
bus.write_byte_data(address, 0x10, 0x0F)
bus.write_byte_data(address, 0x10, 0x00)

step 5:

sudo python

and you will see how the relays go ON and OFF 🙂

have fun!

Raspberry Pi GPIO to Breadboard and UEXT adapter


Raspberry Pi is the most successful embedded Linux board for all times, according to their blog they have sold over 500 000 pcs, although when they post something on their blog you never know it’s true or not from our own source we know Farnell and RS Components have sold at least 100 000 each by August this year, so the number may be not exactly 500 000 but still in 6-digit range.

I will admit that our OLinuXino Linux boards were inspired and designed due to the lot of e-mails and requests from customers of ours at the beginning on 2012 when Raspberry Pi had problems to arrange their production. We were asked again and again please do small low cost Linux computer, although at that moment we were just Linux users but never dealt with Kernel compilations, Device drivers build etc. this is what triggered us to go in this direction.

So if there was no Raspberry Pi there would not be OLinuXino as well, I admit it 🙂

Despite all problems Raspberry Pi had with the manufacturing start-up they now have sorted out their production problems and schematic mistakes, so the latest model-B works fine according to what we hear. I asked today friend of mine to borrow me one Pi to experiment with and this on the picture above is what we made.

We all know that Raspberry Pi $35 price is hard to beat, but looking at the additional accesoaries and boards which are sold for Raspberry Pi I can’t say the same for them.

To use Raspberry Pi to interface real world you need additional hardware and the prices of this after sale accessories are quite high, probably to adjust the not-so profitable Raspberry Pi sale price?

For instance the Gertboard which contain few ICs and components + blank board which harly cost more than $10 for the Raspberry Pi volumes is offered for $46!

The new PiFace board with two relays and 4 buttons announced price is $36.

What we did today is small Raspberry Pi GPIO to Breadboard adapter with UEXT on it.

We called it RPI-UEXT and will have these in stock in 2 weeks, what you can do with this breadboard adapter? Well this is basically same T-shape board as our AVR-T32U4 Arduino like breadboard board:

You can see it how it plugs to normal Breadboard here:


The T-shapped boards was first invented by Ken Segler and we used for DuinoMite-TBA.

Every breadboard have two power supply busses on the top and bottom and there we run +5V/GND on top and +3.3V/GND on bottom. With the T-shapped board you make power supply available for breadboarding not only the GPIOs.

On top of the easy for breadboarding adapter we also have UEXT connector, what you can connect to Raspberry Pi with UEXT?

1. MOD-IO2 board which cost EURO 12.95 and adds 2 relays + 7 GPIOs, you can plug together as many MOD-IO2 as you wish as they are addressable so you can have as many relay outputs driven by Raspberry Pi as you want.

The project for MOD-IO2 interfacing with iMX233-OLinuXino is on GitHub and we will release Raspberry Pi pack which will have MOD-IO2 control with Raspberry Pi

2. MOD-IO board which cost EURO 25.95 and have 4 relays + 4 opto isolated inputs + 4 Analog inputs, you can plug together as many MOD-IO as you wish as they are addressable so you can have as many relay outputs and analog inputs + optoisolated digital inputs driven by Raspberry Pi as you want.
The project for MOD-IO interfacing with iMX233-OLinuXino is on GitHub and we will release Raspberry Pi pack which will have MOD-IO control with Raspberry Pi

3. MOD-RTC cost EURO 4.95 is real time clock with battery backup which you can connect to Raspberry Pi with the UEXT adapter

4. Four different LCD modules are available from 1 row 9 characters segment LCD×9/ for EUR 6.95, NOKIA 3310 module 84×48 pixel LCD  for EUR 6.95, color Nokia 6610 LCD 128×128 pixels with backlight and LCD 4.3″LCD module”/ for EUR 79.95. All these modules have GitHub projects for iMX233-OLinuXino which will work on Raspberry Pi also.

5. RFID readers for 125 Khz and 13.59 Mhz which cost EUR 25.95 and allow you to build access control with Raspberry Pi

6. Bluetooth module for EUR 19.95

7. WIFI 802.11n 150MBit RTL8188CU module for EURO 7.95

8. Zigbee module MOD-ZIGBEE-UEXT for EURO 17.95 which allow you Raspberry Pi to connect and control Zigbee network

9. Zigbee PIR module which cost EURO 18.95 and allow Raspberry Pi to detect movement via Zigbee network

10. Quad band GSM/GPRS module for EURO 49.95 which allow Raspberry Pi to send and receive phone calls, GPRS data and to send and receive SMS

11. GPS module which cost EURO 29.95 and allow Raspberry Pi to log your GPS coordinates

12. Wii Nunchuck joystick which cost EURO 6.95 and adds 3-axes accelerometer, XY joystick and 2 buttons so you can control your Raspberry Pi Games

13. Digital 3 axes accelerometer which cost EURO 14.95 and allow you to measure acceleration with Raspberry Pi

14. Digital 3-axes magnetometer which cost EURO 7.95

15. RS485 convertor with 1000V isolation which cost EURO 16.95 and allow Raspberry Pi to talk to instruments or DMX network

16. Thermocouple module which cost EURO 11.95 which allow Raspberry Pi to measure temperature -200C+700C with 0.25 resolution and as these modules are addressable you can attach as many thermocouples as you need

17. Heartbeat biofeedback sensor which cost EURO 25.95 and allow Raspberry Pi to log EKG signals

18. Pulse oximeter biofeedback module which cost EURO 25.95 and allow Raspberry Pi to log oxigene levels in the blood.

Many new modules are on design stage including: 3-channel RGB LED controller, 3-channel 110/220VAC dimmer controller, Single phase Energy metering module etc etc.

BeagleBone-UEXT adapter is on the way also 🙂