How to Control Electronic Circuits Using a Computer and the BASIC Programming Language


Posted on Feb 6, 2014

This paper will guide you through how to do just that. We`ll review a simple computer system and how it works. Then we`ll take a look at the BASIC programming language and the statements that it has that will allow us to `talk` with the external circuitry. Next we`ll take a look at how to `interface` your electronic circuit to a computer so that it works in `harmony` with


How to Control Electronic Circuits Using a Computer and the BASIC Programming Language
Click here to download the full size of the above Circuit.

the rest of the computer. Lastly, we`ll end with two examples which show simple experiments you can do to practice writing and reading data from your circuit. The figure below shows a simple computer system and its connections. Keep in mind that this is a just a general overview. The circuitry inside a computer can get much more complicated than this but for the purposes of this discussion this general overview will suffice. The computer above has all the basic components. It has memory for program and data storage, it has a storage device for saving user programs, a graphics interface for connection to a video screen, a communications interface so data can be transferred between it and other computers, a means of generating sounds, user interface devices such as a keyboard, and lastly the brains of the operation the Central Processing Unit or CPU. The first thing that becomes clear is that all these components are connected together using two busses, an address bus and a data bus. These two busses combined constitute the `bussing system` of the computer and they are the main pipelines for all data transfers inside the computer. Here is how it works. The concept of an address is not new to any us, we each have a street address or a post office box number where mail can be sent to us. The address uniquely identifies us from our neighbors. This system works the exact same way in a computer system. Each of the components above...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    LED display Digital Calendar AT89C2051
    Univibe - Trem Face and Others
    Pulse-width-modulator
    sensors circuits
    mic circuit
    ultrasonic circuit diagram
    repeating timer
    Alarm Digital Clock-DS1307
    Telephone call meter using calculator & COB
    BCI Filter
    DC exciter excitation mode circuit



    Top