وبلاگ بلیان

Les Royaumes du Nord

جلد کتاب Les Royaumes du Nord

معرفی کتاب «Les Royaumes du Nord» نوشتهٔ Dogan Ibrahim و Pullman, Philip، منتشرشده توسط نشر A la croisée des mondes-1 در سال 1995. این کتاب در فرمت epub، زبان فرانسوی ارائه شده است.

There is a new edition of this book: Programming The Raspberry Pi Pico/W In C, Second EditionThe Raspberry Pi Pico is a remarkable microcontroller. It has a power and sophistication that would have been unthinkable just a short time ago. For the sort of jobs it is ideal for, it has plenty of processing power and enough memory to make tasks that would have once required careful planning, relatively easy. Instead of struggling with the machine, you can now focus on getting a good implementation of your algorithms. To enjoy all of its power and sophistication there is no better language than C. It wastes none of the power and it gives you what you need to get at the new features. However, getting started with the Pico with C is no easy feat, which is what motivated this book about creating programs so that testing and debugging is easy.Programming the Raspberry Pi Pico in C uses the highly popular VS Code as its development environment and shows how to use a Raspberry Pi or a desktop PC running Windows as your development machine. The purpose of the book is to reveal what you can do with the Pico's GPIO lines together with widely used sensors, servos and motors and ADCs. After covering the GPIO, outputs and inputs, events and interrupts, it gives you hands-on experience of PWM (Pulse Width Modulation), the SPI bus, the I2C bus and the 1-Wire bus.One of the key advantages of the Pico is its PIO (Programmable I/O) and while this is an advanced feature it is included in this book. After finding out how the PIO works, we apply it to writing a PIO program for the DHT22 and the 1-Wire bus. One current drawback of the Pico it is that it doesn’t have a network connection. To solve this problem there is a chapter on using the low-cost ESP8266 as a WiFi client and web server. The two devices together make the Pico a true IoT device.Harry Fairhead has a hardware background and, having worked with microprocessors and electronics in general, for many years, he is an enthusiastic... Search... Raspberry Pi Pico W All rights reserved Contents Preface 1 • Raspberry Pi Pico W Hardware 1.1 Overview 1.2 The Pico hardware module 1.3 Comparison with the Arduino UNO 1.4 Operating conditions and powering the Pico 1.5 Pinout of the RP2040 microcontroller and Pico module 1.6 Other RP2040 microcontroller-based boards 2 • Raspberry Pi Pico W Programming 2.1 Overview 2.2 Installing MicroPython on Pico W 2.3 Using the Thonny text editor from the PC 2.4 Writing a program using Thonny 2.5 Software only MicroPython programs using the Raspberry Pi Pico W Example 1: Average of two numbers read from the keyboard Example 2: Average of 10 numbers read from the keyboard Example 3: Surface area of a cylinder Example 4: oC to oF conversion Example 5: Surface area and volume of a cylinder – user function Example 6: Table of squares of numbers Example 7: Table of trigonometric sine Example 8: Table of trigonometric sine, cosine, and tangent Example 9: Trigonometric function of a required angle Example 10: Series and parallel resistors Example 11: Words in reverse order Example 12: Calculator Example 13: File processing - writing Example 14: File processing – reading Example 15: Squares and cubes of numbers Example 16: Multiplication timetable Example 17: Odd or even Example 18: Binary, octal, and hexadecimal Example 19: Add two matrices Example 20: Shapes Example 21: Solution of a quadratic equation Example 22: Matrix multiplication Example 23: Factorial of a number Example 24: Compound interest Example 25: Guess the number Example 26: Numerical integration Example 27: Practise arithmetic 3 • Raspberry Pi Pico W LED Projects 3.1 Overview 3.2 Project 1: External flashing LED 3.3 Project 2: Flashing SOS signal 3.4 Project 3: Flashing LED – using a timer 3.5 Project 4: Changing the LED flashing rate – using pushbutton interrupts 3.6 Project 5: Randomly flashing red, green, and blue LEDs – RGB 3.7 Project 6: Binary counting LEDs 3.8 Project 7: Lucky day of the week 3.9 Project 8: Electronic dice 3.10 Project 9: Binary counter – Using the 74HC595 shift register 3.11 Project 10: Chasing LEDs - Using the 74HC595 shift register 3.12 Project 11: Turning a selected LED ON - Using the 74HC595 shift register 3.13 Project 12: Randomly flashing LEDs – Using the 74HC595 shift register 3.14 Project 13: Traffic lights 3.15 Project 14: Simple logic probe 3.16 Project 15: Advanced logic probe 4 • Raspberry Pi Pico W Multi-Digit 7-Segment Display Projects 4.1 Overview 4.2 7-Segment LED Displays 4.3 Project 1: 4-digit 7-segment display seconds counter 4.4 Project 2: 4-digit 7-segment display conveyor belt goods counter 5 • Raspberry Pi Pico W LCD Projects 5.1 Overview 5.2 HD44780 parallel LCD module 5.3 The I2C Bus 5.4 pins of the Raspberry Pi Pico W 5.5 Project 1: Parallel LCD – displaying text 5.6 Project 2: Reaction-timer with parallel LCD 5.7 Project 3: Voltmeter with parallel LCD 5.8 Project 4: Temperature measurement – using the internal temperaturesensor – with parallel LCD 5.9 Project 5: Temperature measurement – using an external temperaturesensor and with parallel LCD 5.10 Project 6: ON/OFF temperature controller with parallel LCD 5.11 Project 7: Measuring the ambient light intensity – using parallel LCD 5.12 Project 8: Ohmmeter – using parallel LCD 5.13 The I2C LCD 5.14 Project 9: I2C LCD seconds counter 5.15 Project 10: Internal and external temperature – using LCD 5.16 Project 11: Using a thermistor to measure temperature – using an I2C LCD 5.17 Project 12: Ultrasonic distance measurement – using an I2C LCD 5.18 Project 13: Measuring the depth of a river 5.19 Project 14: Ultrasonic reverse parking aid with buzzer 5.20 Project 15: Displaying custom characters on the LCD 5.21 Project 16: LCD dice 5.22 Project 17: Using a real-time clock (RTC) module – setting/displayingdate and time 5.23 Project 18: Saving the temperature with time stamping 5.24 Project 19: GPS – Displaying the geographical coordinates on LCD 6 • Pulse Width Modulation (PWM) 6.1 Overview 6.2 Basic theory of the pulse width modulation 6.3 PWM channels of the Raspberry Pi Pico W 6.4 Project 1: Generate 1000 Hz PWM waveform with 50% duty cycle 6.5 Project 2: Changing the brightness of an LED 6.6 Project 3: Electronic candle 6.7 Project 4: Varying the speed of a brushed DC motor 6.8 Project 5: Frequency generator with LCD and potentiometer 6.9 Project 6: Measuring the frequency and duty cycle of a PWM waveform 6.10 Project 7: Melody maker 7 • TFT Displays 7.1 Overview 7.2 TFT display used 7.3 Connecting the TFT display to Raspberry Pi Pico W 7.4 ST7735 TFT display driver library 7.4.1 Drawing shapes 7.4.2 Displaying text 7.4.3 Other TFT functions 7.5 Project 1: Seconds counter 7.6 Project 2: Reaction timer 7.7 Project 3: Temperature and humidity – Display on TFT 7.8 Project 4: Minimum/maximum temperature and humidity – Display on TFT 7.9 Project 5: ON/OFF temperature control – Setting the desired temperature using buttons and the TFT display 7.10 Project 6: ON/OFF temperature control – Setting the desired temperature using rotary encoder and the TFT display 7.11 Project 7: TFT bitmap display 7.12 Project 8: Using a 4×4 keypad 7.13 Project 9: Elementary multiplication – using 4×4 keypad and TFT 7.14 Project 10: Calculator - using 4×4 keypad and TFT 7.15 Project 11: HiLo game - using 4×4 keypad and TFT 8 • I2C Bus Projects 8.1 Overview 8.2 The I2C Bus 8.3 I2C pins of the Raspberry Pi Pico W 8.4 Project 1: I2C port expander 8.5 Project 2: TMP102 temperature sensor with LCD 9 • OLED Displays 9.1 Overview 9.2 Installing the SSD1306 driver software 9.3 Hardware interface 9.4 Displaying text on OLED 9.5 Displaying common shapes 9.6 Other useful functions 9.7 Project 1: Seconds counter 9.8 Project 2: Drawing bitmaps 9.9 Project 3: DS18B20 OLED-based digital thermometer 9.10 Project 4: Heart rate (pulse) measurement 10 • Using Bluetooth with the Raspberry Pi Pico W 10.1 Overview 10.2 Raspberry Pi Pico W Bluetooth interface 10.3 Project 1: Controlling three LEDs from a smartphone using Bluetooth 10.4 Project 2: Sending the Raspberry Pi Pico W internal temperature to a smartphone 11 • Using Wi-Fi with the Raspberry Pi Pico W 11.1 Overview 11.2 Connecting to a wireless network 11.3 Project 1: Scan the local network 11.4 Using the Socket library 11.4.1 UDP programs 11.5 Project 2: Controlling an LED from a smartphone using Wi-Fi –UDP communication 11.6 Project 3: Displaying the internal temperature on a smartphone using Wi-Fi 11.7 Project 4: Remote control from an Internet browser (using a smartphone or PC) - Web Server 11.8 Project 5: Storing ambient temperature and atmospheric pressure data on the Cloud 12 • RFID Projects 12.1 Overview 12.2 RC522 RFID reader pins 12.3 Interfacing RC522 RFID reader module to Raspberry Pi Pico W 12.4 Project 1: Finding the Tag ID 12.5 Project 2: RFID door lock access with relay 12.6 Project 3: Multi-tag RFID access system with LCD Index The Raspberry Pi Pico and Pico W are based on the fast, efficient, and low-cost dual-core ARM Cortex M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM and 2 MB of Flash memory. Besides spacious memory, the Pico and Pico W offer many GPIO pins, and popular peripheral interface modules like ADC, SPI, I2C, UART, PWM, timing modules, a hardware debug interface, and an internal temperature sensor. The Raspberry Pi Pico W additionally includes an on-board Infineon CYW43439 Bluetooth and Wi-Fi chipset. At the time of writing this book, the Bluetooth firmware was not yet available. Wi-Fi is however fully supported at 2.4 GHz using the 802.11b/g/n protocols. This book is an introduction to using the Raspberry Pi Pico W in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all of the 60+ working and tested projects covering the following topics: > Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC > Timer interrupts and external interrupts > Analogue-to-digital converter (ADC) projects > Using the internal temperature sensor and external sensor chips > Using the internal temperature sensor and external temperature sensor chips > Datalogging projects > PWM, UART, I2C, and SPI projects > Using Bluetooth, WiFi, and apps to communicate with smartphones > Digital-to-analogue converter (DAC) projects All projects are tried & tested. They can be implemented on both the Raspberry Pi Pico and Raspberry Pi Pico W, although the Wi-Fi- based subjects will run on the Pico W only. Basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects. The full program listings of all the projects discussed in the book may be downloaded free of charge www.elektor.com/20335. Program, build, and master 60+ projects with the Wireless RP2040 The Raspberry Pi Pico and Pico W are based on the fast, efficient, and low-cost dual-core ARM Cortex M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM and 2 MB of Flash memory. Besides spacious memory, the Pico and Pico W offer many GPIO pins, and popular peripheral interface modules like ADC, SPI, I2C, UART, PWM, timing modules, a hardware debug interface, and an internal temperature sensor. The Raspberry Pi Pico W additionally includes an on-board Infineon CYW43439 Bluetooth and Wi-Fi chipset. This book is an introduction to using the Raspberry Pi Pico W in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all of the 60+ working and tested projects.
دانلود کتاب Les Royaumes du Nord