Balik tayo dito sa tanong mo.Yes, of course, isasama mo ang pag configure ng Zigbee sa program ng Arduino (Gizduino). You edit the program using the Arduino IDE, compile and download it to the Arduino.Sa serial interface ng Arduino to the Zigbee ipapadala ang command. Magyayari yan pag pinogram mo si Arduino. I assume marunong ka mag program ng Arduino. Anung commands i-send ni Arduino kay Zigbee? Ang sagot binigay ni Born2BeWired.And finally follow this advice.
Pero may tanong pa po ako. San ko po ba ilalagay yung sinabi ni Born2BeWired?Sa loob po ba ng loop? or sa Setup?
Ano po ba yugn serial Interface?
Tapos ano po ba yung wait about 0.5s?
^make it sure na may "carriage return" (0x13) ka for every command
Try the following setup sequence. With the zigbee in command mode:zigbee slave1. AT+RESET<CR>2. wait about 0.5s3. AT+FLOWCONTROL=0<CR>4. wait at least 0.1sadditional step for zigbee master only5. AT+ROLE=0<CR>Note: <CR> - carriage returnThe zigbee pair should now work as wireless UART cable replacement upon exiting the command mode. Di mo na kailangan baguhin yung ibang parameters kung isang zigbee pair lang ang gamit ng system mo.
^kindly review it once againano ba ginawa mo?Serial.print("AT+RESET<CR>");orSerial.print("AT+RESET\r");orSerial.print("AT+RESET");Serial.print("\r");
^ay grabe... ano ba laman ng "data" variable na yan?try this format;Serial.print("AT+RESET\r");delayanother commanddelay......
Tapos may switch yung zigbee shield. Yung isa po USB nakalagay tapos yung isa walang label. Siguro Power or Zigbee yun.Ano po ba ang ioon ko dun kapag mag cocompile ng program saka pag itetesting yung device?
YUng data po ay yung temperature measurement ko na nakukuha ko sa LM35.Bali pano ko po masesend yung data na yun??
try to make a program to display the temperature reading on PC using your arduino.kapag nagawa mo na yan, masasagot mo na yang tanong mo.