uc: Arduino Uno

398 articles found.

Float Switch Library for Proteus Simulation

Float Switch Library for Proteus Simulation: two float switches, a relay module, a submersible pump and an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new Float Switch Library for Proteus Simulation. The float switch is the simplest water level sensor there is: a plastic float on a stem, a magnet in the float and a reed contact in the stem. When the water lifts the float past the reed, the contact closes. Sump pumps, aquarium top-up systems, water tanks on roofs, coffee machines and boilers all use one. With this library you can run a full Proteus simulation of the float switch, with the water and the float moving on the sheet as the level changes. This is the last part of our list of fifty new modules. The demo is a sump pump: two float switches in one tank make a level band, an Arduino UNO V4.0 reads them, and our relay module switches our submersible pump. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the switch board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Float Switch Library for Proteus Simulation: A float switch is a level switch with no electronics at all. The common vertical type has a hollow polypropylene float that slides on a sealed stem. Inside the stem sits a reed switch: two thin ferromagnetic blades in a glass tube that touch when a magnetic field crosses ...

MCP23017 I/O Expander Library for Proteus Simulation

MCP23017 I/O Expander Library for Proteus Simulation: the MCP23017 board, eight LEDs, a DIP switch and an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new MCP23017 I/O Expander Library for Proteus Simulation. The MCP23017 gives an Arduino sixteen more pins over the two I2C wires, and unlike the simplest expanders it gives them the features of real microcontroller pins: a direction for every pin, push-pull outputs, built-in pull-ups, inverted inputs, and an interrupt that tells you which pin changed and what the port looked like at that moment. With this library you can run a full Proteus simulation of the MCP23017 board and watch all twenty-two of its registers at work. The demo runs a light back and forth on eight LEDs, reads a DIP switch with the chip's own pull-ups, and uses a loop-back wire so the interrupt-on-change fires by itself every time the light reaches the end of the row. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the LCD board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the MCP23017 I/O Expander Library for Proteus Simulation: A 16-bit I/O port on I2C, organised as two 8-bit ports, A and B. Each port is controlled by a set of registers, the same way a microcontroller's own ports are: one register sets which pins are inputs or outputs, another switches on ...

TCA9548A I2C Multiplexer Library for Proteus Simulation

TCA9548A I2C Multiplexer Library for Proteus Simulation: the multiplexer, three VL53L1X sensors and an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new TCA9548A I2C Multiplexer Library for Proteus Simulation. Sooner or later every I2C project meets the same wall: two sensors with the same address. Many chips have one fixed address or only two to choose from, and two of them on one bus answer together. The TCA9548A is the classic way through: one small board that turns one I2C bus into eight separate channels, so the Arduino can talk to identical devices one at a time. With this library you can run a full Proteus simulation of it and watch it switch the channels. The demo puts three VL53L1X distance sensors - a robot's left, front and right eyes, all at 0x29 - on one Arduino, and it also shows exactly what goes wrong when the three are connected at once. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the VL53L0X board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the TCA9548A I2C Multiplexer Library for Proteus Simulation: A 1-to-8 I2C switch. On one side it has the host bus - SDA and SCL from the microcontroller. On the other it has eight channels, SD0 and SC0 to SD7 and SC7, each a little I2C bus of its own. Inside are eight pairs of switches. The TCA9548A is itself an I2C ...

PCF8574 I/O Expander Library for Proteus Simulation

PCF8574 I/O Expander Library for Proteus Simulation: two PCF8574 boards, LEDs, a DIP switch, a 16x2 LCD and an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new PCF8574 I/O Expander Library for Proteus Simulation. The PCF8574 is the simplest way to give an Arduino more pins: eight of them, over the same two I2C wires that already run your sensors. It has no registers and no configuration - one byte out sets the pins, one byte in reads them - and it is the chip on almost every "I2C LCD backpack". With this library you can run a full Proteus simulation of the PCF8574 board and see exactly what its unusual pins do. The demo uses two boards on one bus: one drives four LEDs and reads a DIP switch, the other drives a 16x2 LCD in 4-bit mode - an I2C LCD backpack built by hand, so you can see how the ready-made ones work. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the LCD board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the PCF8574 I/O Expander Library for Proteus Simulation: An 8-bit I/O port on I2C. The chip has eight pins, P0 to P7, and nothing else to set up: there is no direction register, no pull-up register, no mode. Write one byte and the eight pins take its eight bits. Read one byte and you get the eight pins as they are. Three address pins give it eight addresses, 0x20 to 0x27, ...

PS2 Wireless Controller Library for Proteus Simulation

PS2 Wireless Controller Library for Proteus Simulation: the receiver, an Arduino UNO V4.0, an L298N and two gear motors

Hello friends, I hope you all are doing great. Today, I am going to share the new PS2 Wireless Controller Library for Proteus Simulation. The 2.4 GHz PS2-style game pad with its little receiver is the favourite remote control of robot builders: two analog sticks, sixteen buttons, two rumble motors, a range of several metres - and a receiver that speaks a simple four-wire protocol any Arduino can handle. With this library you can run a full Proteus simulation of that receiver, drive its controller from a pop-up, and watch every byte of the protocol go by. The demo is the classic project for this pad: a two-wheeled robot car with an L298N - throttle on the left stick, steering on the right, a horn that makes the controller rumble, and a turbo button. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the joystick board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the PS2 Wireless Controller Library for Proteus Simulation: It is a game pad in the familiar two-grip shape - a D-pad, four face buttons, four shoulder buttons, SELECT and START, two analog sticks that also click as buttons - sold with a small 2.4 GHz receiver. The controller and the receiver pair by themselves when both are powered; the receiver then ...

