Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: Yaw controller using Euler angles on: June 22, 2014, 01:28:32 am
Can u explain how to implement it in code?
2  Using Arduino / Programming Questions / Re: Yaw controller using Euler angles on: June 21, 2014, 11:21:50 pm
Hi Ed,

 I am also facing same problem for my T-copter! i am using magnetometer instead of gyro for yaw correction. So i am facing discontinuity while transition from 0° to 359° or vicre versa. The PID show crazy behaviour..

Can we eliminate this error by 2 PIDs? If we experienced discontinuity, then switch to direct/reverse PID. How about this? Will this work?
3  Topics / Product Design / 2$ DIY 1 Wire serial LCD along with arduino Library & source code on: December 09, 2013, 03:39:17 am
Hello Geeks,  smiley

I am introducing my new cheapest 1 Wire serial LCD using Atmega-8 (or 168 or 328) & a Brand-new Open-Source  library Compatible with LiquidCrystal along with schematic, source-code, firmware, images & video demonstration.

Please read the attached pdf file for detail information about each & everything to build your own serialLCD shield/module.


Lets build something creative.. Enjoy your arduino..  smiley-grin smiley-grin smiley-grin
Feel free to use/edit/share/improve the library & firmware sources...
4  Using Arduino / Networking, Protocols, and Devices / ENC28J60 Ethernet Module Problem.. Please Help..! on: June 25, 2013, 09:48:04 am
Hi experts,

I am trying to make a simple web server using Arduino duemilanove clone(ATmega328) & ENC28J60 ethernet module. I connected Ethernet module to my router's LAN port. (The internet connection to the router is from D-Link modem.)
I am using EtherCard library. On startup, arduino gives me IP address but when i try to view webpage by using this IP in browser, browser fails to load.
I think in my code setup() is executing but loop() is not executing as i tried a simple SerialTx function in loop & it didnt work...
Even MAC address get automatically changed to unknown format..!
My code is as follow. Please examine it & feel free to correct me..!

static byte myip[] PROGMEM = {118,110,55,69};
static byte mymac[] PROGMEM = {0x11,0xda,0x56,0xa6,0xc9,0x79};
static byte gateway[] PROGMEM = {10,0,0,1};
byte Ethernet::buffer[500];

void setup()
  if(ether.begin(sizeof Ethernet::buffer, mymac, 8)==0)
    Serial.println("\nEthernet access failed");
    Serial.println("\nEthernet Controller Initialized");
  if (!ether.dhcpSetup())
    Serial.println("Failed to get configuration from DHCP");
    Serial.println("DHCP configuration done");
  ether.printIp("IP Address:\t", ether.myip);
  ether.printIp("Netmask:\t", ether.mymask);
  ether.printIp("Gateway:\t", ether.gwip);
  ether.printIp("MAC address:\t",ether.mymac);

void loop()
  word len = ether.packetReceive();
  word pos = ether.packetLoop(len);
    Serial.println("----------NEW PACKET------------");
    Serial.println((char *)Ethernet::buffer + pos);
    // create bfill as object
    BufferFiller bfill = ether.tcpOffset();
    bfill.emit_p(PSTR("HTTP/1.0 200 ok\r\n"
    "Content-Type: text/html\r\nPragma: no-cache\r\n\r\n"
    "<html><body><h1>Basic Web Server Using Arduino</h1></body></html>"));
    pos = 0;

void SerialTx()
  Serial.println("Test if the arduino executes loop or not.!");

The Serial output is as follow:

5  Using Arduino / Networking, Protocols, and Devices / Re: Arduino Uno + enc28j60 - still not working on: June 25, 2013, 08:26:45 am
I am facing same problem with ENC28J60 module. I am also using EtherCard library. Will you please tell me what MAC address you used?? Is there any kind of format of this particular mac address? Please help me.. its urgent..! Thanks... smiley
6  Using Arduino / Installation & Troubleshooting / Re: Troubleshooting sketchy uploads to breadboard on: January 27, 2013, 04:41:53 am
Its working on my duemilanove clone. recheck connections and try to add a jumper between Vcc and RESET. but @ 8MHz internal RC oscillator you won't be able to use it for any kind of Serial or I2C communication..  I m facing communication problem with same @ 16MHz.. if you have solutions then please let me know..!
Thanks. smiley-grin
7  Topics / Robotics / Serial & I2C problem in Arduino duemilanove and breadboard atmega328 @ 16MHz on: January 27, 2013, 04:35:47 am
Hi all. I m facing a serious problem between communication of 2 arduinos with each other. I am trying to communicate breadboard ATmega328 @ 16MHz (same to arduino & with bootloader  smiley ) with I2C. But there is no any response form both arduinos. I have also tried to make serial communication with PC using FTDI on duemilanove with my breadboard ATmega328. Now i am getting unknown symbols at serial monitor  smiley-confuse smiley-eek-blue. So please help me about this.
Thank you.
Pages: [1]