توضیحاتی در مورد کتاب Mastering the Raspberry Pi
نام کتاب : Mastering the Raspberry Pi
عنوان ترجمه شده به فارسی : تسلط بر رزبری پای
سری :
نویسندگان : Gay, Warren
ناشر : Apress
سال نشر : 2014
تعداد صفحات : 482
ISBN (شابک) : 9781484201824 , 1484201817
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 8 مگابایت
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
فهرست مطالب :
Contents at a Glance......Page 3
Contents......Page 460
About the Author......Page 480
About the Technical Reviewer......Page 481
Acknowledgments......Page 482
Who Needs This Book ?......Page 5
Learning Approach......Page 6
Software in This Book......Page 7
Final Words......Page 8
Models......Page 9
Which Model?......Page 11
Static IP Address......Page 13
VNC......Page 14
Password Setup......Page 15
Prototype Station......Page 16
Gertboard......Page 18
Bare Metal......Page 19
Chapter 4: Power......Page 20
Current Requirement......Page 21
Model B Input Power......Page 22
Powered USB Hubs......Page 23
An Unsuitable Supply......Page 24
Voltage Test......Page 25
Requirements......Page 26
LM7805 Regulation......Page 27
DC-DC Buck Converter......Page 28
No Power......Page 30
PWR LED......Page 31
10M or 10/100 LED......Page 32
Header P1......Page 33
Safe Mode......Page 34
1-Wire Driver......Page 35
Reset......Page 36
/proc/meminfo......Page 38
Buffers......Page 40
Active(anon)......Page 41
Mlocked......Page 42
Mapped......Page 43
PageTables......Page 44
CommitLimit......Page 45
VmallocChunk......Page 47
Physical Memory......Page 48
Memory Mapping......Page 49
Flags......Page 50
Volatile......Page 51
Final Thoughts on SDRAM......Page 52
Identification......Page 53
Overclocking......Page 54
Execution......Page 56
pthread_create(3)......Page 57
pthread_attr_t......Page 59
pthread_join(3)......Page 60
pthread_detach(3)......Page 61
pthread_kill(3)......Page 62
pthread_mutex_create(3)......Page 63
pthread_mutex_lock(3)......Page 64
Condition Variables......Page 65
pthread_cond_init(3)......Page 66
pthread_cond_wait(3)......Page 67
pthread_cond_broadcast(3)......Page 68
Chapter 8: USB......Page 69
Powered Hubs......Page 70
libusb......Page 71
Include Files......Page 72
Wired Ethernet......Page 75
Changing to Static IP......Page 76
USB Adapters......Page 77
Wireless Ethernet......Page 78
Configuration......Page 79
SD Card Interface......Page 83
SD Card Basics......Page 84
Disk Cache......Page 85
SPI Bus Mode......Page 86
1-bit SD Mode......Page 87
4-bit SD Mode......Page 88
Wear Leveling......Page 89
RS-232 Converter......Page 90
DTE or DCE......Page 91
RS-232......Page 92
Stop Bit(s)......Page 93
Baud Rate......Page 94
Flow Control......Page 95
Software Flow Control......Page 96
ARM PL011 UART......Page 97
PL011 UART Features......Page 98
Exclusive Serial L ine Use......Page 99
Serial API......Page 100
struct termios......Page 101
tcsetattr(3)......Page 104
tcdrain(3)......Page 105
tcflow(3)......Page 106
cfmakeraw(3)......Page 107
cfgetospeed(3)......Page 109
cfsetspeed(3)......Page 110
read(2)......Page 111
readv(2) and writev(2)......Page 112
Error EINTR......Page 114
Pins and Designations......Page 116
Configuration After Reset......Page 118
Configuring Pull-up Resistors......Page 119
Testing Pull-up State......Page 123
Drive Strength......Page 124
Input Pins......Page 125
Output Pins......Page 126
Driving Logic Interfaces......Page 128
Driving Bi-color LEDs......Page 129
Testing Drive Strength......Page 130
Alternate Function Select......Page 132
Sysfs GPIO Access......Page 133
export......Page 134
gpioX......Page 135
Active Low......Page 136
GPIO Tester......Page 137
GPIO Input Test......Page 138
Reading Events......Page 140
Test Run......Page 141
gpio_init()......Page 145
gpio_io.c......Page 146
GPIO Transistor Driver......Page 148
Driver Design......Page 149
Inductive Loads......Page 151
Utility gpio......Page 152
Displaying GPIO Settings......Page 153
Modify Drive Levels......Page 154
Line Driving......Page 155
Reset......Page 156
Data I/O......Page 157
Reading Temperature......Page 158
Slave Devices......Page 160
Reading the Temperature......Page 162
1-Wire GPIO Pin......Page 163
I2C Overview......Page 164
Multimaster and Arbitration......Page 165
Data Bits......Page 166
Message Formats......Page 167
I2C Bus Speed......Page 168
Header Files......Page 169
ioctl(2,I2C_FUNC)......Page 170
ioctl(2,I2C_RDWR)......Page 171
SPI Basics......Page 174
Signaling......Page 175
Driver Support......Page 177
Header Files......Page 178
Open Device......Page 179
SPI Mode Macros......Page 180
Clock Rate......Page 181
Data I/O......Page 182
SPI Testing......Page 184
Boot Sequence......Page 187
config.txt......Page 188
Color Burst......Page 189
HDMI Ignore Hot-Plug......Page 190
HDMI Force EDID Audio......Page 191
HDMI Mode......Page 192
HDMI Boost......Page 195
Overscan Left, Right, Top, and Bottom......Page 196
Frame Buffer Ignore Alpha......Page 197
Testing......Page 198
GPU Memory (512)......Page 199
Kernel Address......Page 200
Init UART Baud......Page 201
Avoid Safe Mode......Page 202
Overclocking......Page 203
Warranty and Overclocking......Page 204
Temperature Limit......Page 205
Core Frequency......Page 206
SDRAM Frequency......Page 207
Over Voltage Minimum......Page 208
Over Voltage SDRAM......Page 209
cmdline.txt......Page 210
Virtual console =......Page 211
root=......Page 212
rootwait=......Page 213
nfsroot=......Page 214
Emergency Kernel......Page 215
Run Levels......Page 217
inittab Action initdefault......Page 218
General Startup Sequence......Page 219
Step 6: runlevel......Page 220
telinit......Page 222
Halt and Reboot......Page 223
Creating a New Service......Page 224
vcgencmd Commands......Page 225
Option measure_clock......Page 226
Option codec_enabled......Page 228
Option get_config......Page 229
Available Consoles......Page 230
Serial Console......Page 231
Terminology......Page 232
Host, Guest, Build, and Target......Page 233
Planning Your Cross-Development Environment......Page 234
Staging Directory......Page 235
Configure crosstools-NG......Page 236
Cross-Compiler Configuration......Page 237
Paths and Misc Options......Page 238
Target Options......Page 240
Binary Utilities......Page 241
C Compiler......Page 242
Build Cross-Compiler......Page 243
Troubleshooting......Page 245
Image Tools......Page 247
Download Kernel......Page 248
Edit Makefile......Page 249
Kernel Config......Page 250
Prepare Kernel Image......Page 251
Install Kernel Image......Page 252
Modules......Page 253
VirtualBox Mount of SD Card......Page 254
Characteristics......Page 257
Overall Protocol......Page 258
Data Bits......Page 259
Software......Page 260
Chosen Approach......Page 261
Example Run......Page 262
Source Code......Page 263
DC Characteristics......Page 268
GPIO Inputs......Page 269
Output Logic Levels......Page 270
Circuit......Page 271
Wiring and Testing......Page 272
Software Configuration......Page 273
IOCON Register......Page 274
GPPUx Register......Page 276
INTCONx Register......Page 277
IODIRx Register......Page 278
INTFx Register......Page 279
GPIOx Register......Page 280
Main Program......Page 281
Module i2c_funcs.c......Page 285
Module sysgpio.c......Page 289
Example Run......Page 291
Response Times......Page 293
Nunchuk Features......Page 295
Connector Pinout......Page 296
Testing the Connection......Page 297
Encryption......Page 298
Linux uinput Interface......Page 299
Opening the Device Node......Page 300
Configure EV_KEY......Page 301
Configure EV_REL......Page 302
Configure EV_ABS......Page 303
Creating the Node......Page 304
Posting EV_KEY Events......Page 305
Posting EV_SYN Events......Page 306
X-Window......Page 307
Testing the Nunchuk......Page 308
Testing ./nunchuk......Page 309
Utility input-events......Page 310
The Program......Page 311
DS1307 Overview......Page 321
Pin SQW/OUT......Page 322
3-Volt Compatibility......Page 323
Checking for Pull-up Resistors......Page 324
Performing a Tiny RTC Modification......Page 325
DS1307 Bus Speed......Page 326
RTC and RAM Address Map......Page 327
I2C Communication......Page 328
Running the Examples......Page 329
The Startup Script......Page 330
Operating Parameters......Page 340
VS1838B Circuit......Page 341
Software......Page 342
Signal Components......Page 343
Command-Line Options......Page 344
Dump Mode......Page 345
Gnuplot Mode......Page 346
Floppy-Disk Stepper Motor......Page 356
Your Junk-Box Motor?......Page 357
Driver Circuit......Page 359
Darlington Pair......Page 360
Input Levels......Page 361
Power-on Reset/Boot......Page 362
Wave Drive (Mode 0)......Page 363
Half-Step Drive (Mode 2)......Page 364
Software......Page 365
Testing......Page 367
The L298 Driver......Page 374
Protection Diodes......Page 375
L298 PCB......Page 376
Driving from GPIO......Page 378
One-Phase-On Mode......Page 379
Two-Phase-On Mode......Page 380
Choosing Driving GPIOs......Page 381
Junk-Box Motors......Page 382
Program Operation......Page 383
Program Internals......Page 384
Switched Inputs......Page 391
The CD4013......Page 392
Testing the Flip-Flop......Page 393
ØMQ......Page 394
Compiling and Linking......Page 395
Console Program......Page 396
Sensor Source Code......Page 397
Console Source Code......Page 405
PWM Parameters......Page 411
Meter Circuit......Page 412
pwm Program......Page 413
Hardware PWM Set Command......Page 415
Hardware Based CPU Percent-Busy Display......Page 416
Software PWM Program......Page 422
Software Based CPU Percent-Busy Display......Page 424
Chapter 31:Glossary......Page 429
Chapter 32:Power Standards......Page 435
Units......Page 436
List Installed Packages......Page 437
Install a Package......Page 438
Upgrade......Page 439
Obtain Kernel Sources......Page 440
Chapter 35:ARM Compile Options......Page 441
Chapter 36:Mac OS X Tips......Page 442
Bibliography: Bibliography......Page 0
Index......Page 449