Inseguitore Solare

Occorrente per realizzare questo progetto:
 

  • Arduino Uno, Duemilanove ,Mega ecc.
  • 2 Servo Motore, quelli che abbiamo usato noi sono servi di un modellino. I servi sono reperibii in qualsiasi negozio di modellismo ad un costo di circa 20 euro  basta chiedere SERVI DIGITALI perchè quelli analogici hanno un movimento di  0° o 180°.
  • 4 fotoresistenze 
  • 4 resistenze da 10kOhm
  • 2 trimmer da 10kOhm


Montaggio:

Abbiamo utilizzato dei pezzi di canalina tubolare per fare da base su cui montare i servi e su cui mettere le fotoresistenze 

                                                                                   

                                                                                                                Ecco lo schema di montaggio

 

 

 

 

 

 

ed ecco lo sketch di arduino da incollare nel suo programma compilatore

 

#include // include la libreria ServoServo horizontal; // servo orizzontaleint servoh = 90; // dichiara una variabileServo vertical; // servo verticaleint servov = 90; // dichiara una variabilename = analogpin;int ldrlt = 0; //fotoresistenza in alto a sinistraint ldrrt = 1; //fotoresistenza in alto a destraint ldrld = 2; //fotoresistenza in basso a sinistraint ldrrd = 3; //fotoresistenza in basso a destravoid setup(){ Serial.begin(9600); name.attacht(pin); horizontal.attach(9);vertical.attach(10);}void loop(){ int lt = analogRead(ldrlt); // fotoresistenza in alto a sinistra int rt = analogRead(ldrrt); // fotoresistenza in alto a destra int ld = analogRead(ldrld); // fotoresistenza in basso a sinistra int rd = analogRead(ldrrd); // fotoresistenza in basso a destra int dtime = analogRead(4)/20; // leggi trimmerint tol = analogRead(5)/4;int avt = (lt + rt) / 2; // somma fotoresistenze alteint avd = (ld + rd) / 2; // somma fotoresistenze basseint avl = (lt + ld) / 2; // somma fotoresistenze a sinistraint avr = (rt + rd) / 2; // somma fotoresistenze a destraint dvert = avt - avd; // trova la differenza tra alto e bassoint dhoriz = avl - avr;// trova la differenza tra sinistra e destraif (-1*tol > dvert || dvert > tol){if (avt > avd){servov = ++servov;if (servov > 180){servov = 180;}}else if (avt < avd){servov= --servov;if (servov < 0){servov = 0;
 
 
 
 
 
 
 
 
 
}}vertical.write(servov);}if (-1*tol > dhoriz || dhoriz > tol){if (avl > avr){servoh = --servoh;if (servoh < 0){servoh = 0;}}else if (avl < avr){servoh = ++servoh;if (servoh > 180){servoh = 180;}}else if (avl == avr){}horizontal.write(servoh);}delay(dtime);}

 

Cosa ne pensate del nostro Inseguitore Solare?

How To Prevent Prostate Problems And Diseases?

AlbertAlorn 13.08.2018
The prostate related is an essential section of a male's reproductive :. It secretes fluids that aid in the transportation and activation of sperm. The prostate gland is located just while watching rectum, below the bladder and surrounding the urethra. When there is prostate problem, it will always be very uncomfortable and inconvenient for the patient as his urinary system is directly affected.

The common prostate health problems are prostate infection, enlarged prostate and cancer of the prostate.



Prostate infection, also referred to as prostatitis, is regarded as the common prostate-related condition in men younger than 55 years. Infections with the prostate are classified into four types - acute bacterial prostatitis, chronic bacterial prostatitis, chronic abacterial prostatitis and prosttodynia.

Acute bacterial prostatitis could be the least common of varieties of prostate infection. It is brought on by bacteria based in the large intestines or urinary tract. Patients may go through fever, chills, body aches, back pains and urination problems. This condition is treated by utilizing antibiotics or non-steroid anti-inflammatory drugs (NSAIDs) to alleviate the swelling.

Chronic bacterial prostatitis is really a condition of a particular defect inside gland and the persistence presence of bacteria inside the urinary tract. It can be a result of trauma for the urinary tract or by infections from other areas of the body. A patient may experience testicular pain, back pains and urination problems. Although it is uncommon, it could be treated by removal in the prostate defect then making use antibiotics and NSAIDs to deal with the soreness.

Non-bacterial prostatitis accounts for approximately 90% coming from all prostatitis cases; however, researchers have not even to ascertain what causes these conditions. Some researchers feel that chronic non-bacterial prostatitis occur as a consequence of unknown infectious agents while other believe that intensive exercise and lifting could cause these infections.

Maintaining a Healthy Prostate

To prevent prostate diseases, an effective meals are important. These are some in the actions you can take and also hardwearing . prostate healthy.

1. Drink sufficient water. Proper hydration is important for general health and it'll also keep your urinary track clean.

2. Some studies claim that a number of ejaculations each week will help to prevent cancer of prostate.

3. Eat red meat sparingly. It has been shown that consuming over four meals of beef every week will heighten the risk of prostate diseases and cancer.

4. Maintain a proper diet with cereals, vegetable and fruits to make certain sufficient intake of nutrients needed for prostate health.

The most significant measure to adopt to make certain a healthy prostate is to choose regular prostate health screening. If you are forty years and above, you should choose prostate examination one or more times per year.

mi servirebbe un aiuto

andrea paoletti 17.04.2018
ciao volevo chiederti un aiuto perchè dovrei presentare entro pochi giorni lo sketch di un inseguitore solare circa come il tuo solo che non ho capito lo sketch dove hai usato le if

arduino

abdel 02.04.2018
si può sapere il perché mi dice che ( lt/ld/rd/rt) nn sono stati dichiarati

Inseguitors solare a 2 assi con segnalatore vento eccessivo.

Loreno 13.10.2017
Interessante molto bello, mi piacerebbe farlo per casa mia con attuatori più potenti, ma sarebbe interessante integrarlo con un sensore di vento eccessivo per portare i pannelli a riposo ed esporre poca resistenza al vento. Tutta sicurezza in più. Grazie ciao

R: Inseguitors solare a 2 assi con segnalatore vento eccessivo.

Alessandro 07.07.2019
Ciao Lorenzo vorrei chiederti se alla fine sei riuscito con l'inseguitore solare e il sensore di vento .... perché dovrei realizzare qualcosa del genere . Grazie

sketch

seby 17.06.2016
ciao raga...... non riesco a copiare lo sketch , mi potete aiutare? è urgente, grazie!!!

Ulteriori Info

Lorenzo 25.05.2015
Buona sera , ho trovato il vostro progetto molto completo , l'unico in rete con 2 assi. Poiché non sono molto pratico di arduino si potrebbero avere ulteriori informazioni su come assemblare la scheda? Grazie Lorenzo

Che figata!!

Marco 17.03.2014
Molto bravi l ho realizzato anche io grazie ai vostri suggerimenti e funziona alla perfezione :D

R: Che figata!!

Elettricità 19.03.2014
Siamo molto contenti che ti sia piaciuto, continua a seguirci :)

Complimenti

Camilla 18.01.2014
Molo interessante e ben spiegato
1 | 2 >>

Nuovo commento