Latest Posts

Simple C Based routines for robot control
September 25, 2019
The following is a simple routines that control robot motion in C language. The robots is assumed to be three axes. The joint is rotated by a stepper motor that controlled with TB5560 driver. void move1_pos(int p) { unsigned int h=0; portd.f5=1; for(h=0;h<p;h++) { portd.f7=1; delay_us(5); portd.f7=0; if(speed==2) delay_us(700); else if(speed==1) delay_us(2000); else if(speed==0) delay_us(3000); } } The above routine is use to send ....

Measuring Software Reliability of Interactive Systems
September 25, 2019
Every interactive system such as soft and hard real time systems define certain set of inputs and outputs. For some combination Set of inputs, there will be expected results of output. Failure for some set of input will result in strange system behavior that may lead to danger action in ....

Introduction to C programming for SCADA monitoring systems
September 25, 2019
SCADA monitoring refers to collecting the status of certain indicators and then sends them to a central station. Those indicators may represent the status of line voltages, the status of currents out of the station, the degree of temperature at the current station, etc. Writing c program for a SCADA system is not difficult provided ....

Real time System Executives
September 25, 2019
A real time executive is analogues to operating systems in computers. Its purpose is to manage resources and process in the real time embedded system. This includes starting and stopping a new process, memory allocation, processor resource allocation, etc. However, in real time embedded systems, real time executive is simpler ....

Process Control System Elements
September 25, 2019
Process control refers to adjusting a variable element to a certain setpoint where that element is under external influences that could deviate far from that setpoint. If those influences are strong enough deviating the element under control from the setpoint, the control system must be able to return the variable ....

State machine modeling for real time systems
September 25, 2019
Real time systems have to respond to events occurring at irregular intervals. these stimuli or events cause the system to transition to different state. For this reason, state machine modeling is used as a way to describe real time systems. At that way, the system is described as a set ....

Ultrasonic Transducer driving by Chopper Based Transistor Circuit
September 25, 2019
Driving transducers is an easy task if the basic principles are well understood. The basic idea is to build very fast switching circuit in the frequency range specified for the ultrasonic transducer.  It can be in the range of 22-50 KHZ, 100-300 KHZ, or 1MHZ to 3 MHZ. The basic switching ....

Traditional Graphical LCD Vs DWIN LCd
September 25, 2019
Traditional LCD requires doing some complicated routines in order to render the required parts. For instance, a draw line command to draw a single line, draw circle in order to draw a single circle. Those commands are sent to the controller inside the LCD to transform the commands to pixels ....

CNC Router Control Guidelines
September 25, 2019
CNC router building has three steps: first building the mechanical infrastructure, making the electrical control for the whole machining, and finally doing the proper programming for special purpose machining. Here is considered the part of electrical control of the machine. Generally CNC router is complex machine that consist of many elements ....

LCD Programming Example using C Language
September 25, 2019
The following program is an example of LCD based interface where the user enter data using 16*2 LCD. The Microcontroller used is PIC16F877A. The idea is to pic time, power and operate for the time picked The parameters that the user input are as follow:
  1. Working time.
  2. ramping time.
  3. prepare time
  4. ....

    Structured programming leads to Error Avoidance
    September 25, 2019
    Expert programmers tend to follow some practice in order to avoid common errors. This is like avoiding certain control commands. Although allocated to be used by the used language, it is a best practice to avoid them. Some common command that lead to errors is the Goto statement. Using jump ....

    How to Design a new CNC Router
    September 25, 2019
    Designing a CNC router is not a difficult task if some basics are well understood. those are defined as follow: 1. determine the exact working area of the CNC router. determining the working area is the first step to proceed. this step must be worked correctly and with caution. if the ....

    Process Control System characteristics
    September 25, 2019
    Process control refers to controlling a certain variable in a process plan. The set of variables in the process all contribute to the control of the controlled variable. If one of variables affecting the controlled variable is changed, the controlled variable will also change. The set of variables for a given setpoint refers to ....

    Chopper based Stepper Motor Driver for CNC
    September 25, 2019
    CNC machines require heavy duty stepper drivers to operate the CNC motors. In large machines, those motors tend to have high inductance. On the other hand, more loads are required for those motors at high speeds. This leads to the use of current choppers to drive those motors. One example ....

    Programming DWIN touch screen module
    September 25, 2019
    DWIN touch screens are huge revolution for graphical display. Instead of sending a lot of complicated graphic commands to the screen using the microcontroller, all the graphic design is done statically using the computer application software. So this is made one time at the computer and then downloaded to the ....

    C Programming Examples, Basics and Outlines
    September 25, 2019
    Here is provided a description of some basic features of the C Programming language. We will base our discussion on the programs in the example below. A Programming example contains a C program and a sample execution of that program. The program asks for a nickname and the current year and ....

    Estimating Software Costs – Computer Program Management
    September 25, 2019
    Here is presented how to Acquire and evaluate technical data for projecting schedules and resource requirements, including planning versus actual data; data to define, design, implement, and evaluate systems; data on the system environment; and data at the system, subsystem, and module levels. Such a project management system is essential if ....

    Computer-based System Engineering
    September 25, 2019
    Software on its own is completely useless. Until software (merely a string of symbols) is combined with some processor and other hardware to form a system, it cannot do anything at all. Software engineers must understand that there are more general problems of system engineering. Those concern the interactions between ....

    CNC Router Building considerations
    September 25, 2019
    CNC router building is not an impossible task those days. All you need is to maintain a good knowledge for the subject and get sufficient knowledge in program desiging such as Autocad.   The major task for building you CNC is to build the mechanism over which the machine is constructed. The ....

    Collision Domain Understanding – Cisco CCNA Lesson
    September 25, 2019
    When two computers on the network send data to each other, the data will flow out to all other computers on the network and the MAC address is checked by every computer until the address is match with the correct recipient. The protocol that regulates this process is called CSMA/ ....