As I stated recently that this blog had too many categories here's a brand new! Yes, I know, I had promised myself to reduce them and focus on Arduino, but lately I've been getting some spam really incredible, and I could not resist the temptation to publish someone.
Remember "to the Nigerian scams? For those not familiar with the case of these spam messages in which an imaginary political dignitary, Ambassador, banker or a relative of one of these subjects, residing in a state we say "unstable" (usually Iraq, Afghanistan or one of those little states constantly at war in Africa) declares that a disproportionate amount (million, billion, zillion!) blocked precisely because of political instability in his country, and they need a "hand" (usually a contribution of a few thousand euro, and modest compared to the figure in the game) to break free. Once unlocked, the amount is clearly not the person will be happy to half with his benefactor, however, chosen entirely at random!
At least the mail were packaged in a way at least pseudo-realistic " complete with headers sophisticated, polished language and details on the mechanisms banking. Today we see that this is no longer necessary, and enough to make 2 lines in cross bite the chickens:
You have a bank draft of USD 800.000.00 Which await payment of outstanding 50USD.You need to Contact Harrison Mr.Fred
And clearly below the link to an email address .... and that's it, nothing else!
Actually it makes sense: if there is someone so stupid as to have forgotten to have around 800 thousand dollars in pocket money we are offering a very safe for their recovery!
The question, then as now, it's always the same: "How the hell can you be so naive to fall for it?". Unfortunately you can, and the thirst for easy money blinds a lot of evidence of deception in the face .....
thirst of money to that culture, or at least a piece of paper:
Univdversity Debxgree
OBTAIN A Prosperous Future, MOrvNEY-EARNING POWER, AND THE PRESTIGE THAT
COMES CAcqREER HAVING WITH THE POSITION YOU HAVE ALWAYS
Dreamed Of. DIwdbPLOMA prestigious
FROM NON-ACCREyzcDITED UNceuVERSITIES BASED ON YOUR PRESENT KNOvoWLEDGE
PRdnOFESSIONAL AND EXPERIENCE. If you
quarglify, no required tests, classes, books or exaftminations.
Coniumfidentiality Assured
The guarantee of confidentiality would say that in this case is particularly welcome: if you take advantage of this opportunity is better not to know about.
But back to the safe business of money-gold:
I am Alex Wong Principal Assurance Manager for the Nanyang Commercial Bank in China. And I am getting in touch with you Regarding business deal worth a million United States dollars 18:35 in my Which Will Be Executed under control in Legitimate arrangement.
I am Contacting you after Independently Which I Provide you with more information about myself and details of the project When I receive your response.
Kindly get back to me if you are interested in partnering with me on this project.
Sincerely,
Alex Wong.
Diciottomilioni and broken, not bad! However, I wonder how he does on China to be a growing country if managers are looking for business partners such important event by sending mail to ... Let
scams that arise from the "tickle the greed of others" to those that leverage sull'ingenuità true:
Dear Customer, We confirm that the operation of charging the card postepay, request on 28/10/2010 at 11:20:00, and 'was carried out with success. If you think something is wrong with charging please follow the link below de cancel a transzatione.
We believe that "something bad"? I would say so: the Italian language to begin with ....
Online casinos are also a source of pearls of wisdom unprecedented
Do not miss the chance to play on our Casino plus online when the chances of winning are in your favor with the 1,200 that we gave you!
Become a hero by playing in our casino and withdraw your bonus money of € 1,000. Get ready to experience the thrill of this experience that gives you game!
With a spin of the reels, we can change your fate for the better in our Casino. Bet online, make your favorite game and start to enjoy that winning feeling!
Valentine's Day came and went, but there does not mean that your enjoyment and decrease the potential of winning! Try our casino and love our games!
And here it becomes very difficult to resist: the odds are in my favor, I will become a hero, there will be no other than a "spin of the reels," Valentine's Day has passed (in October ...), I'll go now!
And to write this post I took a small sample from spam arrived in the last 24 hours .......
garage, basement and even the floor filled with little treasures that you do not know how to renew?
Then you are ready for testing ... look at the photos below ...
If you're thinking that you'd like to learn to turn and retrieve objects that have a history of the cabinet .... Grandma does not separate us from which not even the latest technology in the furniture industry & C, the door knob of unidentified origin, or the chandelier rusty / rotten but taaaaaaaaaaanto beautiful spotted in a flea market then please contact me ...
are about to start courses:
shabby-pickled
restoration creative
restoration
gilding mission
decoration
cerus
As will be organized courses? S the place in our new lab. Organization of the day immersion for participants who come from outside and multi-day courses for those who live at your machine. I also thought it would be very nice and helpful organization, once established the parties, a trip to a market all together to try to work with objects and then begin to recover during the lessons. If you prefer I can also obtain them.
Where am I? Montecastello is a lovely, quiet village in the hills of the Alexandrian, 10 minutes from the city and easily accessible by highway, both the TO-PC and the MI-GE or anus 26.
Remove the connector sim card from an iPhone is not an easy task. Just because this is one of the few components of "human" dimension, we need a robust and soldering a lot of attention. Unlike the micro-components, in fact, in this case the amount of alloy to be heated to complete the transaction is significant, and if there is a risk juggles well to dissolve the plastic connector which holds the SIM (in which is the connector to be replaced).
In this case, I found myself an iPhone that had broken a stamp, sim connector, and which was subsequently forced into the interior. As soon as I started to desolder it, is coming off one of the pitches that hold the connector to the logic board (top right in the photo above). This can happen because of mechanical stress that the open space experiences, so the only way to restore the link was a wire-wrap the leg portasim the corresponding point of the logic board.
Now, armed with a tester, and found the point in the logic that has been tested for electrical continuity failed, I made up a link with a wire-wrap wire (AWG 34), which was welded on the first leg, and then folded along the outer profile of the logic board. With a little care can be slipped under the logic inside the metal shield in order to assure firmly.
It 's a very durable solution (the wire soldered on pin does not affect the flow of the sim, because contact with it on a different level of flow), not the least increases the thickness of the logic board, which can be safely secured to the cover.
This blog began to include topics pertaining to post a bit 'too "odd", and would definitely do so in the case of concentrating on one or two, perhaps with some random digression occasionally. In a decision a little 'markettara "the first subject on which I focus is certainly on the same focus as the most access, either directly or keywords: Arduino, and the meanders of a myriad of experiments always clearly incomplete I try to do something really useful with my beloved Arduino: the thermometer for Brewers!
The creation of craft beer is anticipated that during the two stages of fermentation the temperature of the must before and after quasi-beer does not exceed 24 degrees and does not fall under 18. Since the basic kit for Arduino is a temperature sensor and a buzzer at the various fairs and I have accumulated an embarrassing number of 7-segment display I got the ideuzza to build a "custom brewers thermometer," which in the vicinity of the fermenter monitors ambient temperature and alerts the brewer when the temperature range recommended by the bait. As you know the appetite comes with eating and, though having recently passed the antipathy towards integrated "automatic-pilot led" I soon decided to replace the 7-segment display with an LCD 2 lines by 16 columns, with the intention to detect and also show the upper and lower peak temperature reached, more or less like this: ________________
where T is the instantaneous temperature value, U elapsed time from power, MX and MN the minimum and maximum values \u200b\u200breached during the period of ignition.
The device is also equipped with a buzzer a (deactivated) when exceeding the upper threshold or lower. Initially I thought of managing the activation / deactivation via software, with a button and a debounce routine, but I folded on the most simple solution on the NEG-breaker in series with buzzer and LED control. The signal is also sent when the buzzer is turned off, but the software component has been slimmed down a bit '.
First question: the temperature-dependent components in the examples I've seen around the net have 3-pin: POS, NEG and analog output. What in the kit based Arduino has only two, and bears a very beautiful written 4.7 that clarifies the nature .... The mystery has lasted very little: in the first case it is a 'sensor temperature "once in power provides the output value in tenths of temperature, while in the second we are facing as expected for a resistance thermometer, which changes its value depending on the temperature. It 'clear that changing the resistance value of the voltage output is mathematically dependent on that input, and if he is not a value defined within the function software that will perform the conversion, the end result will be very difficult to accurately .
Let's step back: Arduino accepts a wide variety of input power and has a output 5v "nominal." Since the RTD work function of the voltage input is essential to check precisely the variation of the pin 5v Arduino as a function of supply voltage. connected to the USB notebook meter output signal v 5.05, while the powered USB hub with 5.07 marks. 4 x 1.5 with a little 'flat the result is 4.61 while with 9V battery (charged or discharged tested) the value of 4.95 is fairly stable voltage.
I was going to say "Go for the Brick 9V" when I had a fit of caution, and I preferred as a first experiment, a buy online LM35, whose operation is described in some Arduino PDF officers, suggests that it is distributed with some basic kit, probably abroad.
sensor
The sensor is very simple: +, - and out, going straight into a pin analog. Everything else is done by software, but first let's look to get the hardware as a whole:
The device visa front (note the control cables of the display)
A detail of "shield" made from a normal spacers
The back with the card installed Arduino
Regarding the software deserve a moment's attention functions that allow you to use the sensor. First to be set via the command analogReference (INTERNAL) the voltage reference for analog ports, in this case 1.1volt. To avoid too rapid oscillations the program performs a cycle of 20 sensor readings, and media passes to the function Next, in charge of transforming volt read from the pin in temperature, multiplied by 100 (read-cent value) to 1.1 (voltage reference) and 1024 (as required by the analog / digital converter), then multiplying the result further to 10 in order to pass to the next display the detail of tenths of a degree. The function is described more clearly in the 'Arduino Starter Kit Manual of Earthshine Design: a document that every Arduinica should have!
the firmware there are still some small details: - Saving to EPROM of the minimum and maximum values \u200b\u200b - The reset button and the routine of the latter - The part of the management software actually buzzer
before making the device with these features I wanted to close the section on temperature measurement, but honestly, these values \u200b\u200bdo not appear accurate, but overestimated by at least 1-2 degrees while precision would be 0.5. I realized, the final installation, the sensor could be affected by excessive proximity to the display. I will try to desolder and then resolder on extensions. At the same time I do a comparative test between the sensor is currently mounted (LM35DZ), and "one wire" (DS18B20) and the resistance thermometer supplied with the kit based arduino that, to my surprise, it seems the device with greater precision, except for having accurate values \u200b\u200bof input voltage.
Beyond these further developments it was an interesting experiment, especially for a first step towards the safe handling of strings in the language of Arduino that I will certainly be useful in the interpretation of GPS signals for the project OpenNav!
is the "Thermoduino in function:
And here is the source of the firmware (is kept writing to serial port for debugging purposes): # include
potPin int = 0;
float temperature = 0;
maxtemp float = 0;
float mintemp = 1000;
upSec int = 0;
LCDOUT char [32];
/ / initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of rows and columns:
lcd.begin(16, 2);
lcd.setCursor(0,0);
lcd.print("Thermoduino");
lcd.setCursor(0,1);
lcd.print("Vers. 0.1");
delay(1000);
lcd.clear();
Serial.begin(9600);
Serial.println("LM35 Thermometer ");
analogReference(INTERNAL);
}
void printTenths(int value) {
// prints a value of 123 as 12.3
Serial.print(value / 10);
Serial.print(".");
Serial.println(value % 10);
}
void printFloat( float val, unsigned int precision){
// prints val with number of decimal places determine by precision
// NOTE: precision is 1 followed by the number of zeros for the desired number of decimial places
I had not seen a live musical. live. A few years ago I saw " Notredame de Paris" on television and I was not disappointed at all.
About: movingly on the appeal site for equipment stolen .... but because people until there banging the snout does not learn to do the backup?!?!
hardly would have gone to see one live on my own, because even after Notredame, has triggered a manhunt to transform into any musical thing, even Gormiti! He But the theater season which I have subscribed for decades, and then I went to see "The Divine Comedy " and was a great surprise! The musical has a very special charm, and the use of music, song, choreography, film, smoke and light is able to convey emotions with hard ricreabili traditional theater if you represent a work so intense. Except for the fact that some passages in Virgil and Dante look like a pair of "differently-heterosexual" exchanging glances and caresses that culminate in a night embraced the show is very addictive. Difficult not to become involved in the horror of the Count Ugolino, the anger of Odysseus, Dante's fear at the approach to Lucifer and his yoke encounter with Beatrice.
After re-watching (even years after the last time!) The framework of hell in one of the early movies I'm not surprised that a few years ago have made the game "Dante's Inferno " all the work is structured like a video game (or maybe it's the other ...): three main levels, different tiers, multitudes of people including several major with a more active role at the end of the first level the encounter with the "monster" at the end ! I hope that the Supreme Poet forgive me this account almost blasphemous ...
Finally, returning to the show, the presence of several very pretty girls, well dressed and throw in a little sensual dance was much appreciated!
For the uninitiated " Toad" (administrator tool for oracle developer) was for decades the "boxcutter Swiss "of thousands of administrators / developers on Oracle databases, including myself.
Then for years I have dedicated myself to something else, but when I returned recently to deal with oracle database and in particular I started hunting for this old man, imagining to find it "technically" updated, but "philosophically" as I had left: a paid version with lots of advanced features, especially on the front of tuning, and a free one, with the bottom of what is to me: a practical "schema browser" and a good handler of the query. Indeed, this combination still exists, but with a "small" detail: the free version is to Maturity: about ninety days after installation .... puff! The application is no longer! The site praise even to provide 90 days of operation instead of 60, so as to better assess the version to be adopted. Maybe it's too much time away from development that are active, but escapes me at the moment the difference between "freeware" and "shareware ".... Now, maybe I'll be overly cautious, but never rely a project, large or small, for a tool that expires as the cheese, and then who knows, with the risk of being on foot, damage to a research tool and an alternative in the meantime to go to the command line!
The popularity must have given them a little 'head, so as to define himself on the site "de-facto standard tool for Oracle database development and administration." Unfortunately for them they did not reckon with the fervent OpenSource community and did not think to do that I have started to make me, that is a nice Google to search for an alternative. The result was brilliant as always and the open source community has come to my aid once again, with a tool strikingly similar to Toad: TOra . Rather than list the features (I highly recommend for experts to touch) I wanted to emphasize the fact that now the action all'OpenSource an alternative that is becoming more and more frequently proves to be the cheapest. One important thing to note is that in the OpenSource world that one tool or application is free does not mean that the activity is at no cost: it is often necessary period of additional training, or a tool with limited functionality or less reliable (as in these days I'm finding to be OpenOffice!) may be chosen after careful evaluation of cost-benefit analysis. In this from now on I will be very helpful site www.osalt.com , discovered during this latest research, which aims to propose alternatives starting from the open-source business applications, certainly worthy a very thorough tour!
In another life I have probably been molested by some integrated control led, can not be explained otherwise my groundless antipathy towards them. A faint glimmer of explanation may come from the fact that for the applications to which I devoted myself lately the number of ports available on average in the pic I had available was entirely disproportionate. Tantovale then use the LED display (but I did get carried away with arrays ...) by connecting each segment to a pin, so therefore to avoid getting those nasty interfaces and especially the result of having complete control of the output view , moreover, entirely in software.
After this long and tedious introduction to the application come to basics: a good "counter".
The last time I saw a "real" has been on a cruise, where the effective charge of tours at each step of individual clicked on this mechanical gadgets making sure not to plant so no one around Greece.
the carrying out of an electronic implementation allows you to experiment with different aspects of gadgets and heavily customized programs including:
eprom storage on the current results in order not to lose the bounce-off
function buttons (1 click = 1 number, regardless of time pressure)
Direct control of the segments led
Any mini-visualizations obtained with 2x7segmenti
The pic chosen, mostly because I had to laze around 2, is the 16F876A. The displays are common-anode, and then to turn on a segment will be necessary to a low logic value.
In the past, I happened to use to display segments without proof, making sure that does not involve soldering the same as usual with normal LEDs, but the resistors are sometimes like the hat in the desert: if co domentichiamo to put it to the brain and begin to cook sbarellare! Having noticed the sudden malfunction and reset the microcontroller, probably caused by the passage of too much current I conservatively put up any resistance even cathode, resulting in a much improved system stability.
From the perspective of the firmware versions between pro after many vicissitudes, mica-pro, C, Basic and Pascal, and especially quantomento irregular numbering of the development of MikroElettronica I decided to fall back on the last release available in the free version BASIC language.
aside some features "play" let's concentrate on the work of goddamn integrated control, which in this program is carried out by the function AccendiNumero already customized to generate output directed to display 2. The number input is split into tens and units, and subsequently transformed into combinations of LEDs representing the number needed. In the bottom of the post the complete source is available.
The counting function in
Some initial test of piloting the display
program counter
symbol = Decine_A PORTC.1
symbol Decine_B = PORTC.2
symbol Decine_C = PORTB.5
symbol Decine_D = PORTB.6
symbol Decine_E = PORTB.7
symbol Decine_F = PORTC.0
symbol Decine_G = PORTA.4
symbol Decine_Punto = PORTB.4
symbol Unita_A = PORTC.5
symbol Unita_B = PORTC.4
symbol Unita_C = PORTB.1
symbol Unita_D = PORTB.2
symbol Unita_E = PORTB.3
symbol Unita_F = PORTC.6
symbol Unita_G = PORTC.3
symbol Unita_Punto = PORTC.7
dim iCounter as byte
dim iValore as byte
const ms_speed=150
sub procedure test_porte()
[......]
sub procedure SpegniTutto()
Decine_A=1
Decine_B=1
Decine_C=1
Decine_D=1
Decine_E=1
Decine_F=1
Decine_G=1
Decine_Punto=1
Unita_A=1
Unita_B=1
Unita_C=1
Unita_D=1
Unita_E=1
Unita_F=1
Unita_G=1
Unita_Punto=1
end sub
sub procedure AccendiTutto()
Decine_A=0
Decine_B=0
Decine_C=0
Decine_D=0
Decine_E=0
Decine_F=0
Decine_G=0
Decine_Punto=0
Unita_A=0
Unita_B=0
Unita_C=0
Unita_D=0
Unita_E=0
Unita_F=0
Unita_G=0
Unita_Punto=0
end sub
sub procedure AccendiNumero(dim number as byte)
united as byte dim
ten as byte dim
units = number mod 10
tens = (number - units)
select ten houses
case 10
Decine_A = 1
Decine_B = 0
Decine_C = 0
Decine_D = 1
Decine_E = 1
Decine_F=1
Decine_G=1
case 20
Decine_A=0
Decine_B=0
Decine_C=1
Decine_D=0
Decine_E=0
Decine_F=1
Decine_G=0
case 30
Decine_A=0
Decine_B=0
Decine_C=0
Decine_D=0
Decine_E=1
Decine_F=1
Decine_G=0
case 40
Decine_A=1
Decine_B=0
Decine_C=0
Decine_D=1
Decine_E=1
Decine_F=0
Decine_G=0
case 50
Decine_A=0
Decine_B=1
Decine_C=0
Decine_D=0
Decine_E=1
Decine_F=0
Decine_G=0
case 60
Decine_A=0
Decine_B=1
Decine_C=0
Decine_D=0
Decine_E=0
Decine_F=0
Decine_G=0
case 70
Decine_A=0
Decine_B=0
Decine_C=0
Decine_D=1
Decine_E=1
Decine_F=1
Decine_G=1
case 80
Decine_A=0
Decine_B=0
Decine_C=0
Decine_D=0
Decine_E=0
Decine_F=0
Decine_G=0
case 90
Decine_A=0
Decine_B=0
Decine_C=0
Decine_D=0
Decine_E=1
Decine_F=0
Decine_G=0
case 0
Decine_A=0
Decine_B=0
Decine_C=0
Decine_D=0
Decine_E=0
Decine_F=0
Decine_G=1
homes else
Decine_A = 1
Decine_B = 1
Decine_C = 1
Decine_D = 1
Decine_E = 1
Decine_F = 1
Decine_G = 0
end select
select homes combined
case 1
Unita_A = 1
Unita_B=0
Unita_C=0
Unita_D=1
Unita_E=1
Unita_F=1
Unita_G=1
case 2
Unita_A=0
Unita_B=0
Unita_C=1
Unita_D=0
Unita_E=0
Unita_F=1
Unita_G=0
case 3
Unita_A=0
Unita_B=0
Unita_C=0
Unita_D=0
Unita_E=1
Unita_F=1
Unita_G=0
case 4
Unita_A=1
Unita_B=0
Unita_C=0
Unita_D=1
Unita_E=1
Unita_F=0
Unita_G=0
case 5
Unita_A=0
Unita_B=1
Unita_C=0
Unita_D=0
Unita_E=1
Unita_F=0
Unita_G=0
Case 6
Unita_A=0
Unita_B=1
Unita_C=0
Unita_D=0
Unita_E=0
Unita_F=0
Unita_G=0
case 7
Unita_A=0
Unita_B=0
Unita_C=0
Unita_D=1
Unita_E=1
Unita_F=1
Unita_G=1
case 8
Unita_A=0
Unita_B=0
Unita_C=0
Unita_D=0
Unita_E=0
Unita_F=0
Unita_G=0
case 9
Unita_A=0
Unita_B=0
Unita_C=0
Unita_D=0
Unita_E=1
Unita_F=0
Unita_G=0
case 0
Unita_A=0
Unita_B=0
Unita_C=0
Unita_D=0
Unita_E=0
Unita_F=0
Unita_G=1
end select
end sub
main:
INTCON = 0
ADCON0 = %11000000
ADCON1 = 000111
trisA.0 = 1
trisA.1 = 1
trisA.2 = 1
trisA.5 = 1
trisA.4 = 0
TRISB = 0x00
Trisch = 0x00
portA.4 = 1
PORTB =% 11111111
PORTC =% 11111111
test_porte ()
SpegniTutto
delay_ms (1000)
iValore=EEPROM_read(0x02)
if iValore < 0 then iValore = 0
end if
while TRUE
if (Button(PORTA,1,1,1)) then
Dec(iValore)
while porta.1=1
wend
end if
if (Button(PORTA,2,1,1)) then
iValore=0
while porta.2=1
wend
end if
if (Button(PORTA,3,1,1)) then
Inc(iValore)
while porta.3=1
wend
end if
if (iValore=100) or (iValore < 0) then iValore=0