Smallest seismic sensor uses vibration spectral analysis

Graham Prophet @ discuss about a new small seismic sensor from Omron:

Omron Electronic Components believes it has the world’s smallest class size seismic sensor, specifically designed to trigger the shutdown of potentially hazardous or easily damaged systems in the event of an earthquake.

Smallest seismic sensor uses vibration spectral analysis – [Link]

Simple circuit indicates a low battery

@ writes:

The Design Idea in Figure 1 indicates a low-battery condition in an audio test instrument that is powered by four AA cells. As the instrument was otherwise an all-discrete design, this same approach seemed more in keeping with the spirit of the project than the use of a single-sourced integrated circuit.

Simple circuit indicates a low battery – [Link]

ESPurna-H, A Compact Open Source Hardware Wireless Power Wall Switch

Controlling your AC loads using wireless power switch is not a new concept. Several commercial products from several vendors can be found on the market such as Xiaomi’s Mi Smart Socket Plug, SAMSUNG’s SmartThings Power Outlet and Sonoff Pow WiFi Switch from ITEAD.

Using ESP8266 makes the building of a customized WiFi power switch more affordable especially if you start with Sonoff Pow WiFi Switch design and you use a special Arduino C firmware called ESPurna developed by Xose (tinkerman) which is an open source firmware for ESP8266 based wireless switches such as Sonoff POW and many others.

After Xose has built the software ــ ESPurna, he decided to build his own smart switch board to meet his special needs. ESPurna-H electronic design is very similar to Sonoff POW’s one; it uses ESP12 module as a controller and as WiFi transceiver.


AC power monitoring is done using HLW8012 IC which is also present in Sonoff POW. This IC monitors both voltage and current of the AC power, and output RMS voltage, current and active power encoded as a 50% duty cycle square wave where the frequency is proportional to the magnitude. I should mention that ESPurna supports interfacing with HLW8012. In addition AC load is enabled/disabled by using a 10A relay.

ESPurna-H uses HLK-PM01 AC-DC step-down power supply module. The 100-240 VAC input range so the board can be used anywhere in the world and the good performance made Xeos select this module.

HLK-PM01 Inside (Image Source ــ )
HLK-PM01 Inside (Image Source ــ )
HLK-PM01 Inside (Image Source ــ )
HLK-PM01 Inside (Image Source ــ )

ESPurna-H has another option to enable/disable the relay using a capacitive touch switch using TTP223 module.

Xose designed the board with Eagle CAD and released the schematics, PCB layout and other hardware design files on Github.

Source: cnx-software

Exploring Eagle CAD ULPs #5 – Place50.ULP Place All Parts of The Board to The Position in The Schematic

Welcome to the 5th post of the “Exploring Eagle CAD ULPs” series. Each post will be about one  useful ULP in Eagle CAD.

“ULP” User Language Program is a plain text file which is written in a C­-like syntax and can be used to access the EAGLE data structures and to create a wide variety of output files. You can think about it as a plug-in for Eagle.

You can reach the posts published in this series using the following link.

In this post, we will discuss an autoplacer ULP. Normally, Eagle CAD places parts in the board without any considerations to electrical connections, and there isn’t any built-in auto-placing tool in Eagle.

Without the help of ULPs, you will need to do this task manually by moving connected parts near to each other. However, some ULPs can solve this problem ــ manual placement is a time consuming task when the PC can help us !.

Place50 ULP has a simple and smart idea. It’s an autoplacer which places all parts of the board to the position in the schematic. To use this ULP first download it from Autodesk website to run it in schematic. Running this ULP from schematic editor will generate a script file in your home directory. Now open board editor and run the script file “place.scr”.

I made a little edit to the original ULP to make the script file be saved in the same directory of the project rather than the home directory. Download it from here.

ARM Compiler 6 With A Safety Package

Developed by ARM, the latest C/C++ compiler “ARM Compiler 6” had been announced with a safety package in a move to help developers to meet functional safety requirements.

ARM Compiler 6 is based on the modern LLVM framework and Clang technology, in close collaboration with processor and architecture projects to best utilize every new hardware feature. LLVM is a set of open-source components that allow the implementation of optimizing compiler frameworks. Clang is a compiler front end for LLVM, providing support for the C and C++ programming languages.

