where is everybody! - bimityedye - May 24 15:31:22 2008
Hey where is everybody? Haven't had a message in days. Anybody out
there?
Dave W.
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )
Re: where is everybody! - Brian Lloyd - May 24 17:49:39 2008
On May 24, 2008, at 12:31 PM, bimityedye wrote:
> Hey where is everybody? Haven't had a message in days. Anybody out
> there?
No.
--
73 de Brian, WB6RQN
Brian Lloyd - brian HYPHEN wb6rqn AT lloyd DOT com
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )
Re: where is everybody! - Mike Martin - May 25 7:42:04 2008
Well I'm always here but I'm lurking and learning - I don't usually
have anything to post because I don't know very much (and pulling my
hair out lately over simple things - like why I can't make a simple
LED / SWITCH toggle work, grrr...)
Mike M.
--- In o...@yahoogroups.com, Brian Lloyd
wrote:
> On May 24, 2008, at 12:31 PM, bimityedye wrote:
>
> > Hey where is everybody? Haven't had a message in days. Anybody out
> > there?
>
> No.
>
> --
>
> 73 de Brian, WB6RQN
> Brian Lloyd - brian HYPHEN wb6rqn AT lloyd DOT com
>
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )Re: Re: where is everybody! - David Warner - May 25 10:44:38 2008
Well Mike since it's just you and I, tell me about it and I'll try to give you a hand.
First what board are you working with and what version compiler are you using?
Dave W.
--- On Sun, 5/25/08, Mike Martin <x...@yahoo.com.au> wrote:
From: Mike Martin <x...@yahoo.com.au>
Subject: [oopic] Re: where is everybody!
To: o...@yahoogroups.com
Date: Sunday, May 25, 2008, 11:41 AM
Well I'm always here but I'm lurking and learning - I don't usually
have anything to post because I don't know very much (and pulling my
hair out lately over simple things - like why I can't make a simple
LED / SWITCH toggle work, grrr...)
Mike M.
--- In oopic@yahoogroups. com, Brian Lloyd <brian-wb6rqn@ ...> wrote:
>
>
> On May 24, 2008, at 12:31 PM, bimityedye wrote:
>
> > Hey where is everybody? Haven't had a message in days. Anybody out
> > there?
>
> No.
>
> --
>
> 73 de Brian, WB6RQN
> Brian Lloyd - brian HYPHEN wb6rqn AT lloyd DOT com
>
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )
Re: Re: where is everybody! - Brian Lloyd - May 25 16:51:26 2008
On May 25, 2008, at 4:41 AM, Mike Martin wrote:
> Well I'm always here but I'm lurking and learning - I don't usually
> have anything to post because I don't know very much (and pulling my
> hair out lately over simple things - like why I can't make a simple
> LED / SWITCH toggle work, grrr...)
With the exception of the event code not working (we are pushing the=20=20
end of May here folks), I haven't had any problems with the OOPic. I=20=20
have a Mark-III and an OObot-40-III board from Oricomtech. I have=20=20
never had any trouble interfacing simple I/O (switches and LEDs).
What seems to be the problem?
--
Brian Lloyd Granite Bay Montessori
brian AT gbmontessori DOT com 9330 Sierra College Blvd.
+1.916.367.2131 (voice) Roseville, CA 95661, USA
http://www.gbmontessori.com
I fly because it releases my mind from the tyranny of petty things . . .
=97 Antoine de Saint-Exup=E9ry
PGP key ID: 12095C52A32A1B6C
PGP key fingerprint: 3B1D BA11 4913 3254 B6E0 CC09 1209 5C52 A32A 1B6C
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )
RE: Re: where is everybody! - Mike Martin - May 26 10:05:18 2008
Hi Dave - well it's too simple. All I'm trying to do is to emulate a simple
push button on/off switch. I have an oLED object and an oSwitch object and
I'm using a C.1.X chip and the OOPic 6 compiler. All I have is a simple LED
and a board-mount micro-switch that I bought from the local Tandy store
(normally off). My code works perfectly and I can turn on the LED in code
but the moment I introduce oSwitch into the code the LED comes on and stays
on and the state off the switch seems to be ignored. My code is an exact
copy of the code on the website - and everything seems to be wired up OK. It
just doesn't work.
Dim Fred As New oSwitch
Dim Bob As New oLED
Sub Main()
Bob.IOLine = 8
Fred.IOLine = 9
Do
If Fred.IsOn Then
Bob.TurnOnBright
Else
Bob.TurnOnDim
EndIf
Loop
End Sub
_____
From: o...@yahoogroups.com [mailto:o...@yahoogroups.com] On Behalf Of
David Warner
Sent: Monday, 26 May 2008 12:44 AM
To: o...@yahoogroups.com
Subject: Re: [oopic] Re: where is everybody!
Well Mike since it's just you and I, tell me about it and I'll try to give
you a hand. First what board are you working with and what version compiler
are you using?
Dave W.
--- On Sun, 5/25/08, Mike Martin <xaviour2me@yahoo.
com.au> wrote:
From: Mike Martin <xaviour2me@yahoo.
com.au>
Subject: [oopic] Re: where is everybody!
To: oopic@yahoogroups. com
Date: Sunday, May 25, 2008, 11:41 AM
Well I'm always here but I'm lurking and learning - I don't usually
have anything to post because I don't know very much (and pulling my
hair out lately over simple things - like why I can't make a simple
LED / SWITCH toggle work, grrr...)
Mike M.
--- In oopic@yahoogroups. com, Brian Lloyd <brian-wb6rqn@ ...> wrote:
>
>
> On May 24, 2008, at 12:31 PM, bimityedye wrote:
>
> > Hey where is everybody? Haven't had a message in days. Anybody out
> > there?
>
> No.
>
> --
>
> 73 de Brian, WB6RQN
> Brian Lloyd - brian HYPHEN wb6rqn AT lloyd DOT com
>
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )Re: where is everybody! - rtstofer - May 26 10:39:24 2008
--- In o...@yahoogroups.com, "Mike Martin"
wrote:
>
> Hi Dave - well it's too simple. All I'm trying to do is to emulate a
simple
> push button on/off switch. I have an oLED object and an oSwitch
object and
> I'm using a C.1.X chip and the OOPic 6 compiler. All I have is a
simple LED
> and a board-mount micro-switch that I bought from the local Tandy store
> (normally off). My code works perfectly and I can turn on the LED in
code
> but the moment I introduce oSwitch into the code the LED comes on
and stays
> on and the state off the switch seems to be ignored. My code is an exact
> copy of the code on the website - and everything seems to be wired
up OK. It
> just doesn't work.
>
>
>
> Dim Fred As New oSwitch
> Dim Bob As New oLED
>
> Sub Main()
> Bob.IOLine = 8
> Fred.IOLine = 9
> Do
> If Fred.IsOn Then
> Bob.TurnOnBright
> Else
> Bob.TurnOnDim
> EndIf
> Loop
>
> End Sub
Let's assume the code works and that, as far as the OOPic is
concerned, the input is ON. Check with pin voltage with a voltmeter
while toggling between on and off.
I wouldn't use the schematic shown for oSwitch. I am allergic to
solid connections to either +5V or ground. If I make the mistake of
defining the pin as an output, I will short it through the switch and
probably destroy the chip.
So, I would first add
OOPic.PullUp = cvOn as the second executable statement.
I would ALWAYS add
OOPic.Delay = 5000 as the first... (use 500 for V5 of the IDE)
Then I would connect a 330 ohm resistor between the pin and the switch
(normally open) and connect the other side of the switch to ground.
This way the resistor limits the pin current regardless of how I
define it.
Then, failing to get it to work with the new objects, I would rewrite
it as:
Dim LED as new oDIO1
Dim Switch as new oDIO1
sub main()
OOPic.Delay = 5000 ' 5 second startup delay
OOPic.PullUp = cvOn ' pull up resistors on IOLines 8..15
LED.IOLine = 8
LED.Direction = cvOutput
Switch.IOLine = 9
Switch.Direction = cvInput
Do
LED = Switch
loop
end sub
Of course, I have blown off the dimming capability and inverted the
sense of LED. I am assuming the LED is connected through a resistor
to +5V. So, the LED IOLine needs to go to 0 to turn on the LED and
the switch input should go to 0 when the switch is turned on (pulls
the pin to ground).
Now that the simple things work, try the new objects. Later, try the
oWire object and get rid of that Do-Loop.
Add to the declarations
Dim Wire as new oWire1
Then add to the code
Wire.Input.Link(Switch)
Wire.Output.Link(LED)
Wire.Operate=cvTrue
You may need to tweak the links for the new objects, I am not in a
position to check this at the moment.
Richard
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )RE: Re: where is everybody! - Dave Warner - May 26 14:41:44 2008
Mike I don't see anything wrong with your code. Can you tell me how you have your switch
wired and connected to your OOPIC. Make sure you have the resistor in line with your input
pin to protect the inards of the pin circuitry. Be sure you also have a ground and 5 volts
hooked to either side of your SPDT switch. Then is basically an EVENT style program, and
EVENT programs are notoriously uncooperative in the Ver 6 compiler. I've loaded the
attached code into an 'R' board ver 2.x+ using ver 6 compiler and changed the IOlines -
works great!
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )
Re: where is everybody! - Mike Martin - May 27 8:13:21 2008
Hi Dave and everyone that replied (I will get around to replying to
you all soon). I created a folder called Maze_bot and placed a photo
of the project there. I did make one mistake though - it's a B.1.0
chip (not the C.1.1+). The red diode just turns on and stays on
(flickering). The green led is just a test to satisfy me that the
switch works. I've taken note of some of the great code snippets sent
and I'll get around to testing them on the weekend. Thanks to all.
BTW the way, the grrr was pointed at my own inability to figure it
out - not at the OOPic (which I think is great).
Mike M.
--- In o...@yahoogroups.com, "Mike Martin"
wrote:
>
> Hi Dave - well it's too simple. All I'm trying to do is to emulate
a simple
> push button on/off switch. I have an oLED object and an oSwitch
object and
> I'm using a C.1.X chip and the OOPic 6 compiler. All I have is a
simple LED
> and a board-mount micro-switch that I bought from the local Tandy
store
> (normally off). My code works perfectly and I can turn on the LED
in code
> but the moment I introduce oSwitch into the code the LED comes on
and stays
> on and the state off the switch seems to be ignored. My code is an
exact
> copy of the code on the website - and everything seems to be wired
up OK. It
> just doesn't work.
>
>
>
> Dim Fred As New oSwitch
> Dim Bob As New oLED
>
> Sub Main()
> Bob.IOLine = 8
> Fred.IOLine = 9
> Do
> If Fred.IsOn Then
> Bob.TurnOnBright
> Else
> Bob.TurnOnDim
> EndIf
> Loop
>
> End Sub
>
>
>
>
>
>
>
> _____
>
> From: o...@yahoogroups.com [mailto:o...@yahoogroups.com] On
Behalf Of
> David Warner
> Sent: Monday, 26 May 2008 12:44 AM
> To: o...@yahoogroups.com
> Subject: Re: [oopic] Re: where is everybody!
>
>
>
> Well Mike since it's just you and I, tell me about it and I'll try
to give
> you a hand. First what board are you working with and what version
compiler
> are you using?
>
> Dave W.
>
> --- On Sun, 5/25/08, Mike Martin xaviour2me@yahoo.
> com.au> wrote:
>
> From: Mike Martin xaviour2me@yahoo.
40yahoo.com.au>
> com.au>
> Subject: [oopic] Re: where is everybody!
> To: oopic@yahoogroups. com
> Date: Sunday, May 25, 2008, 11:41 AM
>
> Well I'm always here but I'm lurking and learning - I don't usually
> have anything to post because I don't know very much (and pulling
my
> hair out lately over simple things - like why I can't make a simple
> LED / SWITCH toggle work, grrr...)
>
> Mike M.
>
> --- In oopic@yahoogroups. com, Brian Lloyd <brian-
wb6rqn@ ...> wrote:
> >
> >
> > On May 24, 2008, at 12:31 PM, bimityedye wrote:
> >
> > > Hey where is everybody? Haven't had a message in days.
Anybody out
> > > there?
> >
> > No.
> >
> > --
> >
> > 73 de Brian, WB6RQN
> > Brian Lloyd - brian HYPHEN wb6rqn AT lloyd DOT com
> >
>
> [Non-text portions of this message have been removed]
>
>
>
> [Non-text portions of this message have been removed]
>
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )Re: where is everybody! - rtstofer - May 27 10:39:22 2008
--- In o...@yahoogroups.com, "Mike Martin"
wrote:
>
> Hi Dave and everyone that replied (I will get around to replying to
> you all soon). I created a folder called Maze_bot and placed a photo
> of the project there. I did make one mistake though - it's a B.1.0
> chip (not the C.1.1+). The red diode just turns on and stays on
> (flickering). The green led is just a test to satisfy me that the
> switch works. I've taken note of some of the great code snippets sent
> and I'll get around to testing them on the weekend. Thanks to all.
> BTW the way, the grrr was pointed at my own inability to figure it
> out - not at the OOPic (which I think is great).
>
> Mike M.
OK, there's a potential glitch. The oLED object was introduced in B.1
and has issues with a level of 15 until C.1. This is well noted in
the documentation. Also, I can't find documentation for the
LED.TurnOnBright method (I'm assuming it is a method) but I'll bet it
sets the value to MAX which is (wait for it...) 15.
What I don't know is why you want a dimmable LED that requires 4 of
your precious 86 object bytes when you can use an oDIO1 that uses just
1 object byte. Then again, maybe the application requires it...
I know I am the only guy on the planet that feels this way but I still
prefer the simple and well understood objects. I also prefer the old
V5 IDE/compiler. I sort of like the idea that events will work.
It is very important that you note the IDE version and device revision
when you post inquiries. At this point the permutations are getting a
little large.
Richard
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )Re: where is everybody! - Mike Martin - Jun 9 9:14:59 2008
Sorry - just realized how rude I've been not replying. I don't mean
to be. I've just decided to go off-line until I know enough to post
something intelligent. I'm teaching myself digital logic from a book
written in the 70's (The preface said that at the time of writing
there was only 35,000 computers in the US- LOL). Sounds dumb but it
looks like a great starting point. The simple switch thing in my last
post made me realise just how much I don't know. I got to the page in
Dennis' book that talked about linking the output from logic gates
and just drew a blank. This book has a "start from the beginning"
approach. Really good. Assumes the learner has no previos knowledge
and is very well written. I Learned about truth tables today and
binary logic theorems and simplifying circuits mathematically. Also
about simplifying multi-variable tables using a thing called
reflected grey code and Venn diagrams. Also learned about DeMorgan's
Theorem today. Really interesting. If anyone's interested I can post
the ISBN of the book. It's probably out of print by now LOL.
MIke M.
--- In o...@yahoogroups.com, "rtstofer"
wrote:
>
> --- In o...@yahoogroups.com, "Mike Martin" wrote:
> >
> > Hi Dave and everyone that replied (I will get around to replying
to
> > you all soon). I created a folder called Maze_bot and placed a
photo
> > of the project there. I did make one mistake though - it's a
B.1.0
> > chip (not the C.1.1+). The red diode just turns on and stays on
> > (flickering). The green led is just a test to satisfy me that the
> > switch works. I've taken note of some of the great code snippets
sent
> > and I'll get around to testing them on the weekend. Thanks to
all.
> > BTW the way, the grrr was pointed at my own inability to figure
it
> > out - not at the OOPic (which I think is great).
> >
> > Mike M.
>
> OK, there's a potential glitch. The oLED object was introduced in
B.1
> and has issues with a level of 15 until C.1. This is well noted in
> the documentation. Also, I can't find documentation for the
> LED.TurnOnBright method (I'm assuming it is a method) but I'll bet
it
> sets the value to MAX which is (wait for it...) 15.
>
> What I don't know is why you want a dimmable LED that requires 4 of
> your precious 86 object bytes when you can use an oDIO1 that uses
just
> 1 object byte. Then again, maybe the application requires it...
>
> I know I am the only guy on the planet that feels this way but I
still
> prefer the simple and well understood objects. I also prefer the
old
> V5 IDE/compiler. I sort of like the idea that events will work.
>
> It is very important that you note the IDE version and device
revision
> when you post inquiries. At this point the permutations are
getting a
> little large.
>
> Richard
>
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )Re: where is everybody! - rtstofer - Jun 9 16:05:42 2008
--- In o...@yahoogroups.com, "Mike Martin"
wrote:
>
> Sorry - just realized how rude I've been not replying. I don't mean
> to be. I've just decided to go off-line until I know enough to post
> something intelligent. I'm teaching myself digital logic from a book
> written in the 70's (The preface said that at the time of writing
> there was only 35,000 computers in the US- LOL). Sounds dumb but it
> looks like a great starting point. The simple switch thing in my last
> post made me realise just how much I don't know. I got to the page in
> Dennis' book that talked about linking the output from logic gates
> and just drew a blank. This book has a "start from the beginning"
> approach. Really good. Assumes the learner has no previos knowledge
> and is very well written. I Learned about truth tables today and
> binary logic theorems and simplifying circuits mathematically. Also
> about simplifying multi-variable tables using a thing called
> reflected grey code and Venn diagrams. Also learned about DeMorgan's
> Theorem today. Really interesting. If anyone's interested I can post
> the ISBN of the book. It's probably out of print by now LOL.
> MIke M.
www.alibris.com has a LOT of used books. So just post the title and
author with or without the ISBN.
My fist book was "Logic Design with Integrated Circuits by Wickes
published in 1968 - I bought it in early '69. At that time RTL logic
was king of the heap and DTL was just coming into play. What an
exciting time!
Richard
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )RE: Re: where is everybody! - Mike Martin - Jun 14 8:28:25 2008
My book is called Digital Logic and Computer Operations by Baron and
Piccirilli published 1968 McGraw Hill. It's quite good. Is a little
confusing in some parts because some of the diagrams have labels on them
that aren't referred to in the text i.e. It has a block schematic of a
single pulse generator (like an oOneShot ?) with two terminals marked F and
G and makes now reference as to what that means. In one diagram the G
terminal is connected to the toggle switch of a set/reset type flip-flop but
in another diagram it had the F terminal connected. Do you know what they
mean?
Mike.
_____
From: o...@yahoogroups.com [mailto:o...@yahoogroups.com] On Behalf Of
rtstofer
Sent: Tuesday, 10 June 2008 6:06 AM
To: o...@yahoogroups.com
Subject: [oopic] Re: where is everybody!
--- In oopic@yahoogroups.
com, "Mike
Martin" wrote:
>
> Sorry - just realized how rude I've been not replying. I don't mean
> to be. I've just decided to go off-line until I know enough to post
> something intelligent. I'm teaching myself digital logic from a book
> written in the 70's (The preface said that at the time of writing
> there was only 35,000 computers in the US- LOL). Sounds dumb but it
> looks like a great starting point. The simple switch thing in my last
> post made me realise just how much I don't know. I got to the page in
> Dennis' book that talked about linking the output from logic gates
> and just drew a blank. This book has a "start from the beginning"
> approach. Really good. Assumes the learner has no previos knowledge
> and is very well written. I Learned about truth tables today and
> binary logic theorems and simplifying circuits mathematically. Also
> about simplifying multi-variable tables using a thing called
> reflected grey code and Venn diagrams. Also learned about DeMorgan's
> Theorem today. Really interesting. If anyone's interested I can post
> the ISBN of the book. It's probably out of print by now LOL.
> MIke M.
www.alibris.com has a LOT of used books. So just post the title and
author with or without the ISBN.
My fist book was "Logic Design with Integrated Circuits by Wickes
published in 1968 - I bought it in early '69. At that time RTL logic
was king of the heap and DTL was just coming into play. What an
exciting time!
Richard
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )Re: where is everybody! - rtstofer - Jun 14 11:40:16 2008
--- In o...@yahoogroups.com, "Mike Martin"
wrote:
>
> My book is called Digital Logic and Computer Operations by Baron and
> Piccirilli published 1968 McGraw Hill. It's quite good. Is a little
> confusing in some parts because some of the diagrams have labels on them
> that aren't referred to in the text i.e. It has a block schematic of a
> single pulse generator (like an oOneShot ?) with two terminals
marked F and
> G and makes now reference as to what that means. In one diagram the G
> terminal is connected to the toggle switch of a set/reset type
flip-flop but
> in another diagram it had the F terminal connected. Do you know what
they
> mean?
>
> Mike.
It would be hard to say without some context - like a scanned image of
the circuit. All books of that era predate any standards in nomenclature.
>From your description, it seems that in one case the flop is
triggering the one shot and, in the other, the one shot is toggling to
flop. Or perhaps it is toggling at the beginning of the interval in
one case and at the end of the interval in the other. Perhaps F & G
are better termed Q and Q'? Hard to say without more context.
www.alibris.com has a copy of the book for $2.77 and several more at
increasing prices.
Richard
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )