Attiny85 Battery Tester

Hello,

I try to copy this project:

But something I connected wrong because it is not measure, and the screen refresh is too slow.

Here is a video:

I cannot found what I made wrong.

The programming I downloaded from the original video description. I didn't change anything just uploaded to the Attiny85 with Arduino Nano.

This is why I think it could be a connection issue.

Any ideas what could be wrong?

Need to supply your code you uploaded, circuit diagram (no fritzing please) connections for uploading and any error messages in IDE when uploaded.

After reading the "How to get the best out of this forum" post, please follow the directions to post your code (using code tags), and your hand drawn wiring diagram, with pins and parts clearly labeled.

Hello,
The code is under the original video.
You can download from there.
I loaded in Arduino and push the upload button.
Nothing changed at all . Didn't touch the code.
Code parts everything exactly same as on the video.
No error when I uploaded.
Wiring draw is in the original video too.
I copied the project, nothing changed at all.

How intmhz use attin85 ?!.
1mhz or 8mhz :thinking:

8MHz same as on the video.

Strangely I dont have patience to trawl through 10 minute videos to try and catch code and wiring diagrams. Its probably an age thing, lifes just too short.

Would you care to post them?

Not in the video.
In the video description.

The blue lines are links.
You could found everything there without loosing time.
And the video is tagged: so you don't have to watch all, just jump the circuit diagram part /5:33/

I cannot give more. That's all what I used. No more.

YOU want the help, it's up to YOU to post YOUR code, and supply YOUR wiring diagram, and also up to YOU to tell us how you set the fuses & uploaded the code.

If you don't, then we can't help.

1 Like

I don't understand.

I shared everything.
I wrote down many times.
What code do you want?
What diagram do you want?

I followed the link what I shared
Downloaded.
Opened with Arduino IDE.
Do nothing
Nothing.
Only pushed the upload button.
So, I don't have code.

5:33 in the original video there is a diagramm.
I used that. Exactly that.
I don't have diagram.

I don't know what is fuses.

I uploaded the code with Arduino IDE.
Used arduino nano.

I don't understand what else should I have to tell

I am a beginner. I don't understand that circuit.
I just copy everything.
Exactly the same everything.
I did what he told.
I bought exactly the same parts.
Copy only.
Nothing changed
Nothing.
I don't know what and why, so I copy .

Only difference is I don't have that programing board, so I used Arduino Nano

I can't access youtube from here (it's firewalled out), so I can't get to the link.

But you have been asked so many times to provide the information, so I'm out.

Good luck figuring this out by yourself.

Good bye.

1 Like

We need to see what you uploaded, to check if it is the same.

Can we please have a circuit diagram?
An image of a hand drawn schematic will be fine, include ALL power supplies, component names and pin labels.
Reverse engineer your project and show us what you get.

You are asking for help, so help us as well.
You have your project in front of you, we don't.

Thanks... Tom.. :smiley: :+1: :coffee: :australia:

1 Like

Hello,
I burn the bootloader again on my Attiny85.
After upload the code again, and now it start to work but something is still wrong.

TomGeorge: please read my answer before yours.
I don't have code. I dowloaded, and uploaded what is in the description of the original video.
I don't have circuit diagram, because I used what is in the video 5:33 .
I don't understand that circuit. I am less than a beginner.
I only copy that project . I didn't do anything.
Download and upload. I did this.
I bought exactly same components.
Because I don't have knowledge to do anything like this.
I don't understand what you are asking.
Power supply same as on the video.
Arduino power supply.
Components names: exactly the same as in the video.
Exactly the same.
Attiny85, resistor 1 ohm 2 pieces, resistor 10K ohm 2 pieces, 3055L /I don't know what is this/, oled
I would like to help, but I don't know how.
This is why I make videos, to see everything.
Not only a picture.
But I can make picture, if that is better.

This is the circuit in the video I used this.
I can draw this. Because I copying this.

You have to save the sketch before you can upload it - have a look in your sketchbook.

1 Like

I don't have to save, because it is not created.
It is opened.
Like when you open Example -> Blink . You don't have to save before upload, if you didn't change anything.
:smile:

I got the answer from the creator:

I just don't know what should I have to do.

Read this:

Dont post videos, screen grabs, pictures of code etc.

Ok,
Thank you so much for everyone for the help .

  • You need to measure the voltage at pin 3 of the ATtiny85 with a multimeter.
    (do you have one?)

  • You then need to download the sketch again.
    (I recommend saving it this time - it might come in useful).

  • Modify the sketch by adjusting 'FACTOR'.

  • Reprogram the ATtiny85 with the modified sketch.

  • Test to see if the results are acceptable.

  • If still not correct make further adjustments to 'FACTOR' and re-program etc.

We will help you further if you get stuck, but we would need to see the sketch to do so.

First of all thank you so much for helping.

Yes, I have a multimeter.
How much voltage is good on pin 3 ?

  • That measurement needs to be taken whilst a battery is being tested. Measure the battery voltage with your multimeter as well.

The voltage at pin 3 of the ATtiny85 should be half of the battery voltage, (it may be slightly different due to tolerances in the values of R2 and R3).