Hello friends, I hope you all are doing great. Today, I am going to share the new 433MHz RF Module Library for Proteus V1.0. The FS1000A transmitter and the XY-MK-5V receiver are the cheapest wireless pair in every Arduino kit: two tiny boards that send a remote-control code across a room, switch a socket, open a gate or carry the reading of a weather sensor. They are also famous for confusing beginners, because the receiver's output is never quiet - it shows noise all the time - and because the range depends so much on the antennas. In Proteus they could not be tried at all. Behind the parts sits our own model of how this pair behaves. The transmitter keys its 433.92 MHz carrier while DATA is HIGH, every receiver of the design hears it 20 us later, and without a carrier the receiver's DATA shows the noise of the band, as on a real module. The distance and the antennas decide what arrives: a perfect signal, a weak one that loses pulses, or nothing but noise. The unmodified rc-switch library sends and receives the codes on two Arduinos. You get Simple devices with a live STATUS panel and Advance devices with a pop-up window that draws every burst and decodes its code. The demo runs on our Arduino UNO V4.0. NOTICE: a 433 MHz pair is easy to fake: a wire from one DATA pin to the other. We wanted more. Our receiver is noisy when nothing is sent, loses pulses when the signal is weak, hears nothing beyond its range, and two transmitters at once collide - so the rc-switch receiver ...
Hello friends, I hope you all are doing great. Today, I am going to share the new DFPlayer Mini Library for Proteus V1.0. The DFPlayer Mini is the tiny MP3 player module with a micro SD card slot that so many Arduino projects use for a voice that says "welcome home", a door bell, an alarm or background music. The Arduino sends it short serial commands - play file 4, volume 20, next - and the module does the rest: it reads the card, decodes the MP3 and drives a speaker. In a simulation it was hard to try, because Proteus has no such part and no card to read. Behind the parts sits our own model, written from the datasheet of the module. It answers the 10-byte 7E FF 06 frames at 9600 baud, needs its 0.8 s to start, plays the files of a demo micro SD card - 14 short tracks in folders 01 and 02, MP3 and ADVERT - each for its real length, pulls its BUSY pin LOW while a track plays, and sends the 3D message when a track has finished. The unmodified DFRobotDFPlayerMini library on the Arduino drives it as it would a real module. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window that shows the card, the player and every frame on the UART. The demo runs on our Arduino UNO V4.0. NOTICE: an MP3 module is easy to fake: a part that lights an LED when a pin goes LOW. We wanted more. Our module speaks the serial protocol of its datasheet byte by byte on its RX and TX pins - so the DFRobot library talks to it as it would to a real module, a wrong ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Fingerprint Sensor Library for Proteus V1.0. The black R307 optical fingerprint module - and the AS608 modules that speak the same protocol - is the classic way to add a fingerprint lock, an attendance system or a door opener to an Arduino project. It talks over a serial port with packets: take an image, turn it into a character file, search the library, store a new finger. In a simulation it is hard to try - a fingerprint module needs a finger on its window, and Proteus has none. Behind the parts sits our own model, written from the R307 user manual. It answers every packet of the manual at 57600 baud with the real acknowledge packets and confirmation codes, keeps a library of 1000 templates while the simulation runs, and gives you six fingers to place on its window: click a finger card on the schematic and that finger lies on the glass, its ridges drawn. The unmodified Adafruit Fingerprint library on the Arduino enrolls it, searches for it and finds it - or tells you that the image is too messy. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window that shows every packet on the UART. The demo runs on our Arduino UNO V4.0. NOTICE: a fingerprint module is easy to fake: a part that says "found" when you click a button. We wanted more. Our module speaks the R307 packet protocol byte by byte on its TXD and RXD pins - so the Adafruit library talks to it as it ...
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 ...