Skip to content

An IoT platform that is going to lead in the following decades!

Notifications You must be signed in to change notification settings

LibertasIoT/libertas-rpi-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Libertas Hub Raspberry Pi Images

With Hornet Mesh Network

This repository contains the Libertas Hub release for Raspberry Pi 2, Raspberry Pi 3, and Raspberry Pi 4.

What is Libertas Hub?

Libertas Hub is an IoT (Internet of Things) central controller with an IoT App design, Thing-App.

Libertas Hub connects to other IoT devices and enables end-users to run Thing-App to interact with those devices.

Libertas Thing-App is "write once, run everywhere" written in TypeScript. Our goal is to enable trillions of devices to run Thing-App directly. Libertas Hub is the first and most important step.

Libertas is designed to reach billions of users and cover trillions of CPU/MCU chips. With its simple yet disruptive design, We are confident Libertas will lead in the following decades.

Prepare the hardware.

You will need:

  1. A Raspberry Pi 2, 3, or 4 board.
  2. A microSD card as main storage. A size of >= 16GB is recommended; 8 GB is the minimum.
  3. A nRF52840 Dongle. It costs about USD 10.
  4. A USB thumb drive as backup storage. The Hub must have dual storage backup. Also, the thumb drive is IoT data storage.

Download the zip file and extract

Get the zip file for your Raspberry Pi model from the latest release (https://github.com/LibertasIoT/libertas-rpi-img/releases) and extract the zip file.

Prepare the nRF52840 dongle

The nRF52840 Dongle is required as a radio transceiver. Use the nRF tool below to program Hornet transceiver firmware into the dongle.

Download nRF Connect Desktop

Follow this link (https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop).

The download link is on the left side of the webpage.

Install the software. Then launch the software. Note that we only need the "programmer App," as shown in the screenshot below.

Program transceiver firmware

Use the NRF programmer

First, click the "Add file" button in the upper left part of the window. Next, choose the .img file that comes with the zip file. The file name should be:

nrf52840-transceiver.img.hex

Then plug the dongle into the USB port of the machine. Wait for a few seconds. There should be a "USB plug-in sound" on the Windows platform.

Press the "horizontal button" on the dongle, as shown in the picture below. The dongle shall be in programming mode.

Then choose the dongle from the "SELECT DEVICE" button on the uppermost left side.

The correct device shall be an "Open DFU bootloader."

As the last step, click the "write" button on the left, and wait for the writing progress to finish.

A windows will popup to notify that the write is successful.

Unplug the dongle and plug it into a USB port of the Raspberry Pi. It is OK to use a USB 1.1 or 2.0 port.

Prepare the microSD card

It is recommended to use Rufus to write to a microSD card. You can download Rufus from https://rufus.ie/.

We have taken the public download off line. Contact founder, Mr. Qingjun, for the latest image of the Libertas Hub.

Choose the microSD card and the Raspberry Pi image. Leave all other parameters with their default values and click START to initiate the writing process. The image file shall be something like the below,

libertas-raspberrypiN_2022XXXXXXXXXX_fullsd.img

rufus

Two warning dialogs may pop up.

Press "OK" on each dialog to proceed.

Once Rufus is done writing the micro SD card. Remove the card from the PC and plug it into your Raspberry Pi.

Make sure the nRF52840 Dongle and USB drive are also plugged in. Then power up your Pi.

Smartphone App

iOS App is always 10% behind and it is not released yet.

Follow the linkes below to download Android App.

Setup the Hub

There is a button on the dongle. Please ensure you can still access the button while the dongle is plugged into the Raspberry Pi. During Hub admin processes, you may be asked to press the button to prove that you have physical access to the Hub.

Follow this instruction to set up the Hub using Libertas Android App.

https://librehome.com/doc/smartphone_app/managing_hubs/add_a_new_hub/

Note that Raspberry Pi Hub will not be able to use our bridge service. Instead, you will need to set up the dynamic DNS and NAT to access the Hub from the Internet through our Libertas Smartphone App.

Access Libertas IoT Studio IDE

Every Libertas IoT Hub comes with Libertas-IoT Studio, a complete development IDE that is free for everybody.

Libertas Studio

About

An IoT platform that is going to lead in the following decades!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published