Social Networks

Mar 8, 2024

Book: "Collection of Raspberry Pi Projects"



INDEX

Chapter 1. Introduction 

Chapter 2. Alarm System

Chapter 3. Gas Leak Alarm

Chapter 4. Weather Station

Chapter 5. Digital Image Processing

Chapter 6. Animations With Python And Pygame

Chapter 7. Homemade Spectrometer

Chapter 6. Object Classification Using Edge Impulse

Summary:

"This book is a collection of my best publications on projects made with the Raspberry Pi board, and which I describe below:

Alarm System: Develop an alarm system to detect the movement of someone through the use of a PIR motion sensor and the Raspberry Pi Zero W board. When this happens, an alert notice will appear on the Twitter account.

Gas Leak Alarm: Develop a system for the detection of fires or gas leaks with the Raspberry Pi Zero W board and the MQ2 gas sensor. This system can send the captured data to the remote server of ThingSpeak. When a gas increase is detected beyond a limit, then a message is sent to the Twitter account.

Weather Station: Develop a Weather Station with a Raspberry Pi Zero W board, and monitor all the sensors with ThingSpeak and Twitter. The sensors used are DHT11 (humidity and temperature sensor) and BMP085 (barometric pressure and temperature sensor). Also, you can use new versions of this sensors without any problem.

Digital Image Processing: Make use of digital image processing with OpenCV on a Raspberry Pi 3. To achieve this goal, start from the software installation to make your own object classifiers and finally make an example to manipulate an object by means of an image in movement. This has many applications, ranging from recognizing people or objects, to creating your own video surveillance system.

Animations With Python And Pygame: The main goal of this project is to develop virtual animations of a human, animals and objects that are moved on a stage or image background. We will use Python and Pygame, these software tools are used to program games."
 
Homemade Spectrometer: Kit made with the AS7262 (six colors) and AS7263 (near infrared) spectral sensors and the Raspberry Pi board. I have divided this project into three parts. The first section was done with the AS7262 six-color spectral sensor and the experiments were the construction of a filter spectrometer, and sensing colored solutions. The second section was made with the AS7263 NIR (near infrared) spectral sensor to assess plant foliage health, so it explains how to use the sensor's channel readings and the standard Normalized Difference Vegetation Index (NDVI) equation to calculate an estimated NDVI value, which is used to determines as “HEALTHY” or “UNHEALTHY” leaf.  
Object Classification Using Edge Impulse: Here we use Edge Impulse Studio, which is a machine learning platform that enables developers to generate Machine Learning trained models in the cloud and deploy them on single-board computer like the Raspberry Pi.

The links of this Ebook are:  



guillengap@gmail.com

Mar 1, 2024

COOKIES POLICY

If you want to know more about the use of cookies made by this website, you are in the right place. Next, we are going to explain to you what exactly cookies are; what type of cookies we use and for what purpose; and how you can exercise your right to configure your browser and reject the use of any of them.

Of course, you should know that, if you decide not to use some cookies, this website may not work perfectly, affecting your user experience.

WHAT IS A COOKIE?

A cookie is a file that is downloaded to your computer when you access certain web pages or blogs.

Cookies allow that page, among other things, to store and retrieve information about your browsing habits or your computer, and depending on the information they contain and the way you use your computer, they can be used to recognize you.

The user's browser memorizes cookies on the hard drive only during the current session, occupying a minimum memory space and not harming the computer. Cookies do not contain any kind of specific personal information, and most of them are deleted from the hard drive at the end of the browser session (the so-called session cookies).

Most browsers accept cookies as standard and, regardless of them, allow or prevent temporary or memorized cookies in the security settings.

Cookies are associated with the browser, not with the person, so they do not usually store sensitive information about you such as credit cards or bank details, photographs or personal information, etc. The data they keep is technical, statistical, personal preferences, personalization of content, etc.

TYPES OF COOKIES

In order to offer you a better user experience, obtain analytical data, store and retrieve information about your browsing habits or your computer and develop your activity, this website uses its own and third-party cookies.

What types of cookies does this website use?

  • Technical cookies: These are those that allow the user to navigate through a web page, platform or application and use the different options or services that exist in it, such as, for example, controlling traffic and data communication, identifying the session, access parts of restricted access, remember the elements that make up an order, carry out the process of purchasing an order, make the request for registration or participation in an event, use security elements during navigation, store content for the broadcasting of videos or sound or sharing content through social networks.
  • Personalization cookies: These are those that allow the user to access the service with some predefined general characteristics based on a series of criteria in the user's terminal, such as the language, the type of browser through which the user accesses the service, the locale from where you access the service, etc.
  • Analysis cookies: These are those that are well treated by us or by third parties, allow us to quantify the number of users and thus carry out statistical measurement and analysis of the use that users make of the service offered. For this, your browsing on our website is analyzed in order to improve the offer of products or services that we offer you.
  • Advertising cookies: They are those that, well treated by us or by third parties, allow us to manage in the most efficient way possible the offer of the advertising spaces that are on the website, adapting the content of the advertisement to the content of the requested service or to the use you make of our website. For this we can analyze your browsing habits on the Internet and we can show you advertising related to your browsing profile.
  • Behavioral advertising cookies: They are those that allow the management, in the most efficient way possible, of the advertising spaces that, where appropriate, the editor has included in a web page, application or platform from which the requested service is provided. These cookies store information on the behavior of users obtained through the continuous observation of their browsing habits, which allows the development of a specific profile to display advertising based on it.
  • Third-party cookies: This website may use third-party services that, on behalf of Google, will collect information for statistical purposes, on the use of the site by the user and for the provision of other services related to the activity of the website and other services from Internet.

