Home

Report

image

Contents

1. LCD STRING Volume Up delay ms 100 vol40 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 4 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Up delay ms 100 vol30 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 3 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Up delay ms 100 vol20 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 2 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Up _delay_ms 100 vol10 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 1 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Up delay ms 100 vol0 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0600010000 0b00010000 8 8 volcount 2 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Down _delay_ms 100 vol10 volcount LCD COMMAND LCD CLEAR HOME if PINC 8 0b00010000 0b00010000 amp amp volcount 3 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol20 29 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00010000 0b00010000 amp amp volcount 4 _delay_ms 65
2. LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol30 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00010000 0b00010000 amp amp volcount 5 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Down _delay_ms 100 vol40 volcount LCD COMMAND LCD CLEAR HOME if PINC amp 0b00010000 0b00010000 8 8 volcount 6 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol50 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00010000 0b00010000 amp amp volcount 7 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol60 volcount LCD COMMAND LCD CLEAR HOME if PINC 8 0b00010000 0b00010000 amp amp volcount 8 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol70 volcount LCD COMMAND LCD CLEAR HOME if PINC amp 0b00010000 0600010000 8 8 volcount 9 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol80 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00010000 0b00010000 amp amp volcount 10 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol90 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00010000 0b00010000
3. TIFR1 0b00000010 sei while 1 ADCSRA 1 lt lt ADSC Start Conversion while ADCSRA amp 1 lt lt ADSC Check flag to make sure ADC complete ADC_read ADC sprintf string2 Sci max LCD_STRING string2 if ADC lt 325 _delay_ms 200 count count 1 sprintf string2 Steps i count LCD_STRING string2 LCD_COMMAND LCD_HOME while bpm string i 0 Trans string2 while not equal to NULL transmit bpm string i i i 0 transmit 0 37
4. The music player is power by a 5 volt battery supply Figure 6 Final PCB for Music Player 13 Flowchart amp Diagrams Play Loop Figure7 Software Realization 15 V DIVISION OF LABOR Task Preliminary Research Sensor Testing MP3 Device Output Characteristics of Accelerometer MP3 Encoder ATMEL Integration Ordering Parts Sensor Components MP3 Components Design Overview Layout Sensor Breadboarding MP3 Breadboarding Sensor PCB MP3 PCB Coding Sensor Code MP3 Code Debugging Sensor Code MP3 Code Demonstrations Table 1 Division of Labor Team Member MM MC MM MC MC MM MC MM MM MC MM MM MC MM MC MM MC MM MM MC MM MC MM MC 16 VI USER MANUAL Step 1 Clip sensor pedometer to belt and begin running at desired pace Step 2 When target pace or running rhythm is reached push button 1 to take BPM reading Step 3 Select Play button 2 to play song that matches your running pace Step 4 If at any point in time you wish to select song to match a different running pace press Stop button 3 and start again from Step 2 otherwise continue running at current pace to allow for MP3 player to automatically select songs from playlist to match current pace Other Features LCD displays BPM reading taken after pressing button 1 as well as song info and BPM associated with song Buttons 4 and 5 control volume of player VII BILL OF MATERI
5. amp amp volcount 11 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol100 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 000010000 0b00010000 amp amp volcount 12 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol110 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00010000 0b00010000 amp amp volcount 13 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Down _delay_ms 100 vol120 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00010000 0b00010000 amp amp volcount 14 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Down delay ms 100 vol130 LCD COMMAND LCD CLEAR HOME 33 include lt avr io h gt include lt util delay h gt include LCD h include lt string h gt include lt stdlib h gt include lt stdio h gt include lt avr interrupt h gt volatile int inter_count 0 volatile int bpm 0 volatile int i 0 char bpm_string 20 int count char test 20 void serial void UCSROA 0b00100010 RXC TXC UDRE Fe DOR UPE U2X UCSROB 0b00011000 RXCIE TXCIE UDRIE RKEN TXEN UCSZ2 RXB8 TXB8 UCSROC 0b00000110 UMSEL1 UMSEL UPM USBS UCSZ1 UCSZO UCPOL UBRRO 103 Baud Rate set to 9600bps DDRD 0b00000010 Date Direction Register for Port
6. the LCD screen and the XBee radio XBee Series 1 Radio The Atmega 324P receives the BPM readings from the pedometer which are being updated every 10 seconds through the XBee radio on the music player side LCD Screen The LCD screen provides a user interface that allows the user to view functionalities and actions operated by the music player device such as which song in the player s playlist is being played and what the current pace is in BPM CONCEPT TECHNOLOGY ATMEL Atmega 324P TOFP VOFN OFN MLF SSIOCOBIPCINTI2 ns GND pas ADC4 PCINTA 2 PAS ADCS PCINTS 1 pas ADCE PCINT6 gt PAT 9 D AREF XTAL2 XTAL1 PCINT24 RXDO PDO PCINT25 TXDO PD1 PCINT26 RXD1 NTO PD2 NN T s TT 9 z 5 o a TDO PCINT20 71819202122 38 8 5 1213141516 Figure 1 ATMEGA 324P TQFP Features High performance Low power AVRe 8 bit Microcontroller High Endurance Non volatile Memory segments 5128 1 2 Bytes EEPROM 1 2 4K Bytes Internal SRAM Write Erase Cycles 10 000 Flash 100 000 EEPROM Data retention 20 years at 85 C 100 years at 25 C 1 Optional Boot Code Section with Independent Lock Bits In System Programming by On chip Boot Program True Read While Write Operation Programming Lock for Software Security Peripheral Features Two 8 bit Timer Counters with Separ
7. D void transmit char data while UCSROA 8 1 lt lt UDREO Checking Flag to make sure it is empty on Bit 5 to transmit UDRO data Write data to UDR1 USART I O Data Register char receive void while UCSROA 8 1 lt lt RXC0 Wait for data to be received 34 return UDRO Return UDR whenever called from main void ReadLineUSART char string int k 0 char byte byte receive while byte 1 0 string k byte byte receive string k 0x00 return ISR TIMER1_COMPA_vect inter_count inter_count 1 if inter_count gt 2 LCD COMMAND LCD CLEAR HOME LCD ADDR 0x40 bpm count 6 sprintf bpm string i bpm LCD STRING bpm string LCD COMMAND LCD HOME count 0 inter_count 0 35 int main void LCD_INIT nitialize LCD LCD COMMAND LCD CLEAR HOME Clear LCD serial nitialize Serial comm nitialize ADC ADCSRA 1 lt lt ADPS2 1 lt lt ADPS1 1 lt lt ADPSO Set ADC prescalar to 128 More faster ADMUX 1 lt lt 50 Set ADC reference to AVCC ADCSRA 1 lt lt ADEN Enable ADC char string2 20 int ADC_read 99 int ADC_read nitialize Timer channel TCCR1A 0b00000011 COM1A1 COM1A0 COM1B1 COM1B0 FOC1A FOC1b WGM11 WGM10 TCCR1B 0b00011101 NCNC1 ICES1 WGM13 WGM12 CS12 511 CS10 FCPU 1024 OCRIA 39062 30962 TIMSK1 0b00000010
8. and selects a tune Table of Contents I II III VI VII VIII IX Project Introduction List of Table amp Figures Technical Objective Concept Technology Project Architecture Division of Labor User Manual Bill of Material Gantt Chart Appendices I INTRODUCTION The 3PM project was designed for users who love to jog run while listening to music for entertainment while exercising The product consists of a sensor which is attached to the user s belt and an MP3 player which can either be worn or kept nearby for stationary running indoors When worn the sensor reads the user s pace to select a song on the MP3 player that will match their pace in beats per minute BPM This is practical for runners to either consistently maintain a certain pace during their workouts or for runners who wish to increase their running speed This device provides a great way to motivate runners to know their rhythm and test their limits all while enjoying their favorite music A commercial product which closely resembles our product is Apple s Nike Ipod The Nike Ipod device uses a pedometer that wirelessly transmits rhythm pace information read from a runner s shoe such as distance traveled mph time spent running etc It does not however have a feature that selects a song based on the user s pace as our device ensures In our design we have also minimized our costs by using the least amount of parts to achieve our proposed functi
9. fit A big role in its selection was also its NTFS file system compatibility This makes it unnecessary to convert song files into anything other than its native format The player s operating range was also convenient for our design since it is from to 5 volts capable of operating on either 3 3V or 5V In addition to this the uMP3 module proved to be easy to interface using ATMEL chips as its feature description indicates ADXL322 3 axis Accelerometer Although our design specifications did not require 3 axes on our accelerometer we used the ADXL322 breakout board due to its diminutive size and its few number of pins Also the devices power operating range was between 2 4V and 5 25V which was within our powering constraints XBee Series 1 Radios Xbee Series 1 Radios were used in our project due to their ease of use in serial communication between these and the ATMEL chips as well as their ease of use in programming in order to communicate with one another The range we needed wasn t any more than up to 300ft their range according to their specifications and their 250 kbps RF data rate for fast transmission between radios The XBees also followed IEEE 802 15 4 networking protocol suitable for reliable data communication The Competition There are many pedometers in the market which calculate the number of steps taken or distance traveled by a person However few of these pedometers integrate music with their device Even
10. single y axis is used on the accelerometer to detect the magnitude and direction as a vector quantity of acceleration by generating or altering a reference voltage set by design specifications e ATMEL Atmega324P This micro controller used in our design project reads in the analog data transmitted by the accelerometer through its analog to digital converter A threshold value is set to compare input values against in order to measure a sharp enough jolt to count as a step e XBee Series 1 Radio Once the steps are counted and a BPM beats per minute reading is taken after 10 second intervals the micro controller transmits the reading wirelessly via an XBee radio sharing a channel with the XBee radio on the music player device e 3V Battery Pack The pedometer board is powered on Although designed for 3 3V 0 3V difference is acceptable for operation e Belt Clip A clip is placed on the pedometer s enclosure to secure to user s belt Music Player Device e uMP3 Module This module is programmed and interfaced with the ATMEL Atmega 324P music player side to control such functions as playing pausing stopping volume control etc The Atmega 324P allows us to include push buttons to control these features on the user side e ATMEL Atmega 324P To ensure proper communication between the two devices the music player device also used an Atmega 324P micro controller to interface between the uMP3 module its respective push buttons
11. though Apple Inc has partnered with Nike to bring the Nike Apple pedometer into the market we would like to incorporate a new functionality into its operation We wish to provide the user with a device that automatically selects a song matching the closest tempo to his or her pace Therefore we not only want to design and build a pedometer but also a music device that will select a play list according to the pace of the jogger walker We believe that this functionality will provide instant motivation for the user to interactively listen to music as they exercise Below is Apple s Nike iPod Sport Kit Figure 2 Nike iPod Competition 10 IV PROJECT ARCHITECTURE Pace of user EEG Shoe Sensor per pica sone D RX TX Pace of user Music Player Figure 3 Project Architecture Diagram 11 Pedometer A single y axis 2 axis accelerometer is used to detect the magnitude and direction as a vector quantity of acceleration by generating or altering a reference voltage set by design specifications Below picture shows our accelerometer testing 7 70 VYN Yi Figure 4 Oscilliscope reading from accelerometer testing This micro controller used in our design ATMEGA 324P reads in the analog data transmitted by the accelerometer through its analog to digital converter A threshold value is set to compare input values against in order to measure a sharp enough jolt to count as step Any time a reading l
12. AL Price Per Part Component Amount Unit Total MEGA 324P TQFP 2 56 00 512 00 Series 1 2 524 00 548 00 Accelerometer 1 20 00 20 00 LCD 1 58 00 58 00 uMP3 Module 1 143 16 143 16 Battery Pack Pedometer 1 52 00 52 00 Battery Pack Music Player 1 10 00 10 00 PCB Music Player 1 33 00 33 00 Total Cost 276 16 Table 2 Bill of Material 17 GANTT CHART VIII Sensor Research Niguel Cuput Characteristics ofPezolcel Miguel ntegraio of Piezolcel w PIC Miguel Power Sensor Migue Sensor igue Presenaton Demonstation Meetings Miguel TR Communication Musi Device Research ntegrate MP3 Encoder w ATMEL Muneet ntegrte SOMMC card w ATMEL Mure Design Power Crcutor Music Player TestDehug Music Player PresentatonDocumentatonfeeings Mute Figure 8 Gantt Chart 18 IX APPENDICES 4 WW HDR1X2 di Cava Battery Pack Key Space J2 MOST PBS MISO PBS gt gt SCR PB PBS RESET PBZ yec PBL GND 7 7 BBO 2 gt ADCO PA XTALl gt gt gt PAL BXDO PAZ PAS PA4 HDR1X6 22212 Accelerometer Figure 9 Sensor Pedom
13. UNIVERSITY of UF FLORIDA The Foundation for The Gator Nation EEL 4924C Electrical Engineering Design Senior Design Final Design Report April 21st 2009 Team Name The Beatkicks Team Members Name Mugeet S Mujahid Name Miguel D Cepeda Email mugeet ufil edu Email mdcepeda ufl edu Phone 904 208 1515 Phone 954 309 7714 ABSTRACT The idea for the 3PM resembling BPM also MP3 spelled backwards arose after the 3PM design team both avid runners realized that music listened to while running or jogging greatly affects the rhythm or pace of each session It has thus been our effort to design a product that will use this quality of music as an advantage while running Our project consisted of designing a pedometer to be worn by the user on his her belt Using this pedometer a pace in beats per minute is calculated by counting running total of steps taken in ten second interval windows Our designed music device interprets this information and picks a song closest in tempo to the speed of the user Our sensor includes an accelerometer that produces a change in voltage caused by a change in acceleration when the user places a step This information is passed to an ATMEL micro controller The micro controller calculates the pace of the user This information is then transmitted wirelessly by using a set of XBee radios On the receiver side an mp3 decoder slaving off of an ATMEL micro controller receives this information
14. ate Prescalers and Compare Modes Real Time Counter with Separate Oscillator Six PWM Channels 8 channel 10 bit ADC Differential mode with selectable gain at 1x 10x or 200x Byte oriented Two wire Serial Interface Master Slave SPI Serial Interface Programmable Watchdog Timer with Separate On chip Oscillator On chip Analog Comparator Interrupt and Wake up on Pin Change O and Packages 32 Programmable I O Lines 40 pin PDIP 44 lead TQFP 44 pad VQFN QFN MLF ATmega164P 324P 644P 44 pad DROFN ATmega164P 49 ball ATmega164P 324P Operating Voltages 2 7 5 5V for ATmega164P 324P 644P Speed Grades ATmega164P 324P 644PV 0 AMHz 1 8 5 5V 0 10MHz 2 7 5 5V ATmega164P 324P 644P 0 10MHz 2 7 5 5V 0 20MHz 9 4 5 5 5V Power Consumption at 1 MHz 1 8V 25 C for ATmega164P 324P 644P Active 0 4 mA Power down Mode 0 1uA Power save Mode 0 6pA Including 32 kHz RTC The ATMEL chips used in our design were chosen mainly because of the fact that it contained two UART USARTS which was necessary on the music player device board in order to transmit and receive data serially between the XBee Series 1 Radio and the uMP3 module The same chip was also used on the sensor pedometer board to facilitate communication between boards Originally an ATMEL Atmega 32A was used for the pedometer which only needs a single UART USART for the interfacing between t
15. e lt string h gt include lt stdlib h gt include lt stdio h gt int main void LCD_INIT serial Serial Comms for Shoepod serial1 Serial Comms for mp3 mod DDRC 0b00000000 Set up Data Direction Registor for PORTC buttons char string0 20 String 0 is used to put the received value of steps char string1 30 int bpm read This variable hold the converted integer BPM value char reading 20 This print BPM reading int volcount 6 vol50 start while 1 if PINC amp 0b00000001 0b00000001 _delay_ms 50 LCD COMMAND LCD CLEAR HOME LCD STRING Reading 21 ReadLineUSARTO string0 Read the BPM from the USART over XBee ReadLineUSARTO string0 ReadLineUSARTO string0 ReadLineUSARTO string0 bpm read atoi string0 Convert Char string to an integer sprintf reading BPM i bpm_read LCD_ADDR 0x40 LCD_STRING reading _delay_ms 100 if bpm_read gt 110 amp amp bpm_read lt 115 Play110 goto start if bpm_read gt 115 amp amp bpm_read lt 120 Play115 goto start if bpm_read gt 120 amp amp bpm_read lt 125 Play120 goto start if bpm_read gt 125 amp amp bpm_read lt 130 Play125 goto start if bpm_read gt 130 amp amp bpm_read lt 135 Play130 goto start 22 if bpm_read gt 135 amp amp bpm_read lt 140 Play135 goto start if bpm_read
16. ess than threshold value is calculated the step counter is incremented by one An interrupt is fired every ten seconds to calculate the speed of the user Number of steps in 10 seconds is multiplied to find the speed of the user in beats per minute Once the steps are counted and a BPM beats per minute reading is taken after 10 second intervals the micro controller transmits the reading wirelessly via an XBee radio sharing a channel with the XBee radio on the music player device Our Xbee radio channel was 11 The pedometer board is powered on 3V Although designed for 3 3V 0 3V difference is acceptable for operation A clip is placed on the pedometer s enclosure to secure to user s belt Figure 5 Final PCB for Sensor Pedometer 12 Music Player This ump3 module is programmed and interfaced with the ATMEL ATMEGA 324P to control such functions as playing pausing stopping volume control etc These functions are carried out by having pushbuttons interfaced with MEGA 324P This micro controller has algorithms to pick out song according to user s pace The ATMEGA 324P receives the BPM readings from the pedometer which are being updated every 10 seconds through the XBee radio on the music player side The LCD screen provides a user interface that allows the user to view functionalities and actions operated by the music player device such as which song in the player s playlist is being played and what the current pace is in BPM
17. eter Schematic 001100 Figure 10 Sensor Pedometer PCB Layout 19 HDR1X3 2 0 HDR1X2 Battery od Xbee HDRIX7 uMP3 module LC HDRIX3 HDR1X3 Switch J7 U2 fMOSI PBS R3 SUR fer 30 FE yee 1 e MIS RESET RESET PB E oJ ute 4 PEL Il GND PBs HDR2X3 1 dvpo qus Matt ADCO PAs pap Ryo MAH FAL PM Programmer Pat c paz 1 RET 200 PAS CUT mm e m PAS pas PD4 gt pag E Pa Pps la PA par ne a Us Ame Se button pushbuttan LA NIK stjo 165 KUGE gt a PEL PCs 5 PEZ PES 100nF i pc Pet 22 MEGA324P 7 0 Ra cesena al sti i J1 52 PAZ PAT PAD PA PAS PAG Figure 11 Music Player Device Schematic Figure 12 Music Player Device PCB Layout EM7805 T to 3 3V Regulator kli i include lt avr io h gt include lt util delay h gt include LCD h include commands h includ
18. gt 140 amp amp bpm_read lt 145 Play140 goto start if bpm_read gt 145 amp amp bpm_read lt 150 Play145 goto start if bpm_read gt 150 amp amp bpm_read lt 155 Play150 goto start if bpm_read gt 155 amp amp bpm_read lt 160 Play155 goto start if bpm_read gt 160 amp amp bpm_read lt 165 Play160 goto start 23 if bpm_read gt 165 amp amp bpm_read lt 170 Play165 goto start if bpm_read gt 170 amp amp bpm_read lt 175 Play175 goto start else stopi if PINC 8 0b00000010 0b00000010 _delay_ms 50 LCD COMMAND LCD CLEAR HOME LCD STRING Play Pause delay ms 100 Play170 if PINC amp 0b00000100 0b00000100 _delay_ms 50 LCD COMMAND LCD CLEAR HOME LCD STRING Stop delay ms 100 stop 24 MIH if PINC amp 0b00001000 0b00001000 amp amp volcount 14 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Up _delay_ms 100 vol130 volcount LCD COMMAND LCD CLEAR HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 13 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Up _delay_ms 100 vol120 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 12 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume U
19. he Atmega and the accelerometer but we soon realized we were dealing with serial communication errors due to the incompatibility of using different ATMEL chips The 16 bit counter featured in the Atmega 324P chip was useful in setting a time divisor in seconds to calculate the number of steps taken by the user over time generating a BPM value to be processed by the music player device UMP3 Module m n FEATURES e Plays PCM WAV and IMA ADPCM WAV files e Easy to use SD card interface works with MMC cards as well e MP3 playback control via serial or parallel interface e Pitch control e Play tones no files needed e Simple serial control interface non inverted e 2400 bps to 115200 bps e 3to5 volt operating range e RoHS Compliant e Low power operation less than 60mA 9 5V during playback less than 30mA 5V idle e Small module footprint 2 5 x 2 6 35cm x 5 08cm with 4x40 mounting holes e 16 and FAT32 compatible 32MB to 2GB and beyond e Read and write data files as well as audio playback e Easily interfaced with any microcontroller PIC AVR 8051 etc e Supports MMC Multi Media Card and SD Secure Digital cards e Chipset available TQFP44 LQFP48 RoHS compliant e Module images Front and Back We used this MP3 module due to its ease of use serial control interface and its support of MMC Mulit Media Card and SD Secure Digital Cards to allow for memory that is as large as the user sees
20. onality List of Tables amp Figures I Table 1 Division of Labor 17 II Table 2 Bill of Material 18 III Figure 1 ATMEGA 324P TOFP 7 IV Figure 2 Nike iPod Competition 10 V Figure 3 Project Architecture Diagram 11 VI Figure 4 Oscilliscope reading from accelerometer testing 12 VIL Figure 5 Final PCB for Sensor Pedometer 12 VIII Figure 6 Final PCB for Music Player 13 IX Figure 7 Software Realization 15 X Figure 8 Gantt Chart 18 XI Figure 9 Sensor Pedometer Schematic 19 XII Figure 10 Sensor Pedometer PCB Layout 19 XIII Figure 11 Music Player Device Schematic 20 XIV Figure 12 Music Player Device PCB Layout 20 II TECHNICAL OBJECTIVES The project was designed to operate at different voltage levels For the pedometer a 3V battery pack was used to power all of its components including the micro controller whose operational voltage range is between 1 8V 5 5V The music player uses a 5V battery back to be powered with its LCD powered on 5V and a voltage regulator to step down the board s voltage to 3 3V in order to operate its other components Main Objective The main objective of this project was to design a sensor and a music device such that both modules can communicate wirelessly to pick up a song closest in tempo to the speed of the user Our 3PM consists of only the two aforementioned parts the belt sensor pedometer and the music device Features Belt Sensor Pedometer e 3 Accelerometer A
21. p _delay_ms 100 vol110 volcount LCD COMMAND LCD CLEAR HOME amp 0b00001000 0b00001000 88 volcount 11 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Up delay ms 100 vol100 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 10 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Up _delay_ms 100 vol90 volcount LCD COMMAND LCD CLEAR HOME if PINC amp 0b00001000 0b00001000 8 8 volcount 9 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Up _delay_ms 100 vol80 volcount LCD COMMAND LCD CLEAR HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 8 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Up _delay_ms 100 vol70 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 7 _delay_ms 65 LCD_COMMAND LCD_CLEAR_HOME LCD_STRING Volume Up _delay_ms 100 vol60 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC amp 0b00001000 0b00001000 amp amp volcount 6 _delay_ms 65 LCD COMMAND LCD CLEAR HOME LCD STRING Volume Up delay ms 100 vol50 volcount LCD_COMMAND LCD_CLEAR_HOME if PINC 8 0b00001000 0b00001000 amp amp volcount 5 _delay_ms 65 LCD COMMAND LCD CLEAR HOME

Download Pdf Manuals

image

Related Search

Report reports report card report builder report fraud reportsnow report synonym report template report phishing outlook report child abuse reportedly report identity theft report of contact report abandoned vehicle report a problem apple report sheet reportbeam report builder download reporting central reporter nih reported speech reporte de puentes reporting from ukraine reporting services reporters without borders reporting verbs

Related Contents

取扱説明書 - オメガウェーブ株式会社  Guide d`utilisation  Gigabyte GA-870A-UD3 motherboard  Bedienungsanleitung - Baumarkt Nadlinger  Introduction aux méthodes et cycle de développement du  User Manual - Workspace - Imperial College London  BI4120 ISTRUZIONI PER L`USO BRINKMANN  Global Machinery Company Electric Nailer User's Manual  "取扱説明書"  MANUEL ARMX-4440  

Copyright © All rights reserved.
Failed to retrieve file