Engineering Blog

Learn it. Build it. Simulate it.

2,703 step-by-step tutorials and projects on Arduino, ESP32, Raspberry Pi and Proteus.

2703 articles found.

MQ Gas Sensor Library for Proteus V1.0: MQ-3, MQ-7, MQ-135 and More

MQ Gas Sensor Library for Proteus V1.0: an MQ-135 with its STATUS panel and the pop-up of an MQ-7

Hello friends, I hope you all are doing great. Today, I am going to share the new MQ Gas Sensor Library for Proteus V1.0, with eight of the popular MQ sensors in one package: the MQ-3 (alcohol), MQ-4 (methane), MQ-5 and MQ-6 (LPG), MQ-7 (carbon monoxide), MQ-8 (hydrogen), MQ-9 (CO and flammable gases) and MQ-135 (air quality). They sit on the same small blue module with an analog output and a digital alarm, and now you can test your gas alarm, breathalyser or air-quality meter in Proteus before you solder anything. Behind the parts sits our own model, built on the curves of MQUnifiedsensor, the Arduino library most makers use with these sensors - so a sketch with that library reads back the gas you set. The heater warms up, the gas reaches the sensor with a delay, the trimmer sets the alarm, and every sensor reacts to more than its own gas, just like the real ones. You get sixteen devices: for each sensor a Simple device with a live STATUS panel and an Advance device with a pop-up window and the test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a gas sensor is easy to fake: a slider that moves a voltage. We wanted more. Our MQ sensors follow the same curves as the library you will use, warm up like the real ones, and get fooled by the wrong gas - so a sketch that never calibrates, calibrates too early or trusts the wrong curve fails exactly as it does with a real module. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please ...

TF-Luna LiDAR Distance Sensor Library for Proteus V1.0

TF-Luna LiDAR Sensor Library for Proteus V1.0: the module with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new TF-Luna LiDAR Distance Sensor Library for Proteus V1.0. The TF-Luna from Benewake is a tiny single-point LiDAR: it shines modulated infrared light at a target and measures the distance from the reflection, from 20 cm to 8 m, up to 250 times a second. Robots use it to avoid walls, drones to hold their height, and makers to measure a tank, a door or a parking space. Now you can test those projects in Proteus. Behind the part sits our own model, written from Benewake's manual. It has both interfaces - the UART with its 9-byte frames and its commands, and I2C with the register file and the data-ready pin - chosen by pin 5 at power-on, just like the real module. The signal strength falls with the distance and with a dark target, the module sends 0 when the signal is too weak, and close up it enters its dead zone. You move the target, pick a preset, sweep it, bring it closer, paint it black or put it on an edge. You get two devices: a Simple device with a live STATUS panel and an Advance device with a pop-up window and the test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a distance sensor is easy to fake: a number on a pin. We wanted more. Our TF-Luna speaks both of the real module's languages, frame by frame and register by register, so a sketch at the wrong baud rate, with the wrong pin 5, or one that trusts a reading of 0, fails exactly as it does with the real module. It took our team a ...

RCWL-0516 Microwave Radar Motion Sensor Library for Proteus V1.0

RCWL-0516 Microwave Radar Sensor Library for Proteus V1.0: the module with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new RCWL-0516 Microwave Radar Motion Sensor Library for Proteus V1.0. The RCWL-0516 is the little blue board that many makers now use instead of a PIR sensor: a tiny microwave radar that sees anything moving within about 7 m, all around, even through a plastic case. It switches on the stair light, wakes a project up when someone walks in, or counts the people that pass a door. Now you can test those projects in Proteus. Behind the part sits our own model, not a switch. OUT rises after a short burst of motion, stays HIGH while anything keeps moving and falls 2 s after the last movement. A person who stands still is not seen, a person beyond the range is not seen, the CDS pin switches detection off, and a Wi-Fi module right next to the board brings the false triggers real users complain about. You move the person, pick a preset, or let them walk by or approach. You get two devices: a Simple device with a live STATUS panel and an Advance device with a pop-up window and the test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a motion sensor is easy to fake: a button that sets OUT HIGH. We wanted more. Our RCWL-0516 has the real board's timing, its range, its blindness to people who stand still, its CDS input and its false triggers, so a sketch that counts every step as a new visitor, or a light that never goes out, fails exactly as it does with the real module. It took our team a lot of hard ...

JSN-SR04T Waterproof Ultrasonic Sensor Library for Proteus V1.0