In particular, this website uses Google Analytics, a web analytics service provided by Google, Inc. domiciled in the United States with headquarters at 1600 Amphitheater Parkway, Mountain View, California 94043. For the provision of these services, Google uses Cookies that collect information, including the user's IP address, which will be transmitted, processed and stored by Google in the terms set out on the Google.com website. This includes the possible transmission of said information to third parties for reasons of legal requirement or when said third parties process the information on behalf of Google.

MANAGE AND REJECT THE USE OF COOKIES

t any time, you can adapt your browser settings to manage, reject the use of cookies and be notified before they are downloaded.

You can also adapt the settings so that the browser rejects all cookies, or only third-party cookies. And you can also delete any of the cookies that are already on your computer.

For this, you must bear in mind that you will have to separately adapt the configuration of each browser and equipment you use since, as we have mentioned before, cookies are associated with the browser, not the person.

Google Chrome https://support.google.com/chrome/answer/95647?hl=es-419

Internet Explorer https://support.microsoft.com/es-es/help/17442/windows-internet-explorer-delete-manage-cookies#ie=ie-10

Mozilla Firefox https://support.mozilla.org/es/kb/habilitar-y-deshabilitar-cookies-sitios-web-rastrear-preferencias?redirectlocale=es&redirectslug=habilitar-y-deshabilitar-cookies-que-los-sitios-we

Apple Safari https://support.apple.com/es-es/HT201265

WEBSITE TERMS AND CONDITIONS

 Introduction

This website is owned and operated by Guillermo Perez Guillen (we, us, our). The following terms and conditions (Terms) govern your use of the website and by accessing the website, you agree to accept and be bound by the Terms in full. 

Website content and access

While we take all reasonable care in preparing, maintaining and updating the information on this website, we do not represent or warrant (either express or implied) the accuracy, reliability or completeness of any of the website content. You acknowledge and accept that the website content may include errors. The website content is subject to change at our sole discretion without notice to you, and may not be up to date or accurate at the time you access it.

It is your responsibility to enquire with us directly to ensure the adequacy, accuracy and currency of the material or information you seek to rely upon. To the extent permitted by law, we disclaim all liability (including special, indirect or consequential loss) for loss directly or indirectly arising from your use of, or reliance on, the website or the website content.

We provide no guarantee that access to the website will be available or that the website is free from viruses or anything else which may damage any computer which accesses the website or any data on such a computer. We may from time to time restrict access to any part or whole of the website and its discretion. By using this website, you agree to do so at your sole risk.

Intellectual property

The materials displayed on this website, including without limitation all editorial materials, information, photographs, illustrations, artwork and other graphic materials, and names, logos and trademarks, are solely our property and may be protected, at our sole discretion, by copyright, trade mark and other intellectual property laws. Any such content may be displayed and printed solely for your personal, noncommercial use, provided that any copyright notice on such a display or page is not removed. You agree not to reproduce, retransmit, distribute, disseminate, sell, publish, broadcast or circulate any such material to any third party without our express prior written consent.

Save for the above, and unless expressly granted, we don´t grant any license or right in, or assign all or part of, its intellectual property rights in the content or applications incorporated into this website or in the user interface of this website.

Privacy

We are committed to the privacy of its customers. Use of this website, registration data and other information about you are subject to our Privacy Policy

Third party websites

This website may contain links to other websites operated, controlled or produced by third parties. Unless otherwise indicated, we don´t control, endorse, sponsor or approve any such third party websites or their content, nor do we provide any warranty or take any responsibility whatsoever for any aspect of those websites or their content.

Interference with website

You must not attempt to change, add to, remove, collect data, deface, hack or otherwise interfere with the website or the website content.

You must not use this website to copy, store, host, transmit, send, use, publish or distribute any material which consists of (or is linked to) any computer virus or other malicious computer software.

Breaches of these terms and conditions

Without prejudice to our other rights under these terms and conditions, if you breach these terms and conditions in any way, we may take such action as we deem appropriate to deal with the breach, including suspending your access to the website, prohibiting you from accessing the website, blocking computers using your IP address from accessing the website, contacting your internet service provider to request that they block your access to the website and/or bringing court proceedings against you.

