Wednesday, December 29, 2010

Where To Buy On The Border Bucket Mix

in January by Gennai

James Green
between art and activism instructions 1.0
by Silvana Vassallo
in collaboration with Frank Maccarrone

Gallery Studio Gennai - Pisa
from January 15 al 05 febbraio 2011
 
 
Inaugurazione Sabato 15 Gennaio 2011

Ore 18:00

Galleria Studio Gennai, via San Bernardo 6, Pisa
Live Video Painting, performance di Giacomo Verde

22:00 pm
Shipyard San Bernardo, Via Pietro Gori corner of Via San Bernardo, Pisa
artivism
Dance Video Backdrops VerdeGiac Live, Dj Jeff Raniero Black Friday
Crew - Electro Soul Rap

follow other events during the exhibition period.

Partner:
Saint Bernard Shipyard Association, Pisa - SPAM! Space for contemporary performing arts, Lammari (Lu)

Sponsored by:
Municipality of Pisa. Faculty of Humanities - University of Pisa, Art School "F. Russoli of Pisa and Cascina

Catering The Symposium

Saturday, December 25, 2010

Can An Employer Forbid You To Smoke

timers will have five minutes - Use a spreadsheet

TIMERS_ATMEGA168.ZIP



At the end of the series of posts: "The AVR timers in five minutes," I present a simple spreadsheet (in OpenOffice.org Calc), which calculates the required values \u200b\u200bfor the configurations ; mode views.

Once you understand how to calculate with pencil and paper, the values \u200b\u200bof N (NA) to be loaded into registers, depending on the mode of the timer can be a useful computational tool to facilitate this work.

It is valid for the AVR MCU ATmegaxx8 (ATmega88/168/328) and - at the time - the only Timer1 (16bit) can be safely done better, so I would like gladly better and especially corrections.

Let's see how to use it.

cells with colored background are those in which the user must enter a variable.

The first variable request, for all modes of operation, the clock frequency (fc) of the system in MHz, in cell C3 (light blue background):


one cell appear lower on the clock period (Tc) in microseconds.


NORMAL MODE

On the left appear the various values time for each factor Prescaler




WAY CTC

the required time will be required T (cell F13, lime green background ) in seconds:



On the left you will see a table with the values \u200b\u200bof N calculated for each factor prescaler. The values \u200b\u200bthat are marked "NR" in red, are not usable because it can not be represented in the register of the timer, because they are more than the maximum (65535, mindful of +1) or lower than zero:


N non-integer values \u200b\u200b(decimal different from zero) are still reported, thus allowing full flexibility of choice in each case, if the approximate value to the next or previous.

WAY CTC in January WAVEFORMS

will be required here is the desired signal frequency (fs), in cell F3 olive green, expressed in Hertz:


On the left, you see the values \u200b\u200bof N For each factor k prescaler :



Any values \u200b\u200bthat are marked "NR" in red, are not usable because they can not be represented in the register of the timer, because they are more than the maximum (65535, mindful of +1) or lower than zero. Also for this mode of operation of the N non-integer values \u200b\u200b(decimal different from zero) are still reported, thus allowing full flexibility to choose whether to hint, whether or not to default or over the entire immediate vicinity.


FAST MODE PWM January WAVEFORMS

For this mode there is a first table containing all the fixed frequency, which can be obtained in the individual mode fixed (8, 9 and 10bit), for different values \u200b\u200bof prescaler (K ):





Below is a second table, which, however, shows the values \u200b\u200bof N and NA are required to generate a signal with rectangular a frequency fs and the desired duty cycle:


values \u200b\u200bthat are marked "NR" in red, can not be used because they are either N values \u200b\u200bthat can not be represented in the register of the timer, because they are more than the maximum (65535, mindful of +1) or because less than 3 (the minimum resolution variable 2bit, quindi il valore minimo è 3 - cfr. Datasheet) oppure perché il valore NA è negativo.

I valori N e NA non interi (cifra decimale diversa da zero) sono comunque riportati, lasciando dunque piena flessibilità di scelta se approssimare, o meno, per difetto o per eccesso all'intero immediatamente vicino. 
Per popolare questa tabella ovviamente occorre definire la frequenza fs (in Hz) nella cella F41 (sfondo colore marrone chiaro) e il duty cicle (in percento) nella cella F42:



MODO PWM A CORR. DI FASE E FREQUENZA

Essendo questa modalità typically used for motor control, it was decided to enter the signal period Ts (rather than the frequency) and duration of the pulse width Ton (rather than the duty cycle), these two stages are inserted , respectively, in F52 cells (background color magenta) and F53 (background light blue) and must be expressed in ms:


Once defined this set of data in the table on the left appear the values \u200b\u200bof N and NO, depending on the prescaler factor k :


Per quei valori di N e NA che riportano l'indicazione "N.R." vale lo stesso discorso fatto per il modo PWM Fast.

Buon divertimento!


TIMERS_ATMEGA168.ZIP

Wednesday, December 15, 2010

Lead Smelters Sinkers

143 - towards the year novo

then ... now it goes on to shots of confidence ...
the problem ': some give it' to whom? The confidence of course .... ;-)

I trust all of you who read this news ... my lighthouse 'right? :-) Anyway

