Giter Site home page Giter Site logo

official-raspberry-pi-beginners-guide-5e's Introduction

official-raspberry-pi-beginners-guide-5e's People

Contributors

bjepson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

official-raspberry-pi-beginners-guide-5e's Issues

[Errata]: Can confirm still no support for physical Sense Hat V2 in Scratch 3

What format of the book has this error? You may select more than one option.

Print

What language of the book has this error?

English (EN)

Page Number or Section

Pg. 155 Physical computing with the Sense Hat

Detailed description

5th edition of The Official Raspberry Pi Beginner's Guide(Chap 7) Raspberry Pi 5 + Physical Sense Hat V2, Scratch 3 lessons are not possible to complete, as of Feb. 23, 2024. I am running 64 bit Pi OS debian. I have not tried the emulator.

[Errata]: Scratch3 does not work on Raspberry Pi 5

Contact Details

No response

What format of the book has this error? You may select more than one option.

Print, PDF

What language of the book has this error?

English (EN)

Page Number or Section

Chapters 4, 6, 7

Detailed description

At the time of writing, Scratch 3 had not received an update to Raspberry Pi 5. A new version is under development, and you can find more information in this issue. We will update this issue when more information is available.

[Errata]: Incorrect description of Pin layout

Contact Details

No response

What format of the book has this error? You may select more than one option.

Print

What language of the book has this error?

English (EN)

Page Number or Section

Chapter 9 page 228

Detailed description

The text explains that, "Pin 19 is the bottom-left, Pin 20 the bottom-right". While the Figure 9-12 shows pins 1-20 on left side and pins 21-40 on the right. This same mistake is also made in 'Getting started with MicroPhython on Raspberry Pi Pico" by Garath Halfacree and Ben Everard (RPi_PiPico_Digital_v11.pdf), on page 35.

[Errata]: Missing preposition

Contact Details

No response

What format of the book has this error? You may select more than one option.

Print

What language of the book has this error?

English (EN)

Page Number or Section

Pg 170

Detailed description

Missing the preposition "in"
"Remember that you need both these lines your program in order..."
Should be
"Remember that you need both these lines in your program in order..."

[Errata]: Missing Python Code

Contact Details

[email protected]

What format of the book has this error? You may select more than one option.

Print

What language of the book has this error?

English (EN)

Page Number or Section

Chapter 6: Computing with Scratch and Python

Detailed description

There is no Python code provided for the Traffic Lights Project.

[Errata]: Sense Hat Emulator does not work under Bookworm

Contact Details

[email protected]

What format of the book has this error? You may select more than one option.

Print, PDF, ePub

What language of the book has this error?

English (EN)

Page Number or Section

Chapter 7

Detailed description

At the time of publication, the Sense Hat Emulator did not work under the newest, Debian Bookworm-based version of Raspberry Pi OS. Scratch 3 did not support Raspberry Pi 5 at the time of publication, either.

However, you can install a version of the Sense Hat Emulator, along with a version of Thonny that can talk to the emulator, with these commands:

sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0 libopenblas-dev
python3 -m venv ~/sense-emu-env
source ~/sense-emu-env/bin/activate
pip3 install pycairo PyGObject sense-emu thonny

Whenever you want to run the Sense Hat Emulator, you'll need to open a Terminal, run . ~/sense-emu-env/bin/activate, then run the Sense Hat Emulator with sense_emu_gui. If you want to use Thonny with the Sense Hat Emulator, you need to run thonny from the terminal after you run the activate command.

You may also find that some Sense Hat Emulator sensors, such as humidity, do not work under 64-bit Bookworm-based Raspberry Pi OS, but will work under the 32-bit version.

A future update to Raspberry Pi OS will eliminate the need for this workaround.

You can more information on virtual environments and why they are required at https://rptl.io/venv

[Errata]: Video format h264 and save-pts not supported on Pi 5

Contact Details

No response

What format of the book has this error? You may select more than one option.

Print

What language of the book has this error?

English (EN)

Page Number or Section

Chapter 8 page 209

Detailed description

