OOPic

OOPic

The OOPic is an Object Oriented Programmable Integrated Circuit. Created by Savage Innovations, this PIC microcontroller comes with an IDE (Integrated Development Environment) that supports programming in syntaxes based on the BASIC, Java and C programming languages.

There are three versions currently on the market: the OOPic-R, the OOPic-S and the OOPic-C, which is a miniature version of the former. The oldest model is the OOPic I, which uses the A.2 version of the firmware.

The schematics for the OOPic are available here.

The OOPic firmware defines numerous built-in "objects," which can provide custom methods and properties. The objects may be wrappers for hardware, such as an external infrared sensor or a built-in LED, or logic helpers, such as dividers or logic gates.

The OOPic also makes use of "virtual circuits," where the programmer can create links between object properties. The following is an example piece of code written in the BASIC syntax, which links a built-in clock that cycles every 1Hz to an LED.

' The LED is defined as a single I/O line
Dim Red As New oDio1
 
' Here we create a virtual wire. Wires are
' used to link output or flag values to
' input values.
Dim W As New oWire
 
' All OOPic programs need to define a "main" sub-routine.
' This is what will be run when the OOPic is turned on.
Sub Main()
  ' Here we specify the pin number for the I/O line.
  ' The onboard red LED is on pin 7.
  Red.IOLine = 7
 
  ' The LED can also be used for a button, so we need
  ' to specify whether we wish to read from or write to
  ' the pin.
  ' (cvOutput is a constant value)
  Red.Direction = cvOutput
 
 
  ' Now we can set up the wire link!
  ' For the wire's input, we wish to use the built-in
  ' 1Hz timer.
  W.Input.Link(OOPic.Hz1)
 
  ' Now we send the output of the wire to the LED.
  ' Note that we actually send it to the "Value"
  ' property of the LED, as this is what determines
  ' whether the LED is lit.
  W.Output.Link(Red.Value)
 
  ' All that's left to do is to tell the wire to
  ' operate, and the OOPic will do the rest!
  ' (cvTrue is a constant value)
  W.Operate = cvTrue
 
End Sub

This virtual circuit behaviour gives the programmer considerable control and flexibility, and allows for better reaction to real-time behaviours thanks to "Events". The OOPic actually spends the majority of its time updating the virtual circuits, compared to looping through a user's code, so it's in the programmers best interest to use virtual circuits over traditional programming techniques as often as possible.

Other meanings

OOPIC also refers to Object Oriented Particle In Cell which is an object-oriented implementation, written at Berkeley, of a specific method of plasma physics simulation known as particle in cell.

See also

External links

  • The OOPic Website -- The site made by the company that sells the OOPic.
  • The OOPic Yahoo group -- This is where most discussion takes place about the OOPic. - Obsolete
  • The OOPic Google group -- This is the new discussion / user support group for the ooPic. As of September 2008
  • The PTSG group-- This is the website of Berkeley's Plasma Theory and Simulation Group, the authors of the OOPIC plasma simulation code.

Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • OOPIC — OOPIC, es un acrónimo del inglés Object Oriented Programmable Integrated Circuit (en español, Circuito Integrado Programable Orientado a Objetos). Fue creado por Savage Innovations, que es un microcontrolador PIC que es incluido con una IDE para… …   Wikipedia Español

  • Savage Innovations, Inc. (company) — Infobox Company company name = Savage Innovations, LLC. company company type = Private company slogan = foundation = 1983 Edmond, Oklahoma location = Huntsville, Alabama key people = Scott M Savage, President industry = Technology products =… …   Wikipedia

  • Angle — This article is about angles in geometry. For other uses, see Angle (disambiguation). Oblique angle redirects here. For the cinematographic technique, see Dutch angle. ∠, the angle symbol In geometry, an angle is the figure formed by two rays… …   Wikipedia

  • Turn (geometry) — Rotations about the center point where a complete rotation is equal to 1 turn A turn is an angle equal to a 360° or 2π radians. A turn is also referred to as a revolution or complete rotation or full circle or cycle or rev or rot. A turn can be… …   Wikipedia

  • PIC microcontroller — PIC microcontrollers in DIP and QFN packages …   Wikipedia

  • BASIC Stamp — The BASIC Stamp is a microcontroller with a small, specialized BASIC interpreter (PBASIC) built into ROM. It is made by Parallax, Inc. and has been quite popular with electronics hobbyists since the early 1990s due to its low threshold of… …   Wikipedia

  • PICAXE — is the name of a UK sourced microcontroller system based on a range of Microchip PICs. There are 13 PICAXE variants of differing pin counts from 8 to 40 pins. Initially marketed for use in education and by electronics hobbyists, they are also… …   Wikipedia

  • Arduino — For other uses, see Arduino (disambiguation). Arduino Software A screenshot of the Arduino IDE showing the Blink pr …   Wikipedia

  • DSPIC — Ein 16 bit 28 pin PDIP PIC24 Mikrocontroller Bei PICmicro handelt es sich um eine Mikrocontrollerfamilie, die von der Firma Microchip Technology Inc. hergestellt wird. Inhaltsverzeichnis 1 Geschichte …   Deutsch Wikipedia

  • PICmicro — Ein 16 bit Mikrocontroller (PIC24) im 28 Poligen PDIP Gehäuse Bei PICmicro handelt es sich um eine Mikrocontrollerfamilie, die von der Firma Microchip Technology Inc. hergestellt wird. Inhaltsverzeichnis …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”