Wednesday, November 19, 2008
Life After Calcaneal Fracture
Veladoc Sailing School is one of the oldest schools in Italy and stay ahead. Nini Sanna and his team for over thirty years to the sail approach people of all ages, bringing them the early edge in the cruise on the autonomy and international regattas. The characteristic of the sailing school is divided into didactic courses that allows everyone to familiarize themselves with the boat and the sea highlighting the potential of each student. The boats used are modern cruisers owned by the school offering brilliant racing performance and comfort cruise. Veladoc team consists of professionals who have made skipper of the sail their profession. The courses are held throughout the year. The mild climate in Sanremo allows pleasant trips out to sea in all seasons and the nearby Riviera cruises lets in just the weekend. From September to June, a full calendar of races is the gym for those who want to keep training.
Thursday, November 13, 2008
Sitting Bouncing On Stomach
use a graphical display
Many of you surely know the 2 x 16 alphanumeric display, also known as "two rows sixteen characters," or simply "HD44780" in the name of the controller typically adopted.
On the web there is plenty of material about the piloting of these displays, which is actually quite simple.
In a few words and 'just send the data line codes corresponding to characters to be displayed, using the appropriate control signals specifying the position of the characters, the blinking cursor, scrolling text etc. possible.
Clearly, a display of this type is suitable for display exclusive of letters and numbers, and even when they have a pretty good choice of symbols (bar, special characters, etc.). Any attempt to display "graphics", such as a slider bar or a diagram, it becomes a compromise between visual quality and the choice of the symbol more intuitive. And 'in fact can not display an image.
In this regard, for some time made their pop-up graphic displays, or dot matrix, where the viewing area is evenly covered with pixels.
The resolutions are relatively high, ranging from 64 x 64 display of mobile phones, passing for 128 x 64, 128 x 256 etc.. up to VGA display with 640 x 480 pixels and above.
As is intuitive, can drive these displays is more complex than the text of the 44780 protocol, but the structure is basically the same: the string of alphanumeric characters of 44780 is simply replaced by a set of vector coordinates, to be managed properly by control signals. In most cases, just send the sequence to the display on and off of individual pixels, sweeping the entire surface. A little 'as you would fill an array box to box, in groups of eight bits at a time.
If the display is connected to a computer, the image preprocessing must be handled by the software of an aircraft, but the amount of programs already written for this specific function makes the task quite easy.
If you work with a microcontroller, the work is further simplified by the abundant presence of appropriate software packages and libraries, to paste directly into your code.
The display in question.
I was able to deal with this when I found a display PG12864A, recovering from a handheld PC industrial (recovered the old crap, and at no cost!) when I saw him taken a relentless curiosity that led me to a first approach based on the port by PC (in fact it is the easiest and fastest way to exploit the graphical display of some complexity like this).
Technically PG12864A and 'just another display of 128 x 64 pixels based on the KS0108 controller, widely used and tested.
Here is a picture of the display, before:
and behind:
You immediately notice the presence of a row of 20 contacts. From datasheet of the display and 'immediately guess the similarity with the classic pin-44780; in fact the only differences relate to some hardware control pins.
interface with your computer.
the most 'direct and easy way to display and use these' parallel interface (unidirectional, although SPP is fine) to a desktop computer, not only for the limited hardware needed, but for the most simplicity 'in the management and content management software. Assuming an implementation on a microcontroller in fact, must necessarily be out on a substantial amount of memory in which the frame and keep all the pictures!
PC connection also allows the display of the content more 'different, notes interfaces for winamp network status, the temperature inside the PC using the RAM, just to name a few.
Basically the scheme to be implemented follows this example:
WARNING: The diagram shows a generic way to pin the display, on completion, you should check the actual pin-out of its display, and provide any adjustments.
You notice the absolute simplicity of this solution, which provides an immediate and direct connection between the pins of parallel port and the corresponding pin of the display.
Obviously this is 'the best solution' rudimentary; I personally have made an interface using the very well known 74LS245, Octal bidirectional buffer, which for this application are in fact a little 'wasted.
Also note the presence of a pin labeled "Vout". Well, by that pin comes out a negative voltage of approximately-10V, which is generated internally by the electronics of the display, which is needed to power the LCD panel. Using a trimmer
10Kohm between this pin and ground, before returning to the pin "Vo" is obtained by adjusting the contrast.
to connect to the parallel port I used a 20-pin flat cable, and that 'proved particularly versatile and reusable for future projects.
Inside:
To display connection, I used 40-pin IDE interface, they use only half, but the practice 'of this solution is unrivaled.
to complete the work I added a 7805 regulator and trimmer for contrast on the same card. The 40-pin IDE interface I can be useful to make an interface for both alphanumeric and graphic displays, using just the two rows of contacts at a time.
will improve in the future 'interface for alphanumeric.
The interface card then so is' be:
Since the card
spacers, the rear and 'very popular in fact work more' long 'was the wiring to the various connectors:
The work will not be' clean but it 's very robust and versatile. This gives rise to the natural light on the choice of buffer. Some might ask: why not use the 74LS244 ? Looking at the datasheet, and in particular the effective provision of internal buffers, the answer is' obvious: '245 in the buffer are all aligned, and the adjacent 8-pin can be assigned to all input or output, while in the '244 you the alternation of an input with the output of the pin opposite.
I initially made an attempt (also works) for the use of 244, with this result:
Confusion reigns. I confess I had not expected such a tangle of connections, the use of a 74LS244 and 'practical benefit only in the case of PCBs specifically designed, or where it is used in a "cross", ie the inputs in the head and exits at the foot of the chip, in order to avoid too many overlaps.
The overall interface is so 'made:
software.
For the management of these displays are numerous software, more 'or less' homemade'. Personally I used LCDHype ( Home ), I found it quite intuitive and feature-rich pre-compiled for those (like me) did not really want to be there 'to plan! There are other programs
more 'specific, for example interfaces shown Winamp. Most
'Note:
LcdStudio, similar to LCDHype: Home
Microchipc, for libraries to download the PIC microcontroller series: Home
LCDSmartie, more' suitable for alphanumeric displays eg. 4 x 40: Home
An interesting article about the Ubuntu-known program jaLCDs: Article .
Examples of operation.
interface for Winamp:
bar interface, always for winamp:
Displaying an image:
All images are visible in high resolution on PICASA .
Many of you surely know the 2 x 16 alphanumeric display, also known as "two rows sixteen characters," or simply "HD44780" in the name of the controller typically adopted.
On the web there is plenty of material about the piloting of these displays, which is actually quite simple.
In a few words and 'just send the data line codes corresponding to characters to be displayed, using the appropriate control signals specifying the position of the characters, the blinking cursor, scrolling text etc. possible.
Clearly, a display of this type is suitable for display exclusive of letters and numbers, and even when they have a pretty good choice of symbols (bar, special characters, etc.). Any attempt to display "graphics", such as a slider bar or a diagram, it becomes a compromise between visual quality and the choice of the symbol more intuitive. And 'in fact can not display an image.
In this regard, for some time made their pop-up graphic displays, or dot matrix, where the viewing area is evenly covered with pixels.
The resolutions are relatively high, ranging from 64 x 64 display of mobile phones, passing for 128 x 64, 128 x 256 etc.. up to VGA display with 640 x 480 pixels and above.
As is intuitive, can drive these displays is more complex than the text of the 44780 protocol, but the structure is basically the same: the string of alphanumeric characters of 44780 is simply replaced by a set of vector coordinates, to be managed properly by control signals. In most cases, just send the sequence to the display on and off of individual pixels, sweeping the entire surface. A little 'as you would fill an array box to box, in groups of eight bits at a time.
If the display is connected to a computer, the image preprocessing must be handled by the software of an aircraft, but the amount of programs already written for this specific function makes the task quite easy.
If you work with a microcontroller, the work is further simplified by the abundant presence of appropriate software packages and libraries, to paste directly into your code.
The display in question.
I was able to deal with this when I found a display PG12864A, recovering from a handheld PC industrial (recovered the old crap, and at no cost!) when I saw him taken a relentless curiosity that led me to a first approach based on the port by PC (in fact it is the easiest and fastest way to exploit the graphical display of some complexity like this).
Technically PG12864A and 'just another display of 128 x 64 pixels based on the KS0108 controller, widely used and tested.
Here is a picture of the display, before:
and behind:
You immediately notice the presence of a row of 20 contacts. From datasheet of the display and 'immediately guess the similarity with the classic pin-44780; in fact the only differences relate to some hardware control pins.
interface with your computer.
the most 'direct and easy way to display and use these' parallel interface (unidirectional, although SPP is fine) to a desktop computer, not only for the limited hardware needed, but for the most simplicity 'in the management and content management software. Assuming an implementation on a microcontroller in fact, must necessarily be out on a substantial amount of memory in which the frame and keep all the pictures!
PC connection also allows the display of the content more 'different, notes interfaces for winamp network status, the temperature inside the PC using the RAM, just to name a few.
Basically the scheme to be implemented follows this example:
WARNING: The diagram shows a generic way to pin the display, on completion, you should check the actual pin-out of its display, and provide any adjustments.
You notice the absolute simplicity of this solution, which provides an immediate and direct connection between the pins of parallel port and the corresponding pin of the display.
Obviously this is 'the best solution' rudimentary; I personally have made an interface using the very well known 74LS245, Octal bidirectional buffer, which for this application are in fact a little 'wasted.
Also note the presence of a pin labeled "Vout". Well, by that pin comes out a negative voltage of approximately-10V, which is generated internally by the electronics of the display, which is needed to power the LCD panel. Using a trimmer
10Kohm between this pin and ground, before returning to the pin "Vo" is obtained by adjusting the contrast.
to connect to the parallel port I used a 20-pin flat cable, and that 'proved particularly versatile and reusable for future projects.
Inside:
To display connection, I used 40-pin IDE interface, they use only half, but the practice 'of this solution is unrivaled.
to complete the work I added a 7805 regulator and trimmer for contrast on the same card. The 40-pin IDE interface I can be useful to make an interface for both alphanumeric and graphic displays, using just the two rows of contacts at a time.
will improve in the future 'interface for alphanumeric.
The interface card then so is' be:
spacers, the rear and 'very popular in fact work more' long 'was the wiring to the various connectors:
The work will not be' clean but it 's very robust and versatile. This gives rise to the natural light on the choice of buffer. Some might ask: why not use the 74LS244 ? Looking at the datasheet, and in particular the effective provision of internal buffers, the answer is' obvious: '245 in the buffer are all aligned, and the adjacent 8-pin can be assigned to all input or output, while in the '244 you the alternation of an input with the output of the pin opposite.
I initially made an attempt (also works) for the use of 244, with this result:
Confusion reigns. I confess I had not expected such a tangle of connections, the use of a 74LS244 and 'practical benefit only in the case of PCBs specifically designed, or where it is used in a "cross", ie the inputs in the head and exits at the foot of the chip, in order to avoid too many overlaps.
The overall interface is so 'made:
software.
For the management of these displays are numerous software, more 'or less' homemade'. Personally I used LCDHype ( Home ), I found it quite intuitive and feature-rich pre-compiled for those (like me) did not really want to be there 'to plan! There are other programs
more 'specific, for example interfaces shown Winamp. Most
'Note:
LcdStudio, similar to LCDHype: Home
Microchipc, for libraries to download the PIC microcontroller series: Home
LCDSmartie, more' suitable for alphanumeric displays eg. 4 x 40: Home
An interesting article about the Ubuntu-known program jaLCDs: Article .
Examples of operation.
interface for Winamp:
bar interface, always for winamp:
Displaying an image:
A analog clock:
All images are visible in high resolution on PICASA .
Sunday, October 26, 2008
Is Susten 200 Capsules Good For Pregnancy
Repair (obviously electronics) a washing machine! Final
I recently had the opportunity to "get their hands" (for the umpteenth time, to tell the truth!) In washing machine at home.
Suddenly, the dear washing machine did not want to learn to spin, greatly complicating the operations of drying clothes (this time then!).
Needless to say, in a time of five minutes the machine was carefully dismantled to find the cause.
So ... If the spin does not start, or is the engine, or are the brushes, or is it .. ECU!
's think logically.
The engine seemed in good condition, no signs of burning, no funny smell, no suspicious noise, maybe just the brushes a bit 'worn, but could still do a lot of "road".
E 'Simply remove the unit from the narrow slot (some sources confirm to me that there are teams of people devoted to studying the most uncomfortable position and unreachable for these units blessed!) to realize the problem.
Diagnosis of the fault.
An overview of the upper side usually allows you to find components visibly burned, damaged or even explode, but it is not 'the case.
Turning the card looks pretty clear the source of the problem:
not noticed anything? Not even on the right?
closer look:
Oh yes, you as well! In correspondence with one of two relays visible in first photo, there is what remains of a weld. The pitch is gone, the pin of the relay charred, and instead of the pond there is a black flash.
The fault of this card is due in all probability 'the combination of mechanical stress, humidity and general poor quality of the printed circuit board. There is in fact saying that the other welds did not look good, and the severance of this specific welding prelude to future failures of the same type.
happens that a weld is deteriorating as a result of mechanical stress (such as vibration or temperature changes), giving rise to the same flaws, which undermine conductivity. The current (rather high in this case, since it is the relay of the centrifuge) does the rest, warming and deteriorating further welding, to lead to sparks that consume in a short time.
how to proceed.
The repair of this type of problem is obviously to restore the original welding, but necessitates a review of the entire printed circuit board, to counter the possibility that the failure is repeated (very probable, with circuits like this bad).
First you have to clean up the damaged area of \u200b\u200bdebris, burning marks and dust and to this end is fine a bit 'of sandpaper Very fine. Here come the first problems due to heat.
In this specific case, the heat has altered the protective coating of the PCB, which in fact is scraped up adjacent to the welding of the relay. The copper track and 'almost always compromise, and we need a' tin 'of the track itself, ie the deposition of a thin layer of tin, which provides better conductivity and mechanical strength.
After an initial mechanical cleaning, is necessary to act with an alcohol-based rinse and thorough drying. Particular attention must be paid in the peeling of the runway next to the weld (which will serve as support). It often happens that it remains a bit 'of welding and paint the border of the track, effectively creating a barrier to future welding 'cordon'. should operate with an awl or a knife to free any remaining copper.
Given the conditions affected the runway and the terminal of the relay, you should not skimp with the flux. Personally, I pre-tin the end of the relay and the track, the entire applicant pool that I needed, and then I acted with the flux, which has greatly helped the distribution of the pond. The pond is used
the 67/33 already presented above, I chose this pond for his skills as a greater flexibility in cold, and the best quality of the internal flux, which is essential for this repair.
After the first layer of tin, have strengthened the cordon with another pass.
is the result:
You notice the cord now connects the terminal of the relay closest to the pitch. The slope of the underlying copper is in fact only as a guide, because its strength has been hopelessly compromised by the heat.
considerations.
After fixing this welding, I refreshed many of the other, sometimes adding a little 'tin, sometimes working only with the flux and adding very small quantities of tin. We must avoid it in the strongest terms of 'weighting' stir welds mildly tin old to the new one, as the amalgam uneven and 'practically a guarantee of failure (and' a sufficient temperature change for 'cracked' inside the tubes), and the addition of tin easily causes a swelling of the weld itself, which directly affects the mechanical strength.
welds are to be reviewed especially those relating to the components Through-Hole (TH) with bent pins. Looking at the photos carefully before you notice in fact some components with bent pins on the PCB before soldering.
This usually ensures a better mechanical strength, even when the seal is made of great economy. Some
pin, as precisely those of the relay, can not be folded (they are too short and their splitting would lead to a greater section rather than a bending), and are therefore more susceptible to failure as the one being analyzed.
After cleaning the room unit (collcato down, right to protect the electronics from the steam) and re-assembling the machine, everything worked again, better than ere!
All photos are visible at full resolution on PICASA .
I recently had the opportunity to "get their hands" (for the umpteenth time, to tell the truth!) In washing machine at home.
Suddenly, the dear washing machine did not want to learn to spin, greatly complicating the operations of drying clothes (this time then!).
Needless to say, in a time of five minutes the machine was carefully dismantled to find the cause.
So ... If the spin does not start, or is the engine, or are the brushes, or is it .. ECU!
's think logically.
The engine seemed in good condition, no signs of burning, no funny smell, no suspicious noise, maybe just the brushes a bit 'worn, but could still do a lot of "road".
E 'Simply remove the unit from the narrow slot (some sources confirm to me that there are teams of people devoted to studying the most uncomfortable position and unreachable for these units blessed!) to realize the problem.
Diagnosis of the fault.
An overview of the upper side usually allows you to find components visibly burned, damaged or even explode, but it is not 'the case.
Turning the card looks pretty clear the source of the problem:
not noticed anything? Not even on the right?
closer look:
Oh yes, you as well! In correspondence with one of two relays visible in first photo, there is what remains of a weld. The pitch is gone, the pin of the relay charred, and instead of the pond there is a black flash.
The fault of this card is due in all probability 'the combination of mechanical stress, humidity and general poor quality of the printed circuit board. There is in fact saying that the other welds did not look good, and the severance of this specific welding prelude to future failures of the same type.
happens that a weld is deteriorating as a result of mechanical stress (such as vibration or temperature changes), giving rise to the same flaws, which undermine conductivity. The current (rather high in this case, since it is the relay of the centrifuge) does the rest, warming and deteriorating further welding, to lead to sparks that consume in a short time.
how to proceed.
The repair of this type of problem is obviously to restore the original welding, but necessitates a review of the entire printed circuit board, to counter the possibility that the failure is repeated (very probable, with circuits like this bad).
First you have to clean up the damaged area of \u200b\u200bdebris, burning marks and dust and to this end is fine a bit 'of sandpaper Very fine. Here come the first problems due to heat.
In this specific case, the heat has altered the protective coating of the PCB, which in fact is scraped up adjacent to the welding of the relay. The copper track and 'almost always compromise, and we need a' tin 'of the track itself, ie the deposition of a thin layer of tin, which provides better conductivity and mechanical strength.
After an initial mechanical cleaning, is necessary to act with an alcohol-based rinse and thorough drying. Particular attention must be paid in the peeling of the runway next to the weld (which will serve as support). It often happens that it remains a bit 'of welding and paint the border of the track, effectively creating a barrier to future welding 'cordon'. should operate with an awl or a knife to free any remaining copper.
Given the conditions affected the runway and the terminal of the relay, you should not skimp with the flux. Personally, I pre-tin the end of the relay and the track, the entire applicant pool that I needed, and then I acted with the flux, which has greatly helped the distribution of the pond. The pond is used
the 67/33 already presented above, I chose this pond for his skills as a greater flexibility in cold, and the best quality of the internal flux, which is essential for this repair.
After the first layer of tin, have strengthened the cordon with another pass.
is the result:
You notice the cord now connects the terminal of the relay closest to the pitch. The slope of the underlying copper is in fact only as a guide, because its strength has been hopelessly compromised by the heat.
considerations.
After fixing this welding, I refreshed many of the other, sometimes adding a little 'tin, sometimes working only with the flux and adding very small quantities of tin. We must avoid it in the strongest terms of 'weighting' stir welds mildly tin old to the new one, as the amalgam uneven and 'practically a guarantee of failure (and' a sufficient temperature change for 'cracked' inside the tubes), and the addition of tin easily causes a swelling of the weld itself, which directly affects the mechanical strength.
welds are to be reviewed especially those relating to the components Through-Hole (TH) with bent pins. Looking at the photos carefully before you notice in fact some components with bent pins on the PCB before soldering.
This usually ensures a better mechanical strength, even when the seal is made of great economy. Some
pin, as precisely those of the relay, can not be folded (they are too short and their splitting would lead to a greater section rather than a bending), and are therefore more susceptible to failure as the one being analyzed.
After cleaning the room unit (collcato down, right to protect the electronics from the steam) and re-assembling the machine, everything worked again, better than ere!
All photos are visible at full resolution on PICASA .
Subscribe to:
Posts (Atom)