【15000円の価値はあるか?】Raspberry Pi 5 レビュー 【ラズパイ5】

イチケン / ICHIKEN
15 Mar 202417:32

Summary

TLDRこの動画は、2023年9月に発表され、日本では無線法や技術規則があるため、2024年に市場に登場したRaspberry Pi 5のレビューです。価格は約15,000 JPYで、前世代モデルよりも高価化しています。ハードウェア構成では、Broadcom BCM2712 SoC、2.4GHz 4コアCortex A76、VideoCore VII GPUが搭載され、Raspberry Pi 4と比べて3倍以上の性能向上が達成されています。また、GPIOの遅延やデスフラッシュ現象についても触れられています。Raspberry Pi 5は、冷却ファンが標準で付いたり、USB Type-C電源が採用されたりと、多くのハードウェア変更が行われています。

Takeaways

  • 📣 ラズベリーパイ5は2023年9月に発表され、日本では無線法や技術規則により2024年に市場に登場しました。
  • 💰 ラズベリーパイ5の価格は約15,000円で、初代から見た場合、価格は徐々に上昇しています。
  • 🔧 ハードウェア構成の変化:RJ45やUSB2.0の位置が変わり、SoCの位置もRaspberry Pi 4から5へと変更されています。
  • 🚀 パフォーマンス:Raspberry Pi 5はRaspberry Pi 4よりも3倍以上の性能を持ち、CPUは2.4GHzの4コアCortex A76を採用しています。
  • 💡 冷却ファン:Raspberry Pi 5には冷却ファンが標準で付いており、熱による問題に対処するように設計されています。
  • 🔌 GPIOの遅延:Raspberry Pi 5ではGPIOの遅延が話題となり、RP1 I/Oコントローラーの導入による影響が調査されています。
  • 🔗 PCIeコネクター:Raspberry Pi 5にはPCIeコネクターがあり、SSDを接続して使用することも可能です。
  • 🌐 ネットワーク速度:有線接続では1Gbit Ethernetをほぼ全力で使用、無線接続では約200Mbpsの速度を達成しています。
  • 🔄 オーバークロック:Raspberry Pi 5のCPUを2.8GHzまでオーバークロックすることができ、約10%の性能向上が見られました。
  • 📚 ライブラリの変化:pigpioライブラリが使用できなくなったなど、Raspberry Pi 5ではいくつかのライブラリに変更があります。

Q & A

  • ラズベリーパイ5はいつ発表され、いつ日本市場に登場しましたか?

    -ラズベリーパイ5は2023年9月に発表され、日本では2024年に市場に登場しました。

  • ラズベリーパイ5の価格はどのくらいですか?

    -ラズベリーパイ5の価格は約15,000円です。

  • ラズベリーパイ5の初期モデルの価格はどのくらいでしたか?

    -初期のラズベリーパイの価格は約4,000円でした。

  • ラズベリーパイ5のハードウェア構成はどのようになっていますか?

    -ラズベリーパイ5はBroadcom BCM2712 SoC、2.4GHz 4コアのCortex A76、VideoCore VII GPUを搭載しています。

  • ラズベリーパイ5のRAM容量はどのくらいですか?

    -現在販売されているのは4GBと8GBのモデルのみで、将来的にはより低いエンドのモデルが増加する可能性があります。

  • ラズベリーパイ5のストレージにはどのような種類がありますか?

    -標準的なストレージはmicroSDカードで、またPCIeコネクターを介してSSDに変換することもできます。

  • ラズベリーパイ5の冷却ファンは必要ですか?

    -ラズベリーパイ5は冷却ファンを内蔵しており、冷却ファンなしでも動作しますが、一定量の熱を発生するため、冷却ファンがあるとより安全です。

  • ラズベリーパイ5のWi-Fiチップは何ですか?

    -ラズベリーパイ5のWi-FiチップはBCM4345で、5GHzでの接続で200Mbpsの上传とダウンロード速度が利用可能です。

  • ラズベリーパイ5のCPUをオーバークロックすることはできますか?

    -はい、ラズベリーパイ5のCPUをオーバークロックすることができます。このテストでは、2.8GHzで安定稼働することが確認され、性能は約10%向上しました。

  • ラズベリーパイ5のGPIO响应時間はどのように変化しましたか?

    -ラズベリーパイ5のGPIO响应時間は、GPIOコントローラーの変更により約1.9μsで、前モデルのラズベリーパイ4よりも速くなっています。

  • ラズベリーパイ5の使用に適した用途は何ですか?

    -ラズベリーパイ5は、電子工作やLinux嵌入式アプリケーションなどの用途に適しており、高いCPU性能と柔軟性があります。また、利用者が多いため、豊富な情報や知見が蓄積されており、サポートが比較的容易です。

  • ラズベリーパイ5の性能向上はどの程度ですか?

    -ラズベリーパイ5は、ラズベリーパイ4と比べてCPUベンチマークスコアで3倍以上の性能向上を示しており、2.4GHz 4コアのCortex A76 CPUとVideoCore VII GPUが搭載されています。