3S BMS Board Library for Proteus Simulation

3S BMS Board Library for Proteus Simulation: three 18650 cells, the BMS board, a load, a charger and an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new 3S BMS Board Library for Proteus Simulation. A 3S BMS is the small board that sits on every 11.1 V lithium pack - in power tools, e-bike lights, robots and power banks - and quietly decides when the pack may be charged and when it may be used. It watches each of the three cells, cuts the discharge when the weakest one is empty, cuts the charge when the fullest one is full, trips on over-current and short circuits, and balances the cells as they top up. With this library you can run a full Proteus simulation of such a board and watch every decision it makes, cell by cell. The demo is a small drama in two acts: a pack with one weak cell is charged from a supply set too high on purpose until the BMS steps in, then discharged into a load until the weak cell is empty - and the BMS steps in again. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the motor driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the 3S BMS Board Library for Proteus Simulation: A battery management system for three lithium-ion cells in series. The board connects to the pack at four points - B- (the pack's minus), B1 and B2 (the junctions between the ...

AT24C256 EEPROM Library for Proteus Simulation

AT24C256 EEPROM Library for Proteus Simulation: the EEPROM module and an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new AT24C256 EEPROM Library for Proteus Simulation. The 24C256 is the little eight-pin memory that remembers things when the power is gone: settings, calibration values, a counter, a log of readings. On a small blue module with an I2C header it is one of the first parts people add to an Arduino project that has to remember anything. With this library you can run a Proteus simulation of that module and see exactly how such a memory is written and read - page by page, byte by byte - and the memory even survives the end of the simulation, the way a real EEPROM survives a power cut. The demo is a small data logger: the Arduino counts its own boots, stores a message, falls into the famous page trap on purpose and climbs out again, and fills four pages with a log. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the LCD board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the AT24C256 EEPROM Library for Proteus Simulation: An electrically erasable programmable read-only memory with an I2C interface. Despite the old name it is not read-only at all: every byte can be rewritten about a million times, and it keeps its contents for decades without ...

Voltage Sensor 0-25V Library for Proteus Simulation

Voltage Sensor 0-25V Library for Proteus Simulation: the sensor, three 18650 cells, a load and an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new Voltage Sensor 0-25V Library for Proteus Simulation. The little red 0-25 V voltage sensor is one of the simplest modules in any kit - two resistors on a board with a screw terminal - and one of the most useful: it lets an Arduino read a battery, a solar panel or a 12 V supply that would destroy an analog pin. With this library you can run a full Proteus simulation of that module, see the divided voltage, the ADC code an Arduino would read at 5 V and at 3.3 V, and the small current the module takes from what it measures. The demo watches a 3S lithium pack - three of our 18650 cells in series - while a load discharges it, and switches the load off at 9.0 V before the cells are harmed. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the motor driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Voltage Sensor 0-25V Library for Proteus Simulation: The module is a voltage divider: a 30 kohm resistor from the input to the S pin and a 7.5 kohm resistor from S to ground. The voltage on S is the input times 7.5 / 37.5 - one fifth. A 5 V Arduino can read 0 - 5 V on an analog pin, so the module stretches that to 0 - 25 V. On a 3.3 ...

MPR121 Touch Sensor Library for Proteus Simulation

MPR121 Touch Sensor Library for Proteus Simulation: the MPR121 board, an Arduino UNO V4.0 and a speaker as a touch piano

Hello friends, I hope you all are doing great. Today, I am going to share the new MPR121 Touch Sensor Library for Proteus Simulation. The MPR121 turns any piece of copper, foil or conductive paint into a touch key: twelve of them on a single I2C chip, each with its own threshold, its own baseline that follows the room, and an interrupt pin that tells your microcontroller the moment something changes. It is the chip behind touch keyboards, fruit pianos and capacitive control panels. With this library you can run a full Proteus simulation of the popular MPR121 breakout - the registers, the electrodes' data and baselines, the thresholds, the IRQ - and touch its electrodes from the pop-up, the sheet or your own circuit. The demo builds a twelve-key touch piano: an Arduino reads the touches on IRQ and plays a note on a speaker for each electrode. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the push-button board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the MPR121 Touch Sensor Library for Proteus Simulation: The MPR121 is a capacitive touch controller with twelve electrode inputs. For each electrode it charges the electrode's capacitance with a known current for a known time and measures the voltage it ...

XL4015 CC CV Buck Converter Library for Proteus Simulation

XL4015 CC CV Buck Converter Library for Proteus Simulation: the XL4015 board charging an 18650 cell with an INA219 and an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new XL4015 CC CV Buck Converter Library for Proteus Simulation. The XL4015 board is the step-down converter makers reach for when a plain voltage regulator is not enough: besides the voltage trimmer it has a second trimmer that sets a current limit, so the same little board can charge a lithium battery, drive a power LED at its rated current or act as a bench supply that cannot burn your circuit. With this library you can run a full Proteus simulation of that board: constant voltage, constant current, the three LEDs that show what it is doing, the losses and the efficiency. The demo turns the board into a Li-ion charger: it charges our 18650 cell through both phases of a real charge while an Arduino measures the current with an INA219. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the motor driver board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the XL4015 CC CV Buck Converter Library for Proteus Simulation: The XL4015 is a 180 kHz step-down regulator with an internal power MOSFET, good for up to 5 A. The popular board adds a toroid inductor, a Schottky diode, capacitors, and a current loop: a 0.05 ohm shunt resistor in the ...