Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

ARDUINO programming dito na kayo!!!

arduino score board? madali lng un..pm mo ako turuan kita.. may mga ginwa nrin akong project gamit ung arduino.. distance/proximity sensor na may output sa seven segment...voltmeter na output is lcd..gloves na isusuot na ginagaya na robotic arm kung anu ung movement ng arm mo using wirless(bluetooth).


dre mahirap ba gawin ung glones na ginagya ng robotic arm?
 
pwede nyo rin try yung sa Gizduino ng e-gizmo
same lang sya sa arduino mas mura pa,,
 
boss anu po maganda bilhin sa e-gizmo. na gizduino??
 
Im Working with arduino..
natanggap din ako ng mga nag papagawa ng project specially sa mga nag t-thesis..

sino gusto mag pa gawa jan?
 
pahelp po pano po code ng 3 digit 7 segment display controlled via keypad using arduino pang quiz bee po kasi score board TIA sa tutulong
 
0905867335 pa help sa project q smoke detector whit sms notification willing na magbyad my gamit na po ako ung codes and wirings nlang po
 
Hello po,

Need help for a DIY MIDI controller.

Using Gizduino X v2.0 (ATmega 1281)

Is the programming made for the Arduino Mega (ATmega 1280) compatible for the Gizduino X v2.0? Or do I risk burning up my microcontroller?

Salamat po.
 
sa smoke detector, ok na ba??

to bdumaguina, compatible po yan.walang issue qng jan mo gagamitin yung codes mu.

im studying mcu's for almost a year,arduino and PIC,newbie sa ARM.
 
TS, usually pag mga ganito walang gusto mag spoon feed.

Nagself study lang din ako para matuto kung pano gamitin ang PIC. ang Arduino/gizduino halos pareho lang sila na pinakautak ng lahat parang processor.

ang pagkakaiba lang ang Arduino/gizduino gumagawa yung manufacturer ng mga kits/module para ma-interface sa Arduino/gizduino design para sa mga ito. (not sure kung ito lang kaya nyang gawin. di pa ko nakakagamit nito. nasa website namang specs nito.)

sa PIC pwede mo rin gamitin yung mga interface na yun.

BasicC ata gamit nila jan. or kung gusto mo hard coding mag assembly language ka.

Asahan mo na sa thread mo maraming magpopost na may bayad daw pagawa sakanila. Goodluck. :thumbsup:
 
Last edited:
yung gizduino kasi pl2303 yung chip n gnmit pra mgkaron ng usb-serial interface.ung original arduino ang gmit is ftdi with same functionality as pl2303.speed lng siguro ung issue dun pero halos wala n rin pgkakaiba..
 
pede po ba akong magpatulong about sa barcode scanner?
 
Pa hingi naman po ng sample code ng arduino na kayang mag pagalaw left right up down.. May school project kasi kami na kaylangan ng 360 degrees functionality..
 
Arduino Programmer Here... =D

- - - Updated - - -

Pa hingi naman po ng sample code ng arduino na kayang mag pagalaw left right up down.. May school project kasi kami na kaylangan ng 360 degrees functionality..


ano gagamitin nio na device para magpagalaw ng left right up down? LED Lang ?

- - - Updated - - -

pede po ba akong magpatulong about sa barcode scanner?

Barcode Scanner??? pag scan mo ng item kelangan dadaan pa ba sa arduino? paki elaborate @ts

- - - Updated - - -

boss anu po maganda bilhin sa e-gizmo. na gizduino??

boss Arduino ATMega X po... marami pong pins un.. =D

- - - Updated - - -

sino po may alam kung pano e program ang arduino pra mka access sya sa isang database?

Yes sir pwede po un, gamit ka po ng visual studio pra sya ung mag cocommand to save to the database... ano po ba ung project nio? :yipee:
 
May Gizduino+ATMega644 at Wi-Fi Shield CC3000 po ako, nagupload po ako ng code kaso di po ako makaconnect sa Wi-Fi, ano po ba problem dito, laging lumalabas lang eh yung Free RAM at Initializing.. :noidea:

Eto po yung code na gamit ko:

Code:
/*
WirelessControllerWifi is one of the applicatioin of CC3000 Wifi Module
                  - This sample application code simply turns on and off
                   an LED remotely via Wifi.
                  - It is suggested to use Atmega644 to avoid further
                    RAM issues.
                  - The IP address given to CC3000 by the Access Point
                    is static. Therefore, it is advisable to make sure
                    that the IP address entered to the browser is correct.
                   
Execution:
  1. Once uploaded to the microcontroller, open the serial.
  2. Wait for successful connection.
  3. When DHCP request is successful, Copy the IPaddress given to your device.
  4. Enter the IPaddress to your browser.
  5. The small Wireless Controller webpage will then be loaded.
  6. Click ON button to turn on the LED and OFF button to turn it off.

Wiring Connection:
  1. Connect +pin of LED(series with current limiting resistor if needed) to pin 14(A0).
             -pin to GND. This will be the LED to be controlled.
  2. Connect +pin of LED(series with current limiting resistor if needed) to pin 9.
             -pin to GND. This will be the wifi connection indicator.           
             
Notes:
  Reserved pins for CC3000 and SD Card communication are as follows.
    CC3000 Breakout Board              Gizduino
          SCK   <------------------> Digital pin 13
          MISO  <------------------> Digital pin 12
          MOSI  <------------------> Digital pin 11
          CS    <------------------> Digital pin 10
          V_EN  <------------------> Digital pin 5
          uSDCS <------------------> Digital pin 4
          IRQ   <------------------> Digital pin 3
References:
         - Adafruit_CC3000 ChatServer.ino
         - Ethernet WebServer.ino
         - Important Libraries from Adafruit: https://learn.adafruit.com/adafruit-cc3000-wifi/cc3000-library-software

Created On:  28 APR 14
        By:  e-Gizmo Mechatronix Central
*/

#include <Adafruit_CC3000.h>
#include <SPI.h>
#include "utility/debug.h"
#include "utility/socket.h"

/* --- CC3000 constants --- */
// These are the interrupt and control pins
#define ADAFRUIT_CC3000_IRQ   3  // MUST be an interrupt pin!
// These can be any two pins
#define ADAFRUIT_CC3000_VBAT  5
#define ADAFRUIT_CC3000_CS    10
// Use hardware SPI for the remaining pins
// On an UNO, SCK = 13, MISO = 12, and MOSI = 11
Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT,
                                         SPI_CLOCK_DIVIDER); // you can change this clock speed
#define WLAN_SSID       "yourWifi"           // cannot be longer than 32 characters!
#define WLAN_PASS       "yourWifipassword"
// Security can be WLAN_SEC_UNSEC, WLAN_SEC_WEP, WLAN_SEC_WPA or WLAN_SEC_WPA2
#define WLAN_SECURITY   WLAN_SEC_WPA2
#define LISTEN_PORT           80 
Adafruit_CC3000_Server gizduinoServer(LISTEN_PORT);  //(LISTEN_PORT);

/* --- Webpage variables --- */
String req;     // Will handle the request of the client.
String reqsub;  // Request substring to for keyword "on" or "of".
char webpage[404] = "<!DOCTYPE HTML><html><body><center><h1>Wireless Controller via Wi-Fi</h1><p>by e-Gizmo</p><br><form method=\"get\"><input type=\"button\"style=\"height:100px;width:100px\" value=\"ON\"onclick=\"window.location='/?on'\"> <input type=\"button\"style=\"height:100px;width:100px\"value=\"OFF\"onclick=\"window.location='/?of'\"></form></center></body></html>";

/* --- LED Indicators --- */
#define controlLED 14
#define wifiLED 9

