Jump to content

All Activity

This stream auto-updates

  1. Earlier
  2. I connect pin 1 to +5V and pin 2 to the I/O port P1.0 of the microcontroller. Why no matter whether the value of P1.0 is 1 or 0, pins 3 and 4 of the optocoupler are not connected (measured by a multimeter)?
  3. Hi, there. Use the 25 MHz reference frequency that comes with the ADF4351 evaluation board, and the output frequency is 1422 MHz. The parameter design is shown in the figure below: Using the output frequency of the spectrum analyzer, Span is set to 100 Hz, VBW and RBW are automatically set, and the frequency is found to randomly jump within a range of tens of Hz near 1422 MHz. Excuse me, what is the frequency resolution of the ADF4351? Can the ADF4355-3 solve the problem? Thanks for the answer.
  4. Hello, everyone. I want to ask If the supply voltage of CD40106 is 12V, can the signal input voltage of CD40106 be 14V? Thanks in advance.
  5. The difference between RS3000-AP and RS3000 is given bolow, and there is a article introducing more about RS3000-AP, you can learn more from here: https://www.utmel.com/components/rs3000-ap-rectifier-diode-features-alternatives-comparison?id=263 Good Listening!
  6. Hi, guys,KAKU here! The block diagram of CC1000-RTB1 is shown below. It seems complicated. So... what is it used for? Thanks in advanced!
  7. This is an OPAMP - Operation Amplifier and can be used in various circuits. Do you have any schematic of board view ?
  8. What does OP27G used for? I saw it on a control card, but I don't know what's the function of it, who can tell me? Thanks in advance.
  9. Another comparison article of NE5532, hope it helps. https://www.apogeeweb.net/circuitry/NE5532-comparisons.html
  10. The most comprehensive comparison article of L293D and its similar models i could find on the internet, it's useful to me, hope it's helpful to guys as well. https://www.apogeeweb.net/circuitry/l293d-comparisons.html
  11. See you can learn most of the topics on Electrical and electronics here
  12. In this article, we have produced 7 simple 2N3904 circuits for electronic enthusiasts. These circuit diagrams are essentially beginner-friendly types. Hope the circuit diagrams are helpful to you.😀 Source: Apogeeweb Semiconductor Electronic 2N3904 Circuit Circuit 1: Thermostat controller composed of LM75 intelligent temperature sensor and 2N3904 transistor. Circuit 2 Circuit 3 Circuit 4 Circuit 5 Circuit 6: 2N3904 Sample Circuit-Amplifier Circuit 7:How to design a 13.56mhz sine wave power amplifier circuit with 2N3904
  13. Hey guys, this is Bob. Just saw this dope project and im trying to make a temperature measurement device follow this article, seems kinda complicated at first sight but im decided to give it a go lol https://www.apogeeweb.net/circuitry/AD590-temperature-sensor.html
  14. Hey guys, this is Bob, in today's blog we'll discuss the difference between 1N4148, 1N4007, 1N5819. I. Brief Introduction to 1N4148, 1N4007, 1N5819 1N4148 is a fast switching diode. It is fabricated in planar technology, and encapsulated in hermetically sealed leaded glass SOD27 (DO-35) packages. 1n4007 is a PN junction rectifier diode. These types of diodes allow only the flow of electrical current in one direction only. So, it can be used for the conversion of AC power to DC. 1N5819 is a Schottky diode with 2 pins, a peak current of 25A, and an operating temperature range of -65°C~ +125°C. It is commonly used in high frequency applications like Inverters, DC-DC converters etc. II. 1N4148 vs 1N4007 General difference 1. 1N4148 and 1N4007 can be replaced with each other in case of general small current (below 100mA, reverse voltage below 100V) and unimportant occasions. 2. 1N4148 is a small current switch tube, with a voltage resistance of 100V. 3. 1N4007 is a rectifier tube, 1A-1000V. There are many types of substitute models. Application difference Generally speaking, we mostly use 1n4148 when using freewheeling diodes; Since it is a freewheeling diode, it is generally used on inductive loads, such as: buzzer, relay; Several factors we have to consider are: 1. How fast is the freewheeling diode? Just take an appropriate value; for example, MS level, US level, NS level? 2. What is the current of the freewheeling diode? Look at the DS manual, don't burn it out. 3. How high is the voltage of the freewheeling diode? Look at the DS manual, don't break it. Conclusion 1N4148: 100V reverse withstand voltage and 150mA average forward current, very suitable for ordinary rectification in general occasions. The reverse recovery time of 4nS is sufficient for most occasions. 1N4007: Maximum forward average rectified current, 1A maximum reverse withstand voltage, 1000V low reverse leakage current, 5uA (maximum) forward voltage drop, 1.0V maximum reverse peak current, 30uA, reverse recovery time 30us; 1N4148: Generally, IN4148 is used in weak current inductive loads, such as buzzer and other small current inductive loads; 1N4007: Generally used in large current loads, such as industrial load (relay), power supply load; The biggest difference between them is the current, voltage, and response speed. In a sense, 1N4007 can replace 1N4148, as long as the response speed is not too demanding, 1N4148 is destined to be used only on weak current low-current inductive loads. III. 1N4148 vs 1N5819 High frequency, low voltage, and high current characteristics are the differences between 1N5819 diodes and ordinary diodes. It is widely used in switching power supplies, frequency converters, drivers and other circuits for high frequency, low voltage, high current rectification, freewheeling, and diode protection. 1N5819 is characterized by ultra-fast speed (low switching loss), extremely low forward voltage drop (low voltage loss), but also low reverse withstand voltage, usually less than 60V, suitable for low-voltage (no higher than 12V) switching power supply. Another use of 1N5819 diode is to use its reverse characteristic to stabilize voltage. Therefore, when the withstand voltage is low and the current is not large, you can consider using a Zener tube instead. 1N4148 is a point contact type low current high frequency switching diode with high speed, but the working current is only 150mA, which is widely used in circuits with higher signal frequencies. The reverse leakage of 1N5819 tube is relatively large, but it has the characteristics of small capacitance and high speed. But it is not as fast as 1N4148, after all, the purpose of 1N4148 is high frequency detection, not rectification.
  15. UC3842 is a fixed frequency current-mode PWM controller. This IC is specially designed for Off-Line and DC to DC converter applications with minimum external components. In the blog today, we'll have a further discussion about the application of UC3842 in the boost conversion circuit. Boost Conversion Circuit Overview Boost converters can reduce the output current and the capacitance and volume of the output filter capacitor under a certain output power, and are widely used in switching power supplies and electronic ballasts. Commonly used control methods are voltage feedback control and current feedback control. Current feedback control can force the inductor current to track the reference current signal, which has the advantage of fast response. When working in continuous current mode (CCM), the Boost converter needs to introduce multiple feedback methods. When working in discontinuous current mode (DCM), the converter automatically shapes the input current, and has a natural zero-current turn-on characteristic, requires a small inductance value, simple control, and is suitable for low-power applications. At present, there are many researches on the CCM mode of Boost conversion circuit, and many circuit models have been established, and gratifying research results have been obtained; the research on DCM mode is mainly DC/DC circuit, and the research on DCM mode in AC/DC circuit Very little. Based on the requirements of low-power switching power supply with low cost and high cost performance, this paper uses the universal UC3842 chip to design a Boost conversion circuit, analyzes the working characteristics and design points of the DCM mode, and simulates the rationality of the designed circuit verification. There are 2 circuit models of boost converter in DCM mode, named spectively as: Mathematical Model of DCM Working Mode and Working Conditions of DCM Mode. For detailed explanation to these two models>> DCM Circuit Design Based on UC3842 DCM Circuit Design Based on Adder The DCM-type Boost circuit includes two control loops, namely a voltage loop and a current loop. Its function is to eliminate the grid current spikes, so that the input current becomes a sinusoidal shape and is in phase with the input voltage. For a single switching cycle, the current in each switching cycle is required to be proportional to the input voltage. If for some reason the output voltage increases or the output current increases, the pulse width modulator will change the pulse width of the drive signal, that is, the duty cycle D, so that the average voltage or peak current after the chopping will decrease. So as to achieve the purpose of power factor correction. The DCM circuit schematic diagram based on the adder is shown in Figure below. The voltage outer loop uses an adder to replace the multiplier circuit. The feedback voltage on the grid side is used to ensure that the current signal is a sinusoidal signal, and the output feedback voltage is used to ensure that the output voltage is a constant value. The two are synthesized by the adder U2. The output signal is sent to the error amplifier in the UC3842 current loop, compared with a given reference voltage, and the comparison result is sent to the current measurement comparator. The peak current signal L(t) of the inductor in the main circuit is sent to the current measuring comparator at the same time, the comparison result of the two is sent to the R input of the RS latch in the PWM, the clock signal output by the internal oscillating circuit is sent to the S input end of the RS latch in the PWM, which works together to control the opening and closing of the switch tube M1. The follow-up simulation and analysis of DCM mode circuit>> Conclusion This text summarizes the Boost conversion circuit design scheme based on UC3842 chip. By analyzing the circuit of Boost converter in DCM mode, the circuit model of Boost converter in DCM mode is established, and the duty cycle change rule in this mode and the critical conditions for entering CCM mode from DCM mode are studied. Using the universal PWM modulator UC3842 chip, a Boost conversion circuit based on the principle of addition is designed, and the correctness of the conclusions obtained is verified by simulation software. The circuit simulation results show that the designed DCM circuit can meet the requirement of the inductor current to follow the voltage waveform completely and achieve the purpose of improving the power factor. This research provides design ideas for the development of low-cost low-power switching power supplies.
  16. Hello Everyone DrawBo is designed to draw and sketch any image you like. This is based on IOT and exploits the BLE features of nrf 52XXX series. Just upload the image onto DrawBo app and let it draw. It's artificial intelligence enables it to teach drawing in a unique step by step manner. DrawBo splits an image into various steps of simple lines and curves and then draws each step one by one. After drawing each step it, pauses for sometime. This enables the learner to grasp the knack easily. The attached images of drawing/sketches might fascinate you. Have a look DrawBo splits the image of mickey into different steps. Drawing of Mickey Sketch of a dog drawn by DrawBo Hope you might like this idea of sketching and teaching drawing. Looking forward for your views (or suggestions).Any comments or critiques are welcomed. Regards Ethan
  17. Story Global warming has lead to unpredictable climates; researchers around the world are using weather stations to observe record and analyse weather patterns to study climate changes and provide weather forecasts. These Weather stations normally comprises of few sensor to measure environmental parameters and a monitoring or logging system to analyze these parameters. In this tutorial we will learn how to build such a wireless IoT based weather station which can measure critical environmental parameters like Temperature, Humidity and Pressure. Also since our weather station is IoT enabled, we can send these parameters to a ThingSpeak channel (IoT cloud) where we can store, analyse and access the data remotely. weather station using Raspberry Pi earlier, which is pretty much similar to this project. We will be using he Arduino board along with DHT11 sensor, BMP180 sensor and ESP8266 wifi module. The DHT11 sensor senses the temperature and humidity, while BMP180 sensor calculates the pressure and ESP8266 is used for internet connectivity. In our previous project, we already learnt to use the DHT11 sensor to monitor temperature and humidity with Arduino, here in this project, we are adding another sensor (BMP180) to make a complete weather station using Arduino. Sending these data to ThingSpeak enables live monitoring from anywhere in the world and we can also view the logged data which will be stored on their website and even graph it over time to analyze it. Components Required Arduino Uno ESP8266 Wi-Fi Shield DHT11 Sensor BMP180 Sensor Breadboard Jumper Wires Circuit Diagram The complete circuit for Arduino based IoT Weather Station is shown below. The DHT11 sensor is powered by the 5V pin of the Arduino and its data pin is connected to pin 5 for one wire communication. The BMP180 sensor is powered by the 3.3V pin of Arduino and its data pins SCL (Serial Clock) and SDA (Serial Data) are connected to A4 and A5 pin of Arduino for I2C communication. The ESP8266 module is also powered by the 3.3V pin of the Arduino and its Tx and Rx pins are connected to Digital pins 2 and 3 of Arduino for serial communication. You can use the below table as reference for making your connections. Setting up your ThingSpeak Channel ThingSpeak is an open data platform that allows you to aggregate, visualize, and analyze live data in the cloud. You can control your devices using ThingSpeak, you can send data to ThingSpeak from your devices, and even you can create instant visualizations of live data, and send alerts using web services like Twitter and Twilio. ThingSpeak has integrated support from the numerical computing software MATLAB. MATLAB allows ThingSpeak users to write and execute MATLAB code to perform preprocessing, visualizations, and analyses. ThingSpeak takes minimum of 15 seconds to update your readings. We have also done other interesting projects with ThingSpeak like NodeMCU Temperature and Humidity Monitoring ESP32 Temperature and Humidity Monitoring ThingSpeak is an open data platform that allows you to aggregate, visualize, and analyze live data in the cloud. You can control your devices using ThingSpeak, you can send data to ThingSpeak from your devices, and even you can create instant visualizations of live data, and send alerts using web services like Twitter and Twilio. ThingSpeak has integrated support from the numerical computing software MATLAB. MATLAB allows ThingSpeak users to write and execute MATLAB code to perform preprocessing, visualizations, and analyses. Step 1: ThingSpeak Account Setup To create channel on ThingSpeak first you need to Sign up on ThingSpeak. In case if you already have an account on ThingSpeak, sign in using your id and password. For creating your account go to www.thinspeak.com Click on Sing up if you don’t have an account and if you already have an account click on sign in. After clicking on signup fill your details. After this verify your E-mail id and click on continue. Step 2: Create a Channel for Your Data Once you Sign in after your account verification, Create a new channel by clicking the “New Channel” button After clicking on “New Channel,” enter the Name and Description of the data you want to upload on this channel. Enter the name of your data ‘Humidity’ in Field1, ‘Temp’ in Field2 and ‘Pressure’ in Field3. If you want to use more Fields you can check the box next to Field option and enter the name and description of your data. After this click on save channel button to save your details. Step 3: API Key To send data to ThingSpeak, we need a unique API key, which we will use later in our code to upload our sensor data to Thingspeak Website. Click on “API Keys” button to get your unique API key for uploading your sensor data. Now copy your “Write API Key.” We will use this API key in our code. Code Explanation Programming part plays a very important role to perform all the operations in a project. As usual complete code is given at the end. Start the code by including all the required libraries and defining all the variables. #include <WiFi.h> #include <DHT.h> #include <Wire.h> #include <SoftwareSerial.h> #include <stdlib.h> #include <SFE_BMP180.h> After this enter the WiFi name, password of your Wi-Fi router and then also enter the API key that you copied from the ThingSpeak channel. #define ssid "Enter Your WiFi Name Here " // "WiFi Name" #define pass "WiFi Password" // "Password" #define server = "api.thingspeak.com"; String apiKey ="Enter the API Key"; In void setup() function it connects with the Wi-Fi and starts the BMP180 and DHT11 sensor. void setup() { Wire.begin(); pressure.begin(); // enable debug serial Serial.begin(9600); delay(10); dht.begin(); Serial.begin(9600); Serial.println("AT"); delay(5000); if(Serial.find("OK")){ connectWiFi(); Using void Transmission() function we calculate the temperature, humidity and pressure using the BMP180 and DHT11 sensor. void Trsmission() { int8_t h = dht.readHumidity(); int16_t t = dht.readTemperature(TEMPTYPE); char status; double T,P,p0,a; status = pressure.startTemperature(); if (status != 0) { delay(status); status = pressure.getTemperature(T); if (status != 0) { status = pressure.startPressure(3); if (status != 0) { // Wait for the measurement to complete: delay(status); ……………………………………………………………….. ……………………………………………………………….. These commands are used to connect with ThingSpeak server and then print the temperature, humidity and pressure values in different fields. String cmd = "AT+CIPSTART=\"TCP\",\""; cmd += "184.106.153.149"; // api.thingspeak.com cmd += "\",80"; ser.println(cmd); if(ser.find("Error")){ Serial.println("AT+CIPSTART error"); return; ……………………………………. // prepare GET string String getStr = "GET /update?api_key="; getStr += apiKey; getStr +="&field1="; getStr += String(strTemp); getStr +="&field2="; getStr += String(strHumid); getStr +="&field3="; getStr += String(strPres); getStr += "\r\n\r\n"; Running the IoT Arduino Weather Station Now Connect the Arduino with the laptop and choose the board and port correctly and then click the Upload button. After uploading the code, open the serial monitor. Make the baud rate of serial monitor as 9600. You will see your Wi-Fi Id, password and temperature, humidity and pressure values on serial monitor. Now navigate to the ThingSpeak channel and check your channel, you will see the temperature, humidity and pressure values like shown in the below graphs. This is how you can build Arduino Weather Station where the temperature, humidity and pressure can be monitored from anywhere in world over the internet. PCB Design Analysis Software. NextDFM Nextdfm Software NextDFM is a PCB problem detector and engineering tool by NextPCB, one of the most professional PCB manufacturers in the world based in China. NextDFM is a simple software which can be learnt easily by a non regular PCB designer also. The UI created by them is very simple and PCB design analysis can be done in just a few clicks. Download Software Help you quickly familiarize DFM design specifications and production needs to determine whether there are any manufacturing constraints Schematics Circuit Code Code Arduino #include <WiFi.h> #include <DHT.h> #include <Wire.h> #include <SoftwareSerial.h> #include <stdlib.h> #include <SFE_BMP180.h> SFE_BMP180 pressure; #define DHTPIN 5 #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); #define TEMPTYPE 0 #define ALTITUDE 160 // Altitude from Bussero (MI) Italy #define ssid "Enter Your WiFi Name Here " // "WiFi Name" #define pass "WiFi Password" // "Password" #define server = "api.thingspeak.com"; String apiKey ="Enter the API Key"; char buffer[10]; char t_buffer[10]; char h_buffer[10]; char P_buffer[10]; SoftwareSerial ser(2, 3); // RX, TX void setup() { Wire.begin(); pressure.begin(); // enable debug serial Serial.begin(9600); Serial.println("AT"); delay(5000); if(Serial.find("OK")){ connectWiFi(); } void loop() { Trsmission(); // ESP8266 delay(60000); // 60 seconds } void Trsmission() { int8_t h = dht.readHumidity(); int16_t t = dht.readTemperature(TEMPTYPE); char status; double T,P,p0,a; status = pressure.startTemperature(); if (status != 0) { delay(status); status = pressure.getTemperature(T); if (status != 0) { status = pressure.startPressure(3); if (status != 0) { // Wait for the measurement to complete: delay(status); status = pressure.getPressure(P,T); if (status != 0) { p0 = pressure.sealevel(P,ALTITUDE); // we're at 1655 meters (Boulder, CO) a = pressure.altitude(P,p0); } else Serial.println("error retrieving pressure measurement\n"); } else Serial.println("error starting pressure measurement\n"); } else Serial.println("error retrieving temperature measurement\n"); } float temp = t; float humidity = h; float Pression = p0; String strTemp = dtostrf(temp, 4, 1, t_buffer); String strHumid = dtostrf(humidity, 4, 1, h_buffer); String strPres = dtostrf(Pression, 4, 2, P_buffer); Serial.print("Temperature: "); Serial.println(strTemp); Serial.print("Humidity: "); Serial.println(strHumid); Serial.print("Pression: "); Serial.println(strPres); String cmd = "AT+CIPSTART=\"TCP\",\""; cmd += "184.106.153.149"; // api.thingspeak.com cmd += "\",80"; ser.println(cmd); if(ser.find("Error")){ Serial.println("AT+CIPSTART error"); return; } if(ser.find("Error")){ Serial.println("AT+CIPSTART error"); return; } // prepare GET string String getStr = "GET /update?api_key="; getStr += apiKey; getStr +="&field1="; getStr += String(strTemp); getStr +="&field2="; getStr += String(strHumid); getStr +="&field3="; getStr += String(strPres); getStr += "\r\n\r\n"; // send data length cmd = "AT+CIPSEND="; cmd += String(getStr.length()); ser.println(cmd); //ser.print(getStr); if(ser.find(">")){ ser.print(getStr); } else{ ser.println("AT+CIPCLOSE"); // alert user Serial.println("AT+CIPCLOSE"); ser.println("AT+RST"); } char buffer[10] = ""; }
  18. Interface Arduino with Node-RED to monitor the Temperature and Humidity on a Webpage Node-RED is a visual tool for non-programmers to work with the Internet of Things, it can be used to build application fasters and reduce the “go to market” time for IoT products. Node-RED can be used to easily interface hardware devices, APIs, and other online services together in new and interesting ways. Node-RED is an open source IoT tool and has been implemented by the IBM Emerging Technology organization. It is written in JavaScript and works on the NodeJS platform. Node-RED operates on module based approach where predefined modules are connected graphically to perform the sequence of operations on Node-RED or in other words it directly accesses data from microcontroller boards like Arduino, Raspberry Pi using the predefined port no. or pin number. In this tutorial, we are going to send DHT11 sensor readings to Node-RED dashboard using Arduino. Similarly, we have also connected Arduino with ThingSpeak to design a weather station. For this tutorial we will focus only on Arduino and Node-RED. Throughout this tutorial, we will cover how to install and set-up Node-RED on windows. Then we will also design a dashboard on Node-RED and use different input, output and functions nodes to create a flow Components Required Hardware components Arduino Uno DHT11 Sensor Jumper Wires Software apps and online services Arduino IDE Node.js Node-RED Circuit Diagram The circuit diagram to interface DHT11 sensor with Arduino is shown below, the schematic was drawn using Fritzing software. The DHT11 is a popular 3-pin sensor that can measure temperature and humidity. The sensor works with one-wire protocol and is easy to use with development boards like Arduino. The Vcc pin of DHT11 is connected with Arduino’s 3.3v pin, and GND pin is connected with Arduino’s GND pin. While the data pin is connected with 2nd pin of Arduino. Once the connections are done my hardware looked like this As you can see I have used simple female to male connecting wires to make the connections. The complete set-up is powered by the USB port connected to my computer. We previously connected DHT11 with Arduino to build IOT weather Station. Code Explanation Complete program for Arduino Node-RED can be found at the end of this tutorial. Programming Arduino UNO for this project don’t require much effort as it only uses one library for DHT sensor. The Arduino board has to measure the temperature and humidity value from DHT11 sensor and send it out serially using COM port. This serial information will then be processed by the Node-RED. So start the programming by initializing the required libraries, Arduino pins and variables. #include <DHT.h> #define DHTPIN 2 // what pin we're connected to #define DHTTYPE DHT11 // DHT 11 (AM2302) DHT dht(DHTPIN, DHTTYPE); //Variables int chk; float hum; //Stores humidity value float temp; //Stores temp String function is used to convert the float variables into string. Here the variable temperature and humidity is converted into string. String hum1; String temp1; In void loop() dht11 sensor calculates the temperature and humidity values and store them into temp and hum variable respectively. Serial print is used to print the temperature and humidity values on serial monitor. void loop() { //Read data and store it to variables hum and temp hum = dht.readHumidity(); temp= dht.readTemperature(); hum1 = String(hum); temp1 = String(temp); //Print temp and humidity values to serial monitor // Serial.print("Humidity: "); Serial.print(hum1); Serial.print(","); Serial.print(temp1); // Serial.println(" Celsius"); delay(2000); //Delay 2 sec. } Connect the Arduino with the laptop and choose the board and port correctly and then click the Upload button. After uploading the code, open the serial monitor. Make the baud rate of serial monitor as 9600. Setting up Node-RED 1. Install Node.js Download the latest version of Node.js from the official Node.js home page. At the time of writing this tutorial the available version was 10.16.0. After downloading run the downloaded MSI file and install Node.js in the default path. Once installed, open a command prompt and run the following command to ensure Node.js and npm are installed correctly. node --version npm --version You should receive back output with the version number of our package. Mine looked something like this. 2. Install Node-RED To install Node-RED on your system, run the following command on Command Prompt: npm install -g --unsafe-perm node-red Node-RED doesn’t have preinstalled nodes for Arduino, Serial Port, and Dashboard. So use the following commands to install these nodes: To install the Arduino nodes npm install node-red -node-arduino To install the serial port node npm install node-red -node-serialport To install the Dashboard nodes npm install node-red -dashboard 3. Run Node-RED Once installed, Run the node red using the following command in the command prompt: node-red Copy the local-server link to your browser: http://localhost:1880 to access Node-RED. You should see a window like the one below showing node red launch on the desktop. Node Library is the list of nodes which are representative of hardware, protocols and software features associated with devices Current Flow or flow is where the nodes are joined together to create a program Debug console works just like the Arduino Serial monitor and can provide the values The deploy button is used to upload the flow to target hardware The info console provides information on highlighted/selected objects Creating a Flow in Node-RED To Begin, drag the input Serial node into flow section Now to edit double click on the node, a pop window will open. In this window enter the serial port at which Arduino is connected and select 9600 in baud rate section. After this scroll down the node palette and drag the two Function node into flow section, one for temperature and other for humidity. Double click on the first function to enter its name and program. Java code for this function is given below: var temp1= msg.payload[6]-48; var temp2= msg.payload[7]-48; var temp3= msg.payload[9]-48; var temp4= msg.payload[10]-48; var result = (temp1*1000)+ (temp2*100) + (temp3*10) + temp4; result = result/100; var result1 = {payload:result}; return[result1]; Node-RED receives Humidity and Temperature values in ASCII code format from serial monitor. To display these values on Node-RED Dashboard, we need to convert ASCII code into real values. So to do this above java program is used. In this program every ASCII code is subtracted by 48 except the decimal point and comma. After Temp function now double click on the second function: Java code for this function is as follows: var hum1= msg.payload[0]-48; var hum2= msg.payload[1]-48; var hum3= msg.payload[3]-48; var hum4= msg.payload[4]-48; var result = (hum1*1000)+ (hum2*100) + (hum3*10) + hum4; result = result/100; var result1 = {payload:result}; return[result1]; As explained above this program is used to change the Humidity values from ASCII code format to real values. After completing the temperature and humidity function, scroll down and drag two Debug nodes to flow section. To design the Dashboard, scroll down the node palette to Dashboard and drag two Gauge to flow section for Temperature and humidity. The final flow will look like this You can directly create this flow on your Node-RED server by importing the following code to your Node-RED server. To do this, click on the menu button then Import -> Clipboard. In clipboard, window paste the below-given code. Node-RED Code [{"id":"74e0880a.c777f8","type":"tab","label":"Flow 3","disabled":false,"info":""},{"id":"e26c53af.cca2b","type":"serial in","z":"74e0880a.c777f8","name":"","serial":"58430f06.f23e4","x":137.5173568725586,"y":193.7500286102295,"wires":[["e45d22bf.57606","e06252b0.156d2"]]},{"id":"e45d22bf.57606","type":"function","z":"74e0880a.c777f8","name":"Temp","func":"\nvar temp1= msg.payload[6]-48;\nvar temp2= msg.payload[7]-48;\nvar temp3= msg.payload[9]-48;\nvar temp4= msg.payload[10]-48;\n\nvar result = (temp1*1000)+ (temp2*100) + (temp3*10) + temp4; \nresult = result/100;\n\nvar result1 = {payload:result};\n\nreturn[result1];","outputs":1,"noerr":0,"x":307.07645416259766,"y":92.56599521636963,"wires":[["d914ac8d.cd404","9f2a37c9.0d8f88"]]},{"id":"d914ac8d.cd404","type":"debug","z":"74e0880a.c777f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false, "complete":"false","x":581.3498992919922,"y":37.79081916809082,"wires":[]},{"id":"e06252b0.156d2","type":"function","z":"74e0880a.c777f8","name":"Humidity","func":"var hum1= msg.payload[0]-48;\nvar hum2= msg.payload[1]-48;\nvar hum3= msg.payload[3]-48;\nvar hum4= msg.payload[4]-48;\n\nvar result = (hum1*1000)+ (hum2*100) + (hum3*10) + hum4; \nresult = result/100;\n\nvar result1 = {payload:result};\n\nreturn[result1];","outputs":1,"noerr":0,"x":315.0911521911621,"y":286.6883945465088,"wires":[["f35a3030.d7841","f7b0f890.f22e18"]]},{"id":"f35a3030.d7841","type":"debug","z":"74e0880a.c777f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false, "complete":"false","x":582.6041069030762,"y":361.12417221069336,"wires":[]},{"id":"9f2a37c9.0d8f88","type":"ui_gauge","z":"74e0880a.c777f8","name":"Temp","group":"d5da3e9b.46abf","order":0,"width":0, "height":0,"gtype":"gage","title":"temp","label":"units","format":"{{value}} °C","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":570.0998001098633,"y":99.71789360046387,"wires":[]},{"id":"f7b0f890.f22e18","type":"ui_gauge","z":"74e0880a.c777f8","name":"Humidity","group":"d5da3e9b.46abf","order":1,"width":0, "height":0,"gtype":"gage","title":"Humidity","label":"units","format":"{{value}}%","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":583.8411865234375,"y":288.4635429382324,"wires":[]},{"id":"58430f06.f23e4","type":"serial-port","z":"","serialport":"COM4","serialbaud":"9600","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"0","bin":"bin", "out":"time","addchar":"false","responsetimeout":""},{"id":"d5da3e9b.46abf","type":"ui_group","z":"","name":"DHT11","tab":"784aac14.5c2404","order":2,"disp":true,"width":"6", "collapse":false},{"id":"784aac14.5c2404","type":"ui_tab","z":"","name":"Station","icon":"dashboard","order":1,"disabled":false,"hidden":false}] Now flow is ready to deploy. We can deploy a flow on Node-RED using the deploy button. To access the Node-RED Dashboard, copy the link: http://localhost:1880/ui in your browser. Node-RED Dashboard will look like this: By forwarding the port in your router, this webpage can be accessed from anywhere over the internet. So this is how Node-RED can be used to do graphical programming and used to build IoT based application. PCB Design Analysis Software. NextDFM Nextdfm Software NextDFM is a PCB problem detector and engineering tool by NextPCB, one of the most professional PCB manufacturers in the world based in China. NextDFM is a simple software which can be learnt easily by a non regular PCB designer also. The UI created by them is very simple and PCB design analysis can be done in just a few clicks. Download Software Help you quickly familiarize DFM design specifications and production needs to determine whether there are any manufacturing constraints Schematics Circuit Code Code Arduino #include <DHT.h> //Constants #define DHTPIN 2 // what pin we're connected to #define DHTTYPE DHT11 // DHT 11 (AM2302) // Initialize DHT sensor for normal 16mhz Arduino DHT dht(DHTPIN, DHTTYPE); //Variables int chk; float hum; //Stores humidity value float temp; //Stores temperature value void setup() { Serial.begin(9600); dht.begin(); } String hum1; String temp1; void loop() { //Read data and store it to variables hum and temp hum = dht.readHumidity(); temp= dht.readTemperature(); hum1 = String(hum); temp1 = String(temp); //Print temp and humidity values to serial monitor // Serial.print("Humidity: "); Serial.print(hum1); Serial.print(","); Serial.print(temp1); // Serial.println(" Celsius"); delay(2000); //Delay 2 sec. }
  19. Geysers are one of the most important appliances you use, especially when you've to relax on those chilly winter days. But, just like all other appliances, a geyser needs much more care while installation and maintenance. Although, if you have a good company geyser, still there's a chance that even those parts will get damaged and wear down if not used with proper care and under maximum pressure. In this blog, you'll come to know some tips and tricks to maintain and install your geyser properly. Leave space around the water heater When you have bought a water heater and are planning to install it you need to leave some space between the walls and the apparatus. For perfect installation, you may hire expert technicians from Rebuilt. Get your water heater installed at the proper height It's necessary to get your water heater installed at a height of 1.8 meters of 6 feet to ensure hassle-free water flow. Do not switch on your water heater for a long period If you have the latest model geyser it will take around just 5 to 7 minutes to heat up the water properly. Generally, people think that heating up the Geyser for a long time will result in much-heated water. It's totally wrong. Heating your appliance unnecessarily will damage it. Electrical switches and connections Ensure that your geyser is connected to the MCB (Miniature Circuit Breaker), which cuts the circuit when there is a very high voltage. This prevents short-circuiting. Choose star rated Geyser 5 star rated geysers consume less electricity for heating water as well as have much less heat loss. To reduce your monthly electricity bills install energy efficient star rated Geysers. Lower the Temperature to save more electricity Set the temperate settings of your geyser at lower levels to prevent accidental burns. This will also increase the life of the appliance. Hot water heater maintenance is hence very crucial to ensure you never run out of hot water during winters. Ensure annual maintenance of your water heater Book expert technicians from Rebuilt and experience the best home services in Gurgaon and get your water heater, AC servicing, LED TV serviced and cleaned properly. Regular maintenance with expert professionals will increase the life of your water heater. Blog 3.pdf
  20. Sometimes there are some problems with your PCB designs, after you have a prototype, some of them go wrong, then you are upset that where the mistake has happened, for this problem you need a software that makes those mistakes. Show us NextDFM is a PCB problem detector and engineering tool by NextPCB, one of the most professional PCB manufacturers in the world based in China. This article is for the review of the NextDFM software installation, features and benefits of this software. NextDFM is a simple software which can be learnt easily by a non regular PCB designer also. The UI created by them is very simple and PCB design analysis can be done in just a few clicks. Installation of NextDFM software Click on the below link to move to the homepage of the NextDFM website of NextPCB and you can find the home page similar to the below figure. Link for software download Interface of the NEXT DFM Software http://www.diyprojectslab.com/wp-content/uploads/2021/01/Capture-1024x475.jpg Click on Free download http://www.diyprojectslab.com/wp-content/uploads/2021/01/5.jpg Select Destination File location for all Data http://www.diyprojectslab.com/wp-content/uploads/2021/01/6.jpg select Start menu folder http://www.diyprojectslab.com/wp-content/uploads/2021/01/7.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/8-2.jpg Click on install and Install it http://www.diyprojectslab.com/wp-content/uploads/2021/01/9.jpg Installing http://www.diyprojectslab.com/wp-content/uploads/2021/01/10.jpg It is quite easy to install it. Like all other software. After installing it, after opening it, you will get a view as shown below. http://www.diyprojectslab.com/wp-content/uploads/2021/01/g-2.jpg First you have to login before using it http://www.diyprojectslab.com/wp-content/uploads/2021/01/zip.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/gerb.jpg Extract PCB Gerber zip file http://www.diyprojectslab.com/wp-content/uploads/2021/01/next-1024x547.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/hg-1-1024x547.jpg Now you upload your gerber file। http://www.diyprojectslab.com/wp-content/uploads/2021/01/pcb-1024x546.jpg Here you can see that my design The above image is the starting window of the NEXT DFM Software then click on the file and then open the gerber file of your PCB design by selecting and uploading all the layer files. I have uploaded a gerber file of IR Sensor for the demo. Then you can select and deselect any layer of your design by simply clicking on the layers present on the left most window. http://www.diyprojectslab.com/wp-content/uploads/2021/01/tf-1024x640.jpg Now you can also choose the colours as per your wish we have choice of green, blue, black, red, yellow and white colours and also choice of the surface finish and silkscreen options as a reviewer I can say that this is a great option to customize your PCB colour and other physical properties along with the visuals on the middle window screen. http://www.diyprojectslab.com/wp-content/uploads/2021/01/IMG_20210109_175630.jpg The special thing about this software is that you can order your PCB from this. This is how it looks after changing the colour of the PCB to blue. This tool helps you to visualize your PCB in the best way. On the Right top you will be having details about the number of layers in the PCB and its dimensions. On the right bottom you find the estimated price and the delivery time you can order directly by clicking on the Order now button. On clicking on the DFM Analysis button on the left window the software will analyze the design of the PCB automatically with the 21 parameter error check and suggest to you if any errors are present it is the most important and striking feature of this software. So download this software and tell us the features liked by you in this software and share this article..
  21. Sometimes there are some problems with your PCB designs, after you have a prototype, some of them go wrong, then you are upset that where the mistake has happened, for this problem you need a software that makes those mistakes. Show us NextDFM is a PCB problem detector and engineering tool by NextPCB, one of the most professional PCB manufacturers in the world based in China. This article is for the review of the NextDFM software installation, features and benefits of this software. NextDFM is a simple software which can be learnt easily by a non regular PCB designer also. The UI created by them is very simple and PCB design analysis can be done in just a few clicks. Installation of NextDFM software Click on the below link to move to the homepage of the NextDFM website of NextPCB and you can find the home page similar to the below figure. Link for software download Now to start downloading just signup if you are a new user of the website then click on the Free Download button and then just run it on your computer(Only windows OS version is available). Features of the software Helps in making PCB design more standard. Identify the hazards of the design. Visual simulation of the PCB files. Instant quote and billing options. Interface of the NEXT DFM Software http://www.diyprojectslab.com/wp-content/uploads/2021/01/Capture-1024x475.jpg Click on Free download http://www.diyprojectslab.com/wp-content/uploads/2021/01/5.jpg Select Destination File location for all Data http://www.diyprojectslab.com/wp-content/uploads/2021/01/6.jpg select Start menu folder http://www.diyprojectslab.com/wp-content/uploads/2021/01/7.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/8-2.jpg Click on install and Install it http://www.diyprojectslab.com/wp-content/uploads/2021/01/9.jpg Installing http://www.diyprojectslab.com/wp-content/uploads/2021/01/10.jpg It is quite easy to install it. Like all other software. After installing it, after opening it, you will get a view as shown below. http://www.diyprojectslab.com/wp-content/uploads/2021/01/g-2.jpg First you have to login before using it http://www.diyprojectslab.com/wp-content/uploads/2021/01/zip.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/gerb.jpg Extract PCB Gerber zip file http://www.diyprojectslab.com/wp-content/uploads/2021/01/next-1024x547.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/hg-1-1024x547.jpg Now you upload your gerber file। http://www.diyprojectslab.com/wp-content/uploads/2021/01/pcb-1024x546.jpg Here you can see that my design The above image is the starting window of the NEXT DFM Software then click on the file and then open the gerber file of your PCB design by selecting and uploading all the layer files. I have uploaded a gerber file of IR Sensor for the demo. Then you can select and deselect any layer of your design by simply clicking on the layers present on the left most window. http://www.diyprojectslab.com/wp-content/uploads/2021/01/tf-1024x640.jpg Now you can also choose the colours as per your wish we have choice of green, blue, black, red, yellow and white colours and also choice of the surface finish and silkscreen options as a reviewer I can say that this is a great option to customize your PCB colour and other physical properties along with the visuals on the middle window screen. http://www.diyprojectslab.com/wp-content/uploads/2021/01/IMG_20210109_175630.jpg The special thing about this software is that you can order your PCB from this. This is how it looks after changing the colour of the PCB to blue. This tool helps you to visualize your PCB in the best way. On the Right top you will be having details about the number of layers in the PCB and its dimensions. On the right bottom you find the estimated price and the delivery time you can order directly by clicking on the Order now button. On clicking on the DFM Analysis button on the left window the software will analyze the design of the PCB automatically with the 21 parameter error check and suggest to you if any errors are present it is the most important and striking feature of this software. So download this software and tell us the features liked by you in this software and share this article..
  22. Sometimes there are some problems with your PCB designs, after you have a prototype, some of them go wrong, then you are upset that where the mistake has happened, for this problem you need a software that makes those mistakes. Show us NextDFM is a PCB problem detector and engineering tool by NextPCB, one of the most professional PCB manufacturers in the world based in China. This article is for the review of the NextDFM software installation, features and benefits of this software. NextDFM is a simple software which can be learnt easily by a non regular PCB designer also. The UI created by them is very simple and PCB design analysis can be done in just a few clicks. Installation of NextDFM software Click on the below link to move to the homepage of the NextDFM website of NextPCB and you can find the home page similar to the below figure. Link for software download Now to start downloading just signup if you are a new user of the website then click on the Free Download button and then just run it on your computer(Only windows OS version is available). Features of the software Helps in making PCB design more standard. Identify the hazards of the design. Visual simulation of the PCB files. Instant quote and billing options. Interface of the NEXT DFM Software http://www.diyprojectslab.com/wp-content/uploads/2021/01/Capture-1024x475.jpg Click on Free download http://www.diyprojectslab.com/wp-content/uploads/2021/01/5.jpg Select Destination File location for all Data http://www.diyprojectslab.com/wp-content/uploads/2021/01/6.jpg select Start menu folder http://www.diyprojectslab.com/wp-content/uploads/2021/01/7.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/8-2.jpg Click on install and Install it http://www.diyprojectslab.com/wp-content/uploads/2021/01/9.jpg Installing http://www.diyprojectslab.com/wp-content/uploads/2021/01/10.jpg It is quite easy to install it. Like all other software. After installing it, after opening it, you will get a view as shown below. http://www.diyprojectslab.com/wp-content/uploads/2021/01/g-2.jpg First you have to login before using it http://www.diyprojectslab.com/wp-content/uploads/2021/01/zip.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/gerb.jpg Extract PCB Gerber zip file http://www.diyprojectslab.com/wp-content/uploads/2021/01/next-1024x547.jpg http://www.diyprojectslab.com/wp-content/uploads/2021/01/hg-1-1024x547.jpg Now you upload your gerber file। http://www.diyprojectslab.com/wp-content/uploads/2021/01/pcb-1024x546.jpg Here you can see that my design The above image is the starting window of the NEXT DFM Software then click on the file and then open the gerber file of your PCB design by selecting and uploading all the layer files. I have uploaded a gerber file of IR Sensor for the demo. Then you can select and deselect any layer of your design by simply clicking on the layers present on the left most window. http://www.diyprojectslab.com/wp-content/uploads/2021/01/tf-1024x640.jpg Now you can also choose the colours as per your wish we have choice of green, blue, black, red, yellow and white colours and also choice of the surface finish and silkscreen options as a reviewer I can say that this is a great option to customize your PCB colour and other physical properties along with the visuals on the middle window screen. http://www.diyprojectslab.com/wp-content/uploads/2021/01/IMG_20210109_175630.jpg The special thing about this software is that you can order your PCB from this. This is how it looks after changing the colour of the PCB to blue. This tool helps you to visualize your PCB in the best way. On the Right top you will be having details about the number of layers in the PCB and its dimensions. On the right bottom you find the estimated price and the delivery time you can order directly by clicking on the Order now button. On clicking on the DFM Analysis button on the left window the software will analyze the design of the PCB automatically with the 21 parameter error check and suggest to you if any errors are present it is the most important and striking feature of this software. So download this software and tell us the features liked by you in this software and share this article..
  1. Load more activity
×
×
  • Create New...