Pages: 1 ... 31 32 [33]   Go Down
Author Topic: Feeling interest for a WiFi shield  (Read 21153 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@BrainBoy

here you could find more info -
http://asynclabs.com/wiki/index.php?title=AsyncLabsWiki
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Has anyone tried this code out?

Admittedly I know next to nothing about programming but when I try to plop it in my code I get compile errors about zg_init() etc being out of scope.

Quote
To soft reset the WiShield, you can use the following function and call it whenever you want to reset the WiShield and cause it to reconnect to the AP. This piece of code blocks until the WiShield reconnects to the AP.

Code:

void wishield_reset()
{
  // setup initial state
  zg_init();

  // setup the interrupt pin
  attachInterrupt(0, zg_isr, LOW);

  // loop here until connection established
  while(zg_get_conn_state() != 1) {
    zg_drv_process();
  }
}
 


My code:

Code:
int conn_state; // This variable will be used to hold connection state of WiShield to APz

 // This function generates a tweet with the current temperature and humidity
void currentTemp() {
   WiServer.print("[");
   WiServer.printTime(millis()); // Append time Arduino has been running - gets around duplicate tweet filtering
   WiServer.print("] ");
   WiServer.print("Humidor temp and humidity is: ");
   WiServer.print(temp_c);
   WiServer.print(" C and ");
   WiServer.print(humidity);
   WiServer.print("%");
 }
 
 void wishield_reset()
{
  // setup initial state
  zg_init();

  // setup the interrupt pin
  attachInterrupt(0, zg_isr, LOW);

  // loop here until connection established
  while(zg_get_conn_state() != 1) {
    zg_drv_process();
  }
}


TWEETrequest sentMyTweet(auth, currentTemp);


//MsTimer2 12 hour timer ISR
void timerISR()
{
   intTimer = true;  // When this ISR is run the flag is set for another email to be sent
}

void setup()
{
   Serial.begin(57600);

   WiServer.init(NULL);
   WiServer.enableVerboseMode(false);
   //set up WiServer to allow this app to do socket send/recv outside of
   //WiServer to enable SMTP email send
   WiServer.setSockFunc(socket_app_appcall, 25);

   //set up global state data
   intTimer = true;

   //setup the timerISR to be called every 12 hours
   MsTimer2::set(emailTimer, timerISR);
   MsTimer2::start();
  
}

void loop()
{
  
  
  if (tweet == 0) // Tweets once at inital startup.  Next tweet won't happen for <intervalTweet>
  {
    ++tweet; // Increment initial tweet count
    Serial.println("Tweeting...");
    sentMyTweet.submit();
  }
    
  if (millis() - previousMillis > intervalHum)
  {
    previousMillis = millis();
    temp_c = sht1x.readTemperatureC();
    humidity = sht1x.readHumidity();
    conn_state=zg_get_conn_state();
    Serial.println(conn_state);
  }  
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

FYI -
Asynclabs has cyber-week discount on going, with free shipping.
Read their front page for more detail.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Some of my customers are readers here, so i just want to introduce our PCB and prototype here. Wish could help u on the development of new products.

We are professional PCB and prototype suppliers with certification of ISO9001, ISo14001, UL, TS16949 and Rohs. Our standard is IPC class 2.

our double-sided PCB can be finished in 4-7 days. Delivery time to Europe, like espan, is about 4 days.

As for quick turn prototype for new product, it can be completed in 48 hours.


We will arrange production based on customers' gerber file.

our company web is www.super-well.com (have multi country language selection)

our cooperation Ebay shop is http://stores.ebay.com/vroom

my msn is amyhu86755@hotmail.com, welcome to receive ur inquiry.

For the past decades, buyers in the US, Europe, South Amercia and Asia have always been using Superwell PCB and PCBA services in their products.

Why they choose us?

Professional Technology        High Efficience  
One-Stop Service                      Fair Price  
 
We can offer:
HDI PCB (4 -16 layers)
Multi-layer PCB (10 -40 layers)
Quick Turn Prototype
Multi-type and small-batch PCB
Microwave PCB
Heavy Copper PCB
Customer Special Required PCB
PCBA






Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Almost a year passed after we introduced the wishield. Now it is
time for something new -

[size=18]Widuino (BlackWidow)  -  a combo of arduino atmega328 and wishield[/size]


[size=18]Widuino Mini (YellowJacket) - a small factor of widuino[/size]



[size=16]The price is $75 for BlackWidow and $55 for YellowJacket. Please
do let us know your thoughts.[/size]
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

[size=14]wishield v2 is coming - it has 16Mbits flash on board! more detail at  asynclabs.com. [/size]

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello!

Will international shipping be available?
Im from Portugal and Im interested in WiShield.

Looking forward to see its 2nd version smiley
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

All new products are available now.(ship to world-wide)

widuino
wifi arduino mini
wishield 2.0 with 16Mbits flash
flashshield

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1266813017
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

[size=16]wishield with external low profile antenna -[/size]




[size=16]asynclabs.com[/size]
Logged

Pages: 1 ... 31 32 [33]   Go Up
Jump to: