Posts

Showing posts with the label IN

FPGA RC Servo and Stepper motor control in Verilog

Image
For those interested in reproducing this example: The board is called “EP2C5 Mini Board” and has a EP2C5T144C8 Cyclone II FPGA on it I used a standard, 9grams micro RC Servo. I used a 28BYJ-48 stepper motor and it’s driver (you can purchase these as a bundle for very cheap on dealextreme or banggood) I used the free edition of Quartus II from Altera, version 13.0 SP 1 (be careful, later versions do not support Cyclone II FPGAs anymore) I created a simple project, pasted all this code as a single module (it would of course be cleaner to separate the RC Servo and stepper control code into independent modules) made the “Top level entity” in the General configuration page equal to “counter” (the name of my module) used the Pin Planner to assign the inputs/outputs as follows: [ ]

DEBUGGING IN KEIL

I have already written a brief post on how to use KEIL uVision in which I deliberately left the debugging part out because I wanted to talk about it at a proper time. I think it's now. If you haven't noticed it yet, KEIL uVision is also a debugger and will help you debug many of your codes and programs. The debugging environment of KEIL is very simple to understand and make use of. Today, I will introduce you to it. Ready? UPDATE: You can also click this link for an updated version of this post. READ MORE

PIC16F887 877 programming in C Tutorial 2 S S Display Interfacing

Image
Interfacing Seven Segment (c.c) Display In this tutorial i will show you how to interface S.S display with PIC16F887/877. For this we required 74hc573 latches, 74hc238 decoder, and 74ls48 bcd2dec converter. Latches are used to enable/disable the S.S, 74hc234 a 3x8 decoder selects the appropriate latch to be enable/disable. 74ls48 just converts the bcd input to respective decimal output to operate S.S properly.  Now lets write a small program that display the digital manual input at S.S, enter by the user; by using 8-way dip switch. Code:    void main() {      int x,y,i,j;      trisc=0;      portc=0;      trisd=255;      //all bits for input  ///////////////// comment 4 pic16f877/////////      ansel=0;      anselh=0;           c1on_bit=0;      c2on_bit=0; ///////////...

Samsung launches the Omnia M Windows Phone in Europe

Image
Samsung is launching the Omnia M, a new Windows Phone 7-based device, in Europe. The Windows Phone 7.5-equipped handset ships with a 4-inch Super AMOLED display and 1GHz processor. The device features a minimalist design with rounded edges and a curved back. According to Samsung, the case was designed ergonomically so it "sits comfortably in your hand." The real focus of the Omnia M is its social features, which include access to the company's Family Story, a cloud-based network for family members to share messages, videos, and photos. Samsung has also bundled its ChatON service with the device, allowing users to engage in group chatting and messaging across several platforms, including iOS and Android. It's been a busy week for Samsung's Windows Phone business. Earlier this week, the company unveiled the Samsung Focus 2, a $50 Windows Phone boasting a 4-inch Super AMOLED display and 4G LTE support. That device is going on sale May 20 on AT&T's network. ...

Inductive Proximity Sensor Applications in Automation industry

Image
Inductive Proximity Sensor Applications in Automation industry  There are many numbers of applications where sensors can be utilized, and as you have seen throughout this book there are a number of sensors to choose from. Choosing the right sensor can be confusing and takes careful thought and planning. Often, more than one sensor will do the job. As the application becomes more complex the more difficult it is to choose the right sensor for a given application. The following application guide will help you find the right sensor for the right application.  Inductive Proximity Sensor Applications in Automation industry