CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

2x16 lcd with pic16f84A for guitar tuner

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
prescott2006



Joined: 01 Mar 2010
Posts: 4

View user's profile Send private message

2x16 lcd with pic16f84A for guitar tuner
PostPosted: Wed Mar 10, 2010 8:33 am     Reply with quote

I want to interface a 2x16 LCD with pic16f84a. The LCD will show the note of guitar string as well as the frequency offset. The draft is like below:

- - - - - - - - - - - - - A +
>>>>>>>[]<<<<<<<

The first line of LCD will show the corresponding note of the guitar frequency. The second line is showing the frequency offset. When the middle rectangle turn into black it means the frequency is in tune. If the indicator is at right side, the frequency is higher than the preset frequency and vice verse.

The preset frequency table is:
note frequency(Hz)
e' 329.6
b 246.9
g 196.0
d 146.8
A 110.0
E 82.40

For better explanation can refer to http://schickt.de/comments.php?y=08&m=06&entry=entry080609-161447
So anyone can help me to start with it?
Charliem



Joined: 01 Mar 2010
Posts: 12

View user's profile Send private message

PostPosted: Wed Mar 10, 2010 7:53 pm     Reply with quote

There are better pics to use then the 16F84a. You could go with a 16F88. What are you using for input? in other words what is capturing the frequency?
_________________
Regards
Charlie M
prescott2006



Joined: 01 Mar 2010
Posts: 4

View user's profile Send private message

PostPosted: Wed Mar 10, 2010 11:46 pm     Reply with quote

I only have pic16f84a around so I want to make it useful. Razz First is the guitar signal, then after it is amplified and filtered, it will enter comparator to convert the signal into square wave, then enter PIC. This is the code to measure the frequency, http://www.ccsinfo.com/forum/viewtopic.php?p=129267
but I do not how to display on LCD.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group