Chip with simple program for Toy

Dennis Clark <dlc@io.frii.com> wrote:

In sci.electronics.misc Ted Swift <tjswift@ucdavis.edu> wrote:

I've used the Palm m100 running hotpaw basic to talk to an OOPic data
logger. Talk about simple and very capable, and very, very cheap.
I second using hotpaw basic http://www.hotpaw.com/rhn/hotpaw/. You get a 30 day
trial of the download.

It's the most "bang for the buck" for small programs (at $18.95) - unless you
want to learn C on the Palm. OnBoardC is free and generates executable files on
the Palm. Hotpaw is an interpreter and your program will not be as fast as a
compiled C program. However, the learning curve for OnBoardC is much steeper
than for hotpaw.

The only problem I can see with hotpaw is whether it handles a 0 byte or uses it
as a string terminator. If you can define a byte array (instead of a string) as
the destination of the incoming bytes, it should work OK.

I've been using another development tool for about 6 months and have forgotten
much of what I knew about hotpaw :-(

The full documentation for hotpaw, including a tutorial, is available at the
link given above.


More about me: http://www.jecarter.com/
VB3/VB6/C/PowerBasic source code: http://www.jecarter.com/programs.html
Freeware for the Palm with NS Basic source code: http://nsb.jecarter.com
Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/
johnecarter at@at mindspring dot.dot com. Fix the obvious to reply by email.
 
"Fred Abse" <excretatauris@cerebrumconfus.it> wrote in message
news:pan.2003.11.19.21.39.26.482689@cerebrumconfus.it...
On Wed, 19 Nov 2003 01:44:55 +0000, Don Kelly wrote:


---------------
Did you do this with a secondary open circuit?. Did you do this
measurement using a low current inductance (probably at a high
frequency) measuring device as used in the electronics industry, or did
you do this with 5 to 50A at 60 Hz flowing and measurement of voltage
current and power to find the parameters?

Rather crudely done, I admit, Just measurements of current and voltage on
the same conductor with and without the transformer, and assuming the
added impedance was due entirely to inductance (which it really wasn't
all) Current standardized at 10A, 60Hz on a 100:5 CT secondary O/C
Measurement done using 5.5 digit, true RMS DVM. There's a limit to what
can be done in odd spare moments and lunch breaks.

It makes a difference as for many core
materials the permeability at very low NI is near that of free space so
the measurement may be giving you the inductance of what is effectively
an air cored transformer.

i did realize that.

Much depends on the CT but a good one must
have good coupling between primary and secondary or its accuracy would
be lousy. It also would need a low magnetising current. Such a low
primary inductance doesn't appear to fit these conditions.

I thought it a bit low, too, but that's what I got. I'll try and find time
to do some proper measurements. I think I can lay my hands on a vector
voltmeter, or maybe a dynamometer instrument.

What you appeared to be saying was that *under normal operating
conditions*, in a 480V circuit, a CT would have the whole supply voltage
across its primary. That's what I was questioning.

What I have said is a very real safety concern in the power industry.
Possibly they might know something you don't.

I don't doubt that it is, and they do.


On the basis that I have postulated, a 480V, 50A circuit, the normal
voltage drop across the primary should be negligable. Suppose the meter
used has an impedance of the order of 0.2 ohms ( a bit high for the
typical meter) so that at 5A the secondary voltage is 1V (5VA typical)
and the primary voltage is about 0.1V ( the impedance seen is about
about 0.02 ohms. This is negligable as far as the load circuit is
concerned. Since meter accuracy is to be maintained up to 2 to 4 times
the rating, and the transformer should have some reasonable accuracy
under short circuit conditions where the current may be of the order of
500 to 1000 A. This puts the voltage at the knee of the magnetising
current somewhere in the order of 20V for this particular hypothetical
transformer. If the transformer burden is 100 ohms then the primary
impedance will be of the order of 25 ohm as compared to the nominal load
impedance of 480/50=9.6ohms. Not a problem except that the transformer
primary voltage is now about 350V and the transformer is saturated. In
saturation, the accuracy and coupling go out of whack so saturation does
limit voltages for part of the cycle. However, the transformer will be
saturated for only part of the cycle so the primary current and the
voltage across the transformer will have a decidedly spiky waveform.
There will still be voltage spikes seen on the secondary and these can
be high. N.B. This is an off the cuff analysis but I have seen
oscillograms of secondary currents of a saturated CT. Peak voltages
occur at the time when d(phi)/dt is highest so peak voltages on the
secondary will still be dangerously high.

That seems to answer my question rather well. I'm going off to look at
waveforms on an O/C secondary, and see if I can spot where saturation
happens. I just hope my 1500V probes will cope :)

--
Then there's duct tape ...
(Garrison Keillor)
nofr@sbhevre.pbzchyvax.pb.hx
please let me know, you have piqued my curiosity - I like your attitude.
Why? is a wonderful question (and often puts people on the spot) .

I have seen some waveforms where there was a heavy inrush current and
saturation on 1/2 of the cycle. The CT had a normal burden and the waveform
looked like a child's drawing of the ocean.
Wasted a whole day to get them on an old film oscilloscope (along with a
drive over a road which was the same white as the ditches on each side
(at -40).
--
Don Kelly
dhky@peeshaw.ca
remove the urine to answer
 
Hi,
I am a newby to electroncs and am trying to construct a simple device that
will use 110v power from the wall to pluse a relay controling a few volts
(13) on and off. Ideally the pluseing should be adjustable from 2x per
second to once every 2 or 3 seconds.

Any informed suggestions would be welcome.

Thanks in advance.
 
I am a newby to electroncs
and apparantly a noob to the Internet.

TYPING IN ALL CAPS is like shouting when speaking.
It is to be avoided.

"Re:" means "in response to". There is no reason to use it
to start the subject line of an initial posting in a thread.
 
Don Kelly wrote:
"Fred Abse" <excretatauris@cerebrumconfus.it> wrote in message
news:pan.2003.11.19.21.39.26.482689@cerebrumconfus.it...
On Wed, 19 Nov 2003 01:44:55 +0000, Don Kelly wrote:


---------------
Did you do this with a secondary open circuit?. Did you do this
measurement using a low current inductance (probably at a high
frequency) measuring device as used in the electronics industry, or did
you do this with 5 to 50A at 60 Hz flowing and measurement of voltage
current and power to find the parameters?

Rather crudely done, I admit, Just measurements of current and voltage on
the same conductor with and without the transformer, and assuming the
added impedance was due entirely to inductance (which it really wasn't
all) Current standardized at 10A, 60Hz on a 100:5 CT secondary O/C
Measurement done using 5.5 digit, true RMS DVM. There's a limit to what
can be done in odd spare moments and lunch breaks.

It makes a difference as for many core
materials the permeability at very low NI is near that of free space so
the measurement may be giving you the inductance of what is effectively
an air cored transformer.

i did realize that.

Much depends on the CT but a good one must
have good coupling between primary and secondary or its accuracy would
be lousy. It also would need a low magnetising current. Such a low
primary inductance doesn't appear to fit these conditions.

I thought it a bit low, too, but that's what I got. I'll try and find time
to do some proper measurements. I think I can lay my hands on a vector
voltmeter, or maybe a dynamometer instrument.

What you appeared to be saying was that *under normal operating
conditions*, in a 480V circuit, a CT would have the whole supply voltage
across its primary. That's what I was questioning.

What I have said is a very real safety concern in the power industry.
Possibly they might know something you don't.

I don't doubt that it is, and they do.


On the basis that I have postulated, a 480V, 50A circuit, the normal
voltage drop across the primary should be negligable. Suppose the meter
used has an impedance of the order of 0.2 ohms ( a bit high for the
typical meter) so that at 5A the secondary voltage is 1V (5VA typical)
and the primary voltage is about 0.1V ( the impedance seen is about
about 0.02 ohms. This is negligable as far as the load circuit is
concerned. Since meter accuracy is to be maintained up to 2 to 4 times
the rating, and the transformer should have some reasonable accuracy
under short circuit conditions where the current may be of the order of
500 to 1000 A. This puts the voltage at the knee of the magnetising
current somewhere in the order of 20V for this particular hypothetical
transformer. If the transformer burden is 100 ohms then the primary
impedance will be of the order of 25 ohm as compared to the nominal load
impedance of 480/50=9.6ohms. Not a problem except that the transformer
primary voltage is now about 350V and the transformer is saturated. In
saturation, the accuracy and coupling go out of whack so saturation does
limit voltages for part of the cycle. However, the transformer will be
saturated for only part of the cycle so the primary current and the
voltage across the transformer will have a decidedly spiky waveform.
There will still be voltage spikes seen on the secondary and these can
be high. N.B. This is an off the cuff analysis but I have seen
oscillograms of secondary currents of a saturated CT. Peak voltages
occur at the time when d(phi)/dt is highest so peak voltages on the
secondary will still be dangerously high.

That seems to answer my question rather well. I'm going off to look at
waveforms on an O/C secondary, and see if I can spot where saturation
happens. I just hope my 1500V probes will cope :)

--
Then there's duct tape ...
(Garrison Keillor)
nofr@sbhevre.pbzchyvax.pb.hx

please let me know, you have piqued my curiosity - I like your attitude.
Why? is a wonderful question (and often puts people on the spot) .

I have seen some waveforms where there was a heavy inrush current and
saturation on 1/2 of the cycle. The CT had a normal burden and the waveform
looked like a child's drawing of the ocean.
Wasted a whole day to get them on an old film oscilloscope (along with a
drive over a road which was the same white as the ditches on each side
(at -40).
--
Don Kelly

Don, I have an old Weston 2534 0 - 50 AC Amp meter in front of me.
The dial scale states that you need an external CT with a 50:5 ratio.
The meter measures well under an ohm, so it appears to be a 0 - 5 AC Amp
meter with a 10X scale. the scale is slightly compressed below 10 Amps
so it is likely an old moving vane current meter.

Does anyone have an old Weston Catalog with more data on this meter
movement?

--
I say, the boy is so stupid that he tried to make a back up copy of his
hard drive on the Xerox machine! ;-)

Michael A. Terrell
Central Florida
 
Ahh the good 'ol net police in action, so diplomatic towards a new starter
!! Well done, I bet ya have that warm fuzzy right now huh??

So anyway pbilly, apart from that, it probably would be better to give a bit
more info about what you want to do. To me if you have a supply of 13volts
why use the 110 mains ?? It is generally recommended that beginers should
avoid that until more experienced.

--
Regards ............... Rheilly Phoull

"JeffM" <jeffm_@email.com> wrote in message
news:f8b945bc.0311201205.7f54a003@posting.google.com...
I am a newby to electroncs

and apparantly a noob to the Internet.

TYPING IN ALL CAPS is like shouting when speaking.
It is to be avoided.

"Re:" means "in response to". There is no reason to use it
to start the subject line of an initial posting in a thread.
 
Hi, sorry for the caps.

Rheillly, I need the simplest pulsing circuit. The fear factor doesn't faze
me at this point. So what light can you shed on this? The device can be
crude, crud, crude.

pbilly
"Rheilly Phoull" <Rheilly@bigpond.com.au> wrote in message
news:bpk2ce$1p0svj$1@ID-151145.news.uni-berlin.de...
Ahh the good 'ol net police in action, so diplomatic towards a new starter
!! Well done, I bet ya have that warm fuzzy right now huh??

So anyway pbilly, apart from that, it probably would be better to give a
bit
more info about what you want to do. To me if you have a supply of
13volts
why use the 110 mains ?? It is generally recommended that beginers should
avoid that until more experienced.

--
Regards ............... Rheilly Phoull

"JeffM" <jeffm_@email.com> wrote in message
news:f8b945bc.0311201205.7f54a003@posting.google.com...
I am a newby to electroncs

and apparantly a noob to the Internet.

TYPING IN ALL CAPS is like shouting when speaking.
It is to be avoided.

"Re:" means "in response to". There is no reason to use it
to start the subject line of an initial posting in a thread.
 
"pbillly" <pbilly@earthlink.net> wrote in message
news:Gt2vb.11489$Wy4.9493@newsread2.news.atl.earthlink.net...
Hi,
I am a newby to electroncs and am trying to construct a simple device that
will use 110v power from the wall to pluse a relay controling a few volts
(13) on and off. Ideally the pluseing should be adjustable from 2x per
second to once every 2 or 3 seconds.

Any informed suggestions would be welcome.

Thanks in advance.
Its pulse... not pluse.

Buy a wall wart that puts out 13V ( a 12V wall wart should work ) then build
this:

http://home.comcast.net/~rcmonsen/tr/timerrelay.jpg

I think you can get all the required parts (except perhaps the relay) at
radio shack.

Regards,
Bob Monsen
 
Thanks for you reply bob, its always important to spell things correctly.

Isn't there a more simple and elegant solution to this problem? I don't
want to go about building a power supply, then a 555 timer circuit.

Is it possible to tap into 110v ac, and power somthing to interrupt a
circuit carring about 13 volts dc, once o second?

Just asking.
"Robert Monsen" <postmaster@BulkingPro.com> wrote in message
news:_jCvb.273022$Fm2.287066@attbi_s04...
"pbillly" <pbilly@earthlink.net> wrote in message
news:Gt2vb.11489$Wy4.9493@newsread2.news.atl.earthlink.net...
Hi,
I am a newby to electroncs and am trying to construct a simple device
that
will use 110v power from the wall to pluse a relay controling a few
volts
(13) on and off. Ideally the pluseing should be adjustable from 2x per
second to once every 2 or 3 seconds.

Any informed suggestions would be welcome.

Thanks in advance.



Its pulse... not pluse.

Buy a wall wart that puts out 13V ( a 12V wall wart should work ) then
build
this:

http://home.comcast.net/~rcmonsen/tr/timerrelay.jpg

I think you can get all the required parts (except perhaps the relay) at
radio shack.

Regards,
Bob Monsen
 
Is it possible to tap into 110v ac, and power somthing to interrupt a
circuit carring about 13 volts dc, once o second?
pbillly
Be as specific as you can be.

Can you run the 110Vac into a wall wart to make DC
then use that DC to control things? This is simple (555 & DC relay).

Is the 110Vac already pulsing? This is even simpler (110Vac relay).

An idea of what you are really trying to accomplish might be helpful as well.
 
The AC is just AC from the wall.

I am trying to hack into my GE dishwasher controler. It is all electronic
and has a sensor which detects the rotation of the washer arm. If the
washer arm is blocked then the computer turns off the dishwasher completely.
My dishwasher works just fine. The sensing equiptment on the washer if not
working properly. I want to trick the controler into thinking the arm is
revolving.

Ps. The control seems to want to "count" the rpm's so its not just an open
circuit which will trigger the turn off.

Thanks
"JeffM" <jeffm_@email.com> wrote in message
news:f8b945bc.0311221414.770cbd3d@posting.google.com...
Is it possible to tap into 110v ac, and power somthing to interrupt a
circuit carring about 13 volts dc, once o second?
pbillly

Be as specific as you can be.

Can you run the 110Vac into a wall wart to make DC
then use that DC to control things? This is simple (555 & DC relay).

Is the 110Vac already pulsing? This is even simpler (110Vac relay).

An idea of what you are really trying to accomplish might be helpful as
well.
 
dishwasher controler...sensor which detects the rotation of the
washer arm.
The sensing equiptment on the washer if not working properly.
I want to trick the controler into thinking the arm is revolving.
pbillly

wall wart to make DC...use that DC to control things
and use one of these (astable multivibrator mode)
to drive a reed relay (both at Radiop Shack).
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=datasheet+LM555&btnG=Google+Search
 
Dennis Clark <dlc@io.frii.com> wrote:
I've used the Palm m100 running hotpaw basic to talk to an OOPic data
logger. Talk about simple and very capable, and very, very cheap.
the Wiz <look@message.body> wrote in message news:<3tiorvsb891clsdjr4ed92h9getf8ipk2l@4ax.com>...
I second using hotpaw basic http://www.hotpaw.com/rhn/hotpaw/. You get a 30
day trial of the download.
Thanks for the great pointers, guys. For most of these applications,
an interpreted Basic should be fast enough, so HotPaw should be fine.
I took a look at the documentation, and it looks like all the pieces
are there. I just need to cut loose the time to try it out.

The only problem I can see with hotpaw is whether it handles a 0 byte or uses
it as a string terminator. If you can define a byte array (instead of a
string) as the destination of the incoming bytes, it should work OK.
Yes, looking over the documentation (basic-manual.txt, quickref.txt,
readme.txt, and yb_tutorial.txt), it's clear that I could send the
individual bytes, but it's not clear how the non-printable characters
might behave. In "quickref.txt" I find:

Serial Port commands:

open "com1:",baud_rate as #5 '- opens serial port
'- at baud_rate { 2400,9600,19200,38400 }
print #5, a$ '- prints to serial port
put #5,byte '- serial output one byte
fn serial(5) '- returns number of input bytes waiting
get$(#5, n) '- returns a string up to n bytes long
This implies to me that the "get$(#5, n)" command will be handing me a
string, but I'm not clear on whether this could be simply handed to a
string function to extract a numerical value to put in a byte array,
and whether zero is interpreted specially. One way to find out is to
try it, but it would be nice if it were documented explicitely. For
the project I outlined earlier, a 16-bit range provides many
opportunities for the "get$" to get confused.
-Ted
 
"Keith R. Williams" <krw@attglobal.net> wrote in message
news:MPG.1a2540223fd37939989afe@enews.newsguy.com...
In article <vrl5lrh612a347@corp.supernews.com>,
fandaDEATH2SPAMMERS@catskill.net says...

"Keith R. Williams" <krw@attglobal.net> wrote in message
news:MPG.1a1f61e73cd990bc98a8aa@enews.newsguy.com...
In article <slrnbr973m.q8.ericlada@eric-ladas-computer.local>,
ericlada@eric-ladas-computer.local says...
Hi! Sorry for the basic nature of this post, but I figured this is
the
best
h place for it. I understand volage is Potential energy with
respect to
some
reference point. This is why you must always measure across a
component, or
measure whith respect to ground. How then do scopy probes work.
You
are
determining a time varing voltaage with only one point. What is
the
voltage
referenced to?

Ground. The closer to the device, the better. If you're using a
scope on mains circuits you'd better know what you're doing!

--
Keith

You could always plug the scope into a cheater (lifts chassis ground). A
better way is to use an isolation transformer, if possible, on the
equipment
to be measured by the scope.

Yeah, and you'd still better know what you're doing! Your scope may be
at mains potential.

--
Keith
Wish I had $5.00 for every scope probe I blew up ;-)
 
In article <vsaa91bjbjen5a@corp.supernews.com>,
no.spam@no.spam.us says...
"Keith R. Williams" <krw@attglobal.net> wrote in message
news:MPG.1a2540223fd37939989afe@enews.newsguy.com...
In article <vrl5lrh612a347@corp.supernews.com>,
fandaDEATH2SPAMMERS@catskill.net says...

"Keith R. Williams" <krw@attglobal.net> wrote in message
news:MPG.1a1f61e73cd990bc98a8aa@enews.newsguy.com...
In article <slrnbr973m.q8.ericlada@eric-ladas-computer.local>,
ericlada@eric-ladas-computer.local says...
Hi! Sorry for the basic nature of this post, but I figured this is
the
best
h place for it. I understand volage is Potential energy with
respect to
some
reference point. This is why you must always measure across a
component, or
measure whith respect to ground. How then do scopy probes work.
You
are
determining a time varing voltaage with only one point. What is
the
voltage
referenced to?

Ground. The closer to the device, the better. If you're using a
scope on mains circuits you'd better know what you're doing!

--
Keith

You could always plug the scope into a cheater (lifts chassis ground). A
better way is to use an isolation transformer, if possible, on the
equipment
to be measured by the scope.

Yeah, and you'd still better know what you're doing! Your scope may be
at mains potential.

--
Keith

Wish I had $5.00 for every scope probe I blew up ;-)
Hmm, at $150 ea. (last I remember for the "cheap" 10x stuff) and
I get $5.00 to blow one up? My boss wouldn't like this math at
all! ;-)