tonight are at Empoli Cinema La Perla, ore 21:30
a presentare il Progetto artistico di rivolta iconica
"berlusconi non esiste"
per ZoneActive di Visual Guerrilla




poi il 17 saro' a Ivrea, al teatro Giacosa, ore 10 e ore 21 per
"Bit e Bold e il racconto di Biancaneve"
che replichiamo poi a Bibbiena il 19 alle ore 16,30
quindi cominciano le feste natalizie...
che utilizzero' per gli ultimi preparativi della mostra che inauguro a Pisa il 15 gennaio 2011

ma prima ancora:
probabilmente un serata di improvvisazione
Videoperformativa with Charles Island
to SPAM! (Here near Lucca) on 29 or 30 December and certainly
replicas
Bit in San Benedetto del Tronto on 9 and 10 January 2011


I stop here to wish you the info

great party and a better new year!

Salutoni

giac

Tuesday, November 23, 2010

Interactions With Cipralex

Marathon Video Green

MARATHON GREEN

by MM Gazzano
of / JAMES GREEN

with 27 to 28 November 2010 SPAM! Lammari - Lucca

SPAM! space for contemporary performing arts dedicated the third edition of the Marathon video artist monograph JAMES GREEN, Italian pioneer of video art and contemporary tecknoartista.
Two days of video projected 24 hours non stop, running through the video production of James Green from his early eighties VHS, to its recent experiments with video-phone.

La maratona inizierà alle 21.00 del giorno 27 novembre 2010 e terminerà il giorno successivo alla stessa ora, seguita dalla performance MULTIREVERSE condotta dall’artista stesso a chiusura di un percorso cronologico che va dal 1983 alle ultime produzioni del 2010 presentate in anteprima al pubblico.

La curatela della MARATONA GIACOMO VERDE è diretta del Prof. M.M.Gazzano , docente di Cinema, Arti Elelttroniche e Intermediali presso l’Università Roma3 (Roma) che introdurrà l'evento con la Prof.ssa S.Lischi docente di Teoria e tecnica dei mezzi di comunicazione audiovisual University of Pisa.

Info:
SPAM! Viale Europa 138 / a, Lammari, Capannori (Lucca)
0583975089 - info@spamweb.it , www.spamweb.it
SPAM! ALDES is a project implemented under the Covenant Rehabilitation system Tuscan Theater 2010 "with the support of the Tuscany Region, Fondazione Monte dei Paschi di Siena, Lucca Province



From January 15 al 05 febbraio 2011
non mancare alla prima mostra monografica dedicata a Giacomo Verde
Tra Arte e attivismo
Istruzioni per l’uso 1.0
presso la galleria StudioGennai di Pisa


 

Tuesday, November 2, 2010

Ontario Mechanic License



Piove... governo ladro!! :-) ed eccovi i miei prossimi giri...

domani 3 novembre a Torino , Museo Regionale di Scienze Naturali, ore 21:00
Live Media Performance " MultiReverse"
per il Piemonte Share Festival 2010


sabato 6 novembre a Porte de Bouc (FR) Sémaphore theatre, ore 21:00
video fondali per concerto " Sam karpienia trio "

domenica 7 novembre a Casale Corte Ferro, Sala Comunale ore 16:00
"Bit e Bold e il racconto di Biancaneve"

e poi inizio le lezioni al DAMS di Roma so Wednesday and Thursday of November to pass them to me :-) Romaneggiare

and end of the month ...
from 21:00 to Saturday 27 at 21:00 on Sunday 28
MARATHON GREEN , 24 hours non-stop video
to SPAM! of Lammari, (Lucca)
with video-final performance on Saturday 28 at 22:00

for That 's all in the next


giac

Thursday, October 28, 2010

Boise Plasma Donation

Arduino as devboard software written for avr-libc

lights.zip

La tentazione è forte: abbiamo comprato un'ottima scheda italiana Arduino e ora vogliamo cimentarci oltre il linguaggio Wiring, con programmi in assembler o in C (es. avr-libc).

Non c'è bisogno di comprare una scheda di sviluppo, perché è possibile usare il nostro Arduino come una scheda di sviluppo per programmi scritti in avr-libc, assembly, piuttosto che per gli sketch in linguaggio wiring, senza the need for external programmer hardware: our object code will be executed by the boot loader of micro Arduino, a simple and above all totally painless ...

Our config file is modified by adding options for avrdude (the programming software for the AVR micro) that will allow us to "upload" the object code on our Arduino.

below the config file for Arduino 2009 (ATmega168 and 16MHz clock). For later versions of the Arduino reference to the type of micro-and the frequency of the quartz.


  MCU name # MCU  

= ATmega168

# Processor frequency (in Hz)

F_CPU = 16000000

# Target file name (without extension)

TARGET = main

# Object files directory
# To put object files in current directory, use a dot (.), do NOT make
# this an empty or blank macro!

OBJDIR = .

# List C source files here. (C dependencies are automatically generated.)
# The first one must be TARGET above defined, the other ones
# must be separated by a space. Examples:
# SRC = $(TARGET).c lcd.c i2c.

SRC = $( TARGET ) . c


# List C++ source files here. (C dependencies are automatically generated.) spaced

