Posted by
Unknown
at
6:24 AMon Sunday, October 23, 2011
Today is October the 23rd, I got up about 6:41 am with a great hope. I thought that I would go with my friends but none of them was ready. I took my breakVERYfast at the RAcafé alone and I continued my path to the election place which is The school of "sahat etahrir". I can't describe my feelings when I first walk in the school, it's like a little kid about to open his birthday present. I was amazed by the line: tall and organized that I felt that people has finally realize the importance of election. It was so organized that I felt a little bit scary. When I took the line like every one else I saw my father who has finished voting. I had a little conversation with the people in the line about the RCD electors who are seemed to vote to the INITIATIVE party. I finally arrived to the election room it was the first room by the way, I put my id, phone and another paper on the table I signed in front of my name, I dipped my finger in the blue ink then I went to the polling booth where I chose my political party, I put my voting paper in the election box and I went out.
It was an amazing experience for me, this time I voted for our lovely Tunisia and I know that my vote counts and each counted vote is just another step ahead to take our freedom that our precious martyrs has died for.
Posted by
Unknown
at
7:07 PMon Wednesday, August 3, 2011
This is a little demonstration of how to use the pwm library to controle the speed motor (but you can use it in many different ways). the task: Read an analogic commande from a potentiometre and transform it to commande the speed motor. the code: unsigned int commande=0;//the value delivred by the poteintiometre unsigned int controle=0;//the puls width that commands the motor speed void main() {
adc_init();//analogic to digital converter module initialisation pwm1_init(10000);//Puls width modulation module initialisation with 10KHz pwm1_set_duty(controle);//the motor is stopped pwm1_start();
while(1){ commande=adc_read(0);//read anaolgic value from channel number 0 controle=(commande/4);//adapt the value of the control to the commande pwm1_set_duty(controle);//update the value of the pulse width } } simulation:
Posted by
Unknown
at
7:55 AMon Sunday, July 31, 2011
Bonjour tout le monde, Je vous présente mon projet qui consiste à un simple programme de gestion de stock qu'il sera mis à jour plusieurs fois dans le future inch'Allah.
Le programme est codé avec c# et la base de donnés est créer avec mysql. vous devez tout d'abord téléchargerle le pilote connector/net http://dev.mysql.com/downloads/connector/net/5.2.htmlqui va occupé à la connexion entre l'application c# et la base de donnés MySql.
Posted by
Unknown
at
5:16 PMon Wednesday, July 27, 2011
Dans le cadre d'un projet en matière technologie d’acquisition et d'interfaçage j'ai réaliser ce projet qui est mieux expliquer dans la photo en bas.
Schéma synoptique
l'interface:
La carte sur isis:
PCB sur ARES:
Code en c#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO.Ports;
namespace WindowsFormsApplication1 { using ZedGraph; public partial class Form1 : Form { float temps=0; float consigne=0; float commande=0; float fecartold; float fIntegral = 0; float fDerive = 0; float freponseOld=0; byte[] buffer = new byte[8]; #region partie test pour une foction de transfert numerique float reponse = 0; #endregion public Form1() { InitializeComponent(); }