The ARM Compiler 6 comprises the following components:

  • ARM C, C++, and GNU assembly language compiler, armclang
  • ARM and Thumb assembler, armasm
  • ARM linker, armlink
  • ARM librarian, armar
  • ARM image conversion utility, fromelf
  • supporting libraries.

ARM Compiler enables you to build applications for the ARM family of processors from C, C++, or assembly language source. So, the ARM Compiler toolchain will be a safe option for you, whether you are a semiconductor company or you just like to know that you will be covered on your ARM projects no matter what.

“ARM Compiler is already widely used in functional safety. ARM engineering has built on that expertise and further tuned the compilation toolchain for an increasingly diverse range of safety-related applications across ARM Cortex-A, -R and -M processors.”

Tony Smith, the senior director of marketing with ARM’s Development Solutions Group.

The safety package will include the certificate and related reports from TÜV SÜD confirming that ARM Compiler 6 meets the highest tool qualification levels required by ISO26262, 61508, 62304 and EN50128. This means that you can begin developing safety-related applications with ARM Compiler 6 today, while we get the final safety artifacts ready for you.

10km ESP32 WiFi Using Directional Antenna

[Jeija] was playing with some ESP32s and in true hacker fashion, he wondered how far he could pull them apart and still get data flowing. His video answer to that question covers the Friis equation and has a lot of good examples of using the equation, decibels, and even a practical example that covers about 10km. You can see the video below.

Of course, to get that kind of range you need a directional antenna. To avoid violating regulations that control transmit power, he’s using the antenna on the receiving end. That also means he had to hack the ESP32 WiFi stack to make the device listen only on one side. The hack involves putting the device in promiscuous mode and only monitoring the signals being sent. You can find the code involved on GitHub (complete with a rickrolling application).

Of course, antennas are nothing new–look at all the Pringle can antennas we’ve seen in the past. However, the use of a long range receive-only module is interesting and we can see this technique having applications to remote drone video or telemetry and — of course — wardriving. If you don’t have a big boss antenna lying around, you might try some duct tape. If you want a more detailed refresher on decibels, we did that last month.

Source: Hackaday

MightyWatt: 70W Electronic Load for Arduino

Jakub designed and built a programmable electronic load for Arduino, the MightyWatt R3:

MightyWatt R3 is a programmable electronic load. That means you can use it for testing batteries, power supplies, fuel cells, solar cells and other sources of electrical power. You can also make a programmable power supply from a fixed-voltage power supply and MightyWatt R3 and use it for example as an intelligent battery charger.

MightyWatt: 70W Electronic Load for Arduino – [Link]

MPPT solar charger

Lukas Fässler from Soldernerd has been working on revised version of his MPPT Solar charger project:

Over the last few weeks I have been quite busy with my MPPT Solar Charger project. I’ve built up a first board and started writing firmware for it. Since the last version was not too different in terms of hardware I was able to re-use most of that code. But I hadn’t even touched on the whole USB stuff back then so there was still a lot of work to do. While the project is still far from being complete I am happy to say that I’ve made quite some progress. Most importantly, the new design seems to work well and so far I haven’t found any mistakes in the board layout. But let’s go through this step by step.

MPPT solar charger – [Link]

Raspberry Pi LCD Touchscreen Rotation

In this video, Circuit Basics walks us through the steps to change the screen rotation on an LCD touchscreen for the Raspberry Pi. Since there are separate drivers for the display and the touchscreen sensors, we need to change the orientation of both. It’s pretty simple to do, but a couple packages need to be installed first.

Raspberry Pi LCD Touchscreen Rotation [Link]

Using I2C SSD1306 OLED Display With Arduino

Sometimes it may be necessary to use a display when making a hardware project, but one confusing thing is the size of the display and the required pins to control it. This tutorial will show you how to use a small I2C OLED display with Arduino using only two wires.

The display used in this tutorial has a very small (2.7 x 2.8cm) OLED screen, that is similar to Arduino Pro Mini size, with 128 x 64 screen resolution. The OLED Driver IC is SSD1306, a single-chip CMOS OLED/PLED driver with controller for organic / polymer light emitting diode dot-matrix graphic display system. The module has only 4 pins, two of them are the supply pins, while the others are SCL and SDA, I2C protocol pins, which will be used to control the display.

Using I2C SSD1306 OLED Display With Arduino – [Link]