Category Archives: mesh

Powerbank endurance test for Raspberry Pi 3. | testing how long a raspberry pi can be powered via a powerpank

Iv like to test and know how much uptime can be achieved by different powerbank.

I purchased this powerbank case on ebay and then purchased the 18650 3.7v batteries separately.

I have built two powerbank with identical cases but different batteries. 

  • Powerbank – $5.35
  • Batteries 18650 9600mha – $24.80
  • Batteries 18650 6000mha – $22.49

The results?

  • Batteries 18650 9600mha – 23 Hours
  • Batteries 18650 6000mha – 18 Hours

It should also be noted that the Raspberry Pi is online via wifi during the whole test while getting pinged every minute.

Howto setup Raspberry Pi 3 with Mesh wireless networking using B.A.T.M.A.N. | raspberry pi 3 wifi mesh networking batman howto

For around two years I have been trying to get Mesh networking going on the raspberry pi’s. I have used different Pi’s and bought a heap of USB Wifi dongles which also did not work.

I tried again the other day using an out of the box raspberry pi 3 with the standard Jesse Lite os, this worked.

I have been testing the setup lately and I’m really impressed. I have been able to have connectivity throughout my house and into the backyard, this is around 50+ meters of connectivity through brick walls. I will continue testing of the range and application features.

Here is the howto.

FIrst, we install a few packages we might need.

We download the BATMAN source, and install it.

Here we’ll create the script which we just to establish the wifi network and mesh networking. Save it to /root/mesh.sh. Make sure you change the IP address at the last like and increment upward for each device you setup.

Make the script executable.

Add an entry into the crontab to run it at startup by typing “crontab -e” and adding the following line.

Reboot the Pi and it should be operational, to test type “ifconfig” it should look like this.

Note: the bat0 is the mesh network and the eth0 is the hardwired network connection.

Once you have all the devices online, you can ping to see if they’re online or type this to see if batman can see them

Should look like this.

In this example you can see three other Pi’s online.