magnetic field

"Jamie" <jamie_5_not_valid_after_5_Please@charter.net> wrote in message
news:VpHne.3031$QX1.756@fe06.lga...
Vidar L?kken wrote:

I'm programming a atmel Tiny 2313, and have to use the "ret"
statement.
The problem is that ret simply jumps to the top of the program, not
the location it was called from. I'm prorgramming in assembler (of
course...).

Does anyone know how to "enable" ret call?
make sure you cleaned up your stack.
using the RET is simply popping things off the
stack to generate a return address.
overflow of the stack or writing 0's on the
stack i guess could cause it also :_)
I don't know that device but... Do you have to put the program counter on
the stack yourself before branching to the sub? If it is and you forgot then
when you do the ret you might get 0000
 
On 2 Jun 2005 04:19:52 -0700, vidarlo@gmail.com (Vidar L?kken) wrote:

I'm programming a atmel Tiny 2313, and have to use the "ret"
statement.
The problem is that ret simply jumps to the top of the program, not
the location it was called from. I'm prorgramming in assembler (of
course...).

Does anyone know how to "enable" ret call?
How did you call the routing containing the 'ret'?

You need to use a CALL (Intel) or JSR(Jump to subroutine)(Motorola)
instruction - this will store the return address on the stack - the
ret instruction pops that address from the stack, and puts it in the
program counter. (I don't know Atmel's version of the "jump to
subroutine" instruction).

A plain Jump or Branch instruction will not store the return address.

--
Peter Bennett VE7CEI
email: peterbb4 (at) interchange.ubc.ca
GPS and NMEA info and programs: http://vancouver-webpages.com/peter/index.html
Newsgroup new user info: http://vancouver-webpages.com/nnq
 
On Sun, 29 May 2005 21:30:04 -0700, siliconmike wrote:

I've developed a small device that trips a circuit if its power
consumption goes outside a bound.

There are quite a few machines (for example - pumps) whose power
consumption depends on the input voltage.

Such machines may get damaged in case the external conditions go
berzerk. (example when there is no input to a submersible pump). In
such cases the power input fluctuates. (The current input fluctuates,
but unpredictably in many cases)

My device is initially programmed with 2 graphs:

1: of Maximum Power versus Input-Voltages of the machine it intends to
protect.
2: of Minimum Power versus Input-Voltages of the machine it intends to
protect.

The device interpolates and makes this graph smooth.

When the power consumption of the machine goes out of bounds for a
given input voltage, it trips the machine.

First, does such device exist in the market ?
Yes.

If yes, what is it called
A Fuse.

What are the other uses one could contemplate for this device?
(It was originally made for pumps)

Thank you
Mike
You're Welcome!
Rich
 
On Sun, 29 May 2005 21:42:01 -0700, siliconmike wrote:

Addendum:

In rural India they want the bore-well pumps to work right from 110 VAC
to 300 VAC. But if the bore-well runs out of water, they want to trip
thte pump.

This is where this device is used.
What you really need to do, then, is sense for the presence of water.

If what you're using now is working, then don't fix it, but there is
very little in the way of electrical equipment that runs on that broad
of a range of input voltages, without some kind of switchover arrangement;
usually the power source is much more well-regulated and predictable
than that.

Sorry.
Rich
 
On 1 Jun 2005 21:02:49 -0700, "log" <logansummersh@yahoo.com> wrote:

Hi,

My frequency counter is IC based with one of its
pin as direct input.. about 6Volts. Now I want to
measure the frequency of the power lines. I plan
to use a step down transformer of 110 volts to
6 volts secondary. Can I use the connect transformer
6 volts output directly to the pin of the IC.. or do
I have to use some kind of current limiter. If so. What
current limiter must I use? Or does the IC only draw
the required few current it needs without the transformer
overloading it? Thanks.

log
Give us more details on the input IC you are using.
In any case a resistive network should be in order, provided you don't
need ground isolation. If you do, the transformer makes more sense.

Vlad
 
"log" <logansummersh@yahoo.com> wrote in message
news:1117858182.062905.105740@g47g2000cwa.googlegroups.com...
You can use NPN transistors for all applications using
PNP transistors, right?? What is then the advantage of
using PNP transistors versus NPN? Or are there situations
when only the PNP can work, what for instance?



log
PNP's are like inverted inputs, I have a NPN and PNP on a amplifier I built,
each pair of transistors are feed from the same input line, so as one turns
on , the other turns off..... If it was only NPN then I would need a
additional transistor or gate to invert the signal, the would also mean one
transistor would be a fraction behind in switching than the other, increases
circuit cost and footprint also..

I would like to use all NPN, there are a lot more options than PNP, finding
high power "common" PNP is somewhat hard work.... getting specs to match NPN
& PNP can be hard also.

if you replaced a PNP with a NPN you would blow up whatever you put in it.
Also note that the connections may need to be swapped around also...
they use PNP for rather a lot of reasons ;-)

