Jump to content
43oh

khm

Members
  • Content Count

    21
  • Joined

  • Last visited

About khm

  • Rank
    Member

Recent Profile Visitors

1,111 profile views
  1. I am building a code to control a heater with a PWM output connected to an SSR using the Arduino-PID-AutoTune-Library. There are two issues I am currently facing with the above library while using the normal mode(not simulating but using actual analog input of a thermocouple) of operation. https://github.com/br3ttb/Arduino-PID-AutoTune-Library 1> The temperature overshoots when I start the operation. I tried several values for the constants(kp=2,ki=0.5,kd=2; kp=1,ki=0.8,kd=0.8; kp=1,ki=0.5,kd=0 etc), but still the temperature overshoots by a significant amount. For eg, if the
  2. @nonecesario Were you successful with Modbus RTU over TCP/IP using TIVA launchpad and energia? We are trying the same project and have stuck up at the same point with above problems. Can you please help us? Thanks, KHM
  3. Hi, I am trying to implement Modbus RTU slave over TCP/IP using TIVA Tm4c1294 connected launchpad. The code has been successfully tested using Arduino. However, when I use the same code in energia, the launchpad gets pinged, but Modbus RTU does not work . Is there any library, hardware configuration which I need to change while migrating fro Arduino to TIVA? MgsModbus_test_Slave.rar
  4. Hi, Is there a ready library for PID control available for MSP430F5438A or G2553 controllers. Please help if an example is available for the same. Thanks, Tanmay
  5. @@Rei Vilo Please Reply
  6. Hi, I am using the web client demo to send an HTTP GET request to a web server to read the data in json format. However the web server returns an error code 301 page moved error. How do I redirect my request to the new location? Does the ethernet library for TIVA support SSL HTTP GET requests?
  7. 0down votefavorite Hi, I am trying to implement Modbus TCP on TIVA 1294 using the following code. I am using a modbus slave simulator on a pc to check the following code. However, the code doesn't seem to be working. I have downloaded the code & the libraries fromhttp://myarduinoprojects.com/modbus.html. Please suggest me corrections if necessary. Also is there another working example available for modbus tcp/ip for ethernet on TIVA energia? Please guide. #include <SPI.h> #include <Ethernet.h> #include "MgsModbus.h" MgsModbus Mb; int inByte = 0; // incoming seri
  8. Hi, I want to implement a code for Modbus RTU over TCP/IP usng TM4C1294NCPDT launchpad. Does anyone know a library which can be used to implement it. Also is it possible to obtain data from a PLC using modbus TCP/IP and send it to a Server on cloud using the same ethernet port? Please help. Thanks.
  9. Hi , I have written a code for ethernet client using TM4c1294NCPDT launchpad and I am sending data to a server at api.pushingbox.com. The code sends data to the server after every 15 seconds, It works all the time, however sometimes suddenly the ethernet data transfer hangs, the microcontroller does not hang. Below is the void loop() I have used.Please help. void loop(){ kemasData(); //packing GET query with data Serial.println("connecting..."); if (client.connect(server, 80)) { sendData(); // koneksi = true; //connected = true u.count++; Serial.println(
  10. How do I calculate the timing for watchdog reset?
  11. How do I calculate the timing for watchdog reset? @@energia
  12. Its unclear as to what I have to comment exactly in the above part. Or can you just paste the code which I need to use to implement the RTC in TM4c1294NCPDT? Thanks.
  13. Line 43 contains include "Wiring.h". Where do I specify the MCU?@@Rei Vilo
  14. I have added the RTC library in Energia under hardware/lm4f/libraries, but I am getting the following error when I compile the example code for MSP432 . I have selected the TM4C1294ncpdt board for this code. What changes and where are to be implemented if any? [D:\Installer\energia-0101E0016\hardware\tools\lm4f\bin\arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=120000000L, -MMD, -DARDUINO=101, -DENERGIA=16, -ID:\Installer\energia-0101E0016\ha
  15. Hey, Thanks a lot for your prompt reply. Site looks helpful.Would go through it. -Khm
×
×
  • Create New...