Outlines

00:00

📦 ラズパイ5のレビューと新機能

この段落では、2023年9月に発表され、日本では2024年に市場に投入されたRaspberry Pi 5についてのレビューが行われています。Raspberry Pi 5の価格、ハードウェアの構成、GPIOの遅延、そして新機能についても触れられています。特に、Raspberry Pi 5は前モデルと比べて3倍以上の性能向上し、冷却ファンが標準で付いている点が特徴です。しかし、価格は日々の affordability が低下していると感じられる方向けの意見も述べられています。

05:03

🔦 デスフラッシュ現象と性能ベンチマーク

デスフラッシュ現象について説明し、実際に強い光を当てて現象を再現する実験を行いました。Raspberry Pi 5はHDMIやUSB Type-C周りの回路に強い光が当たると電源が切れるという問題があります。次に、Raspberry Pi 5のストレージ速度、ネットワーク速度、そしてCPUのオーバークロックなどについてもベンチマークを行い、その結果を報告しています。特に、SSDを使用した際の起動速度は約15秒に短縮され、WiFiの速度は5GHzで使用时には約200Mbpsの速度を達成しています。

10:05

🔄 GPIO仕様の変更と応答時間の比較

Raspberry Pi 5におけるGPIOの仕様変更と、それに伴う応答時間の遅延について詳細に説明しています。Raspberry Pi 5ではSoCとGPIOピンの間にI/Oコントローラーが追加され、これによりGPIOの書き込み速度は2.5MHzにまで向上しましたが、応答時間は約1.9μsとわずかに遅くなっています。一方、Raspberry Pi Picoというマイクロコントローラーは、ハードウェア割り込みを使用することで0.1μsの非常に高速な応答時間を達成しています。

15:07

💡 まとめと使用法の提案

Raspberry Pi 5のレビューを締めくくり、その性能向上や新機能について再度強調しています。また、Raspberry Pi 5が日々のコンピュータに近いものになっていると感じたことを共有し、使用法についても提案しています。Raspberry Piの利点として、高可用性、豊富な第三者コンポーネント、そして多くのユーザーが存在することを挙げ、これからの開発環境で Raspberry Pi をどのように活用するかを考えるべきであると結論づけています。

Mindmap

Keywords

💡ラズベリーパイ5

ラズベリーパイ5は、2023年9月に発表され、日本では2024年に市場に投入されたシングルボードコンピュータです。このデバイスは、前世代のラズベリーパイ4よりも大幅に性能が向上しており、新しいハードウェア構成を持ちます。このビデオでは、その性能や使いやすさについてレビューされています。

💡ハードウェア構成

ハードウェア構成とは、コンピュータの物理的な部品やそれらの接続方法を指します。ラズベリーパイ5のハードウェア構成は、前世代のモデルと比べて大きく変わっており、新しいSoC、GPIOピンの配置、電源ボタンの追加など、多くの変更が加えられています。

💡GPIO遅延

GPIO遅延とは、GPIO(General Purpose Input/Output)ピンに対する入力や出力の遅延を指します。これは、データの処理や応答速度に影響を与えることがあります。ラズベリーパイ5では、新たにI/Oコントローラーが導入され、GPIOの遅延が発生する可能性が議論の的となっています。

💡CPU性能

CPU性能は、中央処理装置(CPU)が処理する能力を指し、コンピュータの速度や応答速度に直接関係します。ラズベリーパイ5は、2.4GHz 4コアのCortex A76を搭載し、前世代のラズベリーパイ4よりも3倍以上の性能を持ち、大幅な性能向上を証明しています。

💡冷却ファン

冷却ファンは、コンピュータや電子機器を冷却させるために使用されるファンです。ラズベリーパイ5は、性能向上に伴い、熱量が増加しているため、公式で冷却ファンが利用可能になりました。冷却ファンは、デバイスの温度を効果的に下げ、安定した動作を保証する役割を果たします。

💡ストレージ

ストレージとは、データの保存先を指します。ラズベリーパイ5では、標準でmicroSDカードが使用されていますが、PCIeコネクターを介してSSD(ソリッドステートドライブ)に接続することも可能です。SSDは、microSDカードよりも高速で耐久性が高いため、正常な使用においては快適さが向上します。

💡ネットワーク速度

ネットワーク速度は、データの送受信速度を指します。ラズベリーパイ5は、有線と無線の両方のネットワーク接続に対応しており、1Gbit Ethernetを利用した有線接続では高い速度を利用できます。一方、無線接続では、BCM4345チップを使用しており、5GHzでの接続が可能なものの、速度は有線に比べて遅いです。

💡GPIO仕様の変更

GPIO仕様の変更とは、ラズベリーパイ5においてGPIOピンの制御方法が変更されたことを指します。新しいI/Oコントローラー(RP1)が導入され、SoCとGPIOピンの間にはこのコントローラーが介されています。これにより、GPIOの応答速度が変化する可能性があり、その影響についてもビデオ内で検証されています。

💡死亡フラッシュ現象

死亡フラッシュ現象は、強烈な光が回路に当たることで電子が解放され、それによって動作に故障を引き起こす現象を指します。ラズベリーパイ5では、HDMIやUSB Type-Cなどの周囲の回路に強い光が当たると、電源供給がオフになることが示されています。この現象は、過去のラズベリーパイ2/3でも話題になっており、注意が必要とされています。

💡超周波

超周波とは、CPUのクロック周波数を標準設定より高く設定することです。ラズベリーパイ5では、超周波によってCPUの性能をさらに向上させることができます。このビデオでは、超周波によってUnixBenchのベンチマークスコアが約10%増加することが示されています。ただし、超周波は発熱量が増加するため、冷却システムとのバランスを考慮する必要があります。

💡Wi-Fiモジュール

Wi-Fiモジュールとは、無線LAN通信を行うためのコンポーネントを指します。ラズベリーパイ5には、BCM4345というWi-Fiチップが搭載されており、有線LANとは異なり、無線通信を行うことができます。このチップは5GHzでの接続で最大200Mbpsの速度を利用でき、一定の向上が見られますが、完全な帯域幅を活用できないという課題もあります。

💡microcontroller

マイクロコントローラーは、小さなサイズで単独で動作できるコンピュータチップです。ラズベリーパイPicoはマイクロコントローラーの一例で、ラズベリーパイ4や5よりもはるかに高速なGPIO応答時間を持ち、ハードウェア割り当てにより直接的な接触が行われることで、より迅速な処理が可能となっています。

Highlights

Raspberry Pi 5のレビューが行われた。

Raspberry Pi 5は2023年9月に発表され、日本では2024年に市場に登場した。

Raspberry Pi 5の価格は約15,000円で、初代の約4,000円から価格が上がっている。

Raspberry Pi 5はBroadcom BCM2712 SoCを搭載し、2.4GHz 4コアCortex A76を有している。

Raspberry Pi 5のCPU性能はRaspberry Pi 4から3倍以上向上した。

Raspberry Pi 5はGPIOの遅延が話題となっている。

Raspberry Pi 5は冷却ファンが標準で付いている。

Raspberry Pi 5のGPIO仕様が変更され、RP1 I/Oコントローラーが導入された。

Raspberry Pi 5のGPIO書き込み速度はRaspberry Pi 4の5倍速いることが示された。

Raspberry Pi 5のGPIO応答時間はRaspberry Pi 4よりも早くなっている。

Raspberry Pi PicoのGPIO応答時間はRaspberry Pi 4/5よりも非常に早く、0.1μsである。

Raspberry Pi 5のPCIeポートにNVMeシールドを接続することで、SSDをマウントできる。

Raspberry Pi 5の起動速度はSSD使用時に約15秒に短縮される。

Raspberry Pi 5の無線LANモジュールはBCM4345で、5GHzでの接続が可能な。

Raspberry Pi 5の有線LANは1Gbit Ethernetで、1Gbitの帯域幅をほぼ完全に使用できる。

Raspberry Pi 5のWi-Fi速度は有線よりも遅く、約50Mbpsである。

Raspberry Pi 5のCPUをオーバークロックすると、性能が約10%向上する。

Raspberry Pi 5のGPIO遅延の問題は、I/Oコントローラーの導入が原因であることが示された。

Raspberry Pi 5の使用法について、視聴者が意見を述べることを勧めた。

Raspberry Piの利点として、高い入手性、豊富な第三者コンポーネント、そして多くのユーザーが使用していることが挙げられた。

Transcripts

play00:00

This video is brought to you courtesy of JLCPCB

play00:03

Good afternoon. Today I'd like to talk about Raspberry Pi 5.

play00:05

Review.

play00:07

Raspberry Pi 5 here, announced in September 2023.

play00:10

The product was then launched overseas.

play00:13

In Japan, there are radio laws and technical regulations.

play00:16

It's 2024 and it's finally on the market!

play00:19

We have received the Raspberry Pi 5 that we have been waiting for so long.

play00:23

Finally a review.

play00:24

The actual comfort of use, etc.

play00:26

And then there's the GPIO delays and such.

play00:28

It's been a bit of a topic of discussion.

play00:30

I will review that as well.

play00:32

But first, here are today's sponsors

play00:34

Go ahead.

play00:34

I can make printed circuit boards cheaply and quickly with JLCPCB.

play00:39

The Japanese website of the JLCPCB is now available.

play00:42

Finally open!

play00:43

As I said, the number of orders from Japan has increased considerably.

play00:47

Japanese language support has been updated.

play00:49

Some people who have used it in the past

play00:50

You will be able to order in Japanese

play00:52

Please try the link in the summary section.

play00:56

Here is the Raspberry Pi 5

play00:58

The selling price is around 15,000 JPY.

play01:00

Something surprisingly expensive.

play01:03

I believe the first Raspberry Pi.

play01:05

Considering it cost around 4,000 JPY.

play01:07

The price is becoming less and less affordable.

play01:10

I actually bought the non-technical version before it was sold in Japan.

play01:14

The difference with and without technical certification is

play01:16

The only difference is whether there is a technical seal here or not.

play01:20

It is very difficult to change the specifications for the Japanese market.

play01:23

The main unit is not marked for technical compliance.

play01:25

I have a technical conformity sticker here.

play01:27

This is what I pasted so as not to mix them up.

play01:30

Hardware Configuration

play01:31

We'll see how it compares to the Raspberry Pi 4.

play01:34

It's quite different.

play01:36

I have a Raspberry Pi 5 in my right hand.

play01:38

RJ45 and USB2.0 connectors are in different positions

play01:42

As for this, what used to be this arrangement until Raspberry Pi 3B

play01:45

Since it was replaced by Raspberry Pi 4.

play01:47

I think it's safe to say we're back to normal.

play01:49

Form factor has not changed.

play01:51

Screw hole positions for mounting are the same

play01:53

Here is the SoC.

play01:55

The position of the SoC has changed from 4 to 5.

play01:58

Cooling fans, etc. cannot be diverted

play02:00

Other Raspberry Pi 5 adds a power button

play02:04

Elimination of earphone jacks, etc.

play02:06

There are numerous hardware changes

play02:08

Let's take a look at Raspberry Pi 5

play02:10

SoC is Broadcom BCM2712

play02:14

2.4GHz 4-core Cortex A76.

play02:17

GPU is also built in here.

play02:20

Also from Broadcom, VideoCore VII.

play02:23

It's about CPU benchmark scores.

play02:25

Compared to the Raspberry Pi 4, the Raspberry Pi 5 is

play02:28

More than 3 times higher performance

play02:30

In terms of specifications, the Raspberry Pi 4 is

play02:32

While it was a 1.5 GHz quad-core

play02:35

Raspberry Pi 5 has a 2.4GHz quad core

play02:39

Performance is greatly improved.

play02:41

Previously uploaded video with Raspberry Pi 5 and

play02:44

And with a similar single-board computer.

play02:46

It's called ROCK 5.

play02:48

There is a benchmark spec comparison there.

play02:51

Please take a look at that as well!

play02:53

RAM capacity is described here

play02:56

At the location of the resistor mounted on the board.

play02:59

It is called "display".

play03:01

1GB to 2G/4G/8G and so on

play03:05

Currently available for sale are

play03:07

4GB and 8GB models only.

play03:10

perhaps in the future

play03:11

It is likely that the lineup of lower-end models will increase

play03:14

USB Type-C for power supply.

play03:17

5V/5A recommended.

play03:19

PD does not seem to be supported

play03:21

I'd like PD support anyway.

play03:23

Incidentally, it can work with less than the recommended 5V/5A, but

play03:27

Warning at startup.

play03:29

This time we will use a 5V/3A power supply that we had on hand.

play03:33

Then there is a PCIe connector here.

play03:36

Can also be converted to SSD by connecting to a separate board

play03:39

By the way, standard storage is a microSD card.

play03:42

Raspberry Pi 5 performance increased

play03:44

Fever is getting tighter there.

play03:47

So, from this time forward

play03:48

Cooling fans are now available from the official

play03:51

It works without a cooling fan, but it generates a certain amount of heat.

play03:55

It is still safer to have a cooling fan.

play03:58

Now let's get it up and running.

play03:59

On this micro SD card.

play04:01

Baked OS for Raspberry Pi

play04:03

And this power button. It's attached this time.

play04:06

Press here to activate it.

play04:09

It started up with no problems.

play04:11

Let's do a little browsing, shall we?

play04:13

Comfortable to use.

play04:15

It's a little sluggish.

play04:17

Scrolling is pretty fast.

play04:19

No stress at all.

play04:21

Browsing web pages and other things are working fine.

play04:25

I can display images without any problem.

play04:28

Firm and fast.

play04:30

I'll watch the video and see.

play04:32

Shall we take a look at this video?

play04:38

No crackling at all.

play04:42

Watching videos is a good idea.

play04:43

I think it's rather heavy browsing.

play04:45

It is working fine.

play04:48

Rumored to be in Raspberry Pi 5.

play04:50

I'll take a look at the Death Flash phenomenon.

play04:52

The Death Flush phenomenon is a phenomenon that

play04:54

When strong light hits the circuit here.

play04:56

It is a phenomenon that causes a malfunction in this operation

play04:59

For example, when exposed to strong light from a camera flash, etc.

play05:02

The photoelectric effect releases electrons into the circuit

play05:06

The death flash phenomenon is attributed to it.

play05:09

Now let's give it a real try.

play05:11

I'll try to shine a strong light here while playing the video.

play05:14

Okay, here we go.

play05:16

It looks like this.

play05:18

Stopped.

play05:20

For the circuitry around HDMI and USB Type-C here.

play05:24

Strong light will cause the power supply to turn off.

play05:27

Raspberry Pi 5 will never see that strong of a light.

play05:30

When asked if there is

play05:31

I'm not sure it's that far off.

play05:34

As you can see, it still falls off.

play05:37

For more information on the death flash phenomenon here.

play05:39

It was talked about at the time of Raspberry Pi 2/3.

play05:42

It seems to be 5 here and it's back.

play05:46

Raspberry Pi 5 in terms of performance

play05:47

I found that it seemed to work fine.

play05:50

From here, we will run various benchmarks.

play05:53

We'll start with the storage speed measurements.

play05:55

Raspberry Pi 5 to PCIe port

play05:58

NVMe shield can be installed

play06:01

With it, I can mount SSDs.

play06:04

I actually installed it.

play06:06

You can also confirm that the SSD is securely mounted

play06:10

Speed benchmarked with SSD and microSD.

play06:13

For SSD Both write and read are about 400MB/S

play06:19

