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 Getting started with Udoo
  • Table Of Contents Toc
  • Feedback & Rating feedback
Getting started with Udoo

Getting started with Udoo

By : Emanuele Palazzetti
4.8 (4)
close
close
Getting started with Udoo

Getting started with Udoo

4.8 (4)
By: Emanuele Palazzetti

Overview of this book

If you are an Android developer who wants to learn how to use UDOO to build Android applications that are capable of interacting with their surrounding environment, then this book is ideal for you. Learning UDOO is the next great step to start building your first real-world prototypes powered by the Android operating system.
Table of Contents (10 chapters)
close
close
9
Index

Building a web radio with physical interaction


Microcontrollers aren't designed for complicated work, so we need to be careful to partition the needs of our project to the right environments. For a web radio, we can use the microcontroller to read the knobs and switches, and let the Android APIs and UDOO's powerful CPU do the rest. This will keep Android from getting distracted while reading the hardware, and will prevent the microcontroller from getting overloaded with the complications of network streaming and playback.

The first part of our prototype is to build a circuit and write a sketch that collects values from two potentiometers and a push button:

  • We use the first potentiometer to change the active radio station and to increase or decrease the audio volume

  • We use the physical button to control the radio playback

In this way, we're removing all interactions done through the Android user interface.

As the first step, grab two potentiometers and connect them to the board so that we can...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

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