Hello friends, I hope you all are doing great. Today, I am going to share the new IR Receiver + Remote Library for Proteus V1.0. The small black VS1838B infrared receiver and the slim 21-key remote that comes with it are in almost every Arduino starter kit, and they are the quickest way to control a project from across the room: a TV-style remote, a receiver with three pins, and the IRremote library. In a simulation they are hard to try - the remote sends 38 kHz light, and Proteus has no light. Behind the parts sits our own model. You click the keys of the remote on the schematic while the simulation runs, the remote builds the real NEC frame - a 9 ms leader, the address, the command and their inverses, bit by bit - and the receiver's OUT pin goes LOW and HIGH exactly as a real VS1838B does, so the unmodified IRremote library on the Arduino decodes it. Hold a key and it sends repeat codes every 108 ms; move the remote away or off the axis and frames start to break; switch on NOISE and a lamp floods the receiver. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window that draws the last frame burst by burst. The demo runs on our Arduino UNO V4.0. NOTICE: an IR remote is easy to fake: a part that hands the key you click straight to the sketch. We wanted more. Our remote sends the real NEC timing on the receiver's OUT pin - so the IRremote library decodes it as it would on a real board, a sketch that reads the wrong pin or the wrong code ...
Hello friends, I hope you all are doing great. Today, I am going to share the new TTP229 Touch Keypad Library for Proteus V1.0. The red TTP229 16-key capacitive touch keypad is the easiest way to give an Arduino project a modern, button-free front panel: sixteen round pads under a thin cover, no moving parts, nothing to wear out. It talks to the Arduino over two wires, SCL and SDO, and for a hobby board it hides a surprising number of traps: it comes with only 8 of its 16 keys switched on, it reports one key at a time unless you bridge two pads, and its serial interface is not I2C at all. Behind the parts sits our own model, written from the TTP229-BSF datasheet. You click the pads on the board while the simulation runs, and the chip answers the way the real one does: it calibrates at power-on, sleeps and wakes up, scans its keys every 16 or 32 ms, shifts the keys out bit by bit on SDO, pulses SDO when a key is ready, and resets its interface after 2 ms without a clock. The eight option pads TP0 - TP7 are clickable too. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window that draws SCL and SDO through the last read, bit by bit. The demo runs on our Arduino UNO V4.0. NOTICE: a touch keypad is easy to fake: a part that hands the key you click straight to the sketch. We wanted more. Our TTP229 talks only the way the real chip talks - a bit on SDO for each clock on SCL - so a sketch that reads too few bits, clocks too fast, reads too often, ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Membrane Keypad Library for Proteus V1.0. The thin, self-adhesive 4x4 and 4x3 membrane keypads are the cheapest way to give an Arduino project a real keypad: a door lock with a code, a menu, a calculator, a safe, a parcel box or a machine that asks for a number. Each comes with a flat ribbon and a female 2.54 mm connector - 8 pins for the 4x4, 7 for the 4x3 - and plugs straight into the Arduino's headers. Behind the parts sits our own model of a key matrix. You click the keys on the keypad while the simulation runs, and the model behaves like the real contacts under the membrane: a key joins its row line to its column line, and the sketch has to scan the matrix to find it. Because there are no diodes, three keys pressed at the corners of a rectangle make a fourth key read as pressed - the famous ghost key - and each contact bounces for a few milliseconds, so a sketch that scans too fast types one key twice. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window that draws every line through the last scan, microsecond by microsecond. The demo runs on our Arduino UNO V4.0. NOTICE: a keypad is easy to fake: a part that sends the key you click straight to the sketch. We wanted more. Our keypad sends nothing - it only joins two wires while a key is down, exactly like the real membrane, so a sketch that forgets the pull-ups, swaps rows and columns, scans too fast ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Capacitive Soil Moisture Sensor Library for Proteus V1.0. The capacitive soil moisture sensor v1.2 is the long black board you push into the soil of a pot or a garden bed to know when your plants need water. It is the sensor behind automatic watering systems, smart plant pots, greenhouse monitors and garden data loggers. Unlike the older two-fork resistive sensors, its copper never touches the soil, so it does not corrode, and it is the soil sensor most Arduino makers buy today. Behind the part sits our own model, written from the published data. It gives the voltage a real board gives for the soil around it: the water in the soil sets its permittivity (the Topp equation from soil science), and the permittivity sets the output, highest in air and lowest in water. Every board is a little different, so you can give each one its own air and water values and practise the calibration. A probe pushed in only halfway, an air gap around the board, the probe pulled out, a glass of water and the board's 3.3 V regulator all behave as they do on a real board, and you can water the soil or let it dry while the simulation runs. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a soil moisture sensor is easy to fake: a potentiometer on an analog pin. We wanted more. Our sensor knows the soil it stands ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Turbidity Sensor Library for Proteus V1.0. A turbidity sensor tells you how cloudy water is: how much fine mud, clay, algae or other particles float in it. It is the sensor behind many water quality projects - a filter that should give clear water, an aquarium, a fish pond, a rain water tank, a washing machine that checks its rinse water, or a river monitor after heavy rain. The usual module for Arduino is a white plastic probe with a U-shaped tip and a small blue adapter board with an A / D switch and a threshold potentiometer. Behind the part sits our own model, written from the maker's published data. It gives the voltage the real board gives for the water in the beaker - 4.2 V in clear water, lower as the water clouds, following the published curve from volts to NTU - and, with the switch on D, the digital level of the board's comparator. A probe can be a little off the curve, the output follows the supply, very muddy water goes beyond the curve, a dry probe reads as clear water, and air bubbles in the light path make single readings jump. You can change the water while the simulation runs. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a turbidity sensor is easy to fake: a potentiometer on an analog pin. We wanted more. Our turbidity sensor knows the water it stands in and gives ...
Hello friends, I hope you all are doing great. Today, I am going to share the new TDS Meter Library for Proteus V1.0. A TDS sensor tells you how much salt and minerals your water carries: tap water, drinking water from a filter, an aquarium, a hydroponics tank or a pool. The usual board for Arduino is a small blue TDS meter with a two-pin waterproof probe. It sends a tiny AC current through the water, and the cleaner the water, the less current flows. The board turns that into a voltage on its A pin, and your Arduino turns the voltage into ppm. Behind the part sits our own model, written from the board maker's published data. It gives the voltage the real board gives for the water in the beaker, with the published conversion, the 2 % per degree that conductivity rises with the temperature, the top of the range at 2.3 V, a probe that reads a few percent high or low until you calibrate it, and a probe lifted out of the water. You can change the water while the simulation runs: tap water, distilled water, a 707 ppm calibration buffer, sea water, a pinch of salt, warm water. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a TDS sensor is easy to fake: a potentiometer on an analog pin. We wanted more. Our TDS meter knows the water it stands in and gives exactly the voltage the published conversion turns back into that water. Its output depends on the temperature the way ...
Hello friends, I hope you all are doing great. Today, I am going to share the new YF-S201 Water Flow Sensor Library for Proteus V1.0. The YF-S201 is the black plastic water flow sensor with a half-inch thread on both ends that shows up in so many Arduino projects: water meters for a tank or a garden, leak alarms, coffee machines, aquarium pumps and cooling loops. Water turns a small impeller inside it, and every turn gives a few pulses on its yellow wire - more water, faster pulses. Count them with an Arduino and you have a flow meter. Behind the part sits our own model, written from the YF-S201 datasheet. It gives the square wave the real sensor gives, 7.5 pulses a second for every litre per minute, with every edge at its exact time, so your interrupt code sees what it would see on a real pipe. You can open and close the tap while the simulation runs, pour exactly one litre for a calibration, add a leak, close a valve or connect a pulsing pump. The impeller stops at very low flows and slips a little just above them, like the real one. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a flow sensor is easy to fake: a pulse generator with a knob. We wanted more. Our YF-S201 counts the water that really passed, its impeller speeds up and slows down with a little inertia, it does not turn at all for a dripping tap, and every part can have its own pulses per litre - so ...
Hello friends, I hope you all are doing great. Today, I am going to share the new BME680 Gas Sensor Library for Proteus V1.0. The BME680 from Bosch is a tiny environmental sensor that measures four things at once: the temperature, the humidity, the air pressure and the resistance of a small heated gas sensor - which falls when VOCs from paint, cleaning products, cooking or our own breath reach it. It talks I2C or SPI, and the purple GY-BME680 board is the one most makers buy. Behind the part sits our own model, written from the datasheet and checked against Bosch's BME68x driver inside the Adafruit BME680 library - the model gives the raw numbers the real chip would give, and the library's own maths turns them into C, %RH, hPa and ohm. You can change the air while the simulation runs: its temperature, humidity, pressure and VOCs, four presets and four actions. The heater, the burn-in, the oversampling, the IIR filter and both buses work like the real thing. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a gas sensor is easy to fake: a number that follows a slider. We wanted more. Our BME680 answers the same registers as the real one, on I2C and on SPI with its memory pages, measures in forced mode with the real timing, keeps its calibration in memory, and heats its gas sensor for exactly as long as the sketch asks - so a heater time that is too short, an IIR ...
Hello friends, I hope you all are doing great. Today, I am going to share the new CCS811 Air Quality Sensor Library for Proteus V1.0. The CCS811 is the tiny digital gas sensor on the popular CJMCU-811 board that many indoor air quality projects use. It reports two numbers over I2C: TVOC, the total volatile organic compounds in the air, and eCO2, an "equivalent CO2" that it estimates from them. Behind the part sits our own model, written from the datasheet and checked against the Adafruit CCS811 library, the one most makers use with this sensor - so the library's own calls get exactly the answers they expect. The sensor starts in boot mode and needs APP_START, measures in one of five drive modes, pulls nINT LOW when a result is ready, ignores the bus while nWAKE is HIGH, needs its run-in, and reads wrong in humid air unless you tell it the humidity. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: an air quality sensor is easy to fake: a number that follows a slider. We wanted more. Our CCS811 answers the same I2C mailboxes as the real one, bit by bit, starts in boot mode, says nothing while WAK is HIGH, and raises eCO2 for paint and hand sanitizer just like the real one does - so a sketch that forgets WAK, reads before the run-in is over or trusts eCO2 as a CO2 meter fails exactly as it does with a real sensor. It took our team a lot of hard work. Your feedback is ...
Hello friends, I hope you all are doing great. Today, I am going to share the new PMS5003 Particle Sensor Library for Proteus V1.0. The PMS5003 from Plantower is the small metal box with a fan that sits inside many air purifiers, air-quality monitors and home weather stations. It counts the dust and smoke particles in the air with a laser and reports PM1.0, PM2.5 and PM10 to an Arduino over a UART. Behind the part sits our own model, written from Plantower's manual and checked against the PMS Library for Arduino, the one most makers use with this sensor - so the library gets exactly the frames it expects. The sensor sends a 32-byte frame every 2.3 seconds, comes faster when the air changes, answers the passive mode and sleep commands, obeys its SET and RESET pins, and needs 30 seconds after a wake-up before its fan delivers stable data. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a particle sensor is easy to fake: a number that follows a slider. We wanted more. Our PMS5003 sends the same 32-byte frames as the real one, bit by bit with the checksum, switches between stable and fast mode, reads low while its fan spins up, and reads high in fog - so a sketch that trusts the first readings after a wake-up, waits for a frame in passive mode or reads the wrong value fails exactly as it does with a real sensor. It took our team a lot of hard work. Your feedback is the ...