<< Chapter < Page Chapter >> Page >
Goes over the implementation of our project.

Overall design

Layout of our design

This is an image of our actual implementation of this project. As you can see, the BeagleBone Black on the left is not attached to any supporting computer. We have the data stored directly on the board, and have 5 volts coming in to power it from a power outlet. This power lets the BeagleBone Black perform to the best of its capabilities when generating its bit stream. So 8 bits of digital output streams leave the general purpose I/O and enter the R/2R ladder. The system takes in these 8 digital outputs and generates a voltage that is the weighted sum of each bit. The signal continues through the design, and into the RC low pass filter where the high frequency copies are filtered out. Finally, the signal goes through the audio jack, into speakers, where it gets amplified and played as sound. Also not that we incorporated input buttons into our design for an educational, live demonstration of the process.

Full digital signal

In order to construct the full digital signal that is outputted by the BeagleBone Black, first we had to store the original digital data. We took audio files, turned them into a RAW format where they are unsigned bits so that they are easily handled. The BeagleBone Black outputs 8 new bits 44,100 times per second. These 8 output bits are changed to a 0 or a 1 based upon which audio file we read. As covered earlier, this yields 256 total voltage levels of output.

The program we wrote outputs the digital realization of several types of functions as well as 8 bit unsigned audio files to select pins on the BeagleBone Black. It is controlled by polling 5 input pins connected to tactile switches that cycle function, frequency (if applicable) and play/stop. This program relies on the Beagle Bone Black GPIO library.

First in our code, we want to establish pins, functions and songs.

Definitions

#define PI 3.14159265 #define PORT 8#define PORT2 9 //output pins#define PIN0 19 //least significant bit #define PIN1 17#define PIN2 16 #define PIN3 15#define PIN4 14 #define PIN5 13#define PIN6 12 #define PIN7 11 //most significant bit//input pins #define PIN8 15 //play/stop button pin#define PIN9 12 //increase frequency pin #define PIN10 11 //decrease frequency pin#define PIN11 14 //next function pin #define PIN12 13 //last function pin#define NUMFUNCTIONS 5 //used to check if function increment should roll over #define SONG0 "Beethoven5.raw" //define the audio file names#define SONG1 "TomSawyer.raw" #define SONG2 "HarderBetterFaster.raw"

Now, we want to establish core functions for both the conversion process and the live educational demonstration.

Questions & Answers

what is defense mechanism
Chinaza Reply
what is defense mechanisms
Chinaza
I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, R/2r implementation of a d/a converter. OpenStax CNX. Dec 17, 2014 Download for free at http://legacy.cnx.org/content/col11732/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'R/2r implementation of a d/a converter' conversation and receive update notifications?

Ask