JSN-SR04T Waterproof Ultrasonic Sensor Library for Proteus V1.0: the module with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new JSN-SR04T Waterproof Ultrasonic Sensor Library for Proteus V1.0. The JSN-SR04T is the waterproof cousin of the HC-SR04: a small driver board and a sealed probe on a long cable, so it can measure the water in a tank, the distance to a car in a garage or the ground under an outdoor robot, from about 20 to 600 cm. Now you can test those projects in Proteus. Behind the part sits our own model, not a delay with a number. It has all three modes of the board, set by the R27 pad: trigger and echo like the HC-SR04, a serial frame every 100 ms, and a serial frame each time you send 0x55. It times the echo with the speed of sound at the air temperature, has the probe's blind zone, and reports no echo the way the module does. You move the object, pick a preset, or run a sweep, an approach or a water surface with waves. You get two devices: a Simple device with a live STATUS panel and an Advance device with a pop-up window and the test tools. The demo runs on our Arduino UNO V4.0. NOTICE: an ultrasonic sensor is easy to fake: a pulse as long as the distance. We wanted more. Our JSN-SR04T has the real board's three modes and its serial frames, so a sketch that pings too fast, asks again too soon or reads the wrong mode fails exactly as it does with the real module. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in ...

Sharp IR Distance Sensor Library for Proteus V1.0: GP2Y0A21YK0F

Sharp IR Distance Sensor Library for Proteus V1.0: the GP2Y0A21YK0F with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new Sharp IR Distance Sensor Library for Proteus V1.0. The Sharp GP2Y0A21YK0F is the small black sensor with two round eyes that robots use to see walls and obstacles: it measures the distance to an object from 10 to 80 cm with infrared light and gives it as an analog voltage, so any Arduino reads it with one analogRead(). Now you can test those projects in Proteus. Behind the part sits our own model, not a voltage source with a knob. It follows the datasheet: the output curve, a new measurement every 38.3 ms, the noise of each measurement, the 30 mA it draws, and its classic trap - an object closer than about 6 cm gives a voltage that looks like a farther object. You move the object in 5 cm steps, pick a preset, or run a sweep, an approach or a passing hand. You get two devices: a Simple device with a live STATUS panel and the object's controls, and an Advance device with a pop-up window and the test tools. The demo runs on our Arduino UNO V4.0 and needs no library. NOTICE: an analog distance sensor is easy to fake: one voltage source and a formula. We wanted more. Our GP2Y0A21YK0F measures in cycles like the real one, so a sketch that reads too fast, averages the wrong way or trusts an object that is too close fails exactly as it does on your desk. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ...

MPU9250 Library for Proteus V1.0: GY-9250 9-Axis IMU for Arduino

MPU9250 Library for Proteus V1.0: the GY-9250 module with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new MPU9250 Library for Proteus V1.0. The MPU-9250 is the 9-axis motion sensor on the purple GY-9250 module: a 3-axis accelerometer, a 3-axis gyroscope and a 3-axis magnetometer in one small package. Drones, self-balancing robots, gimbals and head trackers use it to know their roll, pitch and yaw. Now you can build and test those projects in Proteus. Behind the part sits our own model, not a part that shows three angles. The MPU-9250 answers the Arduino exactly as its register map says: the sample rate, the ranges, the offset registers, the FIFO and the INT pin, and the AK8963 magnetometer hidden behind the I2C bypass. You turn the board in 15 degree steps, rotate it, wave it in a figure eight or put a magnet on it, and the gyro sees every turn. You get two devices: a Simple device with a live STATUS panel and the board's controls, and an Advance device with a pop-up window and the test tools. The demo runs the MPU9250 library by hideakitai with its Madgwick filter on our Arduino UNO V4.0. NOTICE: an IMU is easy to fake: hand the Arduino three angles from a property. We wanted more. Our MPU-9250 turns the board's attitude into gravity, rotation and the Earth's field on each chip's own axes, in each chip's own registers, so the hideakitai library and its Madgwick filter work out the angles exactly as on your desk, and a missing magnetometer, a slow loop or a magnet next to the board fails exactly as ...

HMC5883L / QMC5883L Compass Library for Proteus V1.0: GY-271 Module

HMC5883L / QMC5883L Compass Library for Proteus V1.0: the GY-271 module with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new HMC5883L / QMC5883L Compass Library for Proteus V1.0. The GY-271 is the small blue compass module that you find in robots, rovers, drones and digital compass projects. It measures the Earth's magnetic field on three axes, and from two of them the Arduino works out the heading: how many degrees the board points away from north. There is a catch: GY-271 boards come with two different chips, the HMC5883L and the QMC5883L, and a sketch written for one does not work on the other. Now you can build and test both in Proteus. Behind the parts sit our own models, not parts that show a number. Each chip answers the Arduino exactly as its datasheet says, with its own address, its own registers and its own byte order. You turn the board to any heading, put a magnet on it, tilt it, or turn it a full circle while the sketch calibrates. You get four devices: each chip as a Simple device with a live STATUS panel and the board's controls, and as an Advance device with a pop-up window and the test tools. The demo runs the Adafruit HMC5883 Unified library on our Arduino UNO V4.0 and finds whichever chip is on the board. NOTICE: a compass is easy to fake: hand the Arduino a heading from a property. We wanted more. Our GY-271 feels the Earth's field from the direction the board points, adds the magnet and the tilt, and turns the result into the chip's own counts and registers, so the Adafruit library reads it ...

