Open Source Software OpenMQTTGateway got initial support for Open Source Hardware ESP32-GATEWAY

OpenMQTTGateway project aims to concentrate in one Gateway different technologies like Bluetooth, LoRa, IR, lagacy RF 433/315, GSM/GPRS based devices and connect them with OpenHAB, Home Assistant, Jeedom, FHEM, Domotic etc platforms via MQTT protocol.

The list of the supported devices is long.

With recent PR initial support for ESP32-GATEWAY is add.

Allwinner keep their promise for long term supply of T2 (industrial A20) SOC. If you wonder how 60K of Allwinner T2 SOC looks like you can see now

T2 is the industrial version of A20 – the most successful SOC in Allwinner history. It keeps selling for more than 8 years now and demand is steady.

We are proud that our OSHW designs with A20 are part of this success story.

T2 can work in extended temperature grade and is more expensive than A20, so the demand is not so big and used just by specific customers like in automotive and industrial equipment. During the last COVID-19 economy slow down these customers decreased and Allwinner stock of T2 was sold out. While NXP, ST etc always keep some kind of guarantee that they will produce this processor for XX years, Chinese companies are practical, they sell as long as it’s profitable for them and if demand is low they just stop.

This is why many people are afraid to place Chinese SOC in their products, they are afraid that this chip may stop being produced at some point of time and their design need to be changed.

Fortunately for Olimex our sales are big enough to be interesting and supported by Allwinner. We have enough business to place custom orders even for chips which are now with status “obsolete” and Allwinner keep producing them for us.

T2 automotive/industrial market for Allwinner now is not big enough for them to justify keeping it in stock, but Olimex placed order for these in January and 60Kpcs hit our warehouse few weeks ago.

The label show these T2 SOC are manufactured 18 of May 2020 🙂

So Allwinner keeps their part of the deal for long term delivery and manufacture for us even SOCs which are not available for sale officially, this means we can keep producing our boards with Allwinner SOC for our customers and they are safe with us.

Open Source Hardware Linux board with industrial grade -40+125C temperature STMP1-OLinuXino-Lime2 prototype is live

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.

The Open Source Hardware OLinuXino boards are with new Linux Kernel 5.6 scripts to move Linux OS to eMMC or SATA are included

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:

  • A20-OLinuXino-LIME-e16Gs16M
  • A20-OLinuXino-LIME-e4Gs16M
  • A20-OLinuXino-LIME-s16M
  • T2-OLinuXino-LIME-e8Gs16M-IND
  • T2-OLinuXino-LIME-s16M-IND
  • A20-OLinuXino-LIME2-e16Gs16M
  • A20-OLinuXino-LIME2-e4Gs16M
  • A20-OLinuXino-LIME2-s16M
  • T2-OLinuXino-LIME2-e8Gs16M-IND
  • T2-OLinuXino-LIME2-s16M-IND
  • A20-OLinuXino-MICRO-e16Gs16M
  • A20-OLinuXino-MICRO-e4Gs16M
  • A20-OLinuXino-MICRO-s16M
  • T2-OLinuXino-MICRO-e8Gs16M-IND
  • T2-OLinuXino-MICRO-s16M-IND
  • A20-SOM-e16Gs16M
  • T2-SOM-e8Gs16M-IND
  • A20-SOM204-1Gs16Me16G-MC
  • T2-SOM204-1Gs16Me4G-C-I
  • T2-SOM204-1Gs16Me8G-MC-I

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

How to configure and use ESP32-CAM with Arduino IDE and Linux

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

Wire cables:

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!

New Open Source Hardware board ESP-PROG allow you to program any Espressif device and can be used as general purpose USB-Serial converter

Created with GIMP

ESP-PROG is USB to Serial converter but beside the Serial TX and RX signals it also can power the target with +5V up to 0.5A or 3.3V up to 0.5A and have two additional signals which make programming automatic RESET (EN) and BOOT enable.

ESP-PROG-C includes all necessary cables for the ISP programming – 7 pcs jumper wires female to female and 6 pin ICSP cable.

ESP-PROG is based on CH340T IC and has drivers for Linux, Windows, MACOS, Android with up to 2 Mbps speed.

MOD-IO got beautiful DIN rack plastic enclosure from Giuseppe Mascolo

We noticed this Twitter post from Giuseppe Mascolo @linuxpeppe
He designed beautiful plastic enclosure for MOD-IO which could be attached to DIN reel:

the design files are uploaded to Thingiverse


Open Source Hardware Industrial Linux computers STMP1-OLinuXino-LIME2 prototypes are ready for testing

STMP1

First prototypes of the Open Source Hardware Industrial grade operating at -45+85C Linux Single Board Computers STMP1-OLinuXino-LIME2 are assembled.

STMP1a

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

Industrial grade -45+85C STMP1-SOM is almost completely routed and pin to pin compatible with A13-SOM

STMP1_SOM_bot

A13-SOM-256 and A13-SOM-512 are low cost Linux running System on Modules which are very popular but lack industrial grade operating temperature.

STM32MP1XXX series of SOC from ST is the first mass produced SOC which operates from -45 up to +125C by default, so we decided to design SOM module with STM32MP1XX SOC which to be pin to pin compatible with A13-SOM and offer same interfaces and signals so it could be drop in replacement for A13-SOM without need to re-design the complete product.

As you can see for STMP1-SOM we decided to put the SOC on opposite side of the connectors, this allow if necessary to add aluminum heatsink without interference with mainboard.

STMP1-SOM_TOP

Also we add AXP209 PMU which allow lower power operating modes and LiPo battery backup and operation on battery only which is missing in the original A13-SOM.

STMP1-SOM will be offered with three SOC choices STM32MP151, STM32MP153 and STM32MP157.

The prices will start from EUR 15 for the non industrial grade memory which are similar to A13-SOM and EUR 18 for the industrial grade -45+85C memory version.

We expect first STMP1-SOMs to be available in July 2020.

Full mainline Linux support will be available at http://images.olimex.com/

New Open Source Hardware board released: BB-TB6612 Dual DC motor controller with PWM to drive small robot cars with 12V up to 1.2A motors

BB-TB6612b

BB-TB6612 is dual channel DC motor controller board it is nice add on for the Robot chassis we have ROBOT-2WD-KIT , ROBOT-2WD-KIT2 , ROBOT-2WDL-KIT , ROBOT-3-WHEEL-KIT and can drive these gear motors: MG-6-120 , MG-6-48  and MG-6V-1:380

The digital logic can be from 2.7 up to 5.5V. The motor voltage can be from 2.5 up to 13.5V.

PWM, CW, CCW, brake-stop, stand-by modes are implemented.

 

Previous Older Entries Next Newer Entries