Jump to content
43oh

umesh

Members
  • Content Count

    26
  • Joined

  • Last visited

Everything posted by umesh

  1. Hello friends I have taken the code from this link: https://hackaday.io/project/5626/logs Here very nice explanation is given about esp8266 and arduino. I am trying it with ESP8266 and MSP430g2553 using energia. But i am stuck at ERROR 13 that means all AT commands are working properly but when it try to connect to plot.ly server then at this stage error is coming The code is giving error 13 that means it has not getting response as '~' (as per the code) So anybody knows what type of error this is?? please go through below code and reply me. #define ssid "friends" #defin
  2. Hello yosh I tried by connecting ESP to Hardware UART as per you suggest and i use software UART for debugging. The code is as follows: #include <SoftwareSerial.h> SoftwareSerial dbgSerial(5,6); // make RX MSP line is pin 5, make TX MSP line is pin 6. // This means that you need to connect the TX line from the esp to the MSP's pin 5 // and the RX line from the esp to the MSP's pin 6 void setup() { Serial.begin(115200); dbgSerial.begin(9600); // your esp's baud rate might be different } void loop() { if(Serial.avai
  3. Hello everybody, Now i am able to communicate MSP430G2553 with ESP8266 and ESP8266 is giving response for AT commands.I am using software UART to communicate with ESP and hardware UART for debugging. So unfortunately it is printing garbage characters. I think it can be the problem of baud rate mismatch. ESP8266 default baud rate is 115200 and software UART is supports upto 9600. The code for checking AT command response taken from internet is as follows: #include <SoftwareSerial.h> SoftwareSerial esp8266(5,6); // make RX msp430g2553 line is pin 5, make TX msp430g2553 line is pin 6
  4. Hello everybody, I have solved the power supply problem for ESP8266. I have given 3.3V 500mA power externally to esp8266. But now i facing the problem to communicate msp430g2553 with esp8266. I made the connections as follows: Tx of ESP to Rx of Launchpad Rx of ESP to Tx of Launchpad VCC to Vcc Gnd to Gnd CH_PD to 3.3V GPIO0 to 3.3 V and i uploaded blank sketch i.e. Bare minimum from example, but i didn't get any response for AT commands. What should i make changes in order to get proper response. When i reset the esp then garbage value is shown on serial monitor. I have checked by chan
  5. Hello, Whether we have to add some libraries of ESP8266 to the energia or not? if yes then which are those? When i using above code then it compiles and loaded finely but not giving response. It prints AT+RST on serial monitor.
  6. i got the code from below link and they said that code working finely with no bugs. http://forum.43oh.com/topic/5903-esp8266-iot-on-the-cheap/ They didn't mention any power related issue. So really can it be only power supply issue? or baud rate mismatch? I update the esp8266 firmware also to operate with Arduino board
  7. Yes i tried connecting esp directly to pc and its working fine. I was able to send data to browser without any problem. But it is not working with MSP430 launchpad. Now i will try by giving sufficient power to esp8266.
  8. Hello I am trying to send data to browser using wifi module ESP8266 with MSP430G2553 launchpad. ESP8266 work on 3.3V and MSP430G2553 also. So here i connected ESP8266 directly to the launchpad. connections are- Tx of ESP to Rx of Launchpad Rx of ESP to Tx of Launchpad VCC to Vcc Gnd to Gnd CH_PD to 3.3V and i got code for energia from this forum only. code is as follows #define SSID "friends" #define PASS "walchand" #define DST_IP "things.ubidots.com" #define idvariable "569fc4ba76254229c49896a6" // replace with your Ubidots Variable
  9. ok thank you i tried the above code and it working fine.. i am doing the project of smart sensor data acquisition module for acoustic emission sensor with wireless communication. I want to make my module smart by adding various features like temperature compensation, self-calibration, input detection, webpage access, Plug n play etc. and other also can be included. i don't know much about tm4c1294 connected launchpad. So how many features are there and what can we do with this launchpad to make my data acquisition system smart. Please give me some ideas and suggest me some examples of
  10. can anybody give me working code in energia for internal temperature sensor for tm4c1294 connected launchpad.
  11. Another thing is i want to send data using bluetooth through UART. I tried for it but it won't work properly. I did it correctly on MSP430G2553 Launchpad but it was not working on TM4C1294 connected launchpad. is there any extra setting required due to more no of UART and multi function pins?? Plz tell me how to do in Energia.. Thanks..
  12. Hello everyone, i want to use TM4C1294 connected launchpad and Energia software for programming. In datasheet it is given that operating frequency is 120MHZ. So how to set it to 120MHz. and how much is by default frequency? Another problem is that i want to handle analog signal up to 40 KHz with the same board. It is having 2 msps sampling rate. So with Energia environment; how much maximum sampling rate can we achieve practically? Please tell me how to change operating frequency using energia code. thanks in advance...
  13. Actually when value is above threshold, it reads 3 readings but for frequency greater than 3 KHz these readings showing value less than threshold value. So i cant get the peak value. I want maximum value at least equal to threshold but sometimes it is showing less than threshold. How to store adc readings in buffer?? i think if somehow i able to store these reading then by comparing with threshold i could get the max value.
  14. Hi everybody I am doing small task of finding peak value of triangular wave. I am using MSP430G2553 launchpad with Energia software. I am reading value simply using analogRead() function. ADC is having 200ksps sampling rate. When i applied 3KHz wave then result is ok but above this frequency it is showing wrong result. My code is as follows. I set a threshold as per my application and reading three values using for loop and finding the maximum from that. But for higher frequencies when i read 3 values then it passes the threshold value and my maximum is coming less than threshold value.
  15. if i put only void function(void) still it is getting error as Average_New.cpp: In function 'void setup()': Average_New.cpp:9:35: error: expected primary-expression before void
  16. if i put only function name: attachInterrupt(PUSH2, calibrate, FALLING); then it is showing this error: Average_New.cpp: In function 'void setup()': Average_New.cpp:9:43: error: invalid conversion from 'void (*)(int)' to 'void (*)()' [-fpermissive] C:\ti\energia-0101E0016-windows\energia-0101E0016\hardware\msp430\cores\msp430/Energia.h:212:6: error: initializing argument 2 of 'void attachInterrupt(uint8_t, void (*)(), int)' [-fpermissive]
  17. hi i am getting the error as Average_New.cpp: In function 'void setup()': Average_New.cpp:9:35: error: expected primary-expression before 'int' the code is as follows: void setup() { Serial.begin(9600); pinMode(GREEN_LED, OUTPUT); pinMode(RED_LED, OUTPUT); pinMode(PUSH2, INPUT_PULLUP); attachInterrupt(PUSH2, calibrate(int maxvalue), FALLING); } void calibrate(int maxValue) { if(maxValue<threshold) maxValue=threshold; } how to solve this problem?? what is mean by primary expression?
  18. ok no problem thank you very much i checked my launchpad com port its working properly . but i don't know about PLX-DAQ setting. Please see and inform me thank you.
  19. thank you for your reply i tried for PLX-DAQ but it is showing problem as "StampDAQ could not connect please check the port setting" what is this problem and how it can be resolved? what changes have to made in port setting?
  20. Hello everybody, I am using MSP430G2553 launchpad and i want to export the data from serial monitor to excel sheet. I know about arduino board, in that case we can send data to excel using PLX-DAQ software. Is there any similar kind of software which support for energia? or can PLX-DAQ support energia? plz suggest me the solution thankx
×
×
  • Create New...