To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 23118
23117  |  23119
Subject: 
RCX has a fast clock, was Re: Rolling ball clock revisited
Newsgroups: 
lugnet.technic, lugnet.robotics
Date: 
Wed, 8 Dec 2004 09:31:25 GMT
Viewed: 
167 times
  
Hello dave,

It was interesting to read this bit off your website--

"
The problem should have been very simple: each minute, start the elevator
until a ball is detected by one sensor. Unfortunately, my first try over a
several hours period showed me that my clock was fast, several seconds each
hour! After eliminating all mechanical possibilities (two balls at a time, or
an undetected ball), I concluded that my RCX itself was fast... To make sure,
I finally put a frequency meter probe on RCX crystal, and indeed it
oscillates at 16.03 MHz instead of 16.00 MHz. So I finally added some code to
wait for 6.92 seconds each hour. "

This explains much to me--I have an 1.0 AC'd RCX that's been on for months
but almost weekly I have to reset the clock.  Thanks for the info on the fast
clock!


A made an experiment this night using a RCX 2.0, the clock was fast by about 10s
per hour.

I suppose that this problem comes from bad capacitor loading of the crystal used
on RCX. Crystals need to see some capacitance to oscillate at the right
frequency, generally in the 10 to 30pF range. Even if PCB traces themselves
bring some capacitance, there is no added caps on RCX PCBs (see
http://www.brickshelf.com/cgi-bin/gallery.cgi?f=38746), this should be enough to
explain the problem.

Philo



Message has 1 Reply:
  Re: RCX has a fast clock, was Re: Rolling ball clock revisited
 
(...) As David Ward suggested me, the oscillator is most probably equipped with a ceramic resonator with built-in capacitors. This explains the low precision of the clock (tolerance for ceramic resonators is in the 1% range while for crystals it is (...) (20 years ago, 8-Dec-04, to lugnet.technic, lugnet.robotics)

Message is in Reply To:
  Re: Rolling ball clock revisited
 
(...) I love it! Very nicely done! It was interesting to read this bit off your website-- " The problem should have been very simple: each minute, start the elevator until a ball is detected by one sensor. Unfortunately, my first try over a several (...) (20 years ago, 7-Dec-04, to lugnet.technic, lugnet.robotics, FTX)

15 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR