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 CCS Technical Support

Chinese scales low voltage falling edge

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



Joined: 19 Feb 2004
Posts: 23

View user's profile Send private message

Chinese scales low voltage falling edge
PostPosted: Tue Oct 11, 2005 12:24 pm     Reply with quote

Followup to the original post for reading Chinese digital scales output. Lower portion of this post has link to site. Trying to read clock input shifting from ~0 to ~1,6v. Not having any luck pulling into CCP_isr on falling edge. Any suggestions on what can i do to bump up the clock signal to give good solid h_to_l transition.


I'm trying to read the output from some chinese calipers. The output stream is 2x 24bit words back to back (total time about <1 ms), repeating at 50hz or every 20ms. Signal clock starts out with a 15-19 ms low then high for 55us, 24 bit word, high 110us, 24 bit word, high 55us then low for 15-19ms, repeat. Reading seems simple just a shift in routine reading on the falling edge. My problem is I'm having trouble filtering to the first falling edge. how could i set up to use the long (19ms) low to start my read cycle.

More data and scope images on the scales electronics are at this link.

http://www.shumatech.com/support/chinese_scales.htm
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

PostPosted: Tue Oct 11, 2005 12:54 pm     Reply with quote

Your ~0 to ~1,6v signal could easily be tied to the base of a transistor to pull down the weak pull up on an input pin. Then you may wait for the input signal to stabalise (20mS between data) and then key off of the changing edge to start reading the signal.
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