Alternatives to Raspberry Pi for Digital Library for Remote Schools

I build solar powered digital libraries for remote schools in Asia and Africa. These libraries are powered by Raspberry Pi + OpenWRT Routers and DFrobot Solar charger controllers for now.



The next generation of digital libraries need to be more to be power efficient than Raspberry Pi. What would be your recommendations? Onboard WiFi is not required as we plan to use USB OpenWRT routers.



The ability to turn off the device safely at night would be added bonus. Something similar to what Power management HAT (<LINK_TEXT text=ā€œhttps://www.seeedstudio.com/Power-Manag ā€¦ -4375.htmlā€>https://www.seeedstudio.com/Power-Management-HAT-for-Raspberry-Pi-Embedded-Arduino-MCU-and-RTC-p-4375.html</LINK_TEXT>) offers.



If I had lot of money, I would have got Seeed Studio ODM to customize a Beaglebone for this purpose but alas I am too broke to consider that at the moment. :frowning:

Hi,



Looks like a good project, Do you have blog or something , interested to read more . :slight_smile:

Hi
I have also been involved with building digital libraries for rural schools in SE Asia and other areas for the last 5 years. We have tried various approaches using RPi and similar, but found them too expensive, complex and unreliable.

The approach we have taken is to use small OpenWrt based wifi routers configured as Access Points and fitted with a (32/64/128GB) USB or SD card holding library content from Open Education Resource (oer2go.org). The devices are typically used in a single classroom supporting up to 30 students. The current library holds around 40GB of information, so with a 64GB memory device there is 20GB available for local content to be uploaded as well.

A typical device is something like the Yun board (https://www.seeedstudio.com/Seeeduino-Cloud-Arduino-Yun-compatible-openWRT-controller-p-2123.html) which uses an Atheros WiFi SoC. We have a custom OpenWrt build specifically to run these devices as a digital library.
It also allows the device to connect to an upstream network to provide Internet access. The software can be open sourced.

The performance of these devices in delivering static web content in the classroom is remarkable. It is perfectly possible to have 30 students concurrently watching Khan Academy videos, or looking through Wikipedia for Schools content.
The power consumption is around 1 Watt so they can be readily solar powered. The Linux firmware is robust and can readily survive power cycling without corrupting the content.

I am really interested to see if SEEED would be interested in making available a new product comprised of the above Yun board plus a 64GB USB memory and a case to provide an out-of-the-box working digital library. Based on existing pricing, such a product should cost $30-40.

There was a very popular project called LibraryBox (http://jasongriffey.net/librarybox/index.php)) which provided software for a similar digital library, but it has folded up. The project had difficulties with complex set up, use of a proprietary device and no library content included. A replacement product addressing these issues should be well received.

There are also possibilities for a more elaborate device based on a better WiFi SoC. An example of such a device is the GLiNet AR750 which provides both 5GHz and 2.4GHz radios, plus additional RAM (128MB cf 32MB) for improved performance.

All comments welcome.

Terry

Hey Terry,

(Thanks @violet for pinging me to respond to this post. :slight_smile: )

Totally agree with your assessment about OpenWRT. Perhaps in next few months Iā€™ll try to release packages to create minimal digital library setup as part of OpenWRT community package feed. Am also working on another project to provide alternative UI for OpenWRT devices using Vue 3 framework instead of Luci.

I had deployed LibraryBox 2.0 devices few years ago. It is a challenge to maintain and port this system since it relies on whole gamut of servers and programming languages.

On hardware front, there is a definite need for affordable, open OpenWRT device with reliable WiFi chips that donā€™t overheat or consume tons for power. These devices could be used not just educational technology product but other maker and IOT solutions.

OpenWRT works on Beaglebone, but I havenā€™t done any real world testing with these devices yet.

For now Gl-inet devices are filling the gap, they also have some high-end devices with built-in sdcard. After running these devices continuously for 1 year in Cambodia, I noticed that their reliability reduced over time. :frowning:

Terry Letā€™s touch base sometime and exchange some notes.

There is an old project page that needs updating. In the beginning I build whole classrooms then pivoted to more digital library approach.

Recently I did a talk in IPFS meetup outlining the history of such projects and current technology limitations both in software stack and hardware platforms.

Hi @hitmanarky

I think the key factors for a successful Digital Library device are:

  • Low cost
  • Reliable
  • Works out-of-the box
  • Readily available worldwide
  • Supports localisation of library content with nil or basic IT skills needed.

My proposal for a new SEEED product for a simple Digital Library is as follows:

  • Start with the SEEED Yun board, based on the Dragino HE module which uses the well proven Atheros AR9331 chipset. At $16 this helps meets the low cost requirement.
    (https://www.seeedstudio.com/Seeeduino-Cloud-Arduino-Yun-compatible-openWRT-controller-p-2123.html)
  • Install an existing, purpose built OpenWrt firmware specifically developed for the Digital Library application.
  • Add a 64GB SD/USB flash memory device which is pre-loaded with OER2GO content so that the device works out-of-the-box when the user receives it. 40GB of OER2GO content plus 20GB for local content to be added.
  • Add a simple acrylic case so the device can be safely handled.
  • Add a USB power cable
  • Ship worldwide to users from SEEED.

All up the cost should be around $40.

Project risks and issues:

  • Hardware, firmware and OER2GO library content already exist, so low risk.
  • Loading 40GB of content onto SD/USB in production.
    Is this feasible / economical / available as a service?
  • Is there market demand for a device at this price point?
  • Is the OER2GO content appropriate (it is English language based)?
    Are there other library collections (eg other language sets)?

Regarding the points you raised:

  • Long term reliability
    Protecting the device from environmental issues such as heat, humidity, dust, salt and power surges will assist. Enclosing in sealed plastic boxes (eg utility or kitchenware) is useful (as per your photo).
    Operating from rechargeable batteries can avoid power issues.
    We have operated these devices in rural/coastal environments for several years without issue.

  • ā€œBetterā€ hardware platform.
    An interesting question. If a small system like AR9331 can service a classroom, what can you gain from a more elaborate hardware platform?
    More CPU speed and RAM will improve micro server performance.

BUT ā€¦ Single Board Computers (SBCs) like RPi etc generally have limited wifi capabilities because the wifi subsystem is usually intended to be used just as a wifi Client to connect to an existing wifi network, rather than as an Access Point.
USB wifi dongles are also notorious for these limitations.

For a micro server you need a good wifi chipset that is set up to work well as an Access Point.
A quick test of the wifi capability of a board is to attempt to connect 30 wifi client devices concurrently and see if the system is stable and the clients can access content reliably at a good rate.

The AR9331 and similar devices operate on less that 2Watts of power, typically from USB source. This makes them easy to power from lightweight power supplies or rechargeable batteries. Solar is also an option.

Lots to think aboutā€¦

BTW Have you a built prototype OpenWRT device that serves educational content? If so, could you please share what worked and what didnā€™t. Thanks!

Hi

Yes I have previously built and deployed a number of Digital Library devices, much as outlined in my product proposal, using re-purposed proprietary wifi routers.

They are typically based on the AR9331 WiFi module or similar and use the library content from OER2GO, a total of 40GB on a 64GB SD card.

The firmware simply mounts the SD card in the router file system and makes it available to the http server.

The OER2GO library content is organised on the SD card with index.html files that provide navigation to the content.

I have recently updated the firmware to the current stable release OpenWrt 19.07.3 with a view to running it on the SEEED Yun device.

I have deployed a number of the devices to rural schools over the last few years and found that they work well in a classroom environment to provide fast access to the library material without the need for an Internet connection.

The question now is whether there is a real need in the market for such a device.

Hi All

We have developed firmware and documentation for the Digital Library project which can run on a number of small wifi devices, including the SEEEDuino Cloud board
(https://www.seeedstudio.com/Seeeduino-Cloud-Arduino-Yun-compatible-openWRT-controller-p-2123.html)

The Digital Library can support up to 128GB SD/USB memory devices to hold library content, and will allow you to connect 30+ WiFi client devices, enough to serve a typical classroom.

You can use whatever library content you wish stored on a USB/SD memory device.

We have developed a ā€˜starterā€™ library of content from the OER2GO.org website. This includes Wikipedia for Schools, Khan Academy, PHET, Siyavula, CK-12 Textbooks, Gutenberg Project, OLE Nepal, Maps of the World, MedlinePlus / Hesperian / Khan Academy Health and Medicine, and Sugarizer Graphical Learning Environment. This library is 40GB in size.

Documentation is available for download here:
http://download.villagetelco.org/firmware/digital-library/documents/

Firmware is available for download here:
http://download.villagetelco.org/firmware/digital-library/releases/

Please try it out and let us know what you think.

Regards
Terry

1 Like

Hey,

Great, Is there a code repository somewhere where we can contribute ?

Cheers

ā€“arky

Github / VillageTelco / Digital Library

Hi All

We have posted some updated firmware for the Digital Library project.
The Ver 2 firmware provides some upgraded facilities around the web server and networking.

The Ver 2 firmware is only available for devices with 8MB or greater Flash memory, so you will notice a limited range of devices compared to Ver 1.

Firmware is available for download here:
http://download.villagetelco.org/firmware/digital-library/releases/Ver-2/Ver-2.1/

Documentation is available here:
http://download.villagetelco.org/firmware/digital-library/documents/Released/

If you have the opportunity to try out the Digital Library firmware please respond to the mail list and let us all know about your initiatives.

Regards
Terry

Hi! I found this link after independently coming up with the same idea (Open WRT routers with USBs with loaded content).

Iā€™m wondering if thereā€™s a need for a cheap ā€œcomputerā€ to connect to these routers (e.g. a raspberry pi zero with a keyboard, mouse, and monitor to surf through websites)?

Terry, I also see that youā€™ve done a lot of work with mesh networks. Iā€™m wondering if youā€™ve experimented with broadcasting a mesh network with this offline educational content so that students can access this in their homes? Or perhaps students can just connect a usb drive to a smartphone/raspberry pi zero device and browse some of this content in their homes offline?

Would love to chat more!

1 Like

Hi,

We are exploring ideas of DWEB to send updates from mobile to mobile in couple of Opensource projects. For instance Mapeo (mapeo.app) can boardcast a new update of the app on the local network for local offline updates.

Few years ago, I had created a PWA (Progress Web App) that uses local storage in the browser to store and display content that could be read offline. The challenge then was the local discovery protocols were in early stages, but today you can use React like framework to download and display content on the device.

Would love to learn more about your use case. Feel free to reach out to me via DM.

Cheers

Arky