Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: Auto Tune Library on: February 23, 2013, 06:26:30 am

After several hours, doing experiments with PID auto tuning function I found that the Auto tuning function is depend on where it is started to tune, but not depend on the actual system start time. So what I did is, I hard coded to check for a level whether it passes and begin auto tune. What it does is, although I tell to start the tuning, it does not enter to the tuning function until reaches the hard coded value. And also begin the auto tuning as much as possible to the set point value. I leave this information for any body who want this information, and please reply if you found any difference.
2  Using Arduino / Programming Questions / Re: Auto Tune Library on: February 23, 2013, 03:55:07 am

Could any one please tell me whether the Arduino Auto Tuner function affects by the point where we start the tuning.

I am really fed up from getting different constants for tuning in same environmental condition. The only thing I changed is the starting temperature to enter the Auto tuning function.  smiley-sad

Please help me.

Thank you.
3  Using Arduino / Programming Questions / Re: Auto Tune Library on: February 23, 2013, 02:37:40 am
Thank you all, very much for reply.

Here is the code,
            void loop(){
                  tempValue = getTemp(&tempSensor);
                  if (is_tuning){                                                             // Check whether tunner is turned on
                      LCD.setCursor(0, 0);                                                     // Set the cursor to the 16 - position to print
                      LCD.print("TUNING");                                                        // TUNE
                      val = 0;
                      val = (aTune.Runtime());                                                // Run the Auto tunner and check whether it is finished the tuning
                      if(val != 0){                                                             // If tuning is done
                        is_tuning = 0;                                                          // Turn off the tunner
                        kp = aTune.GetKp();                                               // Get the constants from the auto tunner module
                        ki = aTune.GetKi();
                        kd = aTune.GetKd();
                        PID.SetTunings(kp,ki,kd);                         // Set the tunned constants to the PID

I set the "is_tuning" variable through an interrupt subroutine. In there, I set the PID.SetMode(MANUAL).

I am using the PID library from Arduino and the lick to the auto tuner that I am using is

Thanks in advance
4  Using Arduino / Programming Questions / Auto Tune Library on: February 23, 2013, 12:53:52 am

I am using Arduino auto tune library for my project. I have to control the temperature of a metal surface. The input is the reading from temperature sensor and out put is the PWM to control the current of the heater.
The problem is I get different tuned parameters for same environmental condition. Is this possible? I can not understand why?

I am new bee to this field and I know nothing about, how is the auto tuner working. Please help me.

Thanks in advance,
5  Topics / Product Design / Re: Project designing guidance - wireless event tracking system on: December 29, 2012, 02:17:56 am
Hi everyone,

Please help me about this modules. Does any one has any experience with this, kindly reply me.

Does this module can capture simultaneous button presses of around 20 RFD21733 modules?

Am I posting this on wrong topic???

Thanks in advance.
6  Topics / Product Design / Re: Project designing guidance - wireless event tracking system on: December 26, 2012, 12:34:42 pm
Hi everyone,
After lot of search through the internet I finally came with up this, RFD21733.

RFD21733 is going to use for slave device and RFDANT is going to be used as the master. Does anyone has any experience with these modules could you please give me a feedback.

I choosed these modules because,
low power
no coding
no need to worry about collisions

Thank you.
7  Topics / Product Design / Re: Project designing guidance - wireless event tracking system on: December 16, 2012, 07:32:19 am
Thank you for replying me.

The transmission distance is around 300m and only one byte is enough to send the data from slave to master.

As I know Xbee/Zigbee uses inter device communication which will consume much power from slaves. Because I have to consider the battery life of the slave devices, I though of having this method,

"The slave send the button pressed event only when button is pressed, if the master does not reply, slave waits until the button is pressed again and transmite the number of button presses (one byte length)".

I was thinking about frequency hopping because of,
If I use same frequency for all slaves with addressing; and a slave(slave-B) tries to initiate the communication with master while another slave(slave-A) is communicating will lead to loose the data form master. The both slave can know that they lost the communication and can try to send data again,
But there are more than 200 slaves  smiley-confuse

The attachment will describe the network

thank you.
8  Topics / Product Design / Project designing guidance - wireless event tracking system on: December 08, 2012, 10:45:39 am
Hi, everyone.

I have to design a wireless system which communicate between a central device and individual devices (star network). These individual devices have only one button and communication begins when the button is pressed. These devices are battery powered and all these devices should be able to communicate only with central device and there may be more than one device activated at a time because these devices are operating by persons. Inter - device communication is not possible because I need to consider the battery life of the devices.
So I though of having Frequency hopping module for central device while the other hand-held devices are tune for different frequencies.
So could you please guide me and could I know is there any other more simple technology/method than this method.

Thanks in advance
Pages: [1]