Welcome, to be Efficient

.

Saturday, April 7, 2012

Bike Indicators

Function
Flashing LEDs attached to rear of the cycle indicates in which direction the cyclist intends to turn.
Circuit diagram


Components
SW1 = Toggle switch
SW2 = Switch SPDT
R1 = 1k ohm
R2 = 470 ohm
R3 = 470 ohm
VR1 = 100k ohm
C1 = 100mF
IC1 = 555 Timer
LED = 5mm Standard LED
Operation
Heart of the circuit is a 555-timer chip configured in ASTABLE mode.
This means the out put at pin 3 is constantly changing, i.e. the output goes high (9V) for a specified time, and then low (0V) for a specified time before again switching high.
The transition from high to low is called a cycle, and the number of cycles which occur in one second is called the frequency, measured in hertz (symbol Hz)
The frequency is controlled by the size of R1, VR1 and C1.
Formula to calculate the frequency:-
With VR1 at its max resistance
FREQ = 0.07Hz

The time taken to complete one complete cycle (i.e. time output pin 3 is high plus time output is low, called the period, symbol T), is calculated from the formula:-
T = 14 sec.
This means the output from pin 3 (IC1) is high (9V) for a period of 7 seconds, and then low (0V) for a period of 7seconds.
Note the period can be reduced by adjustment of VR1.
The output from the chip is then fed, via R2 and the switch, to either of the LEDS depending on switch position (SW2).
Thus when the output of the timer (pin3) goes high the particular LED will light and when output pin 3 is low LED is unlit.
Note a red LED in series with R3 is connected to the output pin of the 555-timer circuit.
Thus, when output pin 3 goes to 9V, the LED will light and when output pin goes to 0V the LED is unlit. This flashing LED serves as an indicator to the rider, circuit is working correctly.

Calculation of value resistor R2 and R3
It is most important an LED must have no more than 2 volts dropped across it. Also the current flowing through should not exceed 20mA.
When output pin 3 goes to 9V, therefore 7V must be dropped across R2.
With 7V dropped across it and max permissible current flowing through it of 20mA the size of resistor can be calculated using OHMS LAW.
R2=7/ 020 =350 ohms.
Note
In electronic circuits it is not good policy to have components operating on their top limits, so a resistor value of 390 or 470 ohms should be used for R2, and R3.

Thursday, April 5, 2012

PIC Project list


·        
Micro controller Based Programmable Security Door lock 
Ultrasonic Range Finder Using PIC Microcontroller           
 Microcontroller Based wind speed meter with 16X2 LCD display                  
Security Access control System(230v)  
SMS based device control using GSM modem         
 Smart card based Door Access System with LCD            
Programmable Scrolling message sign board   
24 Hour ON/OFF Clock Timer using Micro controller      
 8 channel Analog Digital Converter (12v A to D)       
Display timetable of College Using Micro Controller        
8 channel RF remote controller 

Wednesday, January 20, 2010

A Step by Step Guide to Electronic/Embedded Product Design and Development

A well executed design and development cycle for an electronic product requires travel through many stages before arriving at a successful conclusion. Here at the Efficient INDIA, we have determined the stages needed to create a well designed electronic product.

1. Concept

The stage where an idea for a new product, a variation on an existing product, or the identification of a need for  an undefined product causes research to be done to define a product, a market, and an approach for manufacturing this product.

2. Research

The stage at which the product concept is utilized to fuel research that includes identifying the technology, methods, and vendors involved in producing the product. This stage of research must result in a detailed design specification that is used to cost the design process that follows as well as the estimated manufactured cost of the product. The agency compliance requirements (U.L., F.C.C., C.E., etc.) are defined now.

3. Circuit Design

The stage where a schematic diagram is created (usually via computer drafting software) and a preliminary parts list is created for costing and prototyping the product.

4. Packaging and Printed Circuit Design

This is the stage where the device under design gets a suitable enclosure designed or selected. This enclosure selection as well as connectors, controls, and displays must all be resolved before the printed circuit layout commences. The first step in designing a printed circuit, the mechanical pattern or outline of the board assembly itself.

The major steps in this process are:

a.  A package (housing) is selected or designed. If designed, the mechanical drawing must be produced of the assembly. If selected, this drawing will be supplied by the manufacturer.

b.  Nomenclature and graphics for the enclosure will be designed. This may be applied in the form of labels, overlays, silkscreen, or a combination.

c.  The printed circuit layout commences and resolves the requirements of the circuit diagram usage of electronic components with the form factor demanded by the packaging design process.

d.  The printed circuit artwork is processed on film and used by a manufacturer to etch printed circuit boards for the board assembler. A silkscreen of part locations to assist in the assembly process is normally applied on the printed circuit card by the manufacturer.

 

5. Prototyping or Trial Production

Sometimes prototypes are built before stage 4 (packaging and printed circuit layout) but the speed and cost advantages of computer aided design are making this more uncommon. A hand-wired prototype of all or a portion of the circuit may be required for the design process.

6. Design Review

The stage where the prototype and initial units are evaluated for function, appearance, build-cost, and possible enhancements. This process should result in minor changes but is a must to insure compliance with the original goals.

7. Manufacturing Setup including Test Setup

The stage is where the necessary test procedures and apparatus, fixtures if necessary, and detailed assembly instruction and documents are put in place in order to yield quality, tested products when quantity production takes place.

8. Documentation

The phase where circuit diagrams, parts lists, master printed circuit artwork, parts sources, software source code and documentation, mechanical drawings, assembly drawings, and all other items included as part of a project's deliverables are provided. This package should be sufficient so as to make the product producible by any qualified source, not just the parties involved in the design.

9. Agency Compliance

According to the nature of the product some agency compliance may be required by law. In addition, some agency compliance may be desirable for product acceptance or for product liability insurance coverage. Agency compliance can cost several thousand dollars per agency and can add months of time to accomplish. It is not to be taken lightly or left as an afterthought.

10. Follow-up

After a product is released into production; the manufacturing facility experience, the product support data, and the user responses, should all be reviewed for the purpose of steering future designs and marketing. Don't forget this crucial step on the road to improved quality, value, and often lower cost.


Sizing up the Task 

If you are contemplating a project, make a copy of this document and put an estimated time and amount by each stage and sub-stage. Add up the time and amount and see if it makes sense. Also, add a name or source for each of these items.

Trite but True:

Some seemingly small, but important observations we have made over the years.  There is Good, Cheap, and Fast. You can only have two of the three at any one time. If you can buy something, do not build it or anything similar without some truly overwhelming justification. Always make a mockup or model, even if it is cardboard with hand drawn features. It will pay for itself again and again, and you will learn something crucial each time you build one.

Ask from Team Efficient INDIA




--
With Best Regards,
Rahul Kumar Verma
+91-9871510285
+91-9730413981

Saturday, July 18, 2009

Workshop on Embedded System and RTOS

Topics to be covered Duration: 25 Hrs

Embedded System Design: An Introduction
• Definition of Embedded Systems
• Real Time Embedded System
• Challenge and Trends in ES
• Designing issues in ES
• Tools
Microcontrollers & their Architecture
• I/O Ports.
• Interrupts.
• Timer/Counter.
• Communication Protocols (UART, SPI, I2C).
• ADC/DAC.
• CAN
• RTC
• Emerging Bus Standards(USB, Compact PCI)
• 8051 Microcontroller bock diagram, Instruction set and Assembly Programming
• Introduction to AVR and ARM Microcontroller
Introduction to Embedded C Programming
• Embedded C-Programming for Microcontroller.
• Introduction to C, Flow control statements, functions.
• Data Types, operators and expressions.
• Program structures.
• Program Burning and Execution.
Interfacing of peripherals to Microcontrollers
This session will be focusing on interfacing various devices to the micro controller.
• Actuators.
• Geared DC Motor.
• Stepper Motor.
This session includes detailed discussion of various types of Actuators followed by hand session on controlling the motion of Geared DC motor and techniques for precise position control using Stepper motor.
• Motor Driver.
• Relays.
• Solid State Drivers.
• Integrated Circuit drivers.
Discussion of various motor drivers available and their practical implementation.
• Displays.
• LED.
• LCD.
• 7-seg displays.
Interfacing of various Display devices with microcontroller.
• Input Devices.
• Switches.
• Matrix Keyboard.
Interfacing different human interface devices in various configurations with the microcontroller.
• Sensors.
• Temperature Sensors.
• Light Sensors.
Study and practical use of Sensors to enable microcontroller to acquire environmental data.
• Real Time Clock.
Introduction to concepts of RTOS
• Need for RTOS.
• Features of RTOS.
• Popular RTOSes.
Project Building (With Hardware Kit)
• Description
• Exploring.
• Designing.
• Programming and Implementation.

Thursday, July 16, 2009

Testing a DB-9 RS-232 serial port in HyperTerminal

This procedure explains how to troubleshoot a COM card using Hyperterminal.
Before testing your serial ports, you must first hook up a loopback.

A loopback connects the output signal (TxD) to the input signal (RxD) in a single serial port connector to make it seem like there are two ports connected together.

Making a loopback
Step Procedure Description
Step 1-Turn off the computer
.
Step 2-Connect RxD (pin 2) and TxD (pin 3) of the serial port.
Use a loop-back connector if available, or any kind of conductive wire, even a paper clip
.
Step 3-Turn on the computer. You are now ready to test the port.
Figure 24 - RS-232 DB-9 connector
Running Hyperterminal
Step Procedure Description

Step 1-Launch HyperTerminal. In Windows,
select Programs/Accessories/ Communications/ HyperTerminal.

Step 2-Create a new session. When prompted, give the session any name you wish.

Step 3-Select the COM # associated with your You are now set up to test the port.
port from the drop down list.
Note: Leave all settings at default.

Figure 24 illustrates the jumper location for a loopback on a
RS-232 DB-9 connector.
Install a wire jumper to connect the following signals:
RxD (pin 2) to TxD (pin 3)
Step Procedure Description

Step 4-With the session open, type any text. If the text you type is echoed on the
screen, the port is functioning properly.

Step 5-Close the session.

Step 6-Repeat all above steps to test additional You will first need to connect the Loopback
ports. on the other ports using the steps above

Wednesday, July 1, 2009

IIT-K to launch India's lightest nano satellite 'Jugnu'

Kanpur: The Indian Institute of Technology (IIT), Kanpur has come in to agreement with the Indian Space Research Organization (ISRO) to launch a nano satellite. It will be the country's lightest and the institute's first satellite to be launched in the orbit from Sriharikota.



IIT Kanpur had presented the second design review to ISRO which nodded to launch the satellite.


"Though the memorandum of understanding between ISRO and IIT-K for the project was signed in February, regular review sessions are being carried out by ISRO to check the progress of the project," said Sanjay Govind Dhande, Director, IIT Kanpur.


"On Tuesday, our technical team working on the project apprised ISRO authorities of the release and antenna mechanism," he said.In April, the first review of Jugnu was carried out by ISRO.


Since last December, a team of 40 students and around 12 professors, led by Professor and Mechanical Engineering Department Head, Nalinaksh S Vyas have been working on the project.


"A similar project in any European country would have cost over Rs 10 crore but we expect the entire project to complete within a budget of Rs 2-3 crore, without compromising on quality. This is a welcome signal for indigenous remote sensing technologies," said Vyas.


A technical team led by D Madhav Murthy in the ISRO for Small Satellite, has said that the procedures for informing the ISRO officials for launch by a mother satellite has been provided, along with the details of the positioning of the satellite antenna set up in the institute premises.

Jugnu weighs around 3.5 kgs and would be 34 cm long and 10 cm wide. Equipped with the micro imaging and micro electronic system, it will transfer the images to the IIT Kanpur campus. The high resolution pictures obtained will be used for different applications like drought monitoring, wasteland management, urban planning and flood risk management.

"Although the stipulated life time of the satellite is six months, we are optimistic that it will complete at least 12 months in the orbit," said Dhandhe.

                                                             ABOUT COLLEGE



IIT-K to launch India's lightest nano satellite, Jugnu

IIT-K to launch India's lightest nano satellite, Jugnu

The Indian Institute of Technology, Kanpur (IITK) has received the Indian Space Research Organisation (ISRO) nod to launch its first and country's lightest nano satellite, Jugnu, by this December. The nod came after a second design review was presented by the IIT-K authorities. The satellite will be launched in the polar orbit from Sriharikota. IIT-K director Sanjay Govind Dhande said, "Though the memorandum of understanding between ISRO and IIT-K for the project was signed in February, regular review sessions are being carried out by ISRO to check the progress of the project." The first review session of the Jugnu was carried out by ISRO in April. "On Tuesday, our technical team working on the project apprised ISRO authorities of the release and antenna mechanism," said Dhande. A team of 12 professors and 40 IIT-K students led by professor and mechanical engineering department head, Nalinaksh S Vyas, have been working on the project since last December. A technical team of ISRO led by D Madhav Murthy, director (small satellite), said they had informed Isro authorities about the details related to the release of Jugnu by mother satellite in polar orbit, and also provided the details regarding the satellite antenna set up in the institute premises. "A similar project in any European country would have cost over Rs 10 crore but we expect the entire project to complete within a budget of Rs 2-3 crore, without compromising on quality. This is a welcome signal for indigenous remote sensing technologies," said Vyas. Weighing 3.5 kg, Jugnu would be 34 cm long and 10 cm wide. It would be equipped with micro imaging and micro electronic system, and transit images to base station at the IITK campus. "Although the stipulated life time of the satellite is six months, we are optimistic that it will complete at least 12 months in the orbit," said Dhande. The high-resolution pictures and data obtained will be used for various applications such as drought monitoring, wasteland management, urban planning and flood-risk management. Source : http://www.iitk.ac.in/news/ 
 





Tuesday, June 30, 2009

Device Driver

The Role of Device Driver


The Role of device Driver is to provide mechanism not the policy, Policy maintain by the operating systems( Kernel) administration part.


The distinction between mechanism and policy is one of the best ideas behind the Unix design. Most programming problems can indeed be split into two parts: "what capabilities are to be provided" (the mechanism) and "how those capabilities can be used" (the policy). If the two issues are addressed by different parts of the program, or even by different programs altogether, the software package is much easier to develop and to adapt to particular needs.


The Kernel of the Unix/Linux system is divided according to their task, conurrent task.



Process management
The kernel is in charge of creating and destroying processes and handling their connection to the outside world (input and output). Communication among different processes (through signals, pipes, or interprocess communication primitives) is basic to the overall system functionality and is also handled by the kernel. In addition, the scheduler, which controls how processes share the CPU, is part of process management. More generally, the kernel's process management activity implements the abstraction of several processes on top of a single CPU or a few of them.
Memory management
The computer's memory is a major resource, and the policy used to deal with it is a critical one for system performance. The kernel builds up a virtual addressing space for any and all processes on top of the limited available resources. The different parts of the kernel interact with the memory-management subsystem through a set of function calls, ranging from the simple malloc/free pair to much more complex functionalities.
Filesystems
Unix is heavily based on the filesystem concept; almost everything in Unix can be treated as a file. The kernel builds a structured filesystem on top of unstructured hardware, and the resulting file abstraction is heavily used throughout the whole system. In addition, Linux supports multiple filesystem types, that is, different ways of organizing data on the physical medium. For example, disks may be formatted with the Linux-standard ext3 filesystem, the commonly used FAT filesystem or several others.
Device control
Almost every system operation eventually maps to a physical device. With the exception of the processor, memory, and a very few other entities, any and all device control operations are performed by code that is specific to the device being addressed. That code is called a device driver. The kernel must have embedded in it a device driver for every peripheral present on a system, from the hard drive to the keyboard and the tape drive. This aspect of the kernel's functions is our primary interest in this book.
Networking
Networking must be managed by the operating system, because most network operations are not specific to a process: incoming packets are asynchronous events. The packets must be collected, identified, and dispatched before a process takes care of them. The system is in charge of delivering data packets across program and network interfaces, and it must control the execution of programs according to their network activity. Additionally, all the routing and address resolution issues are implemented within the kernel.

Loadable Modules
One of the good features of Linux is the ability to extend at runtime the set of features offered by the kernel. This means that you can add functionality to the kernel (and remove functionality as well) while the system is up and running.
Each piece of code that can be added to the kernel at runtime is called a module . The Linux kernel offers support for quite a few different types (or classes) of modules, including, but not limited to, device drivers. Each module is made up of object code (not linked into a complete executable) that can be dynamically linked to the running kernel by the insmod program and can be unlinked by the rmmod program.

The three classes of device Drivers are:
Character devices
A character (char) device is one that can be accessed as a stream of bytes (like a file); a char driver is in charge of implementing this behavior. Such a driver usually implements at least the open, close, read, and write system calls. The text console (/dev/console) and the serial ports (/dev/ttyS0 and friends) are examples of char devices, as they are well represented by the stream abstraction. Char devices are accessed by means of filesystem nodes, such as /dev/tty1 and /dev/lp0. The only relevant difference between a char device and a regular file is that you can always move back and forth in the regular file, whereas most char devices are just data channels, which you can only access sequentially. There exist, nonetheless, char devices that look like data areas, and you can move back and forth in them; for instance, this usually applies to frame grabbers, where the applications can access the whole acquired image using mmap or lseek.
Block devices
Like char devices, block devices are accessed by filesystem nodes in the /dev directory. A block device is a device (e.g., a disk) that can host a filesystem. In most Unix systems, a block device can only handle I/O operations that transfer one or more whole blocks, which are usually 512 bytes (or a larger power of two) bytes in length. Linux, instead, allows the application to read and write a block device like a char device—it permits the transfer of any number of bytes at a time. As a result, block and char devices differ only in the way data is managed internally by the kernel, and thus in the kernel/driver software interface. Like a char device, each block device is accessed through a filesystem node, and the difference between them is transparent to the user. Block drivers have a completely different interface to the kernel than char drivers.
Network interfaces
Any network transaction is made through an interface, that is, a device that is able to exchange data with other hosts. Usually, an interface is a hardware device, but it might also be a pure software device, like the loopback interface. A network interface is in charge of sending and receiving data packets, driven by the network subsystem of the kernel, without knowing how individual transactions map to the actual packets being transmitted. Many network connections (especially those using TCP) are stream-oriented, but network devices are, usually, designed around the transmission and receipt of packets. A network driver knows nothing about individual connections; it only handles packets.

Disclaimer

.........................................................................................................................................................
The all content are through my experiences, that i have learn in going through my studies and building projects, some of were taken from some web sites, books and other sources, where i have visited and learn the concepts, I am very thankful to them for having those valuable things, which make me more efficient in Embedded, and i have added those all in my experience. If any of these content violets copyrights, please contact me i will try to resolve and will do the needful assistance. Thank you all very much.
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................