void setup(void)
{
  Serial.begin(9600);
  Serial.print("Free RAM: "); Serial.println(getFreeRam(), DEC); 
  /* Initialise the module */
  Serial.println("Initializing...");
  if (!cc3000.begin())
  {
    Serial.println("Couldn't begin()! Check your wiring?");
    while(1);
  } 
  Serial.print("Attempting to connect to "); Serial.println(WLAN_SSID);
  if (!cc3000.connectToAP(WLAN_SSID, WLAN_PASS, WLAN_SECURITY)) {
    Serial.println("Failed!");
    while(1);
  }  
  Serial.println("Connected!");  
  Serial.println("Request DHCP...");
  cc3000.checkDHCP();
  // Display the IP address DNS, Gateway, etc.
  while (! displayConnectionDetails()) {  
    delay(1000);
  }  
  gizduinoServer.begin();  // Start listening for connections
  Serial.println("Waiting for Client...");
  
  pinMode(wifiLED,OUTPUT);  // LED pin for Wifi connection indicator.
  digitalWrite(wifiLED,HIGH);
  pinMode(controlLED,OUTPUT);  // LED pin to be controlled.
  
}

void loop(void){
  
  if(!cc3000.checkConnected()){
    Serial.println("CONNECTION LOST!");
    digitalWrite(wifiLED,LOW);
    while(1);
  }else{  
    // Try to get a client which is connected.
    Adafruit_CC3000_ClientRef client = gizduinoServer.available();
    if (client) {
      Serial.println("New client");
      // an http request ends with a blank line
      boolean currentLineIsBlank = true;
      while (client.connected()) {
        if (client.available()) {
          char c = client.read();
          Serial.write(c);
          req += c;
          reqsub = req.substring(6,8);
          if (reqsub == "of"){
            digitalWrite(controlLED, LOW);
          }
          if (reqsub == "on"){
            digitalWrite(controlLED, HIGH);
          }
          // Send a reply to the client
          if (c == '\n' && currentLineIsBlank) {
            // send a standard http response header
            client.println("HTTP/1.1 200 OK");
            client.println("Content-Type: text/html");
            client.println("Connection: close");  // the connection will be closed after completion of the response
            client.println();
            // Give the web page to the client
            client.println(webpage);
            client.println("");       
            break;
          }
          if (c == '\n') {
            // you're starting a new line
            currentLineIsBlank = true;
          } 
          else if (c != '\r') {
            // you've gotten a character on the current line
            currentLineIsBlank = false;
          }
        }
      }    
      // give the web browser time to receive the data
      delay(100);
      // close the connection
      client.close();
      Serial.println("Client disconnected");
      req="";
    }    
  }
}

/**************************************************************************/
/*!
    @brief  Tries to read the IP address and other connection details
*/
/**************************************************************************/
bool displayConnectionDetails(void)
{
  uint32_t ipAddress, netmask, gateway, dhcpserv, dnsserv;
  
  if(!cc3000.getIPAddress(&ipAddress, &netmask, &gateway, &dhcpserv, &dnsserv))
  {
    Serial.println(F("Unable to retrieve the IP Address!\r\n"));
    return false;
  }
  else
  {
    Serial.print(F("\nIP Addr: ")); cc3000.printIPdotsRev(ipAddress);
    Serial.print(F("\nNetmask: ")); cc3000.printIPdotsRev(netmask);
    Serial.print(F("\nGateway: ")); cc3000.printIPdotsRev(gateway);
    Serial.print(F("\nDHCPsrv: ")); cc3000.printIPdotsRev(dhcpserv);
    Serial.print(F("\nDNSserv: ")); cc3000.printIPdotsRev(dnsserv);
    Serial.println();
    return true;
  }
}
 
Pa tambay po dito. Nag DL ako ng Up and Running with Arduino, mag aaral palang kasi ako.
 
Back
Top Bottom