CircuitBreaker

From RevSpace
Jump to navigation Jump to search
Project CircuitBreaker
A small configurable electronic circuit breaker that can be placed between your laptop or USB power supply and anything you happen to be working on.
Status In progress
Contact thomas
Last Update 2016-12-24

General description

The idea is to use an ACS712 allegra current sensing module to keep an eye on the current drawn by anything connected to a USB port or USB power supply, and to break the circuit when whatever you're working on draws a little more juice than you expected/wanted it to. This is mostly meant for working with an Arduino, ESP8266 or other micro, with or without additional (breadboarded) circuitry attached.

You could just use a current-limiting power supply, but they tend to be rather cumbersome, and this design includes the whiz-bang option of feeding data through it. That means you can upload your program to the micro, monitor current draw and presumably protect both your USB port and target circuit from emitting unwanted smoke, all at the same time and with just one extra device.

By the way, it's meant for RevSpace, so if you have any ideas, or a burning desire for some extra functionality that I have not envisaged, let me know and I will see what I can do.

Features

This project will include a micro USB input, a relay or MOSFET for switching VDD, an ACS712 current sensor and a normal USB female connector for plugging in your target circuit. The display consists of 12 LEDs, 6 of which displaying actual current consumption, and the remaining 6 displaying current trip point of the breaker. Due to the relative inaccuracy of the ACS712 module, the trip point can only be selected from 6 pre-programmed values. These will range between 100mA and 1A or 1.5A.

The unit will include a pot for selecting current trip point, as well as a reset button and a trip button. I may add a linear regulator and output both 3.3v and 5v to some banana connectors on the side, also feeding from the current sensed supply.

Materials

I haven't decided on the details of the circuit. Depending on the stability of the ACS712, I may change the filter capacitor on the module as per the datasheet. This will give you reduced noise and hence accuracy, in exchange for a decreased rise time of the sensor output. The whole point of this project is to disconnect the load before it is rendered extra crispy, so there will have to be some experimenting to see what the best trade-off is. The output of the ACS712 will feed into the A/D of an arduino, which in turn controls the LEDS, reads out the control pot and switches the relay or mosfet.

The case is a small ancient aluminium project box rescued from the recycling bin. I just need to find some screws to put it together, but the holes for the connectors, buttons and leds are drilled, and the proto-pcb is mounted.