CPPSRC =

# List Assembler source files here.
# Make them always end in a capital .S. Files ending in a lowercase .s
# will not be considered source files but generated files (assembler
# output from the compiler), and will be deleted upon "make clean"!
# Even though the DOS/Win* filesystem matches both .s and .S the same,
# it will preserve the spelling of the filenames, and gcc itself does
# care about how the name is spelled on its command-line.

ASRC =



# List any extra directories to look for include files here.
# Each directory must be seperated by a space.
# Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.

EXTRAINCDIRS =

# List any extra directories to look for libraries here.
# Each directory must be seperated by a space.
# Use forward slashes for directory separators.
# For a directory that has spaces, enclose it in quotes.

EXTRALIBDIRS =


# Port programmer
... COMx # COM1 (serial port), LPT1 (parallel port)
# Linux: / dev/ttyUSB0 or \u200b\u200b/ dev/ttyUSB1

AVRDUDE_PORT = / dev / ttyUSB0

Type # programmer (stk500v1 for Arduino)

AVRDUDE_PROGRAMMER = stk500v1

speed serial # (19200bps)

AVRDUDE_PORTSPEED = 19200



AVRDUDE_PORT : specificare il device dove è collegato Arduino. Sotto Linux sarà generalmente /dev/ttyUSB0. Per conoscerlo lanciare da shell:


 $ dmesg  a simple program that turns five LEDs in succession. Through a button you can select the desired scrolling effect (SO) and through a second button you can change the flash time from 50ms to 500ms in 50ms increments. The scheme is shown below: 



   


(diagram created with gEDA)


For correspondence ATmega168 pin / pin Arduino:

(image created by Fritzing)



Method of resolution:
at regular time intervals (marked by a timer), it will change the combination of LED's (a combination we call frame), in a manner defined in the vector of its way.
Each element of this array contains a byte that encodes the start of the six LED, frame by frame. The convention is 1 -> LED ON, 0 -> LED off. The carrier will be so marked (in a time interval defined by a timer) in circulation.




time is used for a hardware timing (based on CTC with so Timer1 interrupt) so as to enable even better in practice as seen in previous posts and the management of the buttons are used the two interrupts INT0 and INT1. For the change of time is changed to run the register OCR1A to "step" of 50ms. The suid part with a time of 50ms, and then after 9 presses of the "Time" will reach the maximum value of 0.5 s, the tenth time the pressure starts from


50ms 50ms, 1 -> 100m, 2 -> , 150m, 3 -> 200m, 4 -> 200m, 5->250m, 6->300m, 7->350m, 8->400m, 9->500ms


Ecco il sorgente (main.c):

/*
* LIGHTS
* fp, 2010
*/
#
include
<avr/io.h>
# include <avr/interrupt.h>
#
include
  <avr/pgmspace.h>  # 
include
<util/delay.h>


#define N 31249
/* Numero del timer1 per avere un tempo max (31249=0.5s@fck=16MHz:256) */
#define NA
3124 /* Numero del timer1 per avere uno step minimo (3124=50ms@fck=16MHz:256) */


#define NMODI 4 /* Numero di modi di funzionamento */
#define PORTDATALED PORTB /* Porta dove sono collegati i sei LED */ #define PORTDDRLED DDRB
/* Registro direzione di PORTDATALED */ /* Prototipi delle routine dei various modes of operation * / void
Shift_DX ();
Shift_SX void (); Shift_SX_DX void ();

Out_In void ();

/ * Global Variables (qualifying static because they have to "live" even on function exit * /
/ * volatile and those shared with the interrupt service routine) * / static

int frame = 0 ;
/ * Frame to be shown * / volatile


static uint8_t mode = 0
; / * Initial mode of operation (0 to nMode -1) * / static uint8_t status = 0 ; / * State variable (used for and how ShiftSXDX OnOff) * /
/ * sequences of frames for each mode * / / * stored in flash memory (to save RAM) * / const
uint8_t sx_dx [ 6] = {PROGMEM b00100000 0, 0

b00010000,
0 b00001000,
b00000100 0, 0 b00000010,
b00000001 0}; const uint8_t out_in [ 4] PROGMEM = {0 b00100001, b00010010 0, 0 b00001100, b00010010 0};
/ * initialize / configure the hwardware (direction pin I / O, timer, interrupt) * / void init () { PORTDDRLED (On OCR1A) OCR1A = NA; / / load register OCR1A NA (minimum time)
TIMSK1 = (1

\u0026lt;\u0026lt;OCIE1A)
/ / Enable CTC interrupt on OCR1A TCCR1B * /}


} / * TIMER1 interrupt service routine CTC: runs each (OCR1A +1) * 256 * Tck sec. * /
ISR (TIMER1_COMPA_vect) { switch (mode) {case
0 : Shift_DX ();
break; homes
1: Shift_SX (); break
; homes
2: Shift_SX_DX ();


break;
homes 3 : Out_In ();


break;}

}

/* Routine servizio interrupt INT0 (pulsante variazione del tempo in step di 50ms ) */ ISR ( INT0_vect ) {
OCR1A += NA;
// incrementa di 50ms
if
(OCR1A >= N)
// raggiunto il tempo max...

OCR1A=NA;
//...torna al tempo min. _delay_ms(
500
);
// debounce }
/* Routine servizio interrupt INT1 (pulsante variazione del modo fra o e NMODI) */
ISR ( INT1_vect ) {
modo++; // passa al modo successivo if
(modo==NMODI) // raggiunto il massimo modo...
modo= 0 ; // ...riparti dal modo 0
_delay_ms( 500 );
// debounce }
/* Modo 0: Scorre i LED verso destra */


void
Shift_DX()
{
if (frame==
6
)
// raggiunto l'estremo dx... frame=
0 ; // ...vai al LED estremo sinistro PORTDATALED = pgm_read_byte(&sx_dx[frame]);
// leggi il frame e invialo the port frame + +;
/ / pass to the next frame }

/ * Mode 1: Scrolls the LED to the left * /


void Shift_SX () {

if
(frame == - 1)
/ / reached the extreme left ... frame = 5 ;
/ / ... go to the far right LED PORTDATALED pgm_read_byte = (& sx_dx [frame]); / / read the frame and send it to port
frame -; / / go to the previous frame




} / * Mode 2: Scrolls i LED da sinistra e poi da destra */
void Shift_SX_DX() {

if (frame== 6 ) // raggiunto il LED estremo destro {
frame= 4 ; // vai indietro di un LED
stato= 1 ;
// stato 1: ora scorri i LED da dx a sx }

if
(frame==-
1 ) // raggiunto il LED estremo sinistro
{ frame=
1
; // vai avanti di un LED stato= 0 ; // stato 0: ora scorri i LED da sx a dx
} PORTDATALED = pgm_read_byte (& sx_dx [frame]); / / read the frame and send it to port

switch
(state) { homes

0
: frame + +;
break
; / / if you scroll from left to right, increases
homes

1: frame -; break; / / if you scroll from right to left, it decreases }}

/ * Mode 3: Cycle through the LEDs from the outside and then back out * / void
Out_In () {
if
(frame>= 4 ) // se siamo a un frame superiore a quello massimo frame= 0
;
// riparti dal primo frame PORTDATALED = pgm_read_byte(&out_in[frame]); // leggi il frame e invialo al port
frame++; }


Creiamo una cartella (es. lights) nella quale ricopiamo i file:
main.c
config makefile
Portiamoci in questa directory e lanciamo make all e dunque "uploadiamo" il file oggetto su Arduino con:
make program If all goes well, in our shell will display the following output from avrdude: make program ATmega168 avrdude-p-P / dev/ttyUSB0-b-c stk500v1 19200-F-U flash : w: main.hex

avrdude: AVR device initialized and ready to accept Instructions

Reading an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip avrdude: reading input file "main.hex" avrdude: input file main.hex auto detected as Intel Hex
avrdude: writing flash (790 bytes): Writing
bytes avrdude: reading on-chip flash data: Reading
varying the duty cycle remains unchanged, the wave generated not only the signal frequency, but also the implementation stage, this feature is therefore preferred for motor control. In this mode the timer counts up from 0 and the maximum value N. Reached the maximum value N continues to count, but back to 0, and then recount again to N and so on, periodically. So the time trend of the data in the register of timer1 (TCNT1) assumes a symmetrical triangular shape, rather than to ramp as fast mode, as illustrated in the following illustration:



The front
describes the rise of the wave count up (between 0 and N), while the count down is back (between N and 0).


We note that the period of the signal generated (Ts) is twice the period T is obtained at N
and that it should be taken into account in subsequent calculations, even for Ton.


You have up to two PWM channels: A (pin OC1A) and B (pin OC1B), then we can have two waveforms with different duty cycle, but of course both have the same period as the share the same timer.
The comparison is done on both sides wave (and not a single wave front as in fast mode) and what implies a maximum operating frequency is lower than that of a "fast".
Pin OC1A (or OC1B) is enabled the first comparison that occurs during the rising edge of reset and the next comparison, which occurs on the falling edge.

It is always possible to configure a waveform reversed, eliminating the pin on the comparison OC1x up and activating it on the falling edge.

The changeover takes place at the next clock pulse of the future equality between the value contained in the register TCNT1 and the value contained in the register OCR1A (OCR1B or whether we are using the second B channel) when
 the maximum value of N was defined in Register ICR1 
(1)

. The value N, which thus establishes the resolution of Timer1, can take a value between 3 (minimum resolution of 2bit) and 65535 (maximum resolution of 16 bits).
 Suppose we have a little problem typical for the control of a servant 

timer1 to generate an ATmega168, OC1A pin on the back edge square wave signal (Ton = 2ms) with frequency of 50 Hz (T = 20ms) using as than the system clock (fc = 1MHz):

 V (OC1A) 

5V
_ _ = 0V
Ton Ton = 2ms 2ms
->
For k = 1, 8, 64, 256, 1024, and Tc = 0.25 us (fc = 1MHz), substituting, we have:


----------
N



sostituendo, abbiamo
NA=999



Abbiamo tutti i dati per scrivere un possibile pseudocodice:


Imposta PB1 come pin d'uscita;
Imposta la modalità PWM a correzione di fase e di frequenza (e valore N definito in ICR1)
Carica 9999 nel registro ICR1;
Carica 999 nel registro OCR1A;
Imposta forma d'onda non invertita;
Imposta prescaler :1 (nessun prescaling, k=1)


Come noto, l'istruzione di definizione del prescaler va sempre messa per ultima, in quanto dopo la sua esecuzione viene avviato il timer.

Per quanto riguarda l'impostazione della modalità PWM a correzione di frequency and phase (with value defined in ICR1 N) just look at the datasheet dell'ATmega168 Table 15-4:



TCCR1B when the register value OCR1A (for OC1A) and / or register OCR1B (for OC1B) equals that of the timer register TCNT1, through a combination of bits COM1A1/COM1A0 (to configure the waveform on pin OC1A) and COM1B1 / COM1B0 (to configure the waveform on pin OC1B) log TCCR1A:
----------------------------- -------------------------------------------------- ----
COM1A1/COM1B1 COM1A0/COM1B0 Description
------------------------------------- ----------------------------------------------

0 0 default: OC1A/OC1B pins are normally used as
pin I / O (not to pick PWM signals)

--------------------------------------------- --------------------------------------

0 1 pins are used OC1A/OC1B normally as pin I / O or if
set modes 9 or 11 (Table 15-4) Clear OC1A/OC1B when equality is a
0 on the rising edge and active OC1A/OC1B
when equality occurs on the falling edge

(the waveform is NOT INVERTED)
--------------- -------------------------------------------------- ------------------

Enable OC1A/OC1B when equality is
1 1 on the rising edge and resets when OC1A/OC1B
equality is on the front of

descent (the waveform is inverted)

------------------------------------ -----------------------------------------------


So, wanting a waveform is not reversed, the only pin OC1A, the code will be: TCCR1A 9999 ;
// Ts=20ms @ fc=1MHz (:1)

OCR1A =
999
;
// Ton=2ms @ fc=1MHz (:1)
   TCCR1A  with VMLAB, are shown below. The measure 

Ton, as the difference between the times measured by two markers corresponds to the calculated 2ms:







Finally, the measure of frequency, which confirms

Ts = 20ms (ie
fs
= 50Hz):





In
pwm2.zip
file contains the source main.c, makefile, and config files and project files for pwm2.prj VMLAB.

___________________
 
Note 1) E 'can be used alternatively register OCR1A. V. d / sheet



Monday, October 25, 2010

Play Original Poptropica

THE ADVENTURE OF A HEROIC

Thanks to the cooperation of the Section of AAA Pescara "G. D'Annunzio was possible to publish the following article will certainly welcome the many members of the Society that I am honored to attend this web space.
of Luigi Passera

There are men who do not surrender in the face the obstacles to their ideas, passions which devour them, to their inner certainty. Unfortunately, these men are often too often forgotten places, and their lives should become an example example for new generations.
Such is the case of Hugh Zannier, born 1913, native of Clauzetto, now the province of Pordenone (beyond the AGHE we would say in Friuli).


He attended the School of cabinetry at the Salesians in Venice and had also obtained the certificate "A" (almost a patent) by gliding in Pavullo Frignano. Unfortunately, his passion for flying was dramatically shock elimination in the competition for students of the Royal Air Force non-commissioned pilots for heart failure.


But he had not given up. He had read the book The "Soaring", published by the owner of a manufacturer of gliders based in Canterbury and, combining the craft learned in Venice with the instructions and drawings in the book, adding their own ideas and insights , decided to build himself a glider.


A Clauzetto had found help and support from family and friends, conquered by the beautiful and tall, proud and intelligent, to the point of obtaining the use of a classroom of the school used as a laboratory for design, unable to assemble the aircraft in the attic of the house. Similar aid was found to Campoformido, famous and recognized as a university of the flight. Here you could find technical material, practical advice, technical assistance.


On July 31, 1933, in Heath Sequals, was the baptism of the glider, called the "Friuli". After the crash bottle of sparkling wine, was made the first launch, with Zannier at the steering position. Were present Mr. Volpe, industrial Brovedani, journalist Grinovero of the "People of Friuli." The event aroused enthusiasm and had immediate resonance in the province.


order to use fruitfully the glider, Zannier decided to throw some high ground, but was not experienced in the pilot being in possession of the certificate only "A". Then the flight instructor sailing Campoformido, who had assisted in every way in his business as a builder with tips, presentations and other aid, he brought in several times with a share AS.1 then shut off the engine and as they had been on board a Glider, taught him the secrets of soaring flight and the best way to land properly in place previously fixed.


After a few lessons the instructor noticed the rapid and remarkable pupil. It seemed as if he were born with wings, as he showed a few years after giving evidence of his amazing acrobatic skills with CR.32: among other figures sank flying low and began a series of barrel touching the grass with wings without deviating slightly from the flight path.


When it was Zannier quite certain capacity to fly the plane safely with the engine switched off and from any point on the share of 1,000 meters was able to land safely in a well-defined area of \u200b\u200bthe camp, the instructor gave his approval to the first launch the glider from a mountain. Of course the attempt was given wide publicity, attracting public attention, and authorities on the importance of gliding.

was chosen Mount Valinis, Meduno above, because its peak was easily accessible even with bulky loads.

On October 28, in late afternoon, Zannier made its first flight from an altitude of about L.100 m. After having flown over Meduno, and New Cavasso Orgnese, landed safely on the grass near Solimbergo chosen. The operation, by climbing the mountain, and launching the overflights was followed by a multitude of friends, admirers and curious.


grande.risonanza The event was also outside the province, and called the attention of the General Alberto Liuzzi, which at the time he was training a unit of mountain climbers in Carnia. General Liuzzi was Gemona del Friuli (his house was near the underpass of the railway station, next to the villa Morgan) and became interested in the operation for the possible effects of war, such as transport in high-altitude flight of troops especially trained on specially built gliders. This will be the element of surprise and used soldiers undergo the fatigue of climbing in the rock. The Wehrmacht such a large demonstration of that possibility during the 2nd World War.


The idea had taken so Zannier to convince him to take another flight, this time from the top of the mountain Quarnan, above Gemona del Friuli, clearly visible from the plains to the Redeemer monument inaugurated a few years earlier. He led an expedition in person with his flight instructor and other on top of the mountain, although it was already covered with snow to see the space for the assembly of the glider and to verify the feasibility of the access path from the road leading to Foredor Sella. It was necessary, in fact, disassemble the glider into six pieces and then reassemble it with the utmost precision, particularly with respect to the rim of the attacks, the tension cables to the incidence of the wings and control of the rudders.


On 19 November 1934, three weeks after the first flight, Ugo Zannier stood the second flight from an altitude of 1,370 meters, and landed at the place chosen among Osoppo and Majano, in the vicinity of the airfields named after the late commander Nino Pittini. Once again the crowd was large, even for the propaganda made by the press. General Liuzzi, who had helped the company well with men and means, was at the height of joy, together with Mr. Barnabas.


Zannier was radiant: she had obtained a patent for civil aircraft pilots with AS. 1 to Campoformido and obtained satisfaction and celebrities deserve.


With these premises had been admitted to a new course for students of the Royal Air Force non-commissioned pilots. In addition, the Aero Club had purchased his glider and with the proceeds had been able to pay off the debt incurred to obtain the patent.

obtained by the pilot's military flight school at Grottaglie, went to the English Civil War, assigned to the squadron Autonomous "Arrows", attached to the famous Squadron "Cucaracha".


few days before the end of the war, December 30, 1938, the sergeant pilot Hugh Zannier fell in combat Sky Air Bayon, he was awarded the Gold Medal of Valor. The justification was given wide coverage to heroic self-sacrifice made in defense of their commander surrounded by enemy aircraft.


For Ugo Zannier were then named the School of Design Professional Meduno, where he had been able to follow their creative impulses, and the School of gliding of Udine, who had been born after the many exciting business.


now disappeared and that the professional school of flight; Ugo Zannier throughout Friuli has forgotten, for many reasons, the list of which could give rise to unnecessary controversy or sterile.

However, I needed an appendix to this story is still about the glider "Friuli".


To give further impetus to the nascent School of gliding, the instructor of Zannier found it necessary to recall another media. So with the support of the provincial OND, it was decided to perform a third launch, this time from the top of the mountain Cjampeon, above Magnano in Riviera, Tarcento, Artegna Montenars and, from an altitude of 740 meters.

Point Landing was set on the lawns of between the railway line, after the station Tarcento, and the highway that leads to Tarcento Buja. Access to the mountain was facilitated by Montenars, the military road built at the beginning of the century for the construction of the fort and the barracks on the mountain.

was April 21, 1934, anniversary of the "birth" of Rome, a national holiday. When everything was ready to launch a sudden storm broke soaked everyone present. Succeeded by a cold north wind that Fugo rain, but that complicates the calculation because it blew the side of the route required and tended to drag downwards, towards the town of Billerica.

Given the overflowing crowd agreed by all the countries of Friuli for the event, the instructor decided to launch even in those weather conditions. The experience and flying skills of the pilot allowed to land regularly at the point agreed.


This third flight was the real takeoff of Flight School Sailing Campoformido.

The photos are from the book The sky Campoformido "R. Bass - Ed Campanotto Pasian di Pratora gc Mr. Scarton Michele.






Tuesday, October 5, 2010

Pokemon Free Virtual Worlds

141 - Trapani

this is a message by running fast .. .
:-) Here I am, after Monfalcone and Treviso ...
to Trapani to Friday 8
to do a small part in the movie that is filming Luigi Cinque.




Sunday I'll be 10 in Pisa , all day, at the Stazione Leopolda
for the award "Experiments in dialogue."

then distributed to Naples, at Science City, October 12 to 14
to test some new ideas on the virtual character of the TWIST project on women and science.

the morning of 15 I must be in Genoa,
justice of the peace, for an old and unjust fine.

Finally ultmo trip of the month should be
Vimercate Sunday 24 , theater Oreno video backdrops for the reading-concert "Odyssey" he

quick message? :-)
Salutoni
giac

Tuesday, September 28, 2010

Motorola 325i Drivers

new Poetry Video Cell



video blog from the poetry of absolute
http://www.absolutepoetry.org/-Poetry- Video-Cell-

Salutoni :-)

