Setup Of Iot Bit On Your Mini Computers With Ubuntu Mate

About the project

Our intelligent HAT module provides your Raspberry Pi with mobile data, GPS positioning information and battery support. This is the perfect module for hackers, scientists, and creators as it gives your Pi powerful connectivity wherever you are.

Project info

Items used in this project

Hardware components

IoT Bit 4G & LTE HAT for the Raspberry Pi – UK & EU region IoT Bit 4G & LTE HAT for the Raspberry Pi – UK & EU region https://altitude.tech/product/4g-bit-uk-eu-4g-lte-hat-raspberry-pi/ x 1
IoT Bit 3G HAT for the Raspberry Pi – UK, EU & Asia region IoT Bit 3G HAT for the Raspberry Pi – UK, EU & Asia region https://altitude.tech/product/3g-bit-uk-eu-3g-hat-raspberry-pi/ x 1
IoT Bit GSM HAT for the Raspberry Pi IoT Bit GSM HAT for the Raspberry Pi https://altitude.tech/product/iot-bit-gsm/ x 1
High speed 4G Aerial 28dBi Gain Wireless Network for IOT BIT High speed 4G Aerial 28dBi Gain Wireless Network for IOT BIT https://altitude.tech/product/high-speed-4g-aerial-wireless-network-pianywhere/ x 1
Water resistant GPS 28 dBi antenna for IOT BIT – 4G, 3G and GSM Water resistant GPS 28 dBi antenna for IOT BIT – 4G, 3G and GSM https://altitude.tech/product/water-resistant-gps-aerial-iot-bit-4g-3g-gsm/ x 1
Raspberry Pi 3 Raspberry Pi 3 https://altitude.tech/product/raspberry-pi-3-official-charger-flashed-pianywhere-drivers-16gb-sandisk-micro-sd/ x 1

Software apps and online services

Ubuntu Mate Ubuntu Mate https://ubuntu-mate.org/download/
Etcher Etcher https://etcher.io/
Win32diskimager Win32diskimager https://sourceforge.net/projects/win32diskimager/files/latest/download

Story

IoT Bit is proud to present the 4G Development board, a 4G HAT for the Raspberry Pi which provides 3G mobile data for the Raspberry Pi mini computer. Our intelligent HAT module provides your Raspberry Pi with mobile data, GPS positioning information and battery support. This is the perfect module for hackers, scientists, and creators as it gives your Pi powerful connectivity wherever you are. Simply plug our module into your Raspberry Pi and start playing.(4.5 mbps) – Fast internet connectivity for web browsing and data transfers for your Raspberry Pi, excellent for large downloads and video streaming. The HAT can integrate easily with the software on your operating system giving you access to general internet data through the mobile network. Using our API this hat gives you the ability to send SMS (text) messages. We also give easy access to the GPS on-board which exposes location data. We now have an Upgrade Antenna for 3G & 4G LTE. Just pick Upgrade or High speed in the selection menu or if you want them separately here is the link: HAT Features:        Supports any micro Sim. Slot your Sim card in and get going.   4G Mobile Data for the Raspberry Pi.   Easy set-up, with a single terminal command setup our software to streamline IoT Bit with your Raspberry Pi.  

Wake up your Pi or trigger events with text messages.   Wide range of external antennas for GPS and signal boosting.   High-efficiency power regulation up to 3 amps.   Use for external projects with a solar panel and battery pack.   It can be used in conjunction with our Sensly gas monitoring HAT. Mobile Data Options for the Raspberry Pi mini computer:GSM (85 kbps) – Perfect for logging data from sensors and controlling your Raspberry Pi.3G (4.5 mbps) – Fast internet connectivity for web browsing and small data transfers.4G (100 mbps down/ 50 mbps up) – Ultra fast internet connectivity for your Raspberry Pi, excellent for large downloads and video streaming.Power4G operates at 3.3V, its power supply can be either a 3.6 – 4.2V LiPo battery with a battery protection IC or a 5V USB cable with a minimum of 2A current rating. If you are powering a Raspberry Pi 3 then it will need to have a minimum of 2.5A current rating. Power Consumption Operation // Current Draw    Idle ~25mA   Modem on ~100mA   Sending SMS ~200mA   Making Call ~250mA   Transmitting Data ~400mA

Step 1: Materials Needed

1 x IOT BIT Package

1 x Mini computer package like Raspberry Pi, Eagleye board, Tinker Board and Rock64

1 x Mouse

1 x Keyboard

1 x Monitor (hdmi or adaptor for hdmi)

1 x SD Card

1 x USB

Step 2: 40-Pin Header Layout

The schematic of the 40-Pin header to fit your project accordingly with the available pins.

Available PortsPort//Description

1 Diagnostics port for output developing messages

2 NMEA port which outputs GPS information

3 AT command port

4 Modem port for ppp dial

5 USB-Audio port

Step 3: IOT BIT & Your Mini Computer (Raspberry Pi) Setup

  • Start By Placing the IoT Bit on to the 40 pin header.
  • Plug USB charger into IoT Bit, this will power both the minicomputer and the IoT Bit since the IoT Bit is on the 4 pin header.
  • Do not connect the Mini computer to power.
  • Connect the antenas and gps into IoT Bit.
  • Insert Sim card into the IoT Bit (most major provides accepted)
  • Plug USB into the modem to connect to the mini computer.

Step 4: Setting Up Ubuntu Mate on to Your Mini Computer

To get Ubuntu Mate onto your mini computer you need to first download the disk image, from the link provided below, and Burn it on to the SD card by using Win32 Disk Imager or Etcher You will need an SD card that is 8GB or bigger.Once the image is burnt on to the SD card setup your account and password, you can change the resolution by simply using the comand "Sudo rasp-config" to set it to your preferred resolution.(remember to change the date and time once you have set up your system since it's required for the internet to work properly).

To ensure a more stable system it's recommended that the system be updated, by using the following commands in the terminal "Sudo apt-get update" followed by "Sudo apt-get upgrade".

After a restart you should be on the home page ready to connect to the mobile internet of the IoT Bit

To Download Ubuntu Mate: https://ubuntu-mate.org/download/To Download Etcher : https://etcher.io/To Download Win32diskimager: https://sourceforge.net/projects/win32diskimager/f...

Step 5: Enable Uart

After the Restart there is two more things that need to be changed before we can setup the mobile network before this it is recommended that at this point you backup the system and the config.txt and cmdline.txt files.

  1. Enable uart in the config.txt file, to do this you will need to use the following command line in the terminal:"sudo nano /boot/config.txt"
  2. Scroll down to the bottom and look for the "dtparam=uart0=on" and "enable_uart = 1" and uncomment both lines by removing the "#" symbols, then press ctrl+x to exit the config file.
  3. Next step is to edit the cmdline.txt file by using the following comand line:"sudo nano /boot/cmdline.txt"
  4. Once inside the cmdline change serial0 for tty1 and delete the original tty1 section of the line. Like so:dwc_otg.lpm_enable=0 console=tty1,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

Once this steps are done uart will be working, and both your cmdline.txt and the config.txt files should be changed.

If You wish to use the bash script instead that does all the steps above use the following link: https://github.com/Altitude-Tech/UbuntuMate_Insta...

Step 6: Setup Mobile Network

Once all the previous steps are completed is time to set up the mobile network in Ubuntu this is done by:

  1. Go to System -> Preferences -> Internet and Network -> Network Connections.
  2. Click add and select Mobile Broadband and click on create.
  3. Select the device SimTech and click next
  4. Select your Country/region click next.
  5. Then you should can select your internet provider network (Company will be the one of the SIM card)
  6. Purchase your >

    If you wish to set up your raspberry pi as a hotspot using the mobile network you just setup just follow this steps:

    1. First thing you need to do is to connect the pi to a network network, eg.mobile network from IoT Bit.
    2. In the internet menu click on edit connections then add.
    3. choose a WIFI type connection.
    4. Then when the editing window comes up select the wi-fi tab and set your SSID to your preferred name and change mode to hotspot.
    5. then click on the Wi-Fi security tab and select WPA & WPA2 Personal and type in a password.
    6. finally in the IPv4 Settings tab select "share to other computers".
    7. After saving just enable wifi and click on connect to hidden Wi-Fi network and select connect to the Network you just created.

    Now you shuld be able to connect to this network using your phone other laptops etc.

Code

Ubuntu Mate Install

Credits

Photo of Altitude_Tech

Altitude_Tech

Altitude Tech LTD is founded by professionals and students in the area of robotics, electronics and product design, which makes the team the heart of the company.

   

Leave your feedback...