Designing A LoRa Gateway During A Part Shortage

It’s fair to say that right now is probably the worst possible time you could choose to design a new piece of hardware. Of course the reality is that, even in the middle of a parts shortage that’s driving the cost of many components through the roof (if you can even find them), we can’t just stop building new devices. In practice, that means you’ll need to be a bit more flexible when embarking on a new design — it’s like the Stones said: “You can’t always get what you want / But if you try sometime you’ll find / You get what you need”

For [Ryan Walmsley], that meant basing his new outdoor LoRa gateway on the ubiquitous Raspberry Pi was a non-starter. So what could he use in its place? The software situation for the Nano Pi Duo looked pretty poor, and while the Onion Omega 2+ was initially compelling, a bug in the hardware SPI seemed to take it out of the running. But after more research, he found there was a software implementation that would fit the bill. Continue reading “Designing A LoRa Gateway During A Part Shortage”

Improving Router-Based Dev Boards With The Onion Omega2 Pro

Before we had Raspberry Pis and Beaglebones, the art of putting a Linux system in a small, portable project was limited to router hacking. The venerable WRT54G controlled Internet-connected robots with a careful application of a Unix-ey firmware. Now, things are different but there’s still a need for a cheap, portable Linux system that’s just good enough to get the job done. Now, there’s an upgrade to the board that follows in the footsteps of that router hacking The Onion Omega2 Pro is up on Crowd Supply, and it’s got more buttons, more switches, and it’s still smaller than a breadboard.

The Onion Omega2 Pro is a slight upgrade over the breadboard-friendly SoM launched a few years ago. The Pro version features a 580 MHz MIPS CPU, 512 MB of RAM (Update: this is 128 MB physical RAM and 384 MB flash swap file), 8 GB of storage, and connectivity with b/g/n WiFi. Unlike the previous version, this is a far more functional system with a 30-pin expansion header, support for battery charging, a micro USB for charging and serial, and a USB host port. Because this is at its heart the guts of a router on a development board, you also get all the fun of WiFi networking. The expansion header connects to various add-ons including a GPS module, OLED display, and an Ethernet port.

Now we have Raspberry Pis and other various boards based on smartphone Systems on Chip, but sometimes you don’t need that much overhead. You don’t need weird Linux distributions dealing with ARM bootloaders. Sometimes you just need something simple, and the Onion Omega2 Pro does just that.

SDR Sniffing Electric Gates

Most wireless OEM hardware traditionally use 433MHz OOK modules to exchange information. The encoding and encryption of this data stream is left as a task for the embedded software designer. In most cases, the system can be hacked using a replay attack where an RF packet is recorded and replayed to emulate a valid user. [Gilad Fride] hacked his parking gate using this technique but decided to go the extra mile of connecting it to the internet.

He used an RTL-SDR dongle and ook-decoder by [jimstudt] to sniff out the gate code and this code was tested using an Arduino. The final implementation was done around an Onion Omega which talks directly to the RF transmitter module using the fast-gpio binary. Internet connectivity was achieved using Onion Cloud API which is used to trigger the execution of code thereby sending the gate opening signal.

[Gilad Fride] uses the IFTTT Do button to provide a GUI and he demonstrates this in action using an iPhone in the video below. The project can be extended to open garage doors or turn off the lights of your room over the internet.

If you are looking to hack your home security system, look no further as SDRs have be used to communicate with wireless products effectively in the past. We are hoping manufacturers take a hint and start using better encryption.  Continue reading “SDR Sniffing Electric Gates”

The Onion Omega Carputer Can Be Controlled Via WiFi

The Onion Omega, a curiously named ultra-tiny linux-based WiFi board, is a useful little device for everything Internet of Things related. [Daniel] decided to use it to connect his car to the internet.

Most new cars these days have remote start built in, and slowly, manufacturers are catching up to modern technology and including apps to control various features of their vehicles. But for old cars, there’s not much you can do aside from after-market remote start kits and the likes.

Undeterred, [Daniel] wanted to bring his car into the 21st century by manually adding an extra key fob, a remote start protocol, and a data connection to the vehicle’s on board computer.

Continue reading “The Onion Omega Carputer Can Be Controlled Via WiFi”

Kickstarting Even More Router-Based Dev Boards

The latest and greatest thing makers and IoT solutions is apparently router hacking. While most Hackaday readers lived through this interesting phase where Linksys routers were used to connect sensors and other such digital bits and bobs to the Internet a few years ago, SOCs have improved, and now there are router-based dev boards.

The latest is the Onion Omega, an exceptionally tiny board just under two inches square. Onboard is an Atheros AR9331 chipset – the same found in a number of cheap WiFi routers – attached to 32 pins breaking out GPIOs, SPI, I2C, and USB. With WiFi and Ethernet, this is a board designed to connect sensors, motors, actuators, and devices to the Internet.

This is not the only recent router-based dev board to make it to the crowdfunding sites. A week or so ago, the Domino hit Kickstarter, featuring the same AR9331 chipset found in the Onion Omega. The Onion does have a few things going for it – cloud integration, a web-based console, and an app store that make the Onion vastly more useful for the ‘maker’ market. The Domino has a boatload of pins available, and competition is always good, right?