Types,Operands and Addressing Modes After a brief introduction of ISA, here in this part of the series we’ll look at: Content: Types of Operands Instruction set design Types of Instructions Types of Addressing modes Types of Operands: Operands basically refer to the type of parameter which is passed on to, along with an instruction. It might be a : Register/Memory address Constant/Immediate Consider the following examples: ADD r1,r2,r3; will add r2 and r3 and store it’s value in r1 Here, Operands is r1,r2 and r3. ALL of which are registers. ARM has in general 16 general purpose registers…
DC motor selection for robotic applications
This post is mainly contributed by the members of the electrical team of ARES robotics. For designing a rover prototype, we have to select motors for applications like Robotic arm, wheels, etc. This post aims to be a single guide containing all the information required for someone to choose an engine for an application. I’ll try not to cover motor constructional details, but rather their types, advantages, and application areas. Type of DC electric motors used in robotic : Servo Stepper Brush-less DC Brushed DC Geared DC DC linear actuators Servo motors It is a self-contained electrical device that…
DIY: Generating Ramp/Sawtooth from PWM
DIY: Generating Ramp/Sawtooth from a PWM signal Lack of any good tutorial to produce a ramp/sawtooth wave from a PWM signal urged me to make one! This post was a part of one of my recent ongoing projects, i.e., Redesigning the Semiconductor CURVE TRACER, here at CEDT, NSIT. I was to produce a sawtooth wave from a PWM signal using Arduino nano, and here are my observations: TASK: To produce a sawtooth wave from the PWM signal using Arduino Nano. PROCEDURE: Producing a ramp/sawtooth wave out of a PWM signal merely involves passing a PWM signal of varying duty cycle through…
ARM Instruction Set(Part 1): Initialization
INTRODUCTION TO INSTRUCTION SETS I recently brought the ARM edition of the book Computer Organization and Design by Patterson and Hennessy from library. Half way through the book, I thought of sharing the content of this book in a more elaborated manner by making a series of tutorials on Arm Instruction Set.So, here’s part one of the series. Content Basic definitions Types of Instruction sets Architecture(ISA) General purpose register architecture Stack architecture Accumulator architecture Basic Definitions Benchmarks: A program selected for use in comparing computer performance.SPEC(System Performance Evaluation Cooperative) is such an effort supported by a number of vendors…
Introduction to FRDM KL46Z and KDS
Outdated post alert: Sorry, this post is no longer being maintained. If you are loooking for some sample code for FRDM KL46Z visit: https://github.com/madaari/FRDM-KL46Z-developnment-board Year ago, i wrote a tutorial on getting started with freescale’s FRDM KL46Z development board. since then it was just a draft, today, i thought of updating and releasing it. So, here it is: But first of all, a very brief introduction of the development board and OpenSDA FRDM KL46Z Features MKL46Z256VLL4MCU – 48 MHz, 256 KB flash, 32 KB SRAM, segment LCD, USB OTG (FS) , 100 LQFP Capacitive touch slider, MMA8451Q accelerometer, MAG3110 magnetometer…