persoanlly I don't like them, but oh well :)
Chris



>
 
"Antti Panula" <atpanula@nic.fi> wrote in message
news:429de763_2@news.dnainternet.net...
Just want to understand the significance of
frequency in power lines. Thanks.


The most part of digital clocks would run 16,7 times faster at 1kHz. So
the normal day would be just under 1,5 hours at this frequency of mains
power.
wooohooo, I vote for that during the day, and run it on 1hz during the
weekend ;-)

Chris






Antti
OH7GLS
 
On 3 Jun 2005 21:09:42 -0700, "log" <logansummersh@yahoo.com> wrote:

You can use NPN transistors for all applications using
PNP transistors, right??
Wrong!

For example if you want a constant current sink you'd use an npn. If
you want constant current source you'd use pnp. Push-pull amplifier
stage would use npn and pnp pair.

You need to read some more!


--

Malcolm

Malcolm Reeves BSc CEng MIEE MIRSE, Full Circuit Ltd, Chippenham, UK
(mreeves@fullcircuit.com, mreeves@fullcircuit.co.uk or mreeves@iee.org).
Design Service for Analogue/Digital H/W & S/W Railway Signalling and Power
electronics. More details plus freeware, Win95/98 DUN and Pspice tips, see:

http://www.fullcircuit.com or http://www.fullcircuit.co.uk

NEW - www.CharteredConsultant.co.uk - The Consultant A-List
 
PYCTAM wrote:
Hi,

I want to use a ERICSSON T10s board (from disassambled phone with LCD)
in one of my projects. How can I powering up the board? I couldn't do
it by powering up through connector on the board without its battery.

Sincerely,
Rustam Bogubaev
I've successfully supplied my t610 with 3.75V on the battery input. + at
the one to left when the pins is facing upwards, 0v on the right pin.
The mid pin is used to indicate the charging status, and should _not_ be
connected when running without a real battery. You might want to put a
capacitor across the terminals, to smoothen out voltage when the phone
suddenly drags more, i.e gets a call or something like that.

--
MVH,
Vidar

www.bitsex.net
 
"log" <logansummersh@yahoo.com> wrote in message
news:1117858182.062905.105740@g47g2000cwa.googlegroups.com...
You can use NPN transistors for all applications using
PNP transistors, right?? What is then the advantage of
using PNP transistors versus NPN? Or are there situations
when only the PNP can work, what for instance?



log

You must be right.
The manufacturers are just conning people by offering PNP's and the
'engineers' that are stupidly conned by these manufacturers into using these
useless devices obviously don't know as much as yourself about designing
with electronics.

Spread the word before it is too late.

Please close the door after you
 
<CrabbyBeeach@gmail.com> wrote in message
news:1117702142.439982.257500@g44g2000cwa.googlegroups.com...
I suspect that many modern, microprocessor -controlled bathroom scales

There's no such thing you jerkoff.
I presume that he was referring to scales with an LED display. I imagine
that these *do* have a microprocessor of sorts inside, to perform
analogue-to-digital conversion on the output of a strain-gauge attached to
the part you stand on, and then to convert this reading to signals which
control the segments of the display.

Now who's the jerkoff? ;-)
 
"Martin Underwood" <me@privacy.net> wrote in
news:42a1b925$0$21780$ed2619ec@ptn-nntp-reader01.plus.net:

CrabbyBeeach@gmail.com> wrote in message
news:1117702142.439982.257500@g44g2000cwa.googlegroups.com...
I suspect that many modern, microprocessor -controlled bathroom
scales

There's no such thing you jerkoff.

I presume that he was referring to scales with an LED display. I
imagine that these *do* have a microprocessor of sorts inside, to
perform analogue-to-digital conversion on the output of a strain-gauge
attached to the part you stand on, and then to convert this reading to
signals which control the segments of the display.

Now who's the jerkoff? ;-)
The "digital" bathroom scales I've disemboweled only digitized the rotation
of a disk. The disk would have had numbers on it, if it were a
"mechanical" scale. The disks had black and transparent radial bands, that
were read by a quadrature decoder/counter, and displayed on 3 LED digits.
The mechanics were exactly the same as in the old bathroom scales we've had
for a nearly a century.
 
Peter Bennett wrote:
On 2 Jun 2005 04:19:52 -0700, vidarlo@gmail.com (Vidar L?kken) wrote:


I'm programming a atmel Tiny 2313, and have to use the "ret"
statement.
The problem is that ret simply jumps to the top of the program, not
the location it was called from. I'm prorgramming in assembler (of
course...).

Does anyone know how to "enable" ret call?


How did you call the routing containing the 'ret'?

