Potentiometer and 7 segment

You cannot use pins 0 or 1 on Uno. They are used for uploading your sketch and serial monitor.

I just asked a question and shared as much as I could with people trying to help me. I don't have the information they want from me and it's ridiculous for him to talk to me like that even though I said it, he doesn't need to rewrite something I said

I didn't know, I guess I learned wrong, thanks

Hmm... Well, if someone taught you that it's ok to use pins 0 or 1 on Uno, then what you have learned is that whoever said it was ok to do that is not the expert you thought they were! Just use pins 11 & 12 instead. You can also use pins A0 to A5 as digital outputs if you need to.

You cannot know, when you are a beginner, who to trust, who is an expert and who is not. The good thing about this forum is that if someone believes themselves to be an expert and gives bad advice, they will quickly be corrected by other forum members.

As already pointed out by @Grumpy_Mike and others, the circuit you posted could damage the Uno, or the displays. To prevent this, the minimum you need is 3 resistors. The displays won't be very bright, but they might be ok for you. Have a look at the SevSeg Arduino library. The example sketches will make a good starting point for your code.

When I increase the voltage with the potentiometer, I want to see a value on the screen and I want this value not to be an integer. Is such a thing possible?

thank you for your help i guess i am not an expert but i can say i learned something to start with as you said i am also looking at other files in the forum

Are you saying you want to map the interval 0-1023 to the interval 0.90-0.83?

my language is not very good sorry i have a little difficulty in establishing after a few sentences there is no such forum in my language and i am developing it at the same time i just want to get random numbers when the potentiometer is turned and i want this range to be between 0-0.99 is that enough?

yes that's exactly what i meant

While writing to you, I stated that I wanted it to be between 0-0.99 and with the potentiometer movement.

Have you got any hardware/programing done towards this project?

If not then just put your project aside for the moment.

Now get some hardware and coding working that JUST reads your potentiomenter.

When we help you get that workng, THEN begin to develop it towards your goal.

If you eventually want to display 0.00 to 0.99, then all you will be doing is displaying the integers 0 to 99 and putting in a decimal place in the display with your software.

NOTE. Get experimenting, this project is a very good start, you just need to approach it in the step by step way.

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

@murps,

First topic, which was a hijack of someone else's topic, merged with second identical topic. Please do not add your questions on the end of someone else's topic, start your own. If you have multiple questions about the same subject / project then usually best to keep them in one topic as the context for each question is provided by the answers to the previous question.

Thank you.

Then you do not have enough information to even start with your project. Go back and ask for better information.

The only problem is that it is a rubbish example.
I did try and post this as a comment, but it kept saying there were invalid characters in the text file. So even this site seems to be read only. This is what I tried to put:-

Sorry but that circuit is absolute rubbish. There are no current limiting resistors, nor drivers for the common, anode or cathode display. You no not even specify what sort of display, common, anode or cathode to use. Like so many misguided guides you assume that the act of multiplexing will some how protect the Arduino pins from being overloaded. It does NOT. The peak current of a multiplexed display is not diminished in any way. I suggest this project is either removed from here, or updated to remove the errors in it.

Your comment is there Mike. You don't have to read down very far to find other, similar comments.

Or else, to flesh out all the alternatives, you have enough information to satisfy the original need, since it give you liberty to make it do whatever you like...

Thanks, it disappeared on my screen. Checked it again and indeed it is there now.

Your thread is 45 posts long. Have you found the advice yet to bring your project to completion?

All the folks who tried to help you know their subject matter very well... but you are sending them away.

Why don't we try again? I made a tinker toy on Wokwi that shows how to make a 7-segment LED print a number. The only parts missing is a potentiometer and two more 7segs.

Your turn.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.