Monday, September 6, 2010

How To Build An Arrow Spine Tester

AVR timers in five minutes - to generate waveforms (with PWM mode to correct for phase and frequency)



pwm1.zip

CTC mode allows you to generate rectangular waveform, but only symmetrical (equal time on or off duty cycle to 50%). rectangular waveforms with duty cycle other than 50% can be generated with a different operating mode of the timer: the PWM.

On Timer1 can use three types of PWM:

1) Fast
2) A phase correction

3) A correction phase and frequency. The


1) is the fastest, you can reach higher frequencies of the remaining two, varying the duty cycle period (or frequency) remains constant, but varies the phase, the
2) and 3), however, does not entail a change of phase with the variation of duty cycle and thus are suitable for applications such as driving motors, where they do not require high operating frequencies but the phase must remain constant. An example, he sees the FastPWM used, could be the following: Generate
, with the 16 bit timer1 from the back edge square wave signal (dc = 25%) having a frequency of 1 kHz, using as a clock to system (fc = 4MHz):



V (OUT) 5V
_________ _________

fixed, then the timer counts from 0 to a number N equal to 2 n

-1:
 
N = 255 (8bit),
N = 511 (9bit)
N = 1023 (10bit) The

duration of the period Ts depends on these values, the clock period, the prescaler, in the familiar formula already seen:






Ts = Tc * k * (N +1) With our frequency fc of 4MHz (Tc = 0.25 us) for various values \u200b\u200bof the prescaler, we obtain the following TS values \u200b\u200b(expressed in ms) for the various resolutions of the fixed timer:



 

How
can be easily ascertained, have no value Ts = 1ms. Only N = 511 (9bit) and Prescaler 8 we get closer to 1ms (1.024 ms). If precision is not required
 push, we could then "settle" for a value almost equal to that assigned and configure timer1 so FastPWM resolution fixed 9bit. 

Assuming, however, you want an exact value of the signal period equal to 1ms, then we must resort to
variable resolution. Set the mode PWM controller with variable resolution determines the resolution between 2-bit (so the timer counts up to N = 3) and the maximum allowed by the timer: 16bit in the case of Timer1 (and therefore counts up to N = 65535).
So, ultimately, if we set the variable resolution value N can be chosen between 3 and 65535.
 What is a possible value of N for Ts = 1 ms, we obtain from the inverse formula: 





N = [Ts / (k * Tc)] - 1


For k = 1, 8, 64, 256, 1024, and Ts = 0.25 us (fc = 4MHz), substituting, we have:


----------
N 65535. We use



k = 1 (no prescaler) and therefore N = 3999


This value is loaded into the register ICR1
(



1).
defined the necessary number for the whole period Ts, now remains to determine the number (including in this case between 0 and 3999) at which you have the switching pin (or OC1A OC1B) where Ton = 0, 25ms.
If we create our waveform using the channel A, then the output signal on pin OC1A, we will load this value in the register OCR1A, conversely, if we use the channel B, then the waveform on pin OC1B, upload this value in the register OCR1B.
Supponendo di volere usare il canale A, la situazione è raffigurata di seguito:


  



 Finché il dato del timer1 (ovvero il valore del registro TCNT1) è inferiore al numero NA, l'uscita OC1A assume valore alto (5V). Allorquando il valore di TCNT1 eguaglia quello contenuto nel registro OCR1A, al successivo impulso di clock si ha una commutazione del pin OC1A a 0V. Infine, al raggiungimento del successivo valore N, il pin OC1A commuta a 5V.     
Da precisare che questa è la modalità non invertente
. E' possibile configurare la generazione della forma d'onda anche in modalità invertente, per la quale, ovviamente, switching levels are inverted and then invert the waveform. remains to determine the number of NA at the time which has elapsed since the last reset Timer1 is precisely Ton.
It 's very simple. If

to employ a time Ts, the timer must count to N, evidently for a time Ton smaller the timer will count to a number NA \u0026lt;N:
(NA+1) * Tc * k
mentre per il periodo Ts, già si è visto che: Ts = (N+1) * Tc * k
Facendo il  rapporto Ton/Ts ricaviamo il duty cicle e da qui il numero NA:
NA = [ d.c. * (N +1) ] -1 Nel nostro caso, essendo
d.c.=0,25 e N=3999 , ricaviamo NA=999
Abbiamo tutti i dati per scrivere il software, ma prima, ovviamente, scriviamo un possibile pseudocodice:

Imposta PB1 come pin d'uscita; Carica 3999 nel registro ICR1; Carica 999 in the register OCR1A;
FastPWM Sets mode with variable resolution (and value defined in ICR1 N);
Set waveform is not inverted;
Set prescaler: 1 (No prescaling)
Loading a value of register (with avr-libc) is trivial and needs no explanation, because already seen.

dell'ATmega168 Using the datasheet, you go to see what configuration registers of TIMER1 act and which bits to set, to obtain the desired settings.

FastPWM mode with variable resolution (and the value is defined in ICR1 N) is implemented by activating bit WGM13, WGM12 and WGM11, as described in Table 15-4 of d / sheet (as n. 14):
WGM13 and WGM12 bits are in the second configuration register: TCCR1B, while the remaining WGM11 bit found in the first configuration register TCCR1A. So we write:


TCCR1B
................................................. ..............................
0 0 Other use of pin OC1A/OC1B (no PWM)
0 1 Other use or just OC1A (see d / sheet) 1 0 1 1 a non-inverting mode inverting

So, we will activate only bit COM1A1 :
TCCR1A
TCCR1B WGM12);
// FastPWM con ICR1=N (Tab.15-4)
The simulation results are shown below. In the Annex the zip with all files of the project VMLAB. To use Linux VMLAB follow the tutorial on



Measurement Ton (0.25 ms)

measure Ts (1ms)







NOTES
-----------------------

1) Alternatively you can use the Register OCR1A (see d / sheet)



Sunday, September 5, 2010

Lumineyes Colour Change

AVR timers in five minutes - to generate waveforms (with how fast PWM) timers

quadra.zip

 
We have the following task:



generate, with the 16 bit timer1 by a symmetrical square wave signal (DC = 50%) having a frequency of 1 kHz, using as a system clock to fc = 4MHz


The switching of the logic level of an output pin , at regular intervals, can be seen as a square wave:


V (OUT)

5V
____________ ____________
T T

AVR (così come con altri micro) è possibile effettuare la commutazione del livello di uscita, non solo via software come si è fatto nella I parte (mediante un interrupt e un'operazione di ex-or) ma anche completamente via hardware, con tutti i vantaggi del caso. Se, quindi, il nostro compito è semplicemente quello di commutare il livello di un piedino di uscita a intervalli di tempo regolari ovvero, in altre parole,
generare un'onda quadra simmetrica
è preferibile utilizzare sempre il modo CTC già visto, ma con un meccanismo hardware invece di uno software. Nel modo CTC con meccanismo hardware non ci sono interrupt e relative routine di gestione da write software; CTC mode does do the job: when the data contained in the register of timer1 TCNT1 equals that of register OCR1A

(1)

, the next clock pulse is to reset the timer.

What changes is what to do if necessary zeroing: do not use more than one interrupt, but is (entirely in hardware) a switching of the logic level of a particular output pin called OC1A or, if configured differently our software, as we shall see, the zero point (Vout = 0V) or activation of the output (Vout = 5V).

Unlike the "software mechanism, which uses an interrupt, where you are free to choose not only what to do every T seconds, but the leg on which have switched, so using the CTC with the hardware mechanism is required to use a specific pin, shown in the datasheet with the reference OC1A (which just happened in their match ATmegax8 with PB1):


The signal period is



Ts = 1 / f = 1ms

T = Ts / 2 = 0.5ms

calculate the number N be loaded into the register
OCR1A
for different prescaling values: 1, 8, 64, 256 or 1024 through la nota formula:






  

k



N



1
1999
8
249 64
30,25



256

6,8125
0,9531



A questo punto prendiamo in considerazione solo fattori di prescaler per i quali abbiamo numeri N rappresentabili dal timer a 16 bit (numeri interi e non superiori a 65535), quindi scartiamo da subito k=64, k=256 e k=1024.

Rimangono infine k=1 e k=8, dei due preferiamo il più piccolo (nessun prescaler) in corrispondenza del quale
N=1999
.

Scriviamo il pseudocodice:


Imposta modo CTC (con confronto sul registro OCR1A) sul Timer1;
Carica OCR1A con il valore 1999;
 Imposta la commutazione hardware del pin OC1A all'azzeramento del timer (un clock dopo 1999) 
Imposta prescaler a 1 (nessun prescaler);


L'impostazione della commutazione hardware, avviene impostando i bit
COM1A1
e
COM1A0
del registro
TCCR1A
, che definiscono "cosa fare" sull'azzeramento
del timer: 1) switch the output, 2) reset the output, 3) set the output
COM1A1 COM1A0
Description --------------------- -------------------------------------------------- ------
0 0 Default: use the leg normally OC1A (such as input / output)
0 1 Switches the pin OC1A (0V-> 5V, 5V-> 0V) 1 0 Reset pin OC1A (0V) 1 1
Set OC1A pin (5V)


That in avr-libc code becomes:

TCCR1A COM1A0 ) ;
/ / Set up Toogle OC1A



For k = 1, from the table in datasheet dell'Atmega8, we get that we need only turn on the CS10 bit register TCCR1B:
 






TCCR1B

\u0026lt;

avr / io.h

>

 
int main


(
 

void) {






 DDRB = 

(

1
 
\u0026lt;

\u0026lt;

PB1)
 ;   / / Set the pin PB1 (OC1A) as output    TCCR1B   so CTC (on OCR1A)    OCR1A 
=

1999; / / load register 1999 in OCR1A
TCCR1A
on, the timer is started!



while

(

1)



{/ * do nothing ... resetting the timer (after 1999) will be switching hardware OC1A * /



}}


simulate vmlab with our software (as explained above) and the result is just a square wave of 1kHz.





To measure the frequency, click on the track and then click Analyze
. In

zip attachment, in addition to the source, there is also a project file (QUADRA.PRJ) for VMLAB.
----
Note 1) E 'can be used as an alternative to OCR1A register, the register ICR1 (see datasheet for the different configuration)