If you are in breach of the Terms, you hereby indemnify us against any loss, damages, costs, liabilities and expenses (including but not limited to legal expenses) suffered by us as a consequence of any potential or actual breach by you.

Variation

We may revise these terms and conditions from time to time at its sole discretion. Revised terms and conditions will apply to the use of this website from the date of the publication of the revised terms and conditions on this website. Please check this page regularly to ensure you are familiar with the current version.

Severability

Any provision of the Terms which is void, unenforceable or illegal in a jurisdiction is deemed to be severed as to that jurisdiction but only to the extent that it is void, unenforceable or illegal and will not affect the effect of the remaining provisions nor affect the validity or enforceability of that provision in any other jurisdiction.

PRIVACY POLICY AND DATA PROTECTION

In compliance with Regulation (EU) 2016/679 of the European Parliament and of the Council, of April 27, 2016, regarding the protection of natural persons with regard to the processing of personal data, by which Directive 95 is repealed / 46 / CE (hereinafter, RGPD), Law 34/2002, of July 11, on services of the information society and electronic commerce (hereinafter, LSSI-CE) and Organic Law 3/2018 , Protection of Personal Data and guarantee of digital rights (hereinafter, LOPDGDD), Guillermo Perez guarantees the protection and confidentiality of personal data, of any type that our clients provide us, in accordance with the provisions of the General Protection Regulation of Personal Data.

The data provided will be treated in the terms established in the RGPD, in that sense Guillermo Perez has adopted the levels of protection that are legally required, and has installed all the technical measures at its disposal to prevent loss, misuse, alteration, access not authorized by third parties, set out below. However, the user must be aware that Internet security measures are not impregnable.

Purpose of the treatment

All the data provided by our clients and / or visitors on the Guillermo Perez website or its staff will be included in the record of personal data processing activities, created and maintained under the responsibility of Guillermo Perez, essential to provide the services requested by users, or to resolve doubts or questions raised by our visitors. Our policy is not to create profiles of the users of our services.

Legitimacy of the treatment

1. Contractual relationship: It is the one that applies when you buy one of our products or contract any of our services.

2. Legitimate interest: To attend to the queries and claims that you raise and to manage the collection of the amounts owed.

3. Your consent: If you are a user of our website, by checking the box that appears in the contact form, you authorize us to send you the necessary communications to respond to the query or request for information raised.

Recipients

We don't transfer your personal data to anyone, with the exception of those public or private entities to which we are obliged to provide your personal data due to compliance with any law. For example, the Tax Law requires the Tax Agency to provide certain information on economic operations that exceed a certain amount.

In the event that, apart from the aforementioned assumptions, we need to disclose your personal information to other entities, we will request your permission in advance through clear options that will allow you to decide in this regard.

Communication

We don´t carry out international transfers of your personal data for any of the indicated purposes.

Conservation

We will only keep your personal data for as long as is necessary to achieve the purposes for which it was collected. When determining the appropriate retention period, we examine the risks involved in the treatment, as well as our contractual, legal and regulatory obligations, internal data retention policies and our legitimate business interests described in this Privacy Notice and Cookies policy.

In this sense, Guillermo Perez will keep the personal data once its relationship with you has ended, duly blocked, during the limitation period of the actions that may arise from the relationship maintained with the interested party.

Once blocked, your data will be inaccessible to Guillermo Perez, and will not be processed except for making it available to public administrations, Judges and Courts, for the attention of possible responsibilities arising from the treatments, as well as for the exercise and defense of claims before the Spanish Agency for Data Protection.

Security

We use all reasonable efforts to maintain the confidentiality of the personal information that is processed in our systems. We maintain strict levels of security to protect the personal data we process against accidental losses and unauthorized access, treatment or disclosure, taking into account the state of technology, the nature and risks to which the data is exposed. However, we can´t be held responsible for the use that you make of the data (including username and password) that you use on our website. Our staff follow strict privacy standards and in the event that we hire third parties to provide support services, we require them to abide by the same standards and allow us to audit them to verify compliance.

Your rights

We inform you that you can exercise the following rights:

1. Right of access to your personal data, to know which are being processed and the processing operations carried out with them;

2. Right to rectify any inaccurate personal data;

3. Right to delete your personal data, when this is possible (for example, by legal imperative);

4. Right to limit the processing of your personal data when the accuracy, legality or necessity of processing the data is doubtful, in which case, we may keep them for the exercise or defense of claims.

5. Right to object to the processing of your personal data, when the legal basis that enables us to process those indicated is our legitimate interest. "Company_Name" will stop processing your data unless it has a legitimate interest or is necessary for the defense of claims.

6. Right to the portability of your data, when the legal basis that enables us to process it is the existence of a contractual relationship or your consent.

7. Right to revoke the consent granted to Guillermo Perez

To exercise your rights, you can do so for free and at any time by contacting us at the address Cl. 5 # 50-103, attaching a copy of your ID.