Searching \ for '[[]PICS]' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'PICS]'.

No exact or substring matches. trying for part
PICList Thread
'[PICS] Simulator vs. Actual'
1996\03\23@032109 by Andrew Warren

face
flavicon
face
Rob Martin <spam_OUTpicsTakeThisOuTspamparallaxinc.com> wrote:

> I know this is rather extensive but I know I must be missing
> something fundamental here or something.
> ....
> Once a signal occurs, the RTCC is started and the program goes back to
> sleep
> ....
> I used Parallax coding (mostly) and assembler to generate the object
> file. I also use the Parallax simulator to check to code out and it
> does exactly what I think it should do when I step through the
> instructions.  When I program the 16C71 and put it on the PIC proto
> board and change the level on on of the PortB pins, it acts nothing
> like I expect !
>
> Can somebody HELP !

   Sure, Rob, although I normally ignore messages containing code
   written with Parallax's assembler...

   The main problem with your code is that you expect RTCC/TMR0 to
   run while the processor's asleep.  It doesn't.

   There are LOTS of other issues, but they're sorta superfluous
   when compared to this one.

   -Andy

Andrew Warren - .....fastfwdKILLspamspam@spam@ix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geocities.com/SiliconValley/2499

1996\03\25@090300 by Rob Martin

flavicon
face
Actually, I know the RTCC does not interrupt while sleeping.  My intent is to
wake up the system with an interrupt from a pin on Port B and then start the
RTCC, and then reset the RTCC after a task is complete and go back to sleep.

Thanks, for looking into this.


At 12:21 AM 3/23/96 -0800, you wrote:
{Quote hidden}

Rob Martin
Association of American Railroads
Transportation Technology Center
Pueblo, CO 81001
EraseMErobspam_OUTspamTakeThisOuTwheels.aar.com


'[PICS] Audio Spectrum Analizer'
1996\07\16@213303 by Gerald Joseph Durand
flavicon
face
----------
>I'm trying to do a audio spectrum analizer using a 16C73 and the only
>problem I have is how to measure the amplitude of the incoming signal.
>I have to measure the amplitude at 32Hz, 64Hz, 125Hz, 250Hz, 500Hz,
>1000Hz, 2000Hz, 4000Hz, 8000Hz and 16000Hz.
>I don't want to do a separate bandpass filter for each frequency, I just
>want to dos this by software.
>Does any one have any ideas?

Filter the input at slightly higher than 16KHz, sample at slightly higher
than twice the filter frequency, and then run an FFT.  Simple (at least
with a DSP).

>
>Octavio
>--
>
>Octavio Nogueira
>nogueiraspamspam_OUTmandic.com.br
>http://ourworld.compuserve.com/homepages/tato

-------------------------
Jerry Durand
Durand Interstellar, Inc.
tel:  +1 408 356-3886
fax:  +1 408 356-4659
@spam@jdurandKILLspamspaminterstellar.com


'[PICS] CAD/PCB software'
1996\08\14@140640 by H.G. Hindriks
flavicon
face
{Quote hidden}

Hello Hans,

I'm using ULTIboard for about 10 years. A very good program to design PCB's!
It is possible to use single layers in ULTIboard. I don't know which version
you are using, but in the newer versions you can route on a single layer.

When i'm right you have to click in the menu :

AUTOROUTING
 SETUP
   LAYER DIRECTION
     TOP = -- or (BOTTOM = --)

In other versions (I'll use 4.70 and 4.80demo) the menu-items can be
situated at other places in the menu's.
I hope it will help you, so you can make your PCB's on an easy way!

PS
At the moment ULTImate has a special offer. ULTIboard Challenger Lite
(500pins) costs at the moment US$79 excl. VAT. See WWW.ULTIBOARD.COM

Greetings from the Netherlands,




Harry Hindriks (PE1OXP)
Electronics Engineer


            *****  Life is too short for QRP  *****

-----------------------------------------------------------------
    H.G. Hindriks
    Purmerlaan 11                       P.O. Box 334
    9501 AW  Stadskanaal                9500 AH  Stadskanaal
    Tel. +31-599-618462                 The Netherlands
-----------------------------------------------------------------

'[PICS] Touchscreen'
1996\08\23@114444 by karlq

flavicon
face
>
> Does any one know how can I do a touchscreen?
> I'm planning to use a PIC to do this, Any idea?
>
> Octavio
>
> --
> ========================================================
> Octavio Nogueira
>    e-mail:   KILLspamnogueiraKILLspamspammandic.com.br
>  homepage: http://ourworld.compuserve.com/homepages/tato
> voice/fax: +55 11 240-6474
> ========================================================

Depends on the type of touchscreen!

Resistive technology is the easiest and cheapest, it has a maximum
usable resolution of 256 x 256 points.

It is basicly two sheets of plastic glued together at the outside
rim but held apart by very tiny glass beats or bumps.

One is coated with a very low resistance transperent coating, (plane A)

the other has a higher resistance of about 80 to 120 ohm depending
on the distance between the outside edges. (plane B)

The actual value doent matter, You are dealing in ratios here.

Use some cmos switches to apply com and +5V to the horizontal outside
edges of plane B and use an 8 bit A/D input to read the voltage from
plane A.

Do the same thing in the other direction and you have your X,Y position.

You have to use a calibration routine match the physical values received
to your screen layout.

Try a company called ELOGRAPHICS INC. Oakridge Ten. for screens.

I used theirs in Bowling Alley Systems about 5 years ago on an 80C31
and they worked fine as long as people dont use sharp objects to poke
at the screen.

Capacitive screens are better in a public application.
They usualy have a solid glass front and cant be damaged as easyly.
They require analog circitry to drive them, but have a minimum
resolution of 1024 x 1024 points.

Karl
.


'[PICS] LT1298'
1996\10\21@011215 by pics
flavicon
face
Hi All,

Does anyone know wher I can find informations about the Linear
Technology AD converter LT1298? It's used in PicStick.

Talking about PicStick, the new ProPic programmer v2.4 can
read and write the PicStick.

Cheers,

Octavio
--
========================================================
Octavio Nogueira
e-mail:   RemoveMEnogueiraTakeThisOuTspammandic.com.br
homepage: http://ourworld.compuserve.com/homepages/tato
voice/fax: +55 11 240-6474
========================================================
"ProPic" The first Production PIC Programmer running in
Windows and under US$ 20.00.
Avaible at http://ourworld.compuserve.com/homepages/tato


- To subscribe -or- unsubscribe send e-mail to spamBeGonemajordomospamBeGonespamparallaxinc.com and
- put SUBSCRIBE pics -or- UNSUBSCRIBE pics in the body of the message

'[PICS] New ProPic Software'
1996\10\21@011219 by pics

flavicon
face
The new ProPic software V2.4 is ready, it fixes several small
bugs and added some new PICs like 12C5XX, 14000, etc.

I sugest to anyone using it to upgrade.

Octavio
--
========================================================
Octavio Nogueira
e-mail:   TakeThisOuTnogueiraEraseMEspamspam_OUTmandic.com.br
homepage: http://ourworld.compuserve.com/homepages/tato
voice/fax: +55 11 240-6474
========================================================
"ProPic" The first Production PIC Programmer running in
Windows and under US$ 20.00.
Avaible at http://ourworld.compuserve.com/homepages/tato


- To subscribe -or- unsubscribe send e-mail to RemoveMEmajordomospamTakeThisOuTparallaxinc.com and
- put SUBSCRIBE pics -or- UNSUBSCRIBE pics in the body of the message

'[PICS] Interrupt on change'
1996\10\26@104426 by fastfwd

face
flavicon
face
Bob Blick <picsEraseMEspam.....parallaxinc.com> wrote:

> It's my understanding that if interrupt-on-change is enabled, it is
> enabled for all four pins(RB4,5,6,7), no choosing. Let's use a
> PIC16C72 as an example.
>
> I'm not clear on the use of those four pins if some are used solely
> as output pins. My questions are:
>
> If I use two of the pins(RB4,5) for outputs, the other two(RB6,7)
> for inputs, and enable interrupt-on-change, will my manipulation of
> the two output pins cause an interrupt, or otherwise mangle the
> correct operation of the interrupt?

   Bob:

   No.  The change-on-portb interrupt is only triggered when INPUT
   pins change states.

> Second question: will reading port B mess with the use of the
> interrupt-on-change feature?

   Probably.  If a change occurs just as a read operation is being
   performed on port B, no interrupt will be generated.

   Worse, it seems that even WRITING to port B can make the PIC
   miss interrupts, since ALL register accesses (even MOVWF, etc.)
   perform a read first.

> Do I need to use the first four pins(RB0,1,2,3) of port B
> output-only if I enable interrupt-on-change? Must I read port B only
> when servicing the interrupt?

   Doing those things will HELP the situation, but they won't
   guarantee that you'll never miss interrupts.  In general, the only
   time the change-on-portb interrupts are truly reliable is when
   they're used to wake the processor from Sleep Mode.

   As I said in the answer to a similar question posted to my
   company's web page, "Sucks, don't it?"

   Sorry to be the bearer of bad news.

   -Andy

=== Andrew Warren - EraseMEfastfwdspamix.netcom.com                 ===
=== Fast Forward Engineering - Vista, California          ===
===                                                       ===
=== Custodian of the PICLIST Fund -- For more info, see:  ===
=== http://www.geocities.com/SiliconValley/2499/fund.html ===


'FW: [PICS] SuperCAD Symbol'
1997\02\28@013717 by Troy Powledge
flavicon
face
I just purchased SuperPCB and am about to install it. Have you heard anything
about it. Either good or bad.

~*~*~*~*~*~*
Troy Powledge
TCo. Systems
RemoveMEtpowEraseMEspamEraseMEeramp.net
*~*~*~*~*~*~

{Quote hidden}

- To subscribe -or- unsubscribe send e-mail to RemoveMEmajordomoTakeThisOuTspamspamparallaxinc.com and
- put SUBSCRIBE pics -or- UNSUBSCRIBE pics in the body of the message

1997\02\28@023309 by David W. Duley

picon face
In a message dated 97-02-28 01:37:50 EST, you write:

<<
I just purchased SuperPCB and am about to install it. Have you heard
anything
 about it. Either good or bad.

~*~*~*~*~*~*
Troy Powledge
TCo. Systems
EraseMEtpowspamspamspamBeGoneeramp.net
*~*~*~*~*~*~
 >>
Troy,
I use both SuperPCB and SuperCad.  I am happy.  Library parts are easy to
create (once you figure it out).  I have found a few quirks but you won't
find any of the big packages that don't have some bugs.  They have been very
responsive to my gripes and they even sent me a fix via Email.  I got the Pro
package which has everything except the circuit simulator.  I do mostly
digital CPU type stuff.  Simulators don't work too well for micro processors.

out of 5 stars I would give it 3 1/2.
It is a perfect package for low end to moderate use.  I have made six layer
boards with out any problem.  The gerber file generation all seems to work
OK. My final films come out great.

Hope this reasures you
Dave Duley
V.P. DreiTek Inc.

1997\02\28@093703 by Andy Kunz

flavicon
face
At 01:34 AM 2/27/97 -0600, you wrote:
>I just purchased SuperPCB and am about to install it. Have you heard anything
> about it. Either good or bad.

I like it.  The SuperCAD is not fully understood in my cranium yet, and I
hear that the design rule checker and some other utilities are a bit weak.

I've used the PCB package for about a year and am rather pleased.  It isn't
as fancy as HiWire, but it gets the job done.

Andy
==================================================================
Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865
         Hardware & Software for Industry & R/C Hobbies
       "Go fast, turn right, and keep the wet side down!"
==================================================================


'sorry Re: [PICS] Fw: Virus Warning'
1997\05\23@142730 by Eric Martens
flavicon
face
Sorry guys (and girls !?!) They fooled me and i bought it, sorry. I should
have read it better and i should know better.


Greetings Eric Martens.

----------
> From: Eric Martens <RemoveMEemarKILLspamspamknoware.nl>
> To: picsSTOPspamspamspam_OUTparallaxinc.com
> Subject: [PICS] Fw: Virus Warning
> Date: vrijdag 23 mei 1997 14:39
>
> I received this email from a friend on another mailing list. Read it
> carefully it can save you alot of trouble.
> For those who can't read german there's a english translation at the end
of
> the mail.
>
> Greetings Eric Martens
>
>
>
> ***************************
> *  Eric Martens           *
> *  spamBeGoneemarSTOPspamspamEraseMEknoware.nl  *
> **************************

1997\05\23@145455 by Martin McCormick

flavicon
face
       The first time I heard one of those stories, I bought it also and
posted a message to our company Email and looked like a total idiot.  It
happens to the best of us.  It's a pretty good virus.  It runs on the most
powerful computers on Earth.

Martin McCormick

In message <KILLspam199705231825.UAA25510spamBeGonespamutrecht.knoware.nl>, Eric Martens writes:
>Sorry guys (and girls !?!) They fooled me and i bought it, sorry.

1997\05\23@162514 by e

flavicon
face
Martin McCormick wrote:
>
>         The first time I heard one of those stories, I bought it also and
> posted a message to our company Email and looked like a total idiot.  It
> happens to the best of us.  It's a pretty good virus.  It runs on the most
> powerful computers on Earth.
>
> Martin McCormick
>
> In message <EraseME199705231825.UAA25510spamEraseMEutrecht.knoware.nl>, Eric Martens writes:
> >Sorry guys (and girls !?!) They fooled me and i bought it, sorry.

Don't worry ! The System Administrator at our University
is posting such warnings every month :-)

I woul'd realy like to see such a Virus !

St.


--
     _______________________________________________________
    |                                      _____________    |
    | Dipl.-Ing. Stefan M. Ranguelov      /____________/|   |
    |                                     |||||||||||||     |
    | tel.:    +49 (30) 20 181 251                          |
    | priv.:   +49 (30) 513 66 23                           |
    | s-mail:  D-10319 Berlin, Mellenseestr. 39/10          |
    | ----------------------------------------------------  |
    | e-mail:  @spam@ranguelo@spam@spamspam_OUTinformatik.hu-berlin.de             |
   /) WWW:     http://www.informatik.hu-berlin.de/~ranguelo (\
  / ) PGP key: on request or from WWW-page                  ( \
_( (|_______________________________________________________|) )  />
(((\ \)  /,)                                            / )  / //))/
(\\\\ \_/ /                                             \ \_/ /////
\       /                                               \       /
 \    _/

'[PICS] LCD interface'
1997\05\28@161506 by bennett

flavicon
picon face
part 0 78 bytes
Thanks





Attachment converted: wonderland:TEST9.ASM (TEXT/MSIE) (00002028)

1997\05\29@130059 by Bruce Cannon

flavicon
face
First double-check the wiring, be sure your wiring and the code agree on
interface mode (4 or 8 bits, hi or lo nybble, ect), then try the code from
one of the mchip app notes.  If it works compare code, if not try another
display unit.  I've had luck with mchip's app note code, parallax's app
note code, and CCS C compiler LCD driver.  I use a part called the LCD
Backpack by Scott Edwards Electronics to quickly test display modules, it
allows you to plug your module into it with a ribbon cable, then send rs232
data from PC, PIC, BASIC Stamp, whatever.  Very useful for eliminating
hardware problems.  He doesn't have a web site but Parallax sells them.
----------
Bruce Cannon
Style Management Systems

Remember: electronics is changing your world...for good!

----------
> From: Wayne Bennett (by way of Wayne Bennett <spamBeGonew.bennettspamKILLspamsct.gu.edu.au>)
<.....w.bennettspam_OUTspamSCT.GU.EDU.AU>
> To:
> Subject: [PICS] LCD interface
> Date: Wednesday, May 28, 1997 1:02 PM
>
> Has any one had much success with interfacing the 16C74 with an
LCD(hitachi
> LM016L).  I'm not sure if I've fried the display or have an error in code
> (attached). If any one is willing to share code or pseudo code I'd
> appreciate the help
>
> Thanks
>
>
>
>
>


'[PICS] LCD interface'
1997\06\02@182418 by Steve Smith
picon face
I have used '84 to drive LM016 with no problems the code is easy to transport
Mail me with request and I will send code segments which work 8 data bits E
and RS lcd is permantly in read mode. There are few constraints except text
should not exceed one half of a page of rom.
Steve.....


'[PICS] Strobes'
1998\10\28@081940 by Andy Kunz
flavicon
face
>circles of patterns, one for each desired speed.  If you figured out how
to make
>the patterns, you could print up anything you like on your laser or inkjet.

Some more info on the problem might help...

I'm looking at an 1/8" dia shaft with a 1.25" propeller on the end,
rotating between 1K and 60K RPM.

Andy


==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================

1998\10\28@103112 by Roger Marin

flavicon
face
A stack of super bright (2000mcd) red LED's with along with a high
current pulse driver/oscillator combo may be quick, dirty and cheap ...
just a thought.

--
Roger Marin
8825 S.E. Hawthorne Blvd.
Portland, OR, 97216-1821
voice: 503.253.3195
fax  : 503.253.0488

1998\10\28@125947 by Peter L. Peres

picon face
On Wed, 28 Oct 1998, Andy Kunz wrote:

> >circles of patterns, one for each desired speed.  If you figured out how
> to make
> >the patterns, you could print up anything you like on your laser or inkjet.
>
> Some more info on the problem might help...
>
> I'm looking at an 1/8" dia shaft with a 1.25" propeller on the end,
> rotating between 1K and 60K RPM.

Why didn't you say so ;) Is it going to be wet ? If so, a twin plastic
optical fiber arrangement with an IR laser and a common IR photodiode will
likely help you a lot. Prop blades are reflective enough for this in my
experience and the flexible twin fibers can be taped to a convenient place
for temporary use ;). You can probably use an IR led if pulsed fast. In
this case some trickery is required to get rid of the beat frequency. PICs
are as good as made for this. The input amplifier for the photodiode needs
to be a better one, probably a faster FET op-amp with the detector wired
as current generator (connect polarized photodiode to - input). 60,000 rpm
is only 1000 rot/sec or 4000 Hz for a 4-blade prop (not likely, more like
2 or 3 blades). If the LED is pulsed with 1 Amp pulses at 30 kHz as for IR
remote applications it should work ok.

The audio tach can be of two kinds: The one where you hear the speed as a
tone and the one where a tone is to be displayed as speed. The 1st method
is easy, connect an audio amp to the IR circuit described above. With 3
blades you get 50 Hz for 1k and 3000 Hz for 60,000. The 2nd method
involves a microphone and a Schmitt Trigger amplifier that supplies a
frequency to a counter. If the amplifier has some AGC, it will lock on the
loudest frequency around (such as, a nitro engine running full throttle
near it).  This last method works very well as I can confirm ;)

Peter

1998\10\28@141645 by Andy Kunz

flavicon
face
>Why didn't you say so ;) Is it going to be wet ? If so, a twin plastic

Not while I'm balancing it.  It's for a dynamic balancer along the lines of
what is used in full-size cars.  I'm sure some heli guys will like it.

>2 or 3 blades). If the LED is pulsed with 1 Amp pulses at 30 kHz as for IR
>remote applications it should work ok.

1A in an LED - what a concept!  What kind of duty cycle do you propose, the
standard 30%?

>tone and the one where a tone is to be displayed as speed. The 1st method

I want digital RPM display based upon frequency the boat is putting out.

>frequency to a counter. If the amplifier has some AGC, it will lock on the
>loudest frequency around (such as, a nitro engine running full throttle
>near it).  This last method works very well as I can confirm ;)

These are electric, but the idea is the same.  We are much quieter!

Do you have a schematic for an audio AGC which will give me the pulsing I
need?  That's the real hangup for me - converting it to RPM is just software.

Andy

==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================

1998\10\28@165511 by Sean Breheny

face picon face
At 01:37 PM 10/28/98 -0500, you wrote:
>>Why didn't you say so ;) Is it going to be wet ? If so, a twin plastic
>
>Not while I'm balancing it.  It's for a dynamic balancer along the lines of
>what is used in full-size cars.  I'm sure some heli guys will like it.

What does balance have to do with RPM? Please enlighten me! <G> It would
seem to me that prop imbalance causes the engine to wobble, but doesn't
significantly change the RPM.

Sean

+-------------------------------+
| Sean Breheny                  |
| Amateur Radio Callsign: KA3YXM|
| Electrical Engineering Student|
+-------------------------------+
Save lives, please look at http://www.all.org
Personal page: http://www.people.cornell.edu/pages/shb7
TakeThisOuTshb7.....spamTakeThisOuTcornell.edu  Phone(USA): (607) 253-0315 ICQ #: 3329174

1998\10\29@002823 by shadedemon

picon face
Andy Kunz wrote:

> Do you have a schematic for an audio AGC which will give me the pulsing I
> need?  That's the real hangup for me - converting it to RPM is just software.

 Not sure if you need AGC here.  I've been toying with a
simple way for a light based similar idea.  You have a high
peak sound pressure when the exhaust first hits.  Just
compare that against a reference that is generated from the
peak but decays from the last peak.  But the ref is still
well above background noise when the next peak hits so only
peaks count.  And have a comparator that fires when the
input goes above the reference to indicate your next peak..

 MIC--gain--signal--->|---RC network
               |               |
               V               |
               -               |
               |               |
               +               -        lm339 inputs

The incoming peaks charge the RC network through the diode
to get a "near peak" average level.  But make the time
constant short enough that even if the next peak is a little
quieter the RC will have fallen a bit and you get a pulse
comparing the two.  Imagine an LED instead of a normal
diode.  RC should drop enough to make sure the LED lights
when the next peak arrives.  But should stay high enough
that other background noise won't be close to lighting the
LED.  Only problem with this way is is making decay enough
to detect 60khz pulses and not too much for 1khz where it
falls too much and other background noise can register.
 So just suit time constant to how fast boat will move away
from you..  And compare incoming signal vs a voltage divided
2/3 or 3/4 of whats on the cap.  Then you get your wide
frequency range, but still only register pulses near your
average peak.  And if your peaks fall, the level they're
compared to will as well, just slowly.
 I'm doing something similar using an IR LED and photo to
index a rotating system vs the not rotating part.  This way
is a simple circuit and the value held in the C for
comparison is so close to the peak that changes in ambient
lighting/IR will be ignored.  If you want a really long
constant just use two caps in series for the voltage divider
and no R..
 Gain doesn't matter since the other peaks are the
reference, and peaks from the initial exhaust opening are so
high it should ignore other sounds.  When you get a peak,
ignore anything else for 1/120000th second (halfway to your
next possible peak) and you should be noise immune..

Take with a grain of salt, since I'm working on a different
part of the system and have only done a little testing on
this, but that part seems to be ok so far..

Alan

1998\10\29@005137 by tjaart

flavicon
face
Alan King wrote:

{Quote hidden}

I've used this with great success on electret mic's. You want
to have good gain, but no tuning. The non-inv input of a
TL074 was hooked to the tail end of an RC network with a
time constant of 2s. The inv input was hooked to the positive
side of the electret. It worked pretty well. If you divide the
non-inv input, you can get away with a single supply and LM324's.

If you want to get really fancy, you can use an intrumentation
op-amp setup with the two inputs taken from the positive and
negative sides of the mic. Use a series resistor between the
negative side of the mic, and ground.

If what I said didn't make sense, tell me, and i'll try again ;)

--
Friendly Regards

Tjaart van der Walt
TakeThisOuTtjaartKILLspamspamspamwasp.co.za

|--------------------------------------------------|
|                WASP International                |
|R&D Engineer : GSM peripheral services development|
|--------------------------------------------------|
|SMS .....tjaartspamRemoveMEsms.wasp.co.za  (160 chars max)|
|     http://www.wasp.co.za/~tjaart/index.html     |
|Voice: +27-(0)11-622-8686  Fax: +27-(0)11-622-8973|
|          WGS-84 : 26¡10.52'S 28¡06.19'E          |
|--------------------------------------------------|

'Andy's space shuttle, was Re: [PICS] Strobes'
1998\10\29@080103 by cousens

flavicon
face
Alan King wrote:
 SNIP
>  Only problem with this way is is making decay enough
> to detect 60khz pulses

I think Andy meant 60K pulses per minute for the optical tachometer
(three bladed propeller ?)

If the prop's in the water I don't think the engine will be doing
much over 15krpm

The tacho would only need to measure up to 20krpm = or 333hz
(unless you use 25% fuel <G>)

--
Peter Cousens
email: RemoveMEcousensspamspamBeGoneher.forthnet.gr  phone: + 3081 380534
snailmail:  Folia, Agia Fotini, Karteros, Heraklion  Crete, Greece.

Is it true that they have, on the new version of windows
managed to increase the MTBF from 95 to 98 minutes ?
(That's why they called it 95)

'[PICS] Strobes'
1998\10\29@115758 by John Payson

flavicon
face
|At 01:37 PM 10/28/98 -0500, you wrote:
|>>Why didn't you say so ;) Is it going to be wet ? If so, a twin plastic
|>
|>Not while I'm balancing it.  It's for a dynamic balancer along the lines of
|>what is used in full-size cars.  I'm sure some heli guys will like it.

|What does balance have to do with RPM? Please enlighten me! <G> It would
|seem to me that prop imbalance causes the engine to wobble, but doesn't
|significantly change the RPM.

I think the idea is that the strobe should run at a right a few
hertz faster or slower than the motor's rotation speed; this would
have the effect of visually slowing the wobble to the point that
it could be usefully seen.  If there is a marking at one spot on
the shaft, the user could see how the direction of the wobble com-
pares with that mark; he could then (after stopping the motor of
course!) adjust the weight distribution to correct for the obser-
ved wobble.

Without such a device, a user might notice that the rotor is wob-
bling quite badly but still have no clue where weight needs to be
added or removed to solve the problem.

1998\10\29@132122 by Peter L. Peres

picon face
On Wed, 28 Oct 1998, Sean Breheny wrote:

> At 01:37 PM 10/28/98 -0500, you wrote:
> >>Why didn't you say so ;) Is it going to be wet ? If so, a twin plastic
> >
> >Not while I'm balancing it.  It's for a dynamic balancer along the lines of
> >what is used in full-size cars.  I'm sure some heli guys will like it.
>
> What does balance have to do with RPM? Please enlighten me! <G> It would
> seem to me that prop imbalance causes the engine to wobble, but doesn't
> significantly change the RPM.

Unbalanced devices cause vibration in the structure at various rpms. This
can be bad enough to make things fall apart. So one reason for balancing
is to get rid of the worst vibration points and to learn the others so as
not to run the boat on one of them and have it come back with a 1mm play
in the prop bearing and without the keel (if used).

Peter

1998\10\29@132132 by Peter L. Peres

picon face
On Wed, 28 Oct 1998, Andy Kunz wrote:

> >Why didn't you say so ;) Is it going to be wet ? If so, a twin plastic
>
> Not while I'm balancing it.  It's for a dynamic balancer along the lines of
> what is used in full-size cars.  I'm sure some heli guys will like it.

What do you use for accelerometers and do you index it or what ? Because
if you index the axis position to determine which way the inbalance vector
pulls then you already have a speed-related signal that you can tap into.

> >2 or 3 blades). If the LED is pulsed with 1 Amp pulses at 30 kHz as for IR
> >remote applications it should work ok.
>
> 1A in an LED - what a concept!  What kind of duty cycle do you propose, the
> standard 30%?

IR remote control leds run at that power level with a duty cycle of 10%
(3us on in 30us or so). They are quite happy with it. A PIC can easily do
that by flipping an output bit with a nop or two between the on and off
commands. And where did you get the standard 30% from ? Is it an American
standard ?

{Quote hidden}

I don't know what the sound level is, that you start out with. By the way,
did you say ELECTRIC ? Multi-pole electric motors with a switched
collector draw current in gobs as the collector switches coils, and there
is a way to build even electronic stabilizers like this. No, you don't
need a pickoff resistor, use the length of cable of the '+' wire from the
regulator f.ex. A LM358 wired 1/2 as x 100 AC amplifier with differential
input and 1/2 as pulse shaper (comparator) should do what you want. Try
this, with 2 crocodile clamps to attach to the engine wire and a scope as
output (before the shaper). Some tinkering may be required. The crocos
attach one to the regulator '+' output and one to the motor '+' input. The
wire between them acts as sense shunt. Some amount of low-passing the 358
will be required.

Another way to get at the frequency of a running DC motor is to put a
pickup coil on it. A phone suction cup coil should work and so should a
vrac-wound ferrite rod antenna. The amplifier is the same. This should
work through the boat body (fiberglass or carbon I presume). Magnetic
pickups do not like to be in the same room with variacs and other mains
operated large transformers and motors, so maybe try the shunt method
first.

hope this helps,

Peter

1998\10\29@154230 by Sean Breheny

face picon face
At 06:57 PM 10/29/98 +0000, you wrote:
>Unbalanced devices cause vibration in the structure at various rpms. This
>can be bad enough to make things fall apart. So one reason for balancing
>is to get rid of the worst vibration points and to learn the others so as
>not to run the boat on one of them and have it come back with a 1mm play
>in the prop bearing and without the keel (if used).

Hi Peter,

I understand WHY unbalance causes vibration. What I don't understand is how
a Tachometer helps you to determine the degree of imbalance.

John Payson suggested that it helped by allowing the use of a strobe which
was synchonized with the rotation to allow the prop to seem to stand still,
so that we could see the wobbling. I'll have to think about this a bit, but
I'm not convinced that strobing will make the wobbling rate seem slower to
the eye.

Sean


>
>Peter
>
+-------------------------------+
| Sean Breheny                  |
| Amateur Radio Callsign: KA3YXM|
| Electrical Engineering Student|
+-------------------------------+
Save lives, please look at http://www.all.org
Personal page: http://www.people.cornell.edu/pages/shb7
spamBeGoneshb7@spam@spamspam_OUTcornell.edu  Phone(USA): (607) 253-0315 ICQ #: 3329174

1998\10\29@160727 by Andy Kunz

flavicon
face
>Without such a device, a user might notice that the rotor is wob-
>bling quite badly but still have no clue where weight needs to be
>added or removed to solve the problem.

Thanks, John.  Your explanation sure beat mine!

Andy


==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================

1998\10\29@160730 by Andy Kunz

flavicon
face
>What do you use for accelerometers and do you index it or what ? Because

Not that far along yet.  I'm still using an Eye, Mark I.

>IR remote control leds run at that power level with a duty cycle of 10%
>(3us on in 30us or so). They are quite happy with it. A PIC can easily do

No, a std 38KHz IR is 8uS on and 26 off.  Check the NEC documentation, or
just about any IR chip.

>commands. And where did you get the standard 30% from ? Is it an American
>standard ?

Japanese --> universal <G>

>I don't know what the sound level is, that you start out with. By the way,
>did you say ELECTRIC ? Multi-pole electric motors with a switched

Yes.  We race them at about 50mph around an oval.  We dump 2 AH in 90 seconds.

>is a way to build even electronic stabilizers like this. No, you don't

Stabilizer?  ?

>Another way to get at the frequency of a running DC motor is to put a
>pickup coil on it. A phone suction cup coil should work and so should a

The motor is 100' away traveling at 50mph.  Sound is the only possibility.

I have a tach in my data logger (on board some boats, but not all have
enough room), now I need an external one.

Thanks.

Andy

==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================

1998\10\29@163355 by Andy Kunz

flavicon
face
>I understand WHY unbalance causes vibration. What I don't understand is how
>a Tachometer helps you to determine the degree of imbalance.

The tach isn't used for balancing, it's used to measure performance.
Slightly related, but as a measurement of increase, not to balance per se.

>I'm not convinced that strobing will make the wobbling rate seem slower to
>the eye.

Yes, it does.  Actually, the strobe light is to be run either off a pot or
by watching the rotation of the propeller, under user selection.

Andy


==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================

1998\10\30@005119 by Andy Kunz

flavicon
face
>What does balance have to do with RPM? Please enlighten me! <G> It would
>seem to me that prop imbalance causes the engine to wobble, but doesn't
>significantly change the RPM.

Have you ever been to a speed shop?  You need to get your tires balanced
for operation at the expected speed.  Harmonics.

Oh, it does!  When you're spinning at 60K RPM especially.

You can be perfectly balanced dimensionally (same outline both blades) and
statically (it stays level on the balancer), but until you spin it you
don't know for sure.

Andy

==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================

1998\10\30@014151 by Sean Breheny

face picon face
Hi Andy,

At 09:41 AM 10/29/98 -0500, you wrote:
>Have you ever been to a speed shop?  You need to get your tires balanced
>for operation at the expected speed.  Harmonics.

So, you're saying that they actually listen for harmonics generated by the
wobbling? I would think that the wobbling would be at the same or less
frequency then the rotational frequency of the object.

>
>Oh, it does!  When you're spinning at 60K RPM especially.

Andy, are you using jet powered boats? <G> I have never heard of a model
engine that spins a prop at 60,000 RPM in AIR let alone WATER!!!!!

I have an RC plane with a .40 cu in engine and it tops out at 16,000 RPM
with a 10x6 prop (well, I never measured it, but that's what the specs say).

>
>You can be perfectly balanced dimensionally (same outline both blades) and
>statically (it stays level on the balancer), but until you spin it you
>don't know for sure.

Well, I have never worried about anything other than static balancing on my
prop. The only other way that it could be unbalanced (as far as I can see)
would be if there were more mass toward the back of one blade and toward
the front on another. If you get this advanced, how do you adjust your
props? I just sand the outer edge of the flat side of mine to remove moment
from that side.

Sean


>
>Andy
>
>==================================================================
>Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
>==================================================================
>
+-------------------------------+
| Sean Breheny                  |
| Amateur Radio Callsign: KA3YXM|
| Electrical Engineering Student|
+-------------------------------+
Save lives, please look at http://www.all.org
Personal page: http://www.people.cornell.edu/pages/shb7
TakeThisOuTshb7spamspamcornell.edu  Phone(USA): (607) 253-0315 ICQ #: 3329174

1998\10\30@061958 by Peter L. Peres

picon face
On Thu, 29 Oct 1998, Andy Kunz wrote:

> >IR remote control leds run at that power level with a duty cycle of 10%
> >(3us on in 30us or so). They are quite happy with it. A PIC can easily do
>
> No, a std 38KHz IR is 8uS on and 26 off.  Check the NEC documentation, or
> just about any IR chip.

You can use 3 usec with the same parts. The range is slightly better, and
RFI is harder to control, but the FCC is far away from here ;)

> >commands. And where did you get the standard 30% from ? Is it an American
> >standard ?
>
> Japanese --> universal <G>

Ah, ok. ;)

> >I don't know what the sound level is, that you start out with. By the way,
> >did you say ELECTRIC ? Multi-pole electric motors with a switched
>
> Yes.  We race them at about 50mph around an oval.  We dump 2 AH in 90 seconds.

So dump 80 Amps into a 0.005 ohm connection wire. Gives 0.4V and it's not
DC ;)

> >is a way to build even electronic stabilizers like this. No, you don't
>
> Stabilizer?  ?

I mean regulator.

> >Another way to get at the frequency of a running DC motor is to put a
> >pickup coil on it. A phone suction cup coil should work and so should a
>
> The motor is 100' away traveling at 50mph.  Sound is the only possibility.
>
> I have a tach in my data logger (on board some boats, but not all have
> enough room), now I need an external one.

Radio. Get one of those wireless data module pairs and do something smart
with it. I guess the simplest way would be to buy a 'bug' transmitter kit
for FM and connect the mike input directly on the motor wire as described.
A pot may be required to get the volume down. A bug with AGC is better.
Then listen with a FM radio tuned to it. This should be small enough to
fit anywhere.

Peter

1998\10\30@062008 by Peter L. Peres

picon face
On Thu, 29 Oct 1998, Sean Breheny wrote:

> At 06:57 PM 10/29/98 +0000, you wrote:
> >Unbalanced devices cause vibration in the structure at various rpms. This
> >can be bad enough to make things fall apart. So one reason for balancing
> >is to get rid of the worst vibration points and to learn the others so as
> >not to run the boat on one of them and have it come back with a 1mm play
> >in the prop bearing and without the keel (if used).
>
> Hi Peter,
>
> I understand WHY unbalance causes vibration. What I don't understand is how
> a Tachometer helps you to determine the degree of imbalance.

The tachometer can be used to determine where the vibration occurs (minor
vibration that is not to be corrected) and then make a chart to tell the
pilot what engine setting NOT to use.

> John Payson suggested that it helped by allowing the use of a strobe which
> was synchonized with the rotation to allow the prop to seem to stand still,
> so that we could see the wobbling. I'll have to think about this a bit, but
> I'm not convinced that strobing will make the wobbling rate seem slower to
> the eye.

;) The axis wobbling will be at the rate of rotation in most cases so if
the strobe flashes in sync with the rotation the whole picture appears
frozen, with the axis bent out in the direction of mass imbalance. If
there is a colored mark on the axis or on a blade, you can reference the
direction of imbalance to this, stop the motor and correct, then redo from
start.

Peter

1998\10\30@090708 by Keith H

flavicon
face
On Thu, 29 Oct 1998, Andy Kunz wrote:

> >IR remote control leds run at that power level with a duty cycle of 10%
> >(3us on in 30us or so). They are quite happy with it. A PIC can easily do
>
> No, a std 38KHz IR is 8uS on and 26 off.  Check the NEC documentation, or
> just about any IR chip.

IR handsets are anything but standard.

Carrier modulation can be from around 33 to 40 kHz, and sometimes 60 kHz.
I analysed handsets from my house, and found 7us on 21 us off was common
though one handset used 7us on 14 us off.

I wrote some PIC code to transmit various handset signals, and it worked.

The commonly quoted website
       falcon.arts.cornell.edu/~dnegro/IR/REMOTES/
is full of bugs!

BTW, anybody know what phosphor is used to convert IR to white light
in white LEDs? Is it cheap, non-toxic, and robust outside LED pacakging?

1998\10\30@093803 by Andy Kunz

flavicon
face
>So, you're saying that they actually listen for harmonics generated by the
>wobbling? I would think that the wobbling would be at the same or less
>frequency then the rotational frequency of the object.

"Listen" is the wrong word, but yes, the balance of your tire will change
at different RPMs.  How that affects your driving is also dependent upon
the suspension of your car.

>Andy, are you using jet powered boats? <G> I have never heard of a model
>engine that spins a prop at 60,000 RPM in AIR let alone WATER!!!!!

Motor, not engine.  60K isn't hard for a DC motor.  Check out the
advertisements from Model Electronics for their War Emergency Power series.
I use their Turbo 10+ motor in my scale boats, but with the timing cranked
to the physical limits (to boost RPM).

>Well, I have never worried about anything other than static balancing on my
>prop. The only other way that it could be unbalanced (as far as I can see)

At 16K it isn't as important, but with the mass your spinning it could be.

Get yourself a Top Flight magnetic balancer and give the prop a spin.
You'll see.

>the front on another. If you get this advanced, how do you adjust your
>props? I just sand the outer edge of the flat side of mine to remove moment

Boats use metal props, and I just oil sand the thickness of the blade,
usually.

You ought to try dimensional balancing first.  Press the image of the prop
into Play-Doh, rotate prop 180 degrees, and see how they line up.

Some props are horrendous.  APC's are good, imho.

Andy

==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================

1998\10\30@093807 by Andy Kunz

flavicon
face
>You can use 3 usec with the same parts. The range is slightly better, and
>RFI is harder to control, but the FCC is far away from here ;)

Good idea!

>Radio. Get one of those wireless data module pairs and do something smart

I'm investigating that angle, but I don't have room in all the boats.

Andy

==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================


'[PICS] Strobes'
1998\11\03@140318 by Peter L. Peres
picon face
On Tue, 3 Nov 1998, Andy Kunz wrote:

> Do you have a schematic for this as well?  I think I'm missing something ...

Schematic to work with LM324/LM358:


                      Switch
                         /
+ Battery O-------------o/ o-------------O + Motor





- Battery O-*--------------------------*-O - Motor
           |                          |
           |                          |
           |                          |        1/4 LM324
           |                          |   |\
           |                          +---+ \
           |                              |  >--*-||-O Audio out
          ===                         +---- /   |
          GND 324                     |   |/    |
                                      |         |
                                      +---------+

The 324 receives power from somewhere else (can be +Battery). The output
should be pretty loud in any amp at 80A current. It may be necessary to
turn the direct feedback network into something else to obtain a low-pass
characteristic but the 324 is slow enough at 5V so as not to propagate
spikes.

The output can be fed (through a volume pot) into the mike input of bug Tx
or directly into an amplifier (small guitar amp ?). Start out with a low
volume.

I once used a setup like this to hunt a rusted ground connection bolt in a
large machine so I know it works.

With some cunning you can take this signal and amplify and limit it to
synchronize a PLL that can drive a strobe. A median filter is a good idea
and the PLL can be a PIC. The output frequency is a whole multiple of the
RPM (usually number of coil armatures on rotor x RPM) and depends on the
type of motor.

Peter

1998\11\03@154247 by paulb

flavicon
face
Peter L. Peres wrote:

> Schematic to work with LM324/LM358:

 Peter, that circuit makes no sense at all!  You are using a voltage-
follower with no gain to buffer a signal whose impedance is a few
hundredths of an ohm!  Total waste of time!

 If OTOH you were to provide a *gain* in the op-amp, say 500 times, to
limit and drive a logic gate, it would be useful.
--
 Cheers,
       Paul B.

1998\11\04@112721 by Peter L. Peres

picon face
On Wed, 4 Nov 1998, Paul B. Webster VK2BZC wrote:

> Peter L. Peres wrote:
>
> > Schematic to work with LM324/LM358:
>
>   Peter, that circuit makes no sense at all!  You are using a voltage-
> follower with no gain to buffer a signal whose impedance is a few
> hundredths of an ohm!  Total waste of time!

That is correct, however it was to clarify the idea. The notes explain
why the amp is not used as is but as an amplifier and low pass filter.

Peter

>   If OTOH you were to provide a *gain* in the op-amp, say 500 times, to
> limit and drive a logic gate, it would be useful.

The amp already limits, depending on offset vs. input signal the output
will be rectified or clipped. You don't really need to amplify, just
remove the feedback connection. If the offset is the wrong way swap the +
and - inputs. ;) This yields Vdd size pulses at the output but you need to
low-pass in software.

Peter


'[PICs] Stepper motor control'
1999\10\17@172507 by John De Villiers
flavicon
face
Im turning a large disk with a stepper and a pic.

The gearing that i use gives me several thousand possible stops (steps) in
one revelution of the disk. If the step number of the current point is
known, and the step number of the destination is known, how would i calulate
the shortest route ( clockwise or anti clockwise )??

Lets assume the step number is a 16bit variable.
Also assume that there will always be an equal number of stops.

John

1999\10\17@182225 by Sean H. Breheny

face picon face
A=Total number of steps
B=current step number
C=Destination step number

Let's assume that the step numbers increase clockwise

D = C - B
If ABS(D) < INT(A/2) then Result = D:done
If D > 0 then Result = D - A + 1:done
Result = D + A - 1
done

Where INT means take only the integer part and ABS is the absolute value
function.

Result is the number of steps that need to be taken. If it is positive, go
clockwise. IF negative, go counter clockwise. If zero, stay where you are.

The idea is this: If C>B then you should go clockwise if C-B is less than
half way around (hence the A/2). Otherwise, you should go the other way
around. Similar argument for C<B

Sorry, I don't have time right now to turn this into PIC code,but it should
be easy to do ;-)

Sean

At 11:25 PM 10/17/99 +0200, you wrote:
{Quote hidden}

| Sean Breheny
| Amateur Radio Callsign: KA3YXM
| Electrical Engineering Student
\--------------=----------------
Save lives, please look at http://www.all.org
Personal page: http://www.people.cornell.edu/pages/shb7
shb7EraseMEspamcornell.edu ICQ #: 3329174

1999\10\18@152734 by Lawrence Lile

flavicon
face
Interesting problem, John.

Try this idea:

Say your present position is 1000.  You want to go to 1050.  and the
shortest route is clockwise.

Assume there are 65536 possible positions

1050 - 1000   is less than    65535 - 50.

Therefore,  subtract the present position from the desired postition, and
the desired position from the MAXIMUM number of positions.  the comparison
will give you the shortest route.



{Original Message removed}

'[PICs][newbie] MPLAB help'
1999\10\24@183049 by John De Villiers

flavicon
face
I need help with MPLAB.

Im busy with a cicuit design and at the same time im writing the code for
it. With some of the i/o lines i havent decided on what ports they should go
yet.

At the moment my code looks something to the effect of

       bsf     porta,0
       bcf     porta,1

Is there a way i can define names for porta,0 and porta,1 so that in the
code i can use the names, instead of the pin names? Then if i move something
around, all i need to do is change the name -> pin assignment and recompile,
instead of searching all the code for porta,0 etc.

Regards
  John

PS - does anyone know off-hand what the length (time) of a spark is in a
vehicle with electronic ignition ?

