Forum Replies Created
-
AuthorPosts
-
September 27, 2016 at 6:42 am in reply to: How to design a variable frequency drive for solar pumps #14170nileshParticipant
Hi,
Buy toshiba/siemens etc VFD drive. There are some commands which work on modbus.As per vfd drive there are some changes.you need to measure the output voltage from panel and as per output voltege send the command to VFD so it change the voltage as per solar radiation.
nileshParticipantHi,
It will work.You need to make 1st microcontroller as a Zigbee cordinator and other 2 are zigbee router then its going to work.
nileshParticipantHi,
There are some redy fatfs driver are available in PIC .Select the microcontroller for which microchip give the sd card driver.
nileshParticipantHi,
Which PIC32 you are using?In general GSM module work on AT commands.For the interfacing of the GSM and PIC microcontroller you need to write UART receive Interrupt code.
sample here
void UART1Handler (void) __irq{char TEMP = 0;TEMP = U1IIR;if(TEMP & 0x04){while(U1LSR & 0x01){TEMP = U1RBR;Buffer[Count] = TEMP;Count++;if ( Count >= BUFSIZE ) Count = 0;}}MSSG[6] = MSSG[5];MSSG[5] = MSSG[4];MSSG[4] =MSSG[3];MSSG[3] = MSSG[2];MSSG[2] = MSSG[1];MSSG[1] = MSSG[0];MSSG[0] = TEMP;if(TEMP == '>')GTR = 1;if((MSSG[1] == 'O') && (MSSG[0] == 'K')) I_OK = 1;if((MSSG[1] == 'I') && (MSSG[0] == 'P')) I_IP = 1;if((MSSG[4] == 'E') && (MSSG[3] == 'R')&& (MSSG[2] == 'R')&& (MSSG[1] == 'O')&& (MSSG[0] == 'R')) ERR = 1;if((MSSG[6] == 'C') && (MSSG[5] == 'O')&& (MSSG[4] == 'N')&& (MSSG[3] == 'N')&& (MSSG[2] == 'E')&& (MSSG[1] == 'C')&& (MSSG[0] == 'T')) CNT = 1;if((MSSG[5] == '2')&& (MSSG[4] == '0')&& (MSSG[3] == '0')&& (MSSG[2] == ' ')&& (MSSG[1] == 'O')&& (MSSG[0] == 'K')) S_200 = 1;if((MSSG[5] == 'W')&& (MSSG[4] == '!')&& (MSSG[3] == 'B')&& (MSSG[2] == '@')&& (MSSG[1] == 'E')&& (MSSG[0] == '#')) flag = 1;if((MSSG[5] == 'A')&& (MSSG[4] == 'R')&& (MSSG[3] == 'R')&& (MSSG[2] == 'I')&& (MSSG[1] == 'E')&& (MSSG[0] == 'R')) NCRR = 1;if((MSSG[3] == 'R')&& (MSSG[2] == 'I')&& (MSSG[1] == 'N')&& (MSSG[0] == 'G')) Ring = 1;if((MSSG[3] == '+')&& (MSSG[2] == 'C')&& (MSSG[1] == 'M')&& (MSSG[0] == 'T')){smsrcv = 1;Count = 0;}VICVectAddr = 0;}nileshParticipantHi,
Which microcontroller you are using?I think you need to add GSM modem for with the microcontroller and send the data on the cloud.I already done it several times.If you going to use GSM you need to set apn and server name and port for the TCP/IP.
nileshParticipantHi,
Can you tell me which interface you are going use for the external memory?(e.g I2C/spi)Can you tell which eternal memory you are going to use (SD card or eeprom).
nileshParticipantHi,
Please go through this link (http://www.engineersgarage.com/contribution/home-automation-system-using-gsm-and-arduino?page=3).
nileshParticipantHi ,
Are you check with the baudrate?Send 2 or 3 AT if you receive OK then go for next cheking.Also check for the voltage because sometimes controller and modem are working on different voltages.
nileshParticipantHi,
Which type of audio you want to play simple buzzer or what?There are some audio IC are available in the market with the help of those IC you can generate the audio.
April 1, 2016 at 9:58 am in reply to: how to read the received message/number from microcontroller #13834nileshParticipantHi,You need to write some code .I hope you successfully interface UART and modem.When you receive the msg on GSM collect the data in the buffer and at the end of the msg you will get +CMT. check +CMT and set the flag. I am going to write some rough logic.if((MSSG[3] == '+')&& (MSSG[2] == 'C')&& (MSSG[1] == 'M')&& (MSSG[0] == 'T')){sms_rcv = 1;}if(sms_rcv){sms_rcv = 0;delayMs(1000);parse_msg(); // here check the buffer in which you received the data.and send it on LCDdel_sms();}nileshParticipantHi,
I think you want to made rolling display(generally we saw on buses) which upgrade the msg from GSM.For that you need to implement led circuit using shift register.
nileshParticipantHi,
Which GSm module you are using?Had you tried to connect the gsm modem to PC uart and then the send and receive the msg by using AT commands?
nileshParticipantHi,
which interface you are going to use for the RFID tag?(E.g.Uart ,SPI).CMSIS library for the lpc17xx are available on LPCWARE.So you can get most of the driver there.
nileshParticipanthi,
Download the flash magic.
nileshParticipantHi,
Made a datalogger system which measure the temperature,voltage,current etc and send the data on the server by GPRS.
-
AuthorPosts