Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Rapid BeagleBoard Prototyping with MATLAB and Simulink
  • Table Of Contents Toc
  • Feedback & Rating feedback
Rapid BeagleBoard Prototyping with MATLAB and Simulink

Rapid BeagleBoard Prototyping with MATLAB and Simulink

close
close
Rapid BeagleBoard Prototyping with MATLAB and Simulink

Rapid BeagleBoard Prototyping with MATLAB and Simulink

Overview of this book

As an open source embedded single-board computer with many standard interfaces, Beagleboard is ideal for building embedded audio/video systems to realize your practical ideas. The challenge is how to design and implement a good digital processing algorithm on Beagleboard quickly and easily without intensive low-level coding. Rapid BeagleBoard Prototyping with MATLAB and Simulink is a practical, hands-on guide providing you with a number of clear, step-by-step exercises which will help you take advantage of the power of Beagleboard and give you a good grounding in rapid prototyping techniques for your audio/video applications. Rapid BeagleBoard Prototyping with MATLAB and Simulink looks at rapid prototyping and how to apply these techniques to your audio/video applications with Beagleboard quickly and painlessly without intensive manual low-level coding. It will take you through a number of clear, practical recipes that will help you to take advantage of both the Beagleboard hardware platform and Matlab/Simulink signal processing. We will also take a look at building S-function blocks that work as hardware drivers and interfaces for Matlab/Simulink. This gives you more freedom to explore the full range of advantages provided by Beagleboard. By the end of this book, you will have a clear idea about Beagleboard and Matlab/Simulink rapid prototyping as well as how to develop voice recognition systems, motion detection systems with I/O access, and serial communication for your own applications such as a smart home.
Table of Contents (15 chapters)
close
close
Rapid BeagleBoard Prototyping with MATLAB and Simulink
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
2
Index

Interfacing sensors via a serial port in C


In the last section, the ZMotion IR sensor was connected to the BeagleBoard through the digital I/O interface, and successfully acquired the value of the ZMotion module into Simulink by using the GPIO Write block and the GPIO Read block. In this section, we will not only discuss how to connect a sensor based on a different interface (that is, serial communication) but also how to develop a software driver to communicate with the sensor. We will use the textual C code approach in this section, and you can migrate the code into a S-Function block for graphical programming in Simulink, which will be discussed later.

Firstly, let's get back to the datasheet of the ZMotion module. To select the Serial Interface Mode, we will need to provide a pull-up resistor (typically 100 KΩ) from TXD/SNS to VDD during the power ON process. If the device detects the voltage on that pin is greater than 2.5V in the power ON process, the device will enable the serial mode...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Rapid BeagleBoard Prototyping with MATLAB and Simulink
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon