Ads

Kamis, 28 Juni 2018

Download Keil uVision


Download Keil uVision - this time the admin shares the software used for programming the arm cortex, in general this software is used to program the STM32 chip. The μVision IDE combines project management, run-time environments, building facilities, editing source code, and debugging programs in a strong environment. µVision is easy to use and accelerates the development of your embedded software. µVision supports many screens and allows you to make window layouts anywhere on the visual surface.
The µVision Debugger provides a single environment where you can test, verify, and optimize your application code. Debuggers include traditional features such as simple and complex breakpoints, supervisor windows, and execution controls and provide full visibility to peripheral devices.

Screenshot :


System Requirements :
  • Operating system (OS) : Windows 7, Windows 8, Windows 10
  • Memory : 4 GB
  • CPU : 2+ GHz 64-bit processor
  • Hard disk : 5 GB Freespace
  • Display XGA : (1,024 × 768), High-Color 16-bit min.
  • Other : 2 Mpbs or higher Internet connection for software activation, product updates and online services like the PackInstaller
Download Link :
- Keil uVision [ 250Mb / Part ] [ MediaFire ]
Part 1 ]  [ Part 2 ] 

How to Install :

Thanks For reading and watching on my website.
Tag :

  • Download Keil uVision
  • Tutorial Keil uVision

Selasa, 05 Juni 2018

Read the voltage using Arduino


Read the voltage using Arduino - this time admin posted How to read voltage (volts) using Arduino.
In this tutorial, the basic is the use of analogue on Arduino. The recommendation from the input on the Arduino that I share can read from 0.01 vdc to 5 vdc (recommendation). If you want to use more than you can use prisoners (resistors) or can also be called divider dividers. then enter with an additional formula according to the resistor value. but this time the admin shared the 5 VDC max input.

Schematic:


Source Code [Raw

#define pinTeg A0
void setup() {
  Serial.begin(9600); 
}

void loop() {
  readTeg(); // MEMANGGIL PROGRAM
}

// PROGRAM MEMBACA TEGANGAN
void readTeg(){
  int ValueTeg = analogRead(pinTeg);
  float tegangan = ValueTeg * (5.0 / 1023.0);
  Serial.print("Tegangan : ");
  Serial.print(tegangan);
  Serial.println(" Volt");
  delay(100);
}

Or Download File Source Code

Note :
Here I use pin A0 on Arduino as input volt
Enough the tutorial "Reading voltage using Arduino" Thank you.

Sabtu, 12 Mei 2018

Understanding Logic and Algorithms


Understanding Logic and Algorithms
, Understanding algorithms is very closely related to the word logic, namely the ability of a human to think with reason about a problem to produce a truth, proven and acceptable to reason, logic is often associated with intelligence, someone who is able to speak well often people call it a smart person. In solving a problem, logic is absolutely necessary.

Logic is identical with reason and reasoning. Reasoning is a form of thinking. Thought is indirect knowledge which is based on the direct statement that thinking may be true and maybe not true. The logic definition is very simple, namely the science that provides principles that must be followed in order to be able to think valid according to the rules. The logic lesson raises awareness to use principles to think systematically.

Logic comes from the Greek word LOGOS which means science. Logic can be interpreted as knowledge that teaches ways of thinking to carry out activities with a specific purpose. The algorithm comes from the name of an Arab scientist named Abu Jafar Muhammad Ibnu Musa Al Khuwarizmi the author of a book called Al Jabar Wal Muqabala. 2 The word Al Khuwarizmi reads westerners into Algorism which then gradually becomes the Algorithm absorbed in the Indonesian language into Algorithms. Algorithms can be interpreted as sequences of problem solving that are arranged systematically using logical language to solve a problem.

However there are several other algorithm definitions. Among them, according to Rinaldi Munir, the algorithm is a sequence of logical steps to solve problems that are arranged systematically. While according to the Big Indonesian Dictionary, the definition of an algorithm is a logical sequence of decision making for problem solving. According to the Gunadarma team: 1988, the algorithm is a finite set of instructions that clearly specify the steps of the implementation process, in solving a particular problem, or a particular class of problems, with the demand that the set of instructions be carried out mechanically. From the above understanding, it can be concluded that Logic and Algorithms are the study of how to solve a problem based on the sequence of limited steps arranged systematically and using logical language with a specific purpose. To more easily understand the meaning of the algorithm an example of the problem of exchanging the contents of two glasses is exemplified. Given two glasses A and B, the glass contains tea water and a glass of coffee water. Exchange the contents of the glass so as to produce a glass which originally contained tea water to contain coffee water and a glass which originally contained coffee water to be filled with tea water. Illustration of this problem can be seen in Figure 1.1.
Figure 1.1. Exchange glass of glass A and glass B. 



The way to resolve this problem is as follows. To exchange the contents of the glass properly, it is necessary to add the glass we call glass C as a temporary shelter. Here is the algorithm:
1. Prepare a backup glass C
2. Pour tea water from glass A into glass C (glass A becomes empty).
3. Pour coffee water from glass B into glass A (glass B becomes empty).
4. Pour tea water from glass C into glass B. Illustration of the steps of the algorithm can be seen in Figure 1.2.
Figure 1.2. Steps for exchanging glasses of glass A and glass B.

From this example it can be seen that the solution to the problem of exchanging the contents of two glasses is very simple. Here is used a sequence of steps that are reasonable or logical so that the contents of both of them have moved media, from A to B and B to A. This is what is called "Algorithm", the sequence of solving a problem in a logical and reasonable sequence and step produces something correct.
Another example of using logic and algorithms is to create an algorithm to calculate the area of ​​a circle, the way:
1. Determine the radius value (r) of the circle.
2. Determine the value of phi.
3. Calculate the area of ​​a circle by multiplying the value of the radius (r) by (r) then multiplying by the value of phi.
4. Then the area of ​​the circle is found.
5. Finish. When using logic, you should not think too complicated about a problem, because it is not necessarily a problem that is as complicated as we think.
Think of the simplest things to solve the problem, so it doesn't get stuck in complicated, self-made thoughts. However, don't underestimate the slightest problem, but think simple to produce an effective solution.
In determining the algorithm to solve a problem, maybe we are faced with several algorithm choices. Therefore we must have a guide in determining algorithm choices. Consideration in algorithm selection is, first, the algorithm must be correct. This means that the algorithm will provide output as expected from a number of inputs provided. No matter how good an algorithm is, if it gives the wrong output, then surely the algorithm is not a good algorithm. The second consideration that must be considered is that we must know how well the results achieved by the algorithm. This is especially important in algorithms that require approximation of results, namely algorithms whose results are only approaches. A good algorithm must be able to provide results as close as possible to the actual values. Third is the efficiency of the algorithm. The efficiency of the algorithm can be viewed from two things, namely the efficiency of time and memory. Although algorithms provide the correct or closest output, but if we have to wait a long time to get results such as hours to get the output then usually the algorithm will usually not be the first choice, everyone wants a relatively fast output. Likewise with memory, the greater the memory used, the worse the algorithm will be. In reality, everyone can create different algorithms to solve a problem, even though there are differences in compiling algorithms, of course we expect similar or similar outputs. If faced with problems like this then you should choose the most efficient and fast algorithm.
The purpose of learning logic and algorithms is to be able to get used to doing a plan when solving a problem. Because a problem that is solved with a mature plan will get a more optimal solution than solving the problem without using a plan.

Access webcam camera with OpenCV Python


Access webcam camera with OpenCV python - this time admin posts How to Access webcam cameras using openCV in python.
This tutorial is the basic of OpenCV, which is accessing the camera / webcam. Camera access is an important aspect in using opencv itself. Because opencv itself is more often to access a camera / webcam. Here the admin uses a logitech camera and uses python version 3. Can also access from laptop webcam default. Just look at the source code below.


Source Code :


import cv2 #untuk memanggil komponen opencv python

videoCam = cv2.VideoCapture(0) #webcam / kamera yang digunakan
videoCam.set(cv2.CAP_PROP_FRAME_WIDTH,720) # panjang panel kamera
videoCam.set(cv2.CAP_PROP_FRAME_HEIGHT,480) # lebar panel kamera
while True:
    cond, frame = videoCam.read() # membaca kondisi apabila frame sudah ada

    gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) # cara mengkonvert gambar BGR ke Mode Gray
    cv2.imshow('Original Video', frame) # menampilkan video aslinya
    cv2.imshow('Gray Video', gray) # menampilkan video asli dengan efek gray

    k = cv2.waitKey(1) & 0xff
    if k == ord('q'): # jika menekan Q maka program akan exit.
        break

