Showing posts with label avr. Show all posts
Showing posts with label avr. Show all posts

Saturday, 18 March 2017

AVR Dongle Circuit Diagram


This circuit is intended to program AVR controllers such as the AT90S1200 via the parallel port. The circuit is extremely simple. IC1 provides buffering for the signals that travel from the parallel port to the microcontroller and vice versa. This is essentially everything that can be said about the circuit. The two boxheaders (K2 and K3) have the ‘standard’ ISP (in system programming) pinout for the AVR controllers. The manufacturer recommends these two pinouts in an attempt to create a kind of standard for the in-circuit programming of AVR-controllers. These connections can be found on many development boards for these controllers. The software carries out the actual programming task.

Circuit diagram :
AVR_Dongle_Circuit_Diagramw
AVR Dongle Circuit Diagram

It is therefore necessary to have a program (ATMEL AVR ISP), which is available as a free download from http://www.atmel.com. The construction of the circuit will have to made on standard prototype board, since we didn’t design a PCB for this circuit. This should not present any difficulties considering the small number of parts involved. We recommend that inexperienced builders first make a copy of the circuit and cross off each connection on the schematic once it has been made on the board. This makes it easy to check afterwards whether all connections have been made or not.

Sourced by: Streampowers.blogspot.com

Readmore → AVR Dongle Circuit Diagram

Friday, 23 December 2016

AVR ISP ScoketBoard


Most Atmel AVR microcontrollers can be programmed via their in-built serial programming interfaces (SPI). This method is ideal for in-situ programming, such as might be used in manufacturing or for firmware development or field upgrades.

In this scenario, the micro remains in its socket on the application board and a low-cost in-system programmer (ISP) is plugged into a dedicated programming header. In other words, the microcontroller does not have to be removed from its socket and plugged into a parallel programmer each time a firmware update is required.

However, in some cases it is desirable to programme a microcontroller stand-alone, such as when the application board is unavailable or doesn’t include an ISP (or JTAG) header. A low-cost method of stand-alone programming might also be useful where a batch of chips is needed for a small prototype run and the cost of a commercial parallel programmer is prohibitive.

This is where the AVR ISP SocketBoard comes in. It provides the minimum of functions necessary to support in-system programming, including a regulated power supply,clock source and microcontroller IC socket. Just connect your in-system programmer to a PC, plug its ISP cable into the SocketBoard’s on-board header and add a DC plugpack. You’re then ready to start programming!

Programming sockets
As you can see from the photos, the SocketBoard contains five programming sockets. Why so many? Well, we’ve provided one programming socket for each group of micros with common SPI pinouts. This allowed us to eliminate the switching logic that would have been required if we’d used just a single, 40-pin socket, so greatly simplifying design and construction.

We expect that many constructors will install just one or two programming sockets (depending on their requirements), to keep costs as low as possible. The overlay diagram (Fig.2) lists specific device types and the sockets (SK1 to SK5) that support them. For example, to program the ATM ega16, socket SK4 must be installed.
For cases where quantities of chips need to be programmed, the board will accept standard zero insertion force (ZIF) sockets as well. There is absolutely no need to install ZIF sockets (as shown in our photos) for occasional programming; this would simply be expensive overkill.

The unit can be powered from a 12V DC 150mA (or higher) unregulated plugpack, which also powers the ISP programmer when it’s plugged into the on-board header.

Operation
As mentioned, the SocketBoard provides the minimum of functions necessary to support in-system programming. As stated, this includes a series of programming sockets to accommodate the different types of AVR micros, a regulated power supply, and a clock source.

The power supply is based around two series-connected LM317 adjustable positive regulators (see Fig.1). The first regulator acts as a current limiter. In normal operation, it performs no function. However, should the current through R1 increase to a level where about 1.25V is dropped across it, REG1 begins to reduce the voltage at its OUT terminal. In effect, REG1 then acts as a constant current source, limiting output current to a
maximum of 125mA.
AVR ISP SocketBoard
In normal operation, the complete setup consumes an average of about 20 to 40mA, depending on the type of in-system programmer connected. The remaining capacity (85 to 105mA) leaves a comfortable margin, which in most cases is still low enough to preserve any micro that might be accidentally reversed in a socket. It also protects other components if an internally short-circuited micro is plugged into a socket.

The second regulator (REG2) is configured as a conventional voltage regulator. Without JP1 installed, it produces +5V to power the system. Installing JP1 reduces this to +3V. Some constructors may find this lower voltage useful for verifying the memory in micros that are destined for 3V systems.

As well as power, AVR micros require a clock source for their internal programming circuits to operate. This is provided by a Pierce oscillator, which is composed of a 4MHz crystal (X1), two resistors and one gate of a 74HC04 hex inverter (IC1a). A second gate (IC1b) buffers the clock signal before it is applied to all of the programming sockets. A 47W resistor provides series termination and current limiting.

All that now remains to be described is the ISP interface. This is extremely simple indeed, as it consists only of a 10-pin DIL header (CON2) and five resistors. The four 100W series resistors act as peak current limiters, in case the ISP cable or a chip is accidentally inserted with power applied. These also help to protect the programmer if a faulty micro is inserted in a socket. The remaining resistor (47kW) pulls down the interface’s RESET line, so that the micro is held in the reset state if a programmer is not connected or is non-functional.

Testing
Connect a 12V DC source to the DC socket (CON1), noting that the centre pin is the positive input. If the power connections are accidentally reversed, nothing bad will happen as a series diode (D1) provides polarity protection.

Now apply power by sliding switch S1’s actuator towards the edge of the board. The power LED should light immediately. If it doesn’t, either the power connections are reversed or there is an assembly error. Carefully recheck the board against the overlay diagram and look for dry or missed solder joints.

Next, use your multimeter to measure the voltage between pins 7 and 14 of IC1’s socket. Expect a reading of 5V ±5%. Temporarily insert a jumper shunt on JP1 and measure the voltage again. This time, you should get the lower reading of 3V ±5%. When done, remove
the jumper, as in the majority of applications, a 5V supply is preferred for programming.

If the power supply checks out, switch off and insert IC1 into its socket. Naturally, the position of the notched (pin 1) end of this IC must match that
of the IC socket.

Using it
It doesn’t take a lot of grey matter to use the SocketBoard. Simply switch power off, plug your in-system programmer into the AVR ISP connector (CON2), and insert the microcontroller to be programmed into the designated socket. After switching on, the micro can be programmed following the instructions supplied with your ISP.

Important: always switch the power off before inserting or removing a microcontroller from its programming socket.

Note that 8-pin micros present a special case. Instead of a separate socket, all 8-pin devices are programmed in the first 20-pin socket (SK1). In addition, jumper shunts must be installed on JP2 and JP3 to route signals to the correct places for these diminutive
devices.

After programming an 8-pin device, the two jumper shunts (JP2 and JP3) should be removed if you also intend to program 20-pin devices in the same socket. This ensures that there is no possibility of damage to the larger devices.

If a faulty micro is inserted in a socket or if a working device is inserted backwards, the current-limit function will swing into action. In most cases, the current passed through the part should not be destructive – if the problem is noticed right away and power is switched off immediately! 
EPE

Downloads: PCB layout

Readmore → AVR ISP ScoketBoard

Friday, 9 December 2016

Creating a Line Follower Robot with AVR


The article "Creating a Line Follower Robot with AVR [Censorship]" is a continuation of Line Follower Robot article with a new AVR ATMega8535 samapai phase Line Follower Robot block diagram. In the article "Creating a Line Follower Robot with AVR Part 1 [Sensor]" This is a review of the sensor used on Line Follower Robot, and the components used. Sensors, can be analogous to the 'eye' of a robot that serves to 'read' the black line of the track robot or vice versa. So that the robot is able to know when he will turn right, when he turned left and when he stopped. Sensors used are usually photo reflector, LDR (Light Dependent Resistor), Photo Diodes and Photo Transistor - mounted on the front two or more below the line follower robot.There also are using the camera as a sensor (or image sensor) to a higher-resolution readout line, making more accurate robot motion.
Line Follower Robot Sensor circuit with AVR ATMega

Robot Sensor circuit with AVR ATMega
Robot Sensor circuit with AVR ATMega  Circuit

The working principle of the sensor is simple, when the transmitter (infrared) emitting light onto a white field, the light will be reflected back to the receiver by the white areas and vice versa. This gives the change in the voltage level at the receiver output, but it usually changes the voltage can not be accepted as a TTL logic level. To be able to read by the microcontroller, the sensor voltage should be adjusted to TTL voltage level that is 0-1 volts for logic 0 and 3-5 volts for logic 1. This can be done by installing the operational amplifier is used as a comparator as shown in the picture above.
Op Amp is used as a comparator LM324 IC, because IC is able to work at VCC 5 volt range and there are 4 in 1 Op Amp IC corresponding to the number of sensors are used. The sensitivity of this sensor can be set through R9 which controls the comparator reference point.
Maximizing Sensor Line Follower Robot