The only such fire-ball I've had was in college, while working
after-hours on my color organ. I didn't take out the probe.
After all, the ground strap and shield are fairly hefty. No, I
took out the ground traces on the vertical amplifier. No more
magic smoke in those puppies! I did manage to "repair" the
plugin (HP140 scope, IIRC) before the next day.

--
Keith
 
"Bruce Reilly (a.k.a Bruha)" <bruha@nikge.org.cy> wrote in message
news:b4edf15d.e7a2863a@news.nikge.org.cy...
Dear Judges, Lawyers, Policemen, Guards, Counselors, Taxpayers, et. al.,
The art of self deception is never stronger than in the neophyte !!

--
Regards ............... Rheilly Phoull
 
me_myself_and_I(jswilko@hotmail.com) slammed into the keyboard with a 100-lbs
hammer:
Is it possible to make a karaoke machine to plug into my dvd player so I can
use Karaoke DVD's.

I want to make something like this:-
http://www.silversounds.co.uk/shop.asp?cat=5

Or would I be best just going and buying the above one?
You'd be best buying this one.


--
'It's written in The Book of Usenet:'
Chaos MasterŽ - Posting from Porto Alegre - Brazil.
wizard_of_yendor.taco-bell@hotmail.com - remove the taco-bell to reply!
E-mail address at the headers works for TEXT E-MAILS ONLY!!
 
White "tooth" paste kind, or clear greasy "hair stuff" kind?
--
DaveC
me@privacy.net

Mmmm. Just the thought of brushing with the stuff -- it kind of gives the
morning coffee a different taste.

The white "tooth" paste kind is filled with zinc oxide (don't use it as a
sunblock, either). I use GC Electronics 10-8109 in the 1 oz. tube -- a little
dab'll do ya.

Good luck.
Chris
 
Miles Golding wrote:
I think I have succeeded in soldering the 6 wires to the switch terminals,
thanks to the helpful advice given by members on this newsgroup and
alt.binaries.schematics.electronics a few days ago.
Before I re-assemble the computer and test the connections, can someone
please tell me what the device is that, when exposing the switch unit, I
found clamped around the cables, shown in the photo in its unclamped state.
It is quite heavy for its size, and I assumed it was some sort of magnet,
but it doesn't appear to have any magnetic properties. I think it may have
caused the wires to sever in the first place, because it was lying loose
inside the computer case, and any movement of the computer would have surely
put strain on the delicate wire strands.
Is this an essential item?
Miles G

[Image]
Miles, this is not a binaries newsgroup. You already have the picture
posted on news:alt.binaries.schematics.electronic You should just post a
message pointing to the message on that newsgroup.
--
24 days!


