My mouse died recently. Specifically the cord. What ive wanted to do for a while now and have an excuse to do is to try to get the mouse to run via bluetooth. Im a first year engineering student at la tech so i know the basics of some of this. I figured if i wired this:
To the usb wires that i cut and stripped that it could send data to my laptop which has bluetooth in it. The bluetooth part above has a master slave switch and i can just leave it on slave while i use it. What i need help with is connecting a battery to the mouse. How would i do this? Do i need a constant voltage regulator to keep the mouse up to the voltage it needs til the battery dies or can i just use a battery and a resistor and it will work until the battery dies? Will too much voltage or amperage kill the mouse? What batteries do you recommend? Im thinking a AAA (or 2) or a AA since i want to fit everything inside the mouse case. I have a multimeter so i can measure the voltages (and possible amperage idk yet) to see how much power the mouse draws. I figured if i just connected the data wires and power wires from the mouse to the bluetooth slave transmitter and then also connected power to the power wires on the mouse and bluetooth module thing via a battery it would run and the mouse would operate as normal because even if it does have a transformer or something like that in it ive connected power to the same place it takes it in and it wont hurt it. I can deal with the bluetooth thing getting destroyed. Help or ideas with setting this up for use with a battery. If i connect a AAA battery that is 1.5v and a normal usb port operates at 1.5v the theoretically it should power it right? Then all i would need to do is add a resistor for amperage if needed right? Thank you for the help!!
Edit
The mouse is a logitech g300s Do you think connecting the mouse via bluetooth would change the way it operates? It is still receiving the same data as if it were a usb device right? Or would i have to write a driver for it?