You need to use a CALL (Intel) or JSR(Jump to subroutine)(Motorola)
instruction - this will store the return address on the stack - the
ret instruction pops that address from the stack, and puts it in the
program counter. (I don't know Atmel's version of the "jump to
subroutine" instruction).

A plain Jump or Branch instruction will not store the return address.

and make sure you have the stack initialized
 
Ken Moffett wrote:
The "digital" bathroom scales I've disemboweled only digitized the rotation
of a disk. The disk would have had numbers on it, if it were a
"mechanical" scale. The disks had black and transparent radial bands, that
were read by a quadrature decoder/counter, and displayed on 3 LED digits.
The mechanics were exactly the same as in the old bathroom scales we've had
for a nearly a century.
That's true. But the point in question was the "no such thing" put
forth by a previous poster. That's clearly not true.
--
Noah
 
"ReinWiehler" <nospam@no.net> wrote in message
news:xPednUdr5vjeTTzfRVn-tA@rogers.com...
Peter Bennett wrote:
On 2 Jun 2005 04:19:52 -0700, vidarlo@gmail.com (Vidar L?kken) wrote:


I'm programming a atmel Tiny 2313, and have to use the "ret"
statement.
The problem is that ret simply jumps to the top of the program, not
the location it was called from. I'm prorgramming in assembler (of
course...).

Does anyone know how to "enable" ret call?


How did you call the routing containing the 'ret'?

You need to use a CALL (Intel) or JSR(Jump to subroutine)(Motorola)
instruction - this will store the return address on the stack - the
ret instruction pops that address from the stack, and puts it in the
program counter. (I don't know Atmel's version of the "jump to
subroutine" instruction).

A plain Jump or Branch instruction will not store the return address.

and make sure you have the stack initialized
The 2313 stack grows from the top of sram downwards. You must initialise the
stack pointer to a suitable address - probably 0x0df. The stack pointer
must never become below 0x060 - which is where the I/O registers start. The
SP is decremented by 1 for every PUSH and by 2 for every RCALL. So, the
commonest mistakes are (1) not initialising the SP and (2) not matching PUSH
and POP instructions, and not matching RCALL and RET.




Posted Via Nuthinbutnews.Com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.nuthinbutnews.com
 
Dave Garnett wrote:
The 2313 stack grows from the top of sram downwards. You must initialise the
stack pointer to a suitable address - probably 0x0df. The stack pointer
must never become below 0x060 - which is where the I/O registers start. The
SP is decremented by 1 for every PUSH and by 2 for every RCALL. So, the
commonest mistakes are (1) not initialising the SP and (2) not matching PUSH
and POP instructions, and not matching RCALL and RET.
Ah, thank you :) This just solved my problem :) if you pass by, remind
me I owe you a beer ;)

--
MVH,
Vidar

www.bitsex.net
 
<dmitry_25@yahoo.com> wrote in message
news:1117833029.838394.162890@g14g2000cwa.googlegroups.com...
I am looking for a device (existing,to be designed or to be assembled
from existing parts)

Requirements:
1. Inexpensive < 200 US$
2. Has a Bar Code reader
3. Has Ethernet controller
4. Is Programmable. * programming tools ( compiler, loader, etc. )
are readily available or not required.
5. Has LCD ( small is fine )
6. Has Keypad, not required but nice to have

Variations:
A. Magnetic or Proximity card reader instead of Bar Code Reader
B. Build In Modem instead of Ethernet controller

I'm sure you can buy such devices with Wireless LAN capability - they are
used for warehouse/stock control applications.
 
"CWatters" <colin.watters@pandoraBOX.be> wrote in message
news:yJmoe.110759$SI7.6632478@phobos.telenet-ops.be...
dmitry_25@yahoo.com> wrote in message
news:1117833029.838394.162890@g14g2000cwa.googlegroups.com...
I am looking for a device (existing,to be designed or to be assembled
from existing parts)

Requirements:
1. Inexpensive < 200 US$
Ah that's the tricky part.
 
Play nice.
"R.Lewis" <h.lewis@connect-2.co.uk> wrote in message
news:d7sd26$p77$1@domitilla.aioe.org...
"log" <logansummersh@yahoo.com> wrote in message
news:1117858182.062905.105740@g47g2000cwa.googlegroups.com...


You can use NPN transistors for all applications using
PNP transistors, right?? What is then the advantage of
using PNP transistors versus NPN? Or are there situations
when only the PNP can work, what for instance?



log

You must be right.
The manufacturers are just conning people by offering PNP's and the
'engineers' that are stupidly conned by these manufacturers into using
these
useless devices obviously don't know as much as yourself about designing
with electronics.

Spread the word before it is too late.

Please close the door after you
 
Hi Leng,

which company is building SATA-DVDRW? I only know of IDE/ATAPI drives.
Thanks for your answer!

Rainer

BTW: If you want to "age" your drive you should just burn some dozen DVDs.


albertleng@gmail.com schrieb:
In my company, we are going to have a new DVDRW drive which runs on
S-SATA interface.
 

Welcome to EDABoard.com

Sponsor

Back
Top