1999\10\24@185131 by Thomas C. Sefranek

face picon face
John De Villiers wrote:

> I need help with MPLAB.
>
> Im busy with a cicuit design and at the same time im writing the code for
> it. With some of the i/o lines i havent decided on what ports they should go
> yet.
>
> At the moment my code looks something to the effect of
>
>         bsf     porta,0
>         bcf     porta,1
>
> Is there a way i can define names for porta,0 and porta,1 so that in the
> code i can use the names, instead of the pin names?

Sure!

Declare constants for the pin numbers.

Plug1    EQU    0
Plug2    EQU    1
Plug3    EQU    2
etc....
Then you code can be:

   BSF    PORTA,Plug1
   BCF    PORTA,Plug2

> Then if i move something
> around, all i need to do is change the name -> pin assignment and recompile,
> instead of searching all the code for porta,0 etc.
>
> Regards
>    John
>
> PS - does anyone know off-hand what the length (time) of a spark is in a
> vehicle with electronic ignition ?

--
Thomas C. Sefranek  WA1RHP
ARRL Instructor, Technical Specialist, VE Contact.
http://www.harvardrepeater.org
http://hamradio.cmcorp.com/inventory/Inventory.html

1999\10\25@111751 by Lea

picon face
At 12:29 AM 10/25/99 +0200, you wrote:
>        bsf     porta,0
>        bcf     porta,1
>
>Is there a way i can define names for porta,0 and porta,1 so that in the
>code i can use the names, instead of the pin names? Then if i move something
>around, all i need to do is change the name -> pin assignment and recompile,
>instead of searching all the code for porta,0 etc.

Hi John
you can doit, It is very helpfull to know what are you turning setting or
clearing
when writing the code :-).
here is an example:

#define        _txda           PORT_A,1         ;SPI txdata
#define        _rxda           PORT_A,2         ;SPI rxdata
#define        _we             PORT_A,3         ;write enable/1

I usually do it at the begining of the program.

so if you whant to do : BCF PORT_A,1
              just do  BCF _txda
easier isn't it?.

Hope it helps.
see you.
  Leandro J. Laporta (LU2AOQ)
  mail: RemoveMElu2aoqEraseMEspamspam_OUTyahoo.com
  wrk: Arg. Assoc. for Space Technology.
  ham: TCP/IP high speed group HSG

1999\10\25@123230 by Dwayne Reid

flavicon
face
>Is there a way i can define names for porta,0 and porta,1 so that in the
>code i can use the names, instead of the pin names? Then if i move something
>around, all i need to do is change the name -> pin assignment and recompile,
>instead of searching all the code for porta,0 etc.

Sure!  Use the #define function in MPLAB.  The following is snipped from
working code.  Note that I define all bit variables with a leading
underscore - this is *MY* convention and not required by MPLAB.

To change the pin assignment for any i/o line, all I have to do is change
the #define in ONE location.

; PORT A Device Bits    note: ra 0,1 a/d inputs so no labels for them
   #define _MUXCLK  RA,2        ; RA2, a/d ext mux clk out (active LO)
   #define _MUXRST  RA,3        ; RA3, a/d ext mux reset out (active HI)
   #define _PBWR    RA,4        ; RA4, "WRITE" button (active LO)
   #define _PBRD    RA,5        ; RA5, "READ" button (active LO)

RA_INIT         EQU b'00010000' ;
DDR_A           EQU b'00110011' ; ddr: ra 2,3==out,  ra 0,1,4,5==in
DIPWRMSK        EQU b'00010000' ;
DIPRDMSK        EQU b'00100000' ;

; PORT B Device Bits
   #define _IPCRXD RB,0        ; RB0, IPC data input (active LO)
   #define _IPCTXD RB,1        ; RB1, IPC data out (active HI)
   #define _DHTRLD RB,2        ; RB2, display heater LEDs data output
   #define _DSTAT  RB,3        ; RB3, display status & inputs (bi-dir)
   #define _STROBE RB,4        ; RB4, ctrl, DipSw, disp str, eeprom !CS
   #define _SERCLK RB,5        ; RB5, ctrl, DipSw, display CLOCK
   #define _EECLK  RB,6        ; RB6, eeprom clock
   #define _SERDAT RB,7        ; RB7, ctrl, DipSw, eeprom DATA (bi-dir)

RB_INIT         EQU b'00000001' ;initial port B data status
DDR_B           EQU b'10001001' ;ddr: rb 1,2,4,5,6==out,  rb 0,3,7==in
DDR_BLO         EQU b'10001001' ;AND  0s force bits LO
DDR_BHI         EQU b'00000001' ;OR  1s force bits HI

Hope this helps.

dwayne



Dwayne Reid   <@spam@dwaynerRemoveMEspamEraseMEplanet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax

Celebrating 15 years of Engineering Innovation (1984 - 1999)

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Do NOT send unsolicited commercial email to this email address.
My posting messages to Usenet neither grants consent to receive
unsolicited commercial email nor is intended to solicit commercial
email.


'[PICS]: Re: Windows vs Linux'
2000\05\31@091109 by Andrew Kunz
flavicon
face
HiTech also has a Linux distribution of the PICC compiler, I understand.

Andy









Ries van Twisk <EraseMEriesspam@spam@FRANKSINTL.NL> on 05/31/2000 08:40:26 AM

Please respond to @spam@riestspam_OUTspam.....franksintl.nl








To:      spamBeGonePICLISTEraseMEspamMITVMA.MIT.EDU

cc:      (bcc: Andrew Kunz/TDI_NOTES)



Subject: Re: Windows vs Linux








Hai,

I'm not familair yet window developing PIC software on a Linux box.
I do now that the C2C compiler is compatible with Linux. And I
guess programming a PIC from a Linux box is posible to.

That one thing I can say is that Linux is robust. My servers here ans
at company runs smothly (only one real crash because I run out of
temporary disk space). At home it never crached and my laptop
never crashed.
I use the Debian distributions (slink).

Ries


'[PICS]: Hi-Tech Pic-Lite compiler'
2000\06\09@182033 by goflo
flavicon
face
Hi All -

Several posts mention Hi-Tech's Pic-Lite compiler, and there's a
Pic-Lite page on their site, but no link to the file. Anyone know
where to find it?

Thanks, Jack

2000\06\10@121445 by goflo

flavicon
face
Thanks to all who replied. For whatever reason the whole
page won't load - Fiddling around, I happened across

http://www.htsoft.com/products/piclite

which brings up an index of files, including the compiler
and manual, in case anyone else has the problem...

thanks again, Jack

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...