The Raspberry Pi 3 Model B is the earliest model of the third-generation Raspberry Pi. It replaced the Raspberry Pi 2 Model B in February 2016. See also the Raspberry Pi 3 Model B+, the latest product in the Raspberry Pi 3 range. Quad Core 1.2GHz Broadcom BCM2837 64bit CPU; 1GB RAM; BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board. Pi 3 Model B vs. Pi 2 Model B (V1.2) The upgrade from the Model 2 to Model 3 opens up your connectivity abilities. WLAN, Bluetooth and Bluetooth Low Energy (BLE) are all available on-board the later Model 3 boards. This new connectivity is ideal for your Internet of Things (IoT) designs as you can communicate much easier with other supported. Now that the Old Raspberry Pi Model B SD Card is up to date and the New 128mb MicroSD card are ready we are ready to put it all together. Insert the 128mb Micro SD into the Model B+ On the underside of the Raspberry Pi(See Image) - Make sure to click it in place. Broken MicroSD slot on Raspberry Pi 3. Additional microSD slot on RPi3? Pi 3 not able to read the SD card, the green LED is blinking.
The Third Pi
The Raspberry Pi 3 changes the game with its fast, 64-bit CPU and support for WiFi and Bluetooth.
The Raspberry Pi celebrated its fourth birthday on February 29, 2016, and, as befitted a leap year birthday, the Raspberry Pi Foundation surprised everyone with the release of a third-generation model of its popular nanocomputer [1]. The most important improvements for the new Raspberry Pi include a new 64-bit processor and integrated WiFi and Bluetooth. The price for the new model is unchanged at $35, but the question is whether the new model will satisfy the demands of the community. I decided to take a close look at the latest member of the Raspberry Pi family.
First Impressions
A quick glance at the Raspberry Pi 3 (RPi3) reveals a strong similarity to the RPi2 (Figure 1). The four USB ports, power supply jack, and 40-pin GPIO header are all in the usual place. The micro-USB port for power, the HDMI port, the audio and video connections, and the ports built onto the board for connecting a camera and display are all present. However, a closer look reveals some differences.
The two LEDs, ACT and PWR, now light up next to the micro-USB port. The RUN header, which the Rasp Pi uses for rebooting, has found a new home next to the USB port. These components had to move because of the presence of the compact chip antenna. The accompanying Bluetooth/WiFi combination chip BCM43438 gives off a silvery shine on the underside of the board next to the microSD slot (Figure 2). By comparison, the chip responsible for the Xenon flash does not shine anymore. It is now coated in black, possibly because of an issue with the Xenon flash that appeared with the RPi2 [2]. Also on the underside of the RPi3, the user will see the 1GB of RAM carrying the ELPIDA label.
One detail worth mentioning is the change in microSD slots. Instead of the earlier push-push microSD slot, the third generation Rasp Pi comes with a customary microSD slot that accepts an SD card without the need for a spring mechanism. This change prevents accidental ejection by mistakenly clicking on the card when inserting USB devices, which was a problem with models 2 and B+. One drawback to the new card slot is that it might be difficult to remove a card without an assist from the spring action.
The SMSC LAN9514 Hub chip separates a USB 2.0 port on the BCM2837 into four USB 2.0 ports and a 10/100Mbps network port. Thus, this well-known Rasp Pi bottleneck still exists. Even so, the WiFi and Bluetooth modules are mounted on their own ports and no longer need to share bandwidth with the remainder of the USB devices. Network boot is another interesting new feature (see the box titled 'Network Boot.')
Previous Raspberry Pi models could boot via I2C, although this function was rarely used. The new BCM2837 chip now has a modified boot ROM, which makes it possible to start a system via the network (PXE/TFTP) or a USB bulk storage device. Under the newly modified approach, the system first tries to boot via I2C, then via a microSD card or USB, until it finally searches via a DHCP query for a boot medium on the network.
The Raspberry Pi Foundation's goals with the RPi3 were to achieve compatibility, maintain pricing stability, and meet the demands of the educational market. Users will have to look elsewhere for pricey goodies like additional working memory, a SATA connection, a gigabit Ethernet port, and USB 3.0.
WiFi and Bluetooth
The Broadcom BCM43438 WiFi/Bluetooth combo kit transmits only in the 2.4GHz spectrum and provides WiFi (802.11b/g/n standard with up to 72.2Mbps net throughput), Bluetooth 4.1 (Classic as well as Low Energy), and even an FM radio receiver, which is not enabled on the Pi. (See the box titled 'No Radio.') WiFi and Bluetooth are implemented on the chip as completely independent capabilities. The only connection between the two functions concerns negotiating access to the antenna. The chip supports just a single antenna, so it doesn't support a MIMO configuration.
The Broadcom BCM43438 WiFi and Bluetooth chip has an FM radio module, but you can't activate this function on the RPi3. The antenna pin necessary for activation is in an inaccessible location on the underside of the chip. The pin is surrounded by more important pins that absolutely require connection.
MIMO (Multiple Input, Multiple Output) is a process for using multiple sending and receiving antennae for wireless communication. MIMO systems can transmit considerably more data per hertz of bandwidth used than a single antenna system.)
The WiFi adapter for the RPi3 maxes out at a gross data rate of 72.2Mbps. Measurements of the net maximum data throughput of about 40Mbps are reported on various websites. In the test for this article, I used two RPi3 systems and connected them via WiFi, with one serving as a client and the other serving as an access point. The throughput measured by using iperf
was approximately 38.5Mbps. Theoretically, this data rate suffices, even for streaming 4K videos, which only require up to 16Mbps in H.265.
The microSD slot on the RPi3 now uses the second SDIO port of the SoC (Broadcom SD host). The advantage to this approach is that it offers more finely grained overclocking and thus greater SD speeds. Both SDIO ports work independently of one another, which means the entire bandwidth is available for the SD card and WiFi. To decrease the CPU load, AES encryption for the wireless network is performed on the BCM43438 in hardware.
The developers have optimized the wireless performance to the maximum legal level. Raspberry Pi creator Eben Upton was pleasantly surprised at how well the WiFi function worked, even with the Rasp Pi sitting inside of a Flirc aluminum case. The intrepid users among us who want to optimize reception further can modify a U.FL jack, which is a miniature HF plug connector, to equip the RPi3 with an external antenna. An extra antenna might not be necessary, though, because the RPi3 tested here maintained a connection to a router that was two stories above where the Rasp Pi was located.
TIP: Use the wavemon software package to monitor the quality and data throughput of the current WiFi connection.
Versions of Raspbian starting with releases from 2016-02-26 already support the WiFi adapter. To connect with wireless networks, the user merely selects the adapter from the Network menu and enters the appropriate password (Figure 3). The system stores the access data in the wpa_supplicant.conf
file under /etc/wpa_supplicant/
. If you prefer to work at the command line, you can use text-based tools such as wicd-curses
to manage the WiFi configuration (Figure 4).
One way of localizing the settings is via the graphical desktop, starting with the Localisation tab in Preferences | Raspberry Pi Configuration and then clicking the Set WiFi Country button. Alternatively, you can edit the /etc/default/crda
file and modify the last line with a setting for your regulatory domain [3]. You can also perform this configuration via raspi-config
. European users can use correct settings to switch to channels 12 and 13, which are forbidden in the United States.
The new WiFi function offers many interesting possibilities for use with the Internet of Things. For example, you could set up a Rasp Pi with a camera module functioning as a monitoring device with access via WiFi. Alternatively, you could outfit a Rasp Pi with sensors on the GPIO and transmit measurements via WiFi, or you could equip a Rasp Pi with a unicorn HAT that is an RGB LED matrix display, mount the computer as a clock or a lamp on the wall, and control the device via WiFi. (See the box titled 'HATS.') Another interesting idea for an application would be to connect a Rasp Pi temporarily to a network via a mobile hotspot on a smartphone for transmitting updates or measurement values.
HAT stands for Hardware Attached on Top, the designation used for add-on boards that are standardized for the Rasp Pi's 40-pin GPIO. The Rasp Pi can automatically load the drives needed for the added board on two dedicated pins reserved for an EEPROM. The EEPROM holds information about the drives that are automatically loaded via I2C.
The BCM43438 does not support the monitor mode needed for monitoring the WiFi function, but it does have an access point mode. See the box entitled 'Access Point with Bridge-utils and Hostapd.'
Raspberry Pi 3b+ Micro Sd Slot
You can easily adapt a RPi3 connected to a router with a cable to act as an access point for connecting WiFi devices to the LAN. First, add the lines from Listing 1 to the configuration file /etc/network/interfaces
, taking care to use a pound symbol #
to comment out all lines relating to WiFi0
, which already exists.
Install the packages hostapd and bridge-utils (Listing 2) for the access point mode. After that, create the /etc/hostapd/hostapd.conf
file and populate it with the content of Listing 3. The ssid
variable refers to both the name of the WiFi generated by the Rasp Pi and the wpa_passphrase
, the network key you will need to modify according to personal preferences. In the interest of security, the user should modify the rights to the file so that only the root user can read the file after it has been saved:
The last step is to enter the path to the configuration file in /etc/default/hostapd
:
Now restart the Rasp Pi. The access point automatically begins to operate during the boot process.
Add to /etc/network/interfaces
Access Point Packages
hostapd.conf
« Previous123456Next »
Buy this article as PDF
Buy Raspberry Pi Geek
UK / Australia
Related content
- Setting up Bluetooth on the Raspberry Pi 3
The Raspberry Pi 3 comes with Bluetooth capability already on board, making it possible for every user to take advantage of this wireless technology.
- Use the Rasp Pi to log data from bicycles and motorcyles
University students take the Raspberry Pi to the streets, using it as a data logger for bicycles and motorcycles.
- Creating a 3G hotspot with the Raspberry Pi
WiFi is available for free in so many public places that Internet access via a UMTS mobile cellular system would appear to be unnecessary. However, a Raspberry Pi with a UMTS stick can create a personal hotspot that creates independence from public WiFi networks.
- Installing WiFi on the Raspberry Pi
Integrated Bluetooth and WiFi are important additions to the Raspberry Pi 3. We show you three different methods for adding your Pi to a wireless LAN.
- The Raspberry Pi celebrates its fourth birthday
The Raspberry Pi has been around for four years now, and on March 5, 2016, its birthday was celebrated with a party held in Cambridge, England. We review the history of this British nanocomputer.
AdoPiSoft Basic Setup with Raspberry Pi 3
This is a basic guide on how to flash AdoPiSoft software into Raspberry Pi 3 Model B/B+ and have a working coin-operated wifi hotspot machine. You can also use this guide to reformat your old machine and install our latest image.
If you want a production-ready wifi hotspot machine, please contact the distributors.
Step 1: Prepare the materials needed
If you don't have the coin acceptor yet, you can still proceed to install the software and configure your wifi vending machine as long as you have araspberry pi,power supply(for raspberry pi) and amicro SD card. You won't be able to test the payment functionality though.
- Raspberry Pi 3 Model B or B+
- Universal Coinslot / Multi-coin Acceptor
Others
- 4GB (or higher) Micro SD Card - class 6 or 10 (important)
- Micro SD Card Reader
Important: The micro SD card must be of high quality. Use Sandisk Ultra or Samsung Evo
- Raspberry Power Supply
12 Volts DC Power Supply
12V DC at least 1A output power supply.
This is used to power the coin acceptor. You must identify the positive and ground terminal using voltmeter.
Step 2: Software Installation
Needed softwares:
- Download and install Etcher to your computer.
- Download Ado Piso WiFi Raspbian Image
After downloading the needed softwares, we need to flash the installer into the midro SD card using Etcher. To do so, unzip the contents ofadopisowifi.zip
Insert the micro SD card into the your computer using a card reader.
Open Etcher and click Select Image.
Raspberry Pi 3 B+ Micro Sd Slot Machine
Then select adopisowifi-(version).img
from the zip file.
Make sure to select your micro SD card
Click the Flash!
button and wait for the process to finish.
Raspberry Pi 3 B+ Micro Sd Slots
NOTE:If you encounter prompts about formatting your sd card, just click Cancel.
Step 3: Configure The Machine
IMPORTANT:
Make sure you do the following before turning on the raspberry:
- Insert the SD card into the raspberry sd slot.
- Insert the LAN cable into the ethernet port of raspberry pi and make sure it is connected to internet
Note: You don't have to insert a monitor to the HDMI port.
Turn on the raspberry pi and wait for the AdoPisoWifi
WiFi network to appear, it may take a couple of minutes.
Connect to the wifi network using your laptop or smartphone. Once connected, open a browser and go to http://10.0.0.1/admin
If you don't have the coin acceptor yet, you can still proceed to install the software and configure your wifi vending machine as long as you have araspberry pi,power supply(for raspberry pi) and amicro SD card. You won't be able to test the payment functionality though.
- Raspberry Pi 3 Model B or B+
- Universal Coinslot / Multi-coin Acceptor
Others
- 4GB (or higher) Micro SD Card - class 6 or 10 (important)
- Micro SD Card Reader
Important: The micro SD card must be of high quality. Use Sandisk Ultra or Samsung Evo
- Raspberry Power Supply
12 Volts DC Power Supply
12V DC at least 1A output power supply.
This is used to power the coin acceptor. You must identify the positive and ground terminal using voltmeter.
Step 2: Software Installation
Needed softwares:
- Download and install Etcher to your computer.
- Download Ado Piso WiFi Raspbian Image
After downloading the needed softwares, we need to flash the installer into the midro SD card using Etcher. To do so, unzip the contents ofadopisowifi.zip
Insert the micro SD card into the your computer using a card reader.
Open Etcher and click Select Image.
Raspberry Pi 3 B+ Micro Sd Slot Machine
Then select adopisowifi-(version).img
from the zip file.
Make sure to select your micro SD card
Click the Flash!
button and wait for the process to finish.
Raspberry Pi 3 B+ Micro Sd Slots
NOTE:If you encounter prompts about formatting your sd card, just click Cancel.
Step 3: Configure The Machine
IMPORTANT:
Make sure you do the following before turning on the raspberry:
- Insert the SD card into the raspberry sd slot.
- Insert the LAN cable into the ethernet port of raspberry pi and make sure it is connected to internet
Note: You don't have to insert a monitor to the HDMI port.
Turn on the raspberry pi and wait for the AdoPisoWifi
WiFi network to appear, it may take a couple of minutes.
Connect to the wifi network using your laptop or smartphone. Once connected, open a browser and go to http://10.0.0.1/admin
username:admin
password:admin
(The machine is also accessible in your ethernet using its WAN IP.)
Step 4: Connecting All Components
Connect all the connections base on the circuit diagram. Make sure to check the positive ang negative terminal of the 12V DC power supply for the coinslot to work properly.
Step 5: Update the Software
Software is constantly being improved, you need to update the software after installation to get the latest features. To update the software, go to the admin settings and navigate to Device
section. Then click the Check For Updates
button at the bottom of the page. Then click for Install Updates
button.
Join our Community
We have a lot of users that have already created a machine using our software. Join our discussions and see what others are doing with their wifi vending machines.
Note:
Raspberry will use it's built-in wifi module to broadcast the SSID. But its signal is very weak and recommended only for testing purposes. It is best to upgrade the antenna using external access point / CPE antenna to extend the wifi range and speed of your wifi vending machine.