videoCam.release()
cv2.destroyAllWindows()


Note :
If using 2 cameras, change the number 1 or 0 on VideoCapture (1)

Screenshot Program Result :


Senin, 26 Maret 2018

INSTALL OPENCV PYTHON IN WINDOWS

 

How to Install OpenCV Python Windows - this time the admin posts How to Install OpenCv Python easily and quickly. only use CMD on windows.
OpenCV (Open Source Computer Vision Library) is a software library aimed at real-time dynamic image processing, created by Intel, and now supported by Willow Garage and Itseez. This program is free and is under the auspices of an open source of BSD licenses. This library is a cross platform library. This program is dedicated in large part to real-time image processing. If this library finds the library of Integrated Performance Primitives from Intel in a computer system, then this program will use this routine to speed up the process of working this program automatically.
Python is a multipurpose interpretive programming language with a design philosophy that focuses on the level of code readability. Python is claimed to be a language that combines capabilities, capabilities, with very clear code syntax, and is equipped with a large and comprehensive standard library functionality. Python is also supported by a large community.
Currently python code can be run on a variety of operating system platforms, some of which are Linux / Unix, Windows, Mac OS X, Java Virtual Machine, OS / 2, Amiga, Palm, Symbian

Screenshot :



Bahan yang dibutuhkan :

  • Internet
  • Latest version of Python 2/3
  • PC / Laptop for sure
  • A cup of coffee to be excited


Download Link :
- Python
[ Download ]

How to Install :
1. Install Python Jangan lupa centang "Add Python to Path"
2. open CMD 
3. type "pip install --upgrade pip" 
4. "pip install wheel" 
5. install open cv by typing "pip install opencv-python" 
6. install contrib opencv "pip install opencv-contrib-python" 
7. done :D
8. If you are still confused, see Tutorial Video below.



Modul PDF Siemens S7


Basic Course Siemens Step7 - this time admin shares PDF related to Software Step 7 for free. This PDF includes tutorials ranging from basic to advanced. This PDF is in Indonesian so that visitors can easily understand the use of STEP 7. To download the software on "Download STEP 7 TIA PORTAL V13 Software".



Screenshot :


Fill in this PDF Package:
  • S7 Prog 1 Exercise.pdf
  • S7 Prog 1 latihan 16 bit.pdf
  • S7 Prog 1 latihan 32 bit.pdf
  • S7 Prog 2 chapter 1.pdf
  • S7 Prog 2 chapter 2.pdf
  • S7 Prog 2 chapter 3.pdf
  • S7 Prog 2 chapter 4.pdf
  • S7 Prog 2 chapter 5.pdf
  • S7 Prog 2 chapter 6.pdf
  • S7 Prog 2 chapter 7.pdf
  • S7 Prog 2 chapter 8.pdf
Download Link :
- Modul PDF Siemens S7 [ 4Mb ] [Google Drive ]
[ Download ]

How to Use :
1. Download the Siemens PDF Package
2. Extract File
3. Done