Michael A. Terrell
Central Florida
 
tjswift@ucdavis.edu (Ted Swift) wrote:

an interpreted Basic should be fast enough, so HotPaw should be fine.
I took a look at the documentation, and it looks like all the pieces
are there. I just need to cut loose the time to try it out.
There is a new and very fast compiling Basic at this address:

http://www.angelfire.com/space/netcensus/hottrial.html
http://www.angelfire.com/space/netcensus/hotbasic.html

Hotbasic is using the RapidQ language, which is a traditional Basic
like Quickbasic, plus visual components which makes it easy to create
the visual parts of a program, panels, buttons, menus, etc.., plus a
number of new components, like QFilestream and QMemoryStream, and
other methods which make object-oriented programming easier.

RapidQ Basic is a freeware compiling Basic. The language and the
compiler is freeware. It was created as a freeware alternative to
Visual Basic, or as a visual development of QuickBasic.
It was later made commercial under the name "Realbasic".

RapidQ has more active users than any other freeware Basic.

There is at least one commercial development of RapidQ, and several
non-commercial, open source lines of development.

New compilers are written for the RapidQ Basic language and new tools
are added to the language, like database engines, etc..

In an IDE (Interactive Development Environment) you often have access
to tools like programming editor, visual forms designer, menu
designer, context sensitive help, etc..

There are several RapidQ IDE:s to choose from, and more simple
compiler shells, or you can use a rapidq wordfile in an editor like
UltraEdit and compile and run from UltraEdit.

The latest member of the RapidQ language group, HotBasic, is compiling
directly to machine code. Freeware version.
http://www.angelfire.com/space/netcensus/hotbasic.html

RapidQ mailing list rapidq-at-yahoogroups.com
Files area:
http://groups.yahoo.com/group/rapidq_works/files/
....

Another group of Basics are based on C or some C variant.
Here we have XBasic, XSTBasic, BCX, etc..

If you use one of these C-based Basics you will need to learn some C
or Cpp to get the most out of it. The basic components of these Basics
are just translated C components.


--
Roger J.

(My email address is a spam trap, don't use it)
 

Welcome to EDABoard.com

Sponsor

Back
Top