To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 2127
2126  |  2128
Subject: 
Re: Vector 2x almost working...
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Mon, 12 May 1997 13:19:25 GMT
Original-From: 
Tom Brusehaver <TOMB@NETPERCEPTIONS.nospamCOM>
Viewed: 
1375 times
  
"J" == Jennifer Carter <JCarter@compuserve.com> writes:

J> Heres the latest: I am having problems interfacing the Vector 2x
J> electronic compass with the Handy Board.  I have successfully
J> loaded Tom Brusehaver's program and it does write to the HB LCD
J> but the compass position always reads 0.  I am guessing that my
J> ...

J> The V2x application book states common sources of problem of the
J> output always reading zero as follows.  1.  P/C is high before SS

Actually I have had this happen myself.  It is because the logic is
sort of reversed with the P/C and my comp_init and comp_disable.

Try getting things working (i.e. displaying 0's), then from IC type
comp_disable(1);.  Then ground the reset pin for a second or so.  Then
type comp_init(1);.  See if that fixes it.

If it doesn't, double check my diagram.  I have heard of a few other
people trying it, no one has written back that everything works out of
the box :-).  About a year ago I posted some stuff about LM18200's and
had the pins mixed up :-o.  It happens.

If you have a logic probe, see if the clock signal is truely clocking,
and then check to see if data might be coming in on MOSI pin.  If this
is happening, and the code still isn't woking, you might reload it
again.

let me know either way.



Message is in Reply To:
  Vector 2x almost working...
 
Thanks to everyone's responses on the first question I posted last week. I almost have it working. :) Heres the latest: I am having problems interfacing the Vector 2x electronic compass with the Handy Board. I have successfully loaded Tom (...) (27 years ago, 12-May-97, to lugnet.robotics.handyboard)

2 Messages in This Thread:

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

Custom Search

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