Jump to ratings and reviews
Rate this book

Raspberry Pi kuvar za Python programere

Rate this book
Knjiga Raspberry Pi kuvar za Python programere je napisana u formatu kuvara, predstavljajući primere u stilu recepata.


Knjiga
• Instaliranje prvog operativnog sistema, deljenje fajlova preko mreže i pokretanje programa sa udaljene lokacije.

• Oslobađanje skrivenog potencijala Raspberry Pi-evog moćnog Video Core IV grafičkog procesora pomoću hardverski ubrzane 3D grafike.

• Kreiranje sopstvenih elektronskih kola koja vrše interakciju sa Raspberry Pi-jem

• Interfejs sa add-inovima za određenu namenu i prilagođavanje uređaja za domaćinstvo


Šta ćete naučiti iz ove knjige?
• Podešavanje i pokretanje Raspberry Pi-a prvi put

• Kreiranje desktop aplikacija i jednostavno rukovanje slikama i procesnim fajlovima

• Iskorišćavanje grafika i korisnička kontrola za kreiranje sopstvenih uzbudljivih igara

• Kreiranje 3D svetova korišćenjem Raspberry Pi-ovog moćnog GPU-a

• Otkrivanje načina kreiranja sopstvenih električnih kola koja vrše interakciju sa Raspberry Pi-jem

• Upotreba Raspberry Pi kamere za kreiranje animacija i vremenskih kruženja

• Dizajniranje i kreiranje sopstvenih robota kontrolisanim pomoću Raspberry Pi-a

• Preuzimanje kontrole stvarnog sveta i povezivanje sa fizičkim hardverom i kombinovanje hardvera i softvera za potrebe korisnika


Detaljno
Fondacija Raspberry Pi prodaje svoje računare od 2012. godine, u cilju da inspiriše programere i inženjere.
Raspberry Pi kuvar za Python programere je praktičan vodič za dobijanje maksimuma od malog računara koji se zove Raspberry Pi. Ova knjiga sadrži brojne savete za upotrebu Raspberry Pi-a i prikaz najboljeg što on ima da ponudi, predstavljajući detaljne Python 3 primere koje možete da naučite i proširite; videćete gde će vas odvesti vaša kreativnost!

Knjiga „Raspberry Pi kuvar za Python programere“ započinje tako što vas vodi kroz podešavanja Raspberry Pi-a, izvršavajući zadatke pomoću Pythona 3, i predstaviće vam prve korake za povezivanje sa elektronikom. Radeći primere iz poglavlja, vi ćete nadgraditi svoje veštine i znanje i primenićete ih dok privodite čitanje knjige kraju, uranjajući sve dublje i dublje u jedinstvene mogućnosti i funkcije Raspberry Pi-a.

Kasnije ćete naučiti kako da automatizujete zadatke pristupanjem fajlovima, kako da kreirate aplikacije korišćenjem popularne Tkinter biblioteke i kako da kreirate igrice kontrolisanjem grafika na ekranu. Iskoristićete moć ugrađenog grafičkog procesora upotrebljavajući Pi3D za generisanje sopstvenih visokokvalitetnih 3D grafika i okruženja. Povežite se direktno na hardver pinove Raspberry Pi-a za kontrolisanje elektronike, od prekidača za LED svetla, do uključivanja dugmadi za pokretanje motora i servoa. Naučićete kako da pratite senzore za sakupljanje podataka iz stvarnog sveta, kako da ih upotrebite za kontrolisanje drugih uređaja i kako da pregledate rezultate putem Interneta. Primenićete ono što ste naučili tako što ćete kreirati sopstvene Pi-Rover ili Pi-Hexipod robote. Na kraju, istražićemo upotrebu mnogih add-inova za određenu namenu koji su dostupni za Raspberry Pi, kao i povezivanje sa uobičajenim uređajima u domaćinstvu na nove načine.

Knjiga „Raspberry Pi kuvar za Python programere“ će vam poslužiti da istražite mnoge mogućnosti koje ovaj mikro računar ima. Praćenjem jasnih primera možete da naučite neke nove veštine i naoružate se alatima za kreiranje sopstvenih uzbudljivih i interesantnih projekata.


Pristup
Knjiga „Raspberry Pi kuvar za Python programere“ je napisana u formatu kuvara, predstavljajući primere u stilu recepata. To omogućava da direktno pređete na temu koja vas interesuje ili da pratite temu kroz poglavlja da biste stekli temeljno znanje.


Za koga je ova knjiga?
Cilj autora ove knjige je da vam bude predstavljen širok spektar Python 3 primera i praktičnih ideja koje možete da razvijete i prilagodite svojim potrebama. Modifikovanjem i kombinovanjem primera za kreiranje sopstvenih projekata učićete mnogo efikasnije i sa većim razumevanjem. Svako poglavlje je dizajnirano kao osnov za dalje eksperimentisanje i istraživanje teme, obezbeđujući alatke i informacije koje možete odmah da iskoristite.

Očekuje se da čitaoci poznaju koncepte programiranja i Python (ako je moguće Python 3), mada bi i početnici mogli da se uključe uz pomoć dobre knjige za Python programiranje. Nije potrebno da poznajete Raspberry Pi ili elektroniku; međutim, za poglavlja o hardveru biće vam potrebne neke osnovne elektonske komponente/aparati za domaćinstvo, za kreiranje nekih od projekata.

400 pages, Paperback

Published January 1, 2014

28 people are currently reading
73 people want to read

About the author

Tim Cox

22 books2 followers
Born in Arlington, Texas and raised in Pasadena (TX), Tim earned a Computer Science degree from the University of Texas (Austin) and a masters in Business from St. Edwards. He has developed sophisticated computer systems for Texas Instruments, Wayne-Dresser and Dell, innovating technical products such as a spy satilite system, credit card readers in the gas pump and Dell's first web PC.

He retired from the high-tech world in 2007 to pursue changing our country. Specifically, he has created a new system for selecting our representatives and intends to evict all 435 members of the U.S. House of Representatives.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
11 (45%)
4 stars
8 (33%)
3 stars
5 (20%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
5 reviews2 followers
August 13, 2014
No-brainer for Raspberry Pi owners...

If you are considering buying this book then you probably have a general interest in learning about the Raspberry Pi ("RPi" for short) and/or you have a specific objective in mind and looking to use the RPi to achieve it. Don't worry, this book has you covered both ways, more than adequately. It nicely complements the hacker spirit that the Raspberry Pi project is aiming for.

First some facts and a few small niggles but keep these in perspective, it's a large book and these are minor in comparison to the majority of the content...

Old school hacking was first about getting the machine and plain software to do your bidding. It was also about getting the machine connected to other devices and home-brew circuits. Finally, for the hard core, it was about mastering subsystems and low level hardware, what they called "scraping the metal". It's not entirely possible to this last type of hacking on the Raspberry Pi due to the need to protect intellectual copyright, though to be fair the RPi Foundation and Broadcom continue to make progress in this direction.

So it is no surprise that this book sticks to the first two types of old-school hacking and often employs high level libraries to do it's bidding where low level access is needed. This is fair enough but note that there are lower level API's to be explored once you become proficient in what the book has to offer. As the book itself states, consider the content as a "starting point". It makes a fine launchpad no matter which directions your technical interests are heading.

The format of the material is generally code-followed-by-explanation. Personally I like to see new/important concepts introduced before the code so that the code makes a bit more sense on first reading. Your preference may differ so this is not a big deal. However, to Python beginners, I would recommend manually entering the smaller programs rather than simply opening up a ready-made file. Typing means you are *doing* something and this speeds up your learning.

The choice of Python3 over Python2 might be contentious for some. I'm ok with it and if you are a beginner then you may as well learn the latest version. If you have a strong preference for Python2 then I don't think it would take much effort to back-port the code.

The book makes no mention of opto-isolators/couplers which is a common way to provide circuit protection. Possibly a small oversight and doesn't impact any/most the circuits used in the book. In fact I'm pretty sure the relay module on page 320 uses them anyway (probably the two small 4-pin packages on the right-hand side)

An oscilloscope is an essential tool for serious hardware hackers and while the book makes use of "scope traces" (page 327) it doesn't actually explain where they come from. This is a little surprising since chapter seven deals with reading and dynamically plotting ADC data so it's already more than halfway towards creating a hobbyist level oscilloscope. It would be good to see this as a project in a future revision.

The camera add-on is potentially one of the most interesting things to people like me who are into computer vision and computational photography so I would have liked to have seen OpenCV/SimpleCV examples. Ultimately the author will have had to draw a line somewhere but this would have complimented the chapter on robotics.

Putting the above into perspective...

This is a large well written book that works thoroughly through every example and adds tips and advice that you would struggle to compile from other sources. The breadth and depth of topics covered is amazing even for a book that runs to nearly 400 pages. Cookbooks don't usually attempt to cater for the absolute novice but this one does and is therefore an excellent choice for beginners.

I am pleased to see the much under appreciated IDLE and Tkinter being used as well as many excellent third party modules. Many aspects of Python programming are covered but in a way that is very relevant to the task in hand. Many people will find this way of learning programming much more enjoyable than a book solely focused on programming concepts.

With such a wide variety and range of topics it would be difficult and a little unfair to single out any particular chapter so I'm going to suggest you look over the list of contents and read the sample chapter. I doubt this book will disappoint anyone, more likely it will pleasantly surprise many.

The "Hardware & Appendix List" appendix will save you a significant amount of time searching and selecting components for your own projects.

In summary, this is a fantastic way to learn not only about the Raspberry Pi but also about Linux, Python, GUI's, graphics, interfacing with the real world and a whole host of other topics & concepts. I fully expect this book to be quoted in the future as being the inspiration for budding hi-tech entrepreneurs!
1 review
July 30, 2014
This is by far the best book I read on Raspberry Pi, presenting a lot of interesting projects ranging from creating 3D games, publishing in the cloud sensory data, using camera to view at a remote site, building robots controlled by RPi, controlling a LED matrix to display words, and so on.
This book requires I would say one a beginner's level knowledge of electronics, which even I have. And I guess that people that are better in electronics would appreciate the simpler programming alternative offered by Python and the many programming resources available on the Internet.

Some concrete comments on the chapter:
- regarding Chapter 10, I know somebody who worked on a similar project with an LED matrix for an industrial clock (see details at http://www.omega-it.ro/products/smart...
- regarding Chapter 7, myself I was interested in publishing sensor data with RPi and I was very glad to see an extensive chapter on how to collect data and how to publish them on online services like Xively, etc, in order to view them later. Note there is also another project, DaisyPi, available at http://daisypi.ro/, which creates an extensive sensing device out of RPi.

There are a few other interesting applications I didn't see in the book and I am very much interested in getting more info on:
- transforming your TV in a SmartTV I found it a great value-added extension, only by buying the ~70 Euros RPi device. See http://www.robofun.ro/raspberry-pi-si... for more information.
- using an USB TV Tuner with RPi in order to capture signal from a professional analogue surveillance camera (or to watch TV channels on a TV to which RPi is connected to.)

Aside from that, I am happy to see Python becoming more and more of a RAD (Rapid Application Dev) systems language. On a side note, there is also the "Mobile Python" book (http://www.amazon.com/Mobile-Python-p...) which is really great, and one of the first. And the list can continue.

I was already familiar with books on Open Hardware platforms, like Arduino. While Arduino uses a microcontroller (making it more low power than RPi and able to use analogue sensors, etc), RPi is basically a small computer (embedded platform) based on an ARM processor able to run Linux, connect to the Internet, capture a camera stream and process it, etc. There are other open boards these days: Olimex Olinuxino (which is more industrial and even if it claims to be even more open platform that RPi it lacks the many users and resources RPi has on the Internet), Intel Galileo, etc.

Another good book is "RaspberryPi Cookbook" http://www.amazon.com/Raspberry-Pi-Co....
And also, there's a good magazine, The MagPi, http://www.themagpi.com/.
6 reviews
August 19, 2014
If you have a Raspberry Pi, the like hood of you being an computer enthusiast is really high, then I would strongly suggest this book to take a step further and take to the limits the power of this bare bone computer.

Although the learning curve this book offers is considerably pronounced (preferred reader with previous programming knowledge), Python is an easy language to pickup, with a comprehensive number of examples and line-by-line explanation of what is going on during execution, this book will guide you from a simple “hello world” to a 3D environment using the library pi3D.

But it is not just about the software, it also helps you to understand the Raspberry Pi hardware in order to interact with leds, diodes, resistors or motors and have them under your full control. But a led gets boring quite easy, what about a Camera, or a robot bridged by a Microcontroller and controlled using a python scrip. Possibilities are endless.

I barely have downsides for this book apart from the hardware acquisitions that must be done, but of course, the author has an appendix with all those devices and where to get them.
Profile Image for 健瑋 黃.
1 review4 followers
August 10, 2014
很久沒有看電子書了,最近剛好拿到幾本來看,這本是其中的一本,大致就是在講 Python 在 Raspberry pi 上如何使用和如何操作 Raspberry 的一些硬體功能,像是 GPIO 和 Camera 之類的。其實這本書跟我想像的有點不太一樣,它比較偏向硬體操作,大部分的章節都是如此,反而比較沒有偏向單軟體應用的,所以像我這種硬體不太行的就有點吃癟了QQ。另外要注意的是這本書用的是 Python3,不是 Python2,然後 Raspberry Pi 的作業系統應該是 Debian based 的,這本書裏面其實需要裝蠻多套件的,常看到一堆 apt-get,所以如果像是用 Arch 之類的話就要注意,可能對應的套件也還是會有,不過就需要找一下這樣。

書裏面大致分幾個部分:

如何使用 Raspberry Pi。對於第一次摸這塊板子的人有這個章節真的會比較更容易上手,不過跟 Python 其實關係就不大了,是說這部分內容還佔滿多的,我是覺得可以不需要那麼多XD。
用 Python 做視窗程式,寫遊戲,畫 3D model。這部分我是覺得有點囧,一般應該不會有人想用板子來做 3D model 還是啥遊戲的吧...,個人覺得這部分實用度不高。如果有啥做 webpage grap 教學之類的我覺得會比較實用,或者是如果拿來做 NAS 的話,如何用 Python 來處理裏面的資料之類的。
用 Python 處理 GPIO, LED, Camera 之類的硬體功能,這部分蠻有趣的,可惜我硬體不太行,不然我覺得這部分講得還滿實用的,像是 Camera 做 QR code 的 decoder,也可以拍照啥的,LED 燈也可以用來做很多東西的狀態指示。
大致來講,這本書我覺得很適合第一次摸這塊板子的韌(硬)體 programmer,裏面 Python 的 Code 都還滿完整的,解說也很詳細,門檻反而比較偏向是接板子弄 GPIO 那邊,如果本身有點概念的話弄起來應該會容易多。
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.