Hello friends, I hope you all are doing great. Today, I am going to share the ESP32 Dual-Axis Solar Tracker with Four LDRs (Proteus Simulation), the forty-seventh project of our IoT Projects series. If you have searched for a Proteus simulation of a sun tracker with an ESP32 and LDRs, or wondered how much more energy a solar panel collects when it follows the sun, here is a complete one. An ESP32 points a small 6 V solar panel at the sun with two servos, steering by four LDRs when the sun shines and by the sun's computed path when clouds hide it, measures the panel's power with an INA219 and the sunlight with a pyranometer, parks the panel at night, lays it flat on command, and serves a live web dashboard on a laptop or a phone. A fixed solar panel faces south at a compromise angle and loses a big share of the morning and evening sun. A tracker turns the panel to face the sun all day, which is why solar farms mount their panels on tracking frames. In this tutorial, we will go through the circuit, see how four LDRs behind a shade cross tell which way the sun is, why LDRs alone are not enough under clouds, how to calculate where the sun stands from the time, the date and the latitude, how a pyranometer and a clear-sky model tell sunshine from clouds, how to drive the two servos smoothly, walk through the Arduino sketch, and then run the simulation through a whole day of 21 March: a sunrise, a cloudy hour and a half, a stow for wind, and a sunset. At the end, you can download ...
Hello friends, I hope you all are doing great. Today, I am going to share the EMG Muscle-Controlled Gripper on Raspberry Pi 5 in Proteus Simulation, the fortieth project of our IoT Projects series. If you have searched for a Proteus simulation of a Raspberry Pi with an EMG muscle sensor, here is a complete one. A Raspberry Pi 5 reads the electrical activity of a forearm muscle through an EMG sensor and an ADS1115, and closes a DS3218 servo gripper in proportion to how hard the muscle contracts, the same idea that drives a myoelectric prosthetic hand. It measures the muscle at rest, calibrates a full contraction, can lock the grip so the muscle can relax while the hand holds on, and serves a live web dashboard on a laptop or a phone. Every time a muscle contracts, thousands of its fibres fire tiny electrical pulses, and electrodes on the skin above can pick up their sum: the electromyogram, or EMG. A stronger contraction recruits more fibres and fires them faster, so the EMG grows with the effort. That is enough to steer a machine with a thought turned into a flex. In this tutorial, we will go through the circuit, learn what the EMG signal is and how a muscle sensor turns it into a smooth envelope, read it with an ADS1115, calibrate the rest level and the full contraction, map the strength onto the grip with a dead band and smoothing, drive the servo with pulses timed by the Pi, walk through the Python program, and then run the simulation: six contractions of different ...
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 ...