Line follower robot sensors can be made with a combination between LED and photo diode. Line follower robot sensor configuration is good to be able to read the track with a hard and fast. To make the robot sensor is firm and fast can not merely rely on the ability of photo diodes and LED configurations only. As an alternative to maximize the performance of line follower robot sensors can be added to the voltage comparator with Op-Amp. Sensor circuit line follower robot equipped with a voltage comparator that is ready to be connected to a microcontroller or PIC can use the following series of robot sensor.
Line Follower Robot Sensor circuit with voltage comparator

voltage comparator
Voltage comparator Circuit


Function of the voltage comparator circuit line follower robot sensor above is:

  1. Reinforce the logic level sensor output
  2. Amplifies the sensor output signal
  3. Control and determine the reference point sensor
  4. Reinforce the logic level sensor output is intended to avoid the floating logic conditions, with the goal of getting the process of transition logic (high) to a logic low (low) or vice versa in a fast sensors. So as to enhance the response to the sensor readings track work.

Sensor output voltage levels should be read as well by the TTL logic processor. If the robot sensors rely on photo diodes and LED configurations, then during the reading process is fast track, then the resulting signal has a logic low loevel differences and can not be read as a TTL logic. Therefore, robot sensor voltage levels are still weak need to be corroborated by a voltage comparator, so the TTL logic level differences firm with a strong signal.

The purpose of controlling and determining the sensor reference point is, we can determine the position of the robot sensor readings can be considered as a logic high or logic low.  Choosing process reference value line follower robot sensor readings can be done by adjusting VR1 10kOhm the series "Line Follower Robot Sensor Voltage Comparator With" above.


Readmore → Creating a Line Follower Robot with AVR

Thursday, 8 September 2016

Circuit diagram of generator avr


Post: Circuit diagram of generator avr



Audio tone generator using avr microcontroller: circuit, The circuit presented here demonstrates how to generate audible frequency from an avr microcontroller. the output of microcontroller is always digital so to generate.
Sound generator circuit – electronic circuits and diagram, Simple sound generator circuit description. this is a real scream generator circuit suitable for any purpose like alarm or car horn.the circuit is based on two.
Function generator circuit – electronic circuits and, A simple function generator circuit with diagram and schematics using icl8038, which is a pulse generator ic which generates waveforms of sine,square,sawtooth.

Ding dong sound generator door bell circuit using 555 timer, This is ding dong sound generator circuit is designed using 555 timer ic in astable mode. it can be used as doorbell. read this post for complete details..
Complete list of electronics projects circuit diagram, Learn to build electronic circuits. vol. i - dc; vol. ii - ac; vol. iii - semiconductors; vol. iv - digital; vol. v - reference.
Schematics technical drawings block diagram blue print, Pirate radio kits fm transmitter schematic hobby broadcast rf circuit antenna surveillance spy links for fm transmitter kits, circuits, electronics.

There are four reasons why you must know Circuit diagram of generator avr
Find here about Circuit diagram of generator avr
and your search ends here below is information relating to Circuit diagram of generator avr
check this article

one photo Circuit diagram of generator avr



Generator Avr Circuit Diagram K65 3 Phase Voltage Stabilizer - Buy 3

Generator Avr Circuit Diagram K65 3 Phase Voltage Stabilizer - Buy 3

Ac Generator Avr Sx460 Circuit Diagram For Kipor Generator - Buy Avr

Ac Generator Avr Sx460 Circuit Diagram For Kipor Generator - Buy Avr

 Search Engine): CHAPTER 3 GENERATOR EXCITATION AND VOLTAGE CONTROL

Search Engine): CHAPTER 3 GENERATOR EXCITATION AND VOLTAGE CONTROL

Channel RF AVR Remote Control

Channel RF AVR Remote Control

three phase sine wave generator

Three phase sine wave generator

automatic voltage regulator for diesel generator R438 AVR Alternators

Automatic voltage regulator for diesel generator R438 AVR Alternators

What is 5-7KW AVR?_发电机配件_新浪博客

What is 5-7KW AVR?_发电机配件_新浪博客



Readmore → Circuit diagram of generator avr