MOCKSTACKS
EN
Questions And Answers

More Tutorials









Raspberry Welcome Device


In this lesson, we will summarize the projects of this chapter and explore new projects through different combinations of electronic hardware. We will also prepare for creating your own projects by consolidating the creation and use of software libraries through practice.

Through the study of this chapter, we have put electronic hardware and programming knowledge to practice in solving some practical problems. First of all, let's review what projects we have done and what functions we have built!

There is a lot we can do by combining different sensors and actuators. For example, LEDs can be used as lighting, but also as warning lights or reminder devices; buzzers can be used to play music, but serve as alarm devices. Combining buzzers with LEDs, we can achieve more effective outcomes with both sound and light. Therefore, we should aim to have a more flexible understanding of different electronic modules.

The difficulty of this project is in programming the buzzer to play the welcome music. Looking back at Lesson 8, we need to adjust the frequency and duty cycle of the PWM signal to control the passive buzzer, and we also need to set the seven basic notes individually. Like before, it would greatly simplify our code to use custom functions for
each note. In this lesson, we will further simplify the program by encapsulating the functions of notes into a library.

Conclusion

In this page (written and validated by ) you learned about Raspberry Welcome Device . What's Next? If you are interested in completing Raspberry tutorial, your next topic will be learning about: Raspberry Project Presentation.



Incorrect info or code snippet? We take very seriously the accuracy of the information provided on our website. We also make sure to test all snippets and examples provided for each section. If you find any incorrect information, please send us an email about the issue: mockstacks@gmail.com.


Share On:


Mockstacks was launched to help beginners learn programming languages; the site is optimized with no Ads as, Ads might slow down the performance. We also don't track any personal information; we also don't collect any kind of data unless the user provided us a corrected information. Almost all examples have been tested. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. By using Mockstacks.com, you agree to have read and accepted our terms of use, cookies and privacy policy.