ADXL345 Accelerometer Library for Proteus V1.0: GY-291, Tap, Free Fall

ADXL345 Accelerometer Library for Proteus V1.0: the GY-291 module with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new ADXL345 Accelerometer Library for Proteus V1.0. The ADXL345 is the small 3-axis accelerometer on the purple GY-291 module that you find in tilt sensors, step counters, drop detectors and self-balancing robots. It does more than measure: the chip itself can catch a tap, a double tap, the start and the end of a movement and a free fall, and tell the Arduino on an interrupt pin. Now you can build and test those projects in Proteus. Behind the part sits our own model, not a part that shows a number. The ADXL345 answers the Arduino exactly as its datasheet says: its registers on I2C, the data rate, the four ranges with full resolution or 10 bits, and the tap, activity, inactivity and free-fall functions on its INT1 and INT2 pins. You tilt the board and knock on it from a panel. You get two devices: a Simple device with a live STATUS panel and the board's controls, and an Advance device with a pop-up window and the test tools. The demo runs the Adafruit ADXL345 library on our Arduino UNO V4.0. NOTICE: an accelerometer is easy to fake: hand the Arduino three numbers from a property. We wanted more. Our ADXL345 samples at its data rate, keeps its registers, clips at its range and runs the tap detector on the whole knock, so the Adafruit library reads it exactly as on your desk, and a missed tap or a wrong scale fails exactly as it does there. It took our team a lot of hard work. Your feedback is the ...

AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280

AHT20 Sensor Library for Proteus V1.0: an AHT20 module with its STATUS panel and the AHT20 + BMP280 pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new AHT20 Sensor Library for Proteus V1.0. The AHT20 is the small I2C temperature and humidity sensor that has replaced the DHT11 in many new designs: it is more accurate, it answers on the I2C bus in a fraction of a second, and it costs about the same. It often comes on a combo board with the BMP280 pressure sensor, which makes a complete weather station on four wires. Now you can build and test those projects in Proteus, with the blue AHT20 module and the purple AHT20 + BMP280 module. Behind the parts sit our own models, not parts that show a number. The AHT20 answers the Arduino exactly as its datasheet says: the status byte with the busy bit, the 80 ms measurement, the 20-bit values and the CRC-8. On the combo board the BMP280 sits on the same I2C bus with its chip ID, its calibration words and its modes, and the Adafruit library turns its raw values back into the air pressure. You get four devices: both modules as a Simple device with a live STATUS panel and the air's controls, and as an Advance device with a pop-up window and the test tools. The demo runs the Adafruit AHTX0 library and the Adafruit BMP280 library on our Arduino UNO V4.0. NOTICE: a weather sensor is easy to fake: read a number from a property and hand it to the Arduino. We wanted more. Our AHT20 measures for 80 ms, sets its busy bit, packs its 20-bit values and computes its CRC, and our BMP280 hands out raw values that only its ...

ADS1115 ADC Library for Proteus V1.0: 16-Bit ADC Module for Arduino

ADS1115 ADC Library for Proteus V1.0: an ADS1115 module with a potentiometer and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new ADS1115 ADC Library for Proteus V1.0. The ADS1115 is the 16-bit analog-to-digital converter that Arduino makers add when the UNO's own 10-bit ADC is not enough: four inputs, a programmable gain amplifier that can read a few millivolts, and an I2C bus. It sits in weighing scales, battery testers, soil and gas sensor boards, heart-rate monitors and data loggers. Now you can build and test those projects in Proteus, with the blue ADS1115 module and a 10 kohm potentiometer to turn. Behind the parts sit our own models, not a part that shows a number. The four inputs are analog pins, so the ADS1115 reads whatever your circuit puts on them, and it answers the Arduino from its four registers exactly as the datasheet says: the gain that clips, the eight data rates with their real timing, single-shot and continuous mode, and the ALERT/RDY pin that can wake an interrupt after every result. You get three devices: the module as a Simple device with a live STATUS panel and as an Advance device with a pop-up window and three test tools, and the potentiometer with its own panel and a knob that turns. The demo runs the Adafruit ADS1X15 library on our Arduino UNO V4.0. NOTICE: an ADC is easy to fake: read a number from a property and hand it to the Arduino. We wanted more. Our ADS1115 measures the real voltage of the circuit at the end of each conversion, takes the time the datasheet gives for it, and answers the ...