Is it a problem with the SSD controller chip here?

play06:22

It's not that fast.

play06:24

However, it is considerably faster than microSD.

play06:27

And I think SSD is more durable.

play06:30

So I think it will be somewhat more comfortable for normal use.

play06:34

I was concerned about the slow speeds when using SSDs.

play06:37

I looked it up.

play06:38

Apparently, changing the setting

play06:40

We found that it can be used in PCIe 3.0 status

play06:43

PCIe 2.0 by default.

play06:46

Here is the benchmark with different settings

play06:48

Sequential performance of around 800 MB per second and

play06:51

The speed has been improved to about twice as fast as before.

play06:53

By the way, here are the startup speeds for the different storage types

play06:57

MicroSD takes about 30 seconds to boot

play06:59

With SSD, startup is reduced to about 15 seconds

play07:03

With SSD, it is about half

play07:06

SSD would be nice to have.

play07:08

However, if you include the price of the SSD itself

play07:11

The total here is more than 20,000 yen.

play07:13

I can go with microSD.

play07:15

I think it's a little expensive for SSD.

play07:19

The next step is to measure the network speed

play07:21

It can be used with Raspberry Pi 5 wired and

play07:23

It can also be used wirelessly.

play07:25

Raspberry Pi 5 has a Wi-Fi module from the beginning.

play07:27

Mounted on this board

play07:29

Here's something about antenna patterns

play07:32

I used iperf3 to measure network speed

play07:36

Here are the measurement results

play07:37

Raspberry Pi 5 wired connection is 1Gbit Ethernet

play07:41

The results show that if wired

play07:43

Both upper and lower 1 Gbit bandwidths are almost fully used up

play07:47

What about wireless, on the other hand?

play07:48

It's a little late to see the results here.

play07:51

Only about 50 Mbps was available both up and down.

play07:55

The fact that the speed is too slow.

play07:57

We investigated this Wi-Fi chip.

play07:59

The chip used is BCM4345.

play08:03

Same as Raspberry Pi 4.

play08:04

I reviewed the Wi-Fi settings and was able to connect at 5 GHz.

play08:08

We'll look at Wi-Fi speeds again at 5 GHz.

play08:11

Then 200 Mbps both up and down and

play08:14

Roughly four times faster.

play08:17

But it wasn't fast enough to use up all the bandwidth.

play08:20

I'll try to overclock the CPU next.

play08:23

The original CPU setting is 1.2V at 2.4GHz.

play08:28

To overclock

play08:29

I edited this file.

play08:31

We will raise the frequency here even higher.

play08:34

This is the upper limit of the frequency at which it will operate without problems.

play08:37

The one we tested this time is 2.8GHz at 1.4V.

play08:42

(At 2.9GHz or 3GHz, the operation becomes a little unstable.

play08:47

2.8 GHz works fine.

play08:50

I'd say it's at the upper end of the frequency range.

play08:52

We also checked how much the processing speed changes

play08:55

Here are the CPU benchmark results

play08:58

UnixBench was used for benchmarking

play09:01

Here are the results.

play09:02

Performance is increased by about 10% before and after overclocking.

play09:07

The results of this

play09:08

In some cases, overclocking is possible.

play09:10

Incidentally, this time with the stock cooling fan installed.

play09:13

We are testing overclocking.

play09:15

Considering heat generation and cooling

play09:18

I think this is about the limit.

play09:20

Next to GPIO Specification Changes in Raspberry Pi 5

play09:23

We will check.

play09:25

The GPIO changes in Raspberry Pi 5 include

play09:27

Between SoC and GPIO pins

play09:30

One controller here can now be pinched.

play09:34

RP1 I/O controller.

play09:36

Raspberry Pi 4 has GPIO pins directly from the SoC

play09:41

On the other hand, what about Raspberry Pi 5?

play09:43

There is a SoC.

play09:44

RP1 I/O Controller

play09:47

And GPIOs are connected in this order

play09:50

This chip is called RP1.

play09:52

As in a typical PC.

play09:54

Serves as a sort of south bridge.

play09:57

Besides that, we are also responsible for USB and Ethernet communication

play10:01

This change in specification to use an I/O controller allows

play10:05

Some say that the GPIO response time slows down

play10:09

Raspberry Pi 5 SoC and RP1 are connected via PCIe path

play10:13

Indeed, the datasheet shows that between PCIe and RP1

play10:18

Usually there is a latency of about 1μs

play10:21

Between GPIO SoC about this.

play10:24

Verify how much delay there is.

play10:27

The first one is the Raspberry Pi 5.

play10:29

We will look at the GPIO write speed.

play10:31

By the way, the program used in this experiment is

play10:34

All written in C.

play10:36

The C language is translated into machine language by a compiler and

play10:39

That's the type of program we're going to run.

play10:41

An interpreter like Python, which I didn't do this time, is

play10:44

Interpret the source code each time.

play10:47

If written in a program

play10:48

In addition, as an effective speed

play10:49

It may be affected by differences in CPU performance

play10:53

Now we are actually measuring the rewrite speed of the GPIO outputs

play10:57

What this does.

play10:59

GPIO output as soon as possible

play11:02

The idea is to switch between HI and LOW.

play11:04

The waveform will look like this

play11:05

HI/LOW is repeated

play11:07

In fact, one waveform cycle here

play11:09

GPIO outputs are rewritten twice

play11:12

The display is about 1.2 MHz.

play11:16

Actually, it's about 2.5 MHz.

play11:18

It means that the rewrite has been done.

play11:20

In addition to this Raspberry Pi 5

play11:22

Raspberry Pi 4 and

play11:23

Also about the microcontroller, Raspberry pi Pico.

play11:25

We conducted a similar experiment.

play11:27

GPIO output write speed is 440 kHz on Raspberry Pi 4

play11:32

Raspberry Pi 5 is 2.5 MHz

play11:35

So Raspberry Pi 5 is about 5 times faster!

play11:39

On the other hand, the microcontroller Raspberry Pi Pico is 16.6 MHz and

play11:42

than these Raspberry Pi 4/Raspberry Pi 5.

play11:45

Outstandingly fast.

play11:46

Also, if you actually look at the waveform

play11:48

Raspberry Pi Pico always has waveforms at regular intervals

play11:51

Raspberry Pi 4/Raspberry Pi 5 is

play11:53

There is a slight swing in the cycle

play11:55

I'm wondering if this is affected by the OS behavior.

play11:57

I'll explain that later.

play12:00

Next, we will measure the GPIO response time.

play12:03

What this does is that after there is an input to a GPIO

play12:06

Time taken to return response to output is measured

play12:10

This response time is in a while loop.

play12:12

Measured with a program that branches conditionally

play12:15

On the output of the GPIO pins of the Raspberry Pi 5.

play12:18

Tact switch is installed.

play12:20

If you press this switch, you will see that

play12:23

The blue waveform has risen.

play12:25

This is the signal from the tact switch.

play12:27

Some time passed after that.

play12:29

Do a little processing inside the Raspberry Pi 5.

play12:32

The GPIO outputs are then turned on.

play12:35

I've tried several times like this.

play12:38

Quite a bit. The width of the signal varies.

play12:41

There is quite a bit of variation in the processing of the contents

play12:45

Here are the results of the experiment

play12:47

There is a variation in response time.

play12:49

I've tried it several times and averaged them.

play12:51

Raspberry Pi 4 is about 4.4μs

play12:54

Raspberry Pi 5 has about 1.9μs

play12:57

Raspberry Pi 5 is faster.

play12:59

I tried the same thing with a Raspberry Pi Pico

play13:02

Raspberry Pi Pico pretty fast.

play13:04

The result is 0.1 μs

play13:06

By the way, the Raspberry Pi Pico is a microcontroller.

play13:09

Hardware interrupts can be used.

play13:11

The response time when using that hardware interrupt is

play13:14

This way.

play13:14

Although the response time has slowed to 2.76μs

play13:18

Response time has been almost constant each time

play13:21

To summarize what we have learned from our GPIO experiments so far

play13:24

These are three.

play13:25

The first one is from Raspberry Pi 4.

play13:27

Raspberry Pi 5 is slightly faster

play13:30

The second is from Raspberry Pi 4/5

play13:32

Raspberry Pi Pico is much faster.

play13:34

And third, the response time of the Raspberry Pi is

play13:37

It's just that it depends on the time and the occasion.

play13:40

Here's a little refresher on computers

play13:44

As written in this diagram, the computer is

play13:46

instructions written to the program in memory.

play13:48

It works by the processor reading them one by one

play13:52

Notable points in this experiment are

play13:54

The Raspberry Pi Pico microcontroller, which is supposed to be inferior in CPU performance

play13:57

Why it was able to run faster than Raspberry Pi 4/5

play14:01

that is to say

play14:02

It lies in the difference in the structure of the software

play14:05

When the microcontroller is powered on

play14:07

Bootloader operates by deploying the program in RAM

play14:10

In other words, the microcontroller is a hardware resource that the program

play14:14

Faster response time due to direct touch

play14:17

On the other hand, what about the Raspberry Pi on hardware?

play14:20

It works by the OS managing a large number of processes

play14:24

This OS allows the Raspberry Pi to

play14:26

Delays due to process scheduling will occur

play14:30

Other factors include

play14:31

GPIO control on the OS

play14:33

There may be delays due to the process of having a mediator

play14:37

Here's a diagram.

play14:38

Compared with Raspberry Pi 4 and Raspberry Pi 5

play14:41

This time we found the Raspberry Pi 5 to be faster

play14:44

This is due to improvements in CPU processing speed and other factors.

play14:47

Possible reasons.

play14:49

Thus, a computer with an OS on it.

play14:51

Slow response time is not an option.

play14:54

I guess it depends on who uses it.

play14:56

If you're playing with electronics or something at that level.

play14:59

That this amount of delay is not a problem.

play15:02

I think most of them.

play15:03

If you want to make the response even faster than this, you can use the

play15:07

It can be a microcomputer or

play15:08

Perhaps it would be better to use FPGAs

play15:11

Other than that, using a real-time OS is also a good idea.

play15:13

I think it would be an option.

play15:16

The rest are libraries that have been usable so far with GPIOs.

play15:19

I heard that the pigpio library is no longer available.

play15:22

There are some pretty significant changes like that.

play15:25

So here we are.

play15:26

I've reviewed the Raspberry Pi 5.

play15:29

If I were you, I would have used this Raspberry Pi 5.

play15:31

How do you use it?

play15:33

Please comment!

play15:34

As a computer, it's like the one we use everyday.

play15:37

I think we're getting a lot closer to a computer.

play15:40

I had that impression when I actually used it.

play15:43

Power consumption heat generation also increases and it gets quite hot.

play15:46

Linux embedded applications.

play15:48

that it may have become difficult to use.

play15:50

I think some of them have a voice.

play15:52

In that case, you could use a Raspberry Pi Zero W or something similar.

play15:54

I think you should use it.

play15:55

Recently, microcontrollers alone can connect to Wi-Fi and

play15:59

And mini PCs like this one.

play16:01

It's emerging quite a bit.

play16:03

This one has an Intel N100 CPU.

play16:06

It is something that can be purchased for roughly 20,000 yen.

play16:08

This is the kind of thing that can be used easily.

play16:10

It's good to see more and more development environments

play16:13

Among them are these

play16:14

You use a single board computer.

play16:16

You use a microcontroller.

play16:17

Or use a mini-PC like this one

play16:20

Considering application, cost, etc.

play16:22

It is a matter of choosing the best fit.

play16:24

This will be important in the future.

play16:26

Among the advantages of the Raspberry Pi are

play16:29

High availability of the main unit

play16:30

Lots of third-party components.

play16:33

And most importantly, there are a lot of people using it.

play16:36

I thought it was in terms of accumulated know-how.

play16:39

this is why

play16:40

If you found this video helpful

play16:42

Please comment, rate and subscribe to our channel!

play16:45

Also, we have an official Ichiken LINE!

play16:48

We will distribute information and sales that are only available there.

play16:51

I'd be happy to be your friend if you'd like.

play16:53

Thank you for watching the video until the end.

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
ラズベリーパイ5性能比較新機能GPIO遅延技術レビューベンチマークRaspberryPiシングルボードコンピュータオープンソース技術アップグレード
¿Necesitas un resumen en inglés?