I am using Pi 5 with the HQ Camera (I have tried this on 2 different Pi 5s with 2 different microsd cards running 64 bit Bookworm). Every terminal command, for video recording, given in chaper 8 that suggests file format .h264 doesn't produce a working video file. You end up with a file that shows one second of video. Inorder to get a 10 second video from libcamera-vid -t 1000 -o test.h264 you must change .h264 to nearly any other format (.3g2, .3gp, .avi, .f4v, .flv, .m4v, .mkv, .mov, .mp4, or .mpeg) then it will work.

On page 210 libcamera-vid -t 10000 --save-pts timestamps.txt -o test-time.h264 produces again a 1 second video file. But, also produces a file "timestamps.txt" who's contents are only the text "# timecode format v2" and nothing else. The next command mkvmerge --timecodes 0:timestamps.txt test-time.h264 -o test-time.mkv on page 211, returns a terminal error
mkvmerge v74.0.0 ('You Oughta Know') 64-bit 'test-time.h264': Using the demultiplexer for the format 'AVC/H.264'. Error: The timestamp file 'timestamps.txt' does not contain any valid entry.
I made a forum post on this issue at https://forums.raspberrypi.com/viewtopic.php?p=2206818. Later I did some forum searching and I found some posts on Raspberry Pi's forum that included some replys from naushir "Raspberry Pi Engineer & Forum Moderator". Who said "Saving the pts file through the libav encoder (the only available encoder on Pi 5) is not possible" https://forums.raspberrypi.com/viewtopic.php?p=2169261 & "On Pi 5 we currently don't support timestamp output with the --timestamp argument, as this is automatically handled by the libav codec framework" https://forums.raspberrypi.com/viewtopic.php?p=2152504

Perhaps this could be addressed in future versions of the pdf. Bumping into this issue as a beginner I found it to be very discouraging. I have not continued to the end of this chapter. I have no desire complete this chapter for fear of finding other commands not supported on Pi 5 hardware or software. Frustrating, given that I paid for the paperback and the cover states "Fully updated for Raspberry Pi 5". This issue had me thinking my HQ camera was faulty. I know know for sure now that the camera is fine. As, I have bought both a new Pi 5 (and got the same errors) and a new Pi 4, and had no issues. I have tested these terminal commands on pi 4 running 64bit Bullseye, with the same HQ camera, and the commands are all working fine there. I have not tried on Pi 4 with Bookworm.

With all due respect, I must ask. Were these terminal commands tested by the author on a physical Pi 5? If so, please let me know how he got it to produce working .h264 video files.

Missing verb - p4.

Contact Details

[email protected]

What format of the book has this error? You may select more than one option.

Print

What language of the book has this error?

English (EN)

Page Number or Section

4

Detailed description

Paragraph about the radio is missing a verb? "... the component that GIVES Raspberry PI the ability ..." I think "GIVES" is missing in the sentence? Or "provides"?

[Errata]: Possible typo, missing space

Contact Details

No response

What format of the book has this error? You may select more than one option.

Print

What language of the book has this error?

English (EN)

Page Number or Section

pg. 184

Detailed description

On page 184 there is printed "print("pitch {0} roll {1} yaw {2}".format(pitch, roll, yaw)" Should there be a space after the period and before "format"? I see on pages 195 & 197 the word "format' is printed in red unlike the previous occurrence. It is not obvious on pages 195 & 197 that there exists a space (caused by page size limitations, I'm sure), only that on those pages the word "format" is printed in red text. The only way I could get my code in Thonny to show red text for the word "format", was to put a space after the period (some clarification in the book could be helpful for beginners). Also, should there be commas after"pitch {0}", and "roll {1}", like on pages 195 & 197?

[Errata]: Weirdness during experimenting

Contact Details

No response

What format of the book has this error? You may select more than one option.

Print

What language of the book has this error?

English (EN)

Page Number or Section

pg 171 Physical computing with the Sense HAT

Detailed description

Not sure if this belongs in "Issues" but, I didn't see a general discussions tab.

During experimenting as suggested on page 171, I found that the LEDs turned off with any RGB value of 47 and below. So, "sense.clear(47, 47, 47)" would turn the panel off, while (48, 48, 48) would show a much dimmed white. Is this an error or just voltage too low for LEDs to operate? Curious, indeed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.