Search the Community

Showing results for tags 'arduino'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 5 results

  1. Im trying to use my PT100 with an Arduino-based PLC from Industrial Shields, which is basically an Arduino Mega encased in a plastic container. Im using a 250Ω resistor, actually 237Ω resistor between Analog and Ground.  Here is my setup: Here is my code: int sensorValue = 0; int temperature = 0; int ReceivedByte = 0; float f1 = 0; float t1 = 0; void setup() {   Serial.begin(9600);   Serial.println("hi..."); } void loop() {   delay(1000);   sensorValue = analogRead(A2);   Serial.println(sensorValue);   temperature=map(sensorValue,639,719,0,110);   f1 = temperature; // Float conversion   Serial.print(f1);   Serial.print("\n"); } These are my results for room temperature: I got the values from an online pt100 table for resistance and tabulated them from 0-110C in 10 deg increments and for the corresponding resistance using: nADC = 1023 * ( 237Ω/(237Ω+Rpt100)) Its not working because im getting values of ~300 for room temp which is well below this range, but since its not constrained (the map function).  What should I do? Thanks
  2. Can we interface the arduino sensors like HC-SR04 an ultrasonic sensor that gives a PWM as output.Can it be read on PLC by any means ? How we can read the Discrete values of Ultrasnonic sensor on PLC ? any one who knows Kindly guide I'm working on Fatek PLC FBs 24 MAR-AC 
  3. Open source PLC

    Dear friends,   I'm a Ph.D. student at the University of Alabama in Huntsville, and my research topic is SCADA cyber security. My goal is to find vulnerabilities in PLCs and try to fix them. However, its really hard to study something deep when you don't have the source code. Therefore, due to the lack of open source tools available in this field, I decided to create my own open source PLC. Then I realized that this could be useful for other researchers and professionals in the field, so I'm here sharing it with everyone.   The OpenPLC is a complete package with an editor and a compiler. The editor runs in Windows, Linux and MacOS and supports all the 5 IEC 61131-3 languages: ST, IL, LADDER, FBD and SFC. The compiler is responsible for getting the program written by the user and compile it to the platform in which the OpenPLC is running.   The OpenPLC currently runs on Raspberry Pi, Arduino, UniPi and also as a soft-PLC on Windows or Linux. If you guys have any of the mentioned boards laying down somewhere, it might be interesting to give the OpenPLC a try. More information can be found at the project's website:   Let me know if you have any comments.     Thanks,   Thiago Alves 
  4. Version 1.0.0


    Temperature measurement usind Arduino Nano, RTD PT100 sensor,  4-20 mA current loop transmiter, and a python app for visualization
  5. View File Temperature measurement using Arduino Nano, RTD PT100 temperature sensor and 4-20 mA transmitter Temperature measurement usind Arduino Nano, RTD PT100 sensor,  4-20 mA current loop transmiter, and a python app for visualization Submitter Absolutelyautomation Submitted 04/01/16 Category Other PLC Demo Software