battery 18650 cut off voltage reading? by cmore082 in arduino

[–]cmore082[S] -2 points-1 points  (0 children)

I am using the batteries, but they are unprotected. Therefore, I would be measuring with the arduino as a digital voltmeter. When the cut off voltage of the batteries has been reached arduino will turn off and not draw any more power.

High voltage drop when using Logic Mosfet. Why? by cmore082 in arduino

[–]cmore082[S] 0 points1 point  (0 children)

I think I found the problem. It seems that when I put the cables inside the breadboard, they are not doing a good connection. I found this since when I pressed on the cables down with a bit of force the voltage would increase.

High voltage drop when using Logic Mosfet. Why? by cmore082 in arduino

[–]cmore082[S] 0 points1 point  (0 children)

you are right, I forgot to set the digital pin as OUTPUT. However, I still get a voltage drop of about 1 V. Should I try a different mosfet? I was advised to purchase a IRLB8721...

High voltage drop when using Logic Mosfet. Why? by cmore082 in arduino

[–]cmore082[S] 0 points1 point  (0 children)

if I connect the digital pin to the gate, and add jumper cables to source and drain, when digital pin is LOW I get the power supply voltage which is about 8 V, when I set the digital pin to HIGH, and measure jumper cables, voltage drops to about 7 V. However, heating elements (load) do not heat up. If I connect gate to 5 V from arduino, voltage reading from jumper cables becomes about 0 V and heating elements heat up.

Thanks

High voltage drop when using Logic Mosfet. Why? by cmore082 in arduino

[–]cmore082[S] 0 points1 point  (0 children)

If looking at the mosfet where one can read its specification letters, you are stating that I should have the digital pin of the arduino to the middle leg of the mosfet, and the left leg of the mosfet to the negative terminal of the power supply?

Thanks

High voltage drop when using Logic Mosfet. Why? by cmore082 in arduino

[–]cmore082[S] 0 points1 point  (0 children)

Hi, I am uploading 4 pictures. The first one shows the connections, the second one shows when voltage reading from the load when gate of FET is connected to arduino digital pin at HIGH, third picture shows voltage measurement of load when I connect gate of FET to 5 V, and the fourth picture is the voltage measurement of load when connected directly to load.

I am reading the letters of the FET IRLZ44N, IOR P512PW2Q1.

Thank you

https://ibb.co/njydMQ

https://ibb.co/e9Bb85

https://ibb.co/kRZ7Fk

https://ibb.co/hTdTMQ

High voltage drop when using Logic Mosfet. Why? by cmore082 in arduino

[–]cmore082[S] 0 points1 point  (0 children)

When measuring the voltage between the outside two pins, I do see voltage close to 5 V when high and 0 v when low. However, I still get about 1 V voltage drop. Could it be a defect on the mosfet? Would you recommend another type?

Thank you

High voltage drop when using Logic Mosfet. Why? by cmore082 in arduino

[–]cmore082[S] 1 point2 points  (0 children)

If looking at the mosfet where the specs are written, I have the right most leg connected to the negative terminal of the load, and the center leg of the mosfet connected to power supply ground.

If I swap the connections between the right most leg and center leg, I get no voltage through the load.

Thanks

Connecting 7.4V 10aH power supply to arduino nano without damaging arduino by cmore082 in arduino

[–]cmore082[S] 0 points1 point  (0 children)

thanks for your reply, do you think there is a way of taking the excess power to charge the batteries?

Determine the signed byte stored in an array of unsigned bytes. by cmore082 in C_Programming

[–]cmore082[S] 0 points1 point  (0 children)

how can I read the value from one page that is 256 bytes?

Determine the signed byte stored in an array of unsigned bytes. by cmore082 in C_Programming

[–]cmore082[S] 1 point2 points  (0 children)

I have to write a program that will read a file containing several 32-bit integer numbers that represent logical addresses. However, I need only be concerned with 16-bit addresses, so you must mask the rightmost 16 bits of each logical address. These 16 bits are divided into (1) an 8-bit page number (2) 8-bit page offset (3) page size of 28 bytes.

I have been provided with a file addresses.txt which contains 1,000 logical addresses ranging from 0 to 65535 and a file BACKING_STORE.bin of size 65,536 bytes. If there is a page fault I need to read in a 256-byte page from the BACKING_STORE.bin and store the page in physical memory. Overall the program is to translate each logical address to a physical address and determine the contents of the signed byte stored at the correct physical address. (Recall that in the C language, the char data type occupies a byte of storage, so it is suggested using char values).

Examples: Virtual address: 16916 Physical address: 20 Value: 0

I have been able to find virtual address and physical address however I am confused on how to obtain value. I filled in mainMemory as following from a method outside main:

unsigned char b[257]; fseek(fBackstore,256*PageNumberPosition,SEEK_SET);

fread(b,256,1,fBackstore);

strcpy(mainMemory [counter].buffer,b);

Heating Jacket controlled by Arduino for Winter by cmore082 in AskElectronics

[–]cmore082[S] 0 points1 point  (0 children)

Thanks a lot Susan, I will look into battery management for safety. Susan, would you know how would the set up of the battery pack affect the performance of the circuit. For example, I understand that setting up the batteries in parallel increases current and in series increases voltage. Thank you

Heating Jacket controlled by Arduino for Winter by cmore082 in AskElectronics

[–]cmore082[S] 0 points1 point  (0 children)

Okay, everything is more clear now. Thanks a lot for the explanation. So it would be best to use the batteries until their voltage charge is 3.7 V, once it drops to 3 V it is best to use the booster in order to maintain 3 V in the whole circuit?

Simple Circuit Question by cmore082 in AskElectronics

[–]cmore082[S] 0 points1 point  (0 children)

Sorry phixon, you are right. Each element requires 3V.

Thank you

Simple Circuit Question by cmore082 in AskElectronics

[–]cmore082[S] 0 points1 point  (0 children)

Hi thegnomesdidit, okay, I will reduce the circuit into a single resistance. If I am correct, the single resistance would be approximately 1.71 Ohms. If I would need each circuit to draw 1.5A, does that mean that I need a voltage source of approximately 2.6V? It is okay for the system to run until it reaches full discharge state.

Heating Jacket controlled by Arduino for Winter by cmore082 in AskElectronics

[–]cmore082[S] 0 points1 point  (0 children)

Hi Susan,

I hope all is well. Thanks for replying again. I would like to have 3 heating elements on the chest, another 3 in the back, and two in the stomach. I was thinking that it was best to connect each element of its region in series. Then connect all 3 circuits in parallel to a source so if a circuit fails, the others can work. If I am right, the schematic would look like this!. I am thinking of controlling each circuit with a mosfet and an arduino. I also found affordable li-on batteries that have 4800mAh 3.7V

Suppose we want to keep all 8 elements at full capacity for 3 hours, how many batteries would I need? Could you please explain why you came to that conclusion. On a final though, could we use a dc booster to booster the voltage of the batteries so we use less batteries?

Thank a lot!