
Matthias sent us link to his project of Marine Chartplotter made with A20-OLinuXino-LIME open source hardware Linux computer + LCD-OLinuXino-7 and LCD7-METAL-FRAME
The power supply is done with DCDC-36-5-12
all fun projects at Olimex Ltd
04 Sep 2020 1 Comment
in Allwinner, ARM, lcd, linux, olinuxino, OSHW Tags: chartplotter, marine, olinuxino
Matthias sent us link to his project of Marine Chartplotter made with A20-OLinuXino-LIME open source hardware Linux computer + LCD-OLinuXino-7 and LCD7-METAL-FRAME
The power supply is done with DCDC-36-5-12
17 Jul 2020 5 Comments
in Learning, linux, olinuxino, open source, OSHW Tags: device, GSM, linux, usb, wifi
Sometimes devices connected to USB ports need to be re-set. It’s not unusual GSM modems and WiFi dongles to freeze and the only way to bring them back to life is to remove and re-attach.
OLinuXino USB ports has power switches and current limiters which can be controller by Linux drivers.
After some experimenting we found that it’s not so easy actually to do it with the standard file system and shell.
A friend suggested to try this code. It worked very well, so here is how to use it. First you need to download and compile it, then to make it executable:
$ mkdir usbreset $ cd usbreset $ wget $ https://raw.githubusercontent.com/jkulesza/usbreset/master/usbreset.c $ cc usbreset.c -o usbreset $ chmod +x usbreset
Then you need to see where your USB device is. In our case I connected MOD-WIFI-R5370 WiFi USB dongle:
$ lsusb
you will see something like:
Bus 002 Device 039: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
to reset this device use the command:
./usbreset /dev/bus/usb/002/039
The device USB port will be power off for a second then power on again.
All above is tested and work with official Olimex Linux images from images.olimex.com, but should work on other Linux distributions too.
10 Jul 2020 9 Comments
in arduino, CE, esp32, linux, new product, olinuxino, raspberrypi Tags: 16a, 3500w, arduino, esp32, isolated, optoisolated, Power, raspberrypi, switch
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.
09 Jul 2020 3 Comments
in ARM, linux, new product, olinuxino, open source, OSHW Tags: a20, Allwinner, computer, linux, oshw, shield
A20-OLinuXino-LIME2 is with small compact design, this is why we couldn’t put on it all connectors for the functionality this board offers.
The existing 0.05″ step connectors are OK for cables and shields, but are pain when you want to breadboard something or to attach UEXT module.
This is why we made LIME2-SHIELD open source hardware shield. It has these signals available:
LIME2-SHIELD User manual explains how to prepare your SD-card for booting Linux on A20-OLinuXino-LIME2, then how to setup the board with different scripts and device tree.
Demo codes how to work with GPIO, I2C, SPI, CAN with C, Python and console are included:
03 Jul 2020 2 Comments
in linux, olinuxino, open source, OSHW Tags: disc, disk, external, freedombox
Pioneer-FreedomBox-HSK comes with 32GB micro SD card for file storage, this is not enough for many people, so they logically want to have bigger file storage.
A20-OLinuXino-LIME2 inside Pioneer-FreedomBox-HSK has native fast SATA interface, but the software do not automatically recognize and attach SATA-HDD, so you have manually to set it up.
What you need is SATA-HDD and SATA-CABLE-SET or the complete BAY-HDD which also includes nice metal box for the disk.
What you need to do is to run Pioneer-FreedomBox-HSK then to connect to it via SSH. To do this you need another computer connected on the same network. If this computer runs Linux you can do the connection by ssh command, if your computer is running Windows you can connect with Putty.
When you connect you should use the username and password which you created during the install process of Pioneer-FreedomBox-HSK
Then to you should run as super user with the commands below and mount the disk:
$ sudo -s # mkdir /mnt/data # mount /dev/sda1 /mnt/data
At this point via the web interface of Pioneer-FreedomBox-HSK you will see the hard disk as storage:
Last step is to add the hard disk to fstab so next time the board is reboot the hard disk is automatically mounted. You can see disk UUID with the blkid command, then to edit /etc/fstab file and add on the bottom the disk UUID as per this picture:
At this point everything is set.
08 Jun 2020 11 Comments
in ARM, industrial, linux, olinuxino, open source, OSHW Tags: computer, industrial, linux, olinuxino, raspberrypi, stmp1
We have progress on this board software. It now boots, we have been fighting the hardware and of course the issue was RTFM in this case RTFE (Errata) where STM well documented thar this chip requires oscillator and will not work with only crystal. We were misleaded by their kit schematic where they made provisions for both crystal and osciallator and being cheap we first bet on the crystal 🙂 .
Anyway after replacing the crystal with oscillator STMP1-OLinuXino-Lime2 got alive and here is the boot log: https://pastebin.com/ev94Jbk0
Our design is quite different from STM demo kit, we use different PMU, PHY HDMI so many things have to be done on the Linux support, but the results so far are very good.
08 Jun 2020 24 Comments
in Allwinner, ARM, debian, linux, news, olinuxino, open source, OSHW, ubuntu Tags: 5.6, boot, debian, emmc, images, linux, mainline, olinuxino, sata, ubuntu
We are pleased to announce that now the images at http://images.olimex.com/release/ are with the lates Linux Kernel 5.6
All these are build with our Olimage script.
We still keep Ubuntu Bionic 18.04 LTS distribution and didn’t move to 20.04 LTS yet.
To addition for script which set boot from eMMC we add new one which allow you to boot from SATA.
The boot from eMMC and SATA is enabled for OLinuXino boards which has SPI Flash on them like:
To make board booting from eMMC you have to boot from SD-card then execute:
$ sudo olinuxino-sd-to-emmc
then wait until script moves the OS to eMMC, remove the SD-card and reboot.
Similar if you want to make board boot from SATA you have to boot from SD-card then execute:
$ sudo olinuxino-sd-to-sata
05 Jun 2020 Leave a comment
in esp32, IoT, linux Tags: arduino, esp32, esp32-cam, streaming, video
ESP32-CAM is small low cost WiFi camera with OV2460 2Mpix sensor. It allows you to stream video and even to perform some small image filterings and face detection / recognition.
Unfortunately the AI Thinker vendor trying to keep cost as low as possible didn’t include USB programmer in it so the setup is a bit odd.
What do you need to play with ESP32-CAM ?
You need the camera of course and some cables and USB to serial converter which also provide enough 3.3V source to power the camera.
In this example we will use ESP-PROG-C which comes with set of cables and USB-CABLE-micro-1.8M
Step.1
Install Arduino IDE
Please go to arduino.cc and download and install latest Arduino IDE.
Step.2
Linux and CH340
CH340 Linux drivers has bad PLL settings for all Linux kernels before 5.5.
If your system happen to be with Linux Kernel before 5.5. here is the GitHub repository with the patch to install.
If you do not have this patch CH340 will work, but will not be able to communicate at speed over 115200 bps, with the patch up to 2Mbps communication is possible.
Step.3
You need to connect ESP32-CAM and ESP-PROG this way:
ESP32-CAM GND —-> ESP-PROG GND
ESP32-CAM 3.3V —-> ESP-PROG 3.3V
ESP32-CAM U0T —-> ESP-PROG RXD
ESP32-CAM U0R —-> ESP-PROG TXD
For firmware uploading you need one more connection, which is necessary ESP32 to go in Bootloader mode:
ESP32-CAM IO0 —-> ESP32-CAM GND
Step.4
Configure Arduino for ESP32-CAM
Run Arduino. In the Files-Preferences add:
https://dl.espressif.com/dl/package_esp32_index.json
In Tools-Board-Board Manager search for ESP32 and install it:
Exit Arduino and Run it again so it loads new board data. From File-Examples select ESP32-Camera-CameraWebServer
In select camera model uncomment CAMERA_MODEL_AI_THINKER and comment all other:
Then enter SSID and PASSWORD for your WiFi router.
In Tools-Board select : ESP32Wrover Module
Speed 921600
Flash Frequency 80Mhz
Flash Mode QIO
Partition Scheme: Huge app
Port: the port where your ESP-PROG USB Serial is connected it may be „ttyUSB0“ if you are running Linux or COMxx if you run Windows
Compile and see if there are no errors:
Then Press RESET button on ESP32-CAM, release it and hit Upload button on Arduino IDE.
If you get this error under Linux:
This means that the access to ttyUSB0 is not enabled for your user and you have to run in terminal
$ sudo chown youruser /dev/ttyUSB0
Where „youruser“ can be seen and try again.
If everything is OK you will see this picture:
Now you have to disconnect ESP32-CAM IO0 and GND and press reset. In serial monitor you will see this message:
when you open http://192.168.100.109/ you will see
Now you can play with the different settings!
20 May 2020 7 Comments
in debian, industrial, linux, new product, olinuxino, open source, OSHW, ST
First prototypes of the Open Source Hardware Industrial grade operating at -45+85C Linux Single Board Computers STMP1-OLinuXino-LIME2 are assembled.
We build couple of boards with STM32MP153 and STM32MP157 for the first tests.
Now time to add Linux mainline support for it in OLIMAGE building and to add Ubuntu and Debian minimal and base images for it in http://images.olimex.com
Recent Comments