Bitcoin Forum

Other => Beginners & Help => Topic started by: Peanutswar on July 21, 2020, 05:02:23 AM



Title: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on July 21, 2020, 05:02:23 AM
As you can see there are a lot of people seeing the word NOT, AND, NAND, OR, NOR, XOR,and  XNOR most of the time in cryptography and some of them are listed into the different cypher, now I want to share how to use this logic gates that can use into your encryption and also use to the world of blockchain. Also you can check this out if you want to learn more

Code:
Title : Implementing logic gate functionality using a blockchain
https://patents.google.com/patent/WO2017187399A1/en

NOT Gate

https://i.imgur.com/UQJI8xy.jpg

NOT is just basically reversing the value/s of the given problem

A|X
0|1

Example :
A|X
11010101|01101010



OR GATE
When there is a true value (1) the answer becomes true

https://i.imgur.com/HEmI9G4.jpg

A|B|X
110|101|111|

Example :
A|B|X
00110011|10011001|10111011



NOR GATE
When there is a true value (1) the answer becomes false

https://i.imgur.com/Kc9aUZQ.jpg

A|B|X
110|101|000|

Example :
A|B|X
00110011|10011001|01000100



AND GATE
When there is a false value (0) the answer becomes false

https://i.imgur.com/vfnO9ir.jpg
A|B|X
011|110|010|

Example :
A|B|X
10101100|10001100|10001100



NAND GATE
When there is a false value (0) the answer becomes true

https://i.imgur.com/JPiMdHG.jpg

A|B|X
011|110|101|

Example :
A|B|X
10101100|10001100|01110011





XOR GATE
When there is a two same value  the answer becomes false.

https://i.imgur.com/XvyYfgU.jpg

A|B|X
011|110|101|

Example :
A|B|X
10101100|10001100|00100000



XNOR GATE
When there is a two same value  the answer becomes true.

https://i.imgur.com/s7ts4sc.jpg

A|B|X
011|110|010|

Example :
A|B|X
10101100|10001100|11010000



Now here is the challenge for the 10x newbies up to Jr. member you can earn one (1) merit if you answer all of this problem.




OR
A
B
00011001
00011010
NOR
A
B
10110011
01001100
XNOR
A
B
10001101
11111111

https://i.imgur.com/CVGmO9x.jpg

https://i.imgur.com/i34oYI9.jpg

To the people get curious how do I make those logic gates you can use this platform, there are a lot of use this too like making a diagram for data flow/data chart.
Code:
draw.io



Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: DdmrDdmr on July 21, 2020, 07:36:26 AM
Have to comment that the OP reminds me of some of the content I studied back at university, although the context there was learning the underlying basis of computer designs (or something like that), being the diagrams a graphical representation of basic boolean processing operators (1’s and 0’s were really -5V, -5V under the hood back then).


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on July 21, 2020, 08:31:08 AM
This lecture reminds me of our lecture in basic logic circuit last year when I was still a freshman college student in computer engineering. Those "1" and "0" are basically equivalent to "TRUE" and "FALSE" in terms of truth table in discreet mathematics.

Here are some of the application using breadboard.

https://i.imgur.com/vIaJt2ym.jpg https://i.imgur.com/7M6qDLom.jpg https://i.imgur.com/lJv3rIhm.jpg https://i.imgur.com/oEvZHSTm.jpg


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on July 21, 2020, 11:45:08 AM
Have to comment that the OP reminds me of some of the content I studied back at university, although the context there was learning the underlying basis of computer designs (or something like that), being the diagrams a graphical representation of basic boolean processing operators (1’s and 0’s were really -5V, -5V under the hood back then).

Once you have a mistake on your calculations to your logic circuit it will ruin all of your hard work, still with the help of the tinkercard exploding Intergrated circuit no more because it may help what are the parts do we need. I'm using logic dates on our discrete math and it gives a lot of lossing a lot of neurons because you need to do the simplified form.

snip..

Good to see that your 7 segment are still there, still that working?. To the people does not know the 7 segment it display a 7 LED.

https://i.imgur.com/8bMel3B.png
Photo Credit to Wikipedia


This is one of the projects i made with the use of tinkercad.

https://i.imgur.com/WR78DGL.jpg


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: ryzaadit on July 21, 2020, 09:14:33 PM
A bit harsh, f*ck off you reminds me about this shit mattery when i learning this shit on the "High School".

In the "High School" choose the study program "Audio-Video" when i thinking this study learning about editing, camera, and other things about the video. But the reality this study program learning about electronica and makes me a headache.

The reason, I don't math but choose the wrong study program when math was kind of important on this study program. Want to answer the question, but seem like only for Newbie - Jr.Member


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on July 22, 2020, 02:19:09 AM
Good to see that your 7 segment are still there, still that working?. To the people does not know the 7 segment it display a 7 LED.
~snip~
It's actually a "seven segment double digit logic circuit" but it happens that the other seven segment digit has malfunctioned. I've used IC 192, IC 47 and 555 timer.

This is one of the projects i made with the use of tinkercad.
~snip~
Nice! Thanks for sharing this virtual tool. Our professor did not told us that there is an existing tool to create a virtual circuit that can be used as a diagram to follow when doing the actual circuit.  ;D


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Assface16678 on July 22, 2020, 12:29:34 PM
A bit harsh, f*ck off you reminds me about this shit mattery when i learning this shit on the "High School".


It looks like you are having a bad time with the use of the logic circuit that's alright because I feel the same, in our subject when the discrete math my professor gives a lot of problem like the OP given to the newbies a chance to earn merit. Also forgot the thing called as the AND only will use and convert into one integrated circuit only. But still, this is a good thing to learn with those I also checked the link by the google patents and there are related to the use of the logic gates.


The reason, I don't math but choose the wrong study program when math was kind of important on this study program. Want to answer the question, but seem like only for Newbie - Jr.Member

I think OP will be allowed you to answer this because it helps to your skills too but the objective of the OP is to help members to earn merit too. I would like to ask too that we need to provide the solution too?, I want to answer this to try if I still remember all of the lessons we have before.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: infinitesimal on July 22, 2020, 04:11:53 PM
Answers :

1: 00011011

2: 00000000

3: 10001101

4. 0

5. 0

Don't know if all this is right but it was interesting enough.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on July 23, 2020, 11:18:37 AM
snip

Thanks for answering.

Attention : To the people who want to participate this event every time a member got the correct answer the question will change to avoid copying the answer. 9 sMerit left.

Next problem :



1.AND
A
B
11001101
11001101
2.NOR
A
B
11011000
01011000
3.XOR
A
B
10010110
10010100

4 and 5.
https://i.imgur.com/PIXFcXB.jpg


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: nelson4lov on July 23, 2020, 11:45:21 AM
Next problem
~


I'm neither a newbie or jr member but I just want to participate in the challenge for the fun of it. My knowledge about logic gates have become a little rusty since the lockdown but here goes:

1.   11001101
2.   00100111
3.   00000010
4. 1 (NOT 0 is 1)
5. 1 (true: 1 OR 1 = true/1)

Not sure about my answers but It'd be nice to know if I did get them right. 


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Lordhermes on July 23, 2020, 12:54:40 PM
This logic and Boolean gate theory had been a tough class for me back in those day in high school, seeing those diagrams and charts makes me have a feeling that what you gave learnt before still comes to future in different dimension, I would have joined the challenge but have no idea about it. Success for those that hit it right.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on July 23, 2020, 01:12:02 PM
This logic and Boolean gate theory had been a tough class for me back in those day in high school, seeing those diagrams and charts makes me have a feeling that what you gave learnt before still comes to future in different dimension, I would have joined the challenge but have no idea about it. Success for those that hit it right.
This is so far the most easy and basic topic that needs to be mastered in order to understand the underlying logic behind these logic circuit. Try to study the "Truth Table", it'll give you the basic idea why the output is changing when the operator differs at some point.
[1] https://truthtablemaker.com/

I've also found a good research what is the connection of Logic Gates in terms of blockchain.
[2] https://www.lens.org/lens/patent/041-261-392-639-877


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: pooya87 on July 24, 2020, 05:11:00 AM
i think it would be better if these operations are referred to as bitwise operations (https://en.wikipedia.org/wiki/Bitwise_operation) since that is what they are called in programming and cryptography.
additionally there are only 4 main operations: AND(&), OR(|), XOR(^), NOT (~ or unary operation). others such as XNOR are the combination of these operations:
Code:
NAND=NOT(AND) -> ~(A & B)
NOR =NOT(OR)  -> ~(A | B)
XNOR=NOT(XOR) -> ~(A ^ B)


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on July 25, 2020, 08:06:36 AM
This logic and Boolean gate theory had been a tough class for me back in those day in high school, seeing those diagrams and charts makes me have a feeling that what you gave learnt before still comes to future in different dimension, I would have joined the challenge but have no idea about it. Success for those that hit it right.
This is so far the most easy and basic topic that needs to be mastered in order to understand the underlying logic behind these logic circuit. Try to study the "Truth Table", it'll give you the basic idea why the output is changing when the operator differs at some point.
[1] https://truthtablemaker.com/


The reason that I passed my subject into the discrete mathematics is because of this truth table I highly prefer that you must need to be aware the things you are doing especially computing the values of 0s and 1s because once you make a mistake on it there is a chance you will make an error or mistake on your breadboard that causes to your integrated circuit(IC) to explode most and I remember that I exploded almost four (4) IC because not having a good attention to my computation before.

i think it would be better if these operations are referred to as bitwise operations (https://en.wikipedia.org/wiki/Bitwise_operation) since that is what they are called in programming and cryptography.
additionally there are only 4 main operations: AND(&), OR(|), XOR(^), NOT (~ or unary operation). others such as XNOR are the combination of these operations:
Code:
NAND=NOT(AND) -> ~(A & B)
NOR =NOT(OR)  -> ~(A | B)
XNOR=NOT(XOR) -> ~(A ^ B)

I will update this as soon as possble to make an addition with this bitwise operation, also the if and then statement to make more understanding about these too.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: nakamura12 on July 25, 2020, 09:03:24 PM
This reminds me of my brother working hard just to make it work. I haven't had a lesson like this back in my high school days and even in college still didn't have classess like this about electronics since the course I take is not about electronics. I'll try to study a bit about that and i'll try to answer just for fun or challenge.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Blank-Head on July 26, 2020, 03:49:56 AM
OP really described well and thanks for this great lesson.
I think if you add Truth Table with your logic gate then it will be more simple to learn.

Here are some Logic Gates with truth table.
https://i.imgur.com/UU7do6B.jpg

https://i.imgur.com/clLrkzi.jpg
https://i.imgur.com/g3fUjHk.jpg
https://i.imgur.com/U6op76P.jpg
https://i.imgur.com/xYNhX5k.jpg
https://i.imgur.com/fkvewtO.jpg
https://i.imgur.com/5qfLYoA.jpg


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Alucard1 on July 26, 2020, 04:51:47 AM
Second problem:
1. 11001101
2. 00100111
3. 00000010
4. 1
5. 1

Hoping that I answered it all correctly.

I remembered our project last year. The hard thing here is all the wires because it makes you confused whether you put it to the right place or not.
https://i.imgur.com/s3xpwaf.jpg


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on July 29, 2020, 08:39:19 AM
~

Thanks, your answer is correct. I think is good to open a higher rank with this event but with more complicated questions.

Second problem:
1. 11001101
2. 00100111
3. 00000010
4. 1
5. 1


Alucard got the correct answer now we proceed.

Next question :

1.NOR
A
B
10110010
10011010
2.XOR
A
B
10011001
10010100
3.XNOR
A
B
11100101
10010101

4.

https://i.imgur.com/dax0rLd.jpg


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Smartvirus on July 31, 2020, 12:21:24 AM
It's obvious how much most persons learn and forget what we've learnt!
You know, I recall this from my days in high school while taking some computer lessons. It's always so easy to interpret but I barely get the hang of it now. I guess I'll try a review if it much later.
Hope you guys do too. Don't just let it be a familiar, know it.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Wolfencloud on August 05, 2020, 12:01:35 PM
These logic gates reminds of what I used to learn during a lecture form my subject and for sure I always enjoyed this logic gates because it catches my interest. But as of now, I am not really that interested on solving problems with the use of those logic gates, but this topic is a very interesting topic especially for those people who uses breadboard and some circuits.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Smartvirus on August 05, 2020, 01:35:11 PM
Next question :

1.NOR
A
B
10110010
10011010
2.XOR
A
B
10011001
10010100
3.XNOR
A
B
11100101
10010101
4.
4. (EXNOR) = 0


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on August 06, 2020, 10:25:19 AM
snip

Also I highly recommend to you to join into this event because  you have knowledge regarding with the logic gates.

Please provide your final answer properly like the previous participants do on this event.

eg.
Second problem:
1. 11001101
2. 00100111
3. 00000010
4. 1
5. 1



Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Smartvirus on August 06, 2020, 10:48:57 PM
Next question :

1.NOR
A
B
10110010
10011010
2.XOR
A
B
10011001
10010100
3.XNOR
A
B
11100101
10010101
4.
Answers is as follows:

1. (NOR) = 01000101
2. (XOR) = 01101111
3. (XNOR) = 10001111
4. (EXNOR) = 0
I believe it's much better now.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: CryptocurencyKing on August 07, 2020, 03:39:08 AM
Alucard got the correct answer now we proceed.

Next question :

1.NOR
A
B
10110010
10011010
2.XOR
A
B
10011001
10010100
3.XNOR
A
B
11100101
10010101

4.
Quite a way to go with logic gates. I bet I had let a lot of this escape my mind since high school but, upon seeing your formulas, I got the hang of it and it's really interesting to play coding again. I hope am right though but the solution to your next question or problem is got to be:
1. 01000101
2. 01101111
3. 10001111
4. 0
Thanks for sharing


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on August 11, 2020, 07:49:41 AM
@Peanutswar

The website is a bit laggy. Is there any application for this online tool? Just for practicing Logic Gates and any other related subjects. I tried searching on their website but I can't find any. ???


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on August 11, 2020, 10:48:51 AM
~

~

Please double check your answers.

@Peanutswar

The website is a bit laggy. Is there any application for this online tool? Just for practicing Logic Gates and any other related subjects. I tried searching on their website but I can't find any. ???


Good day @Maus0728,

The only thing I used for my logic gates are:

1. draw.io
2. tinkercad.com

[1][2] are quite bit laggy if you are trying to use with your phone.
or this application (you can find in google play store) but you need to pay else try other way to use this for free.

3. EveryCircuit


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: CryptocurencyKing on August 11, 2020, 11:37:02 AM
After a careful consideration, I realized what I assume to be my mistake and here is my final answer.
1. 01000101
2. 00001101
3. 10000101
4. 0.
And now, I await your evaluation to know if I'm on the right path.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on August 12, 2020, 12:32:29 AM
1. draw.io
2. tinkercad.com

[1][2] are quite bit laggy if you are trying to use with your phone.
or this application (you can find in google play store) but you need to pay else try other way to use this for free.

3. EveryCircuit
Thanks for the recommendation. I asked this particular question because I am having my first online class for Logic Circuit and Design. It is just that tinkercad bothers me a lot due to some lag issue on their end  ;). Anyhow, thanks for helping out.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Smartvirus on August 13, 2020, 05:12:41 AM
Thanks for a second look, I guess answers number 2 and 3 had little errors. Well, the correct thing should be, 2. 00001101 and 3. 10000101 but answers 1 and 4 remains the same. Hence, the answer is as follows:
1. 01000101
2. 00001101
3. 10000101
4. 0.
It's a brain exercising and fun participating in your logic gate. I do hope to see my questions. Waiting on you @peanutswar.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on August 16, 2020, 03:59:50 AM
~

~

CryptocurencyKing and Smartvirus  got the correct answer, deserve to get merit too.

7 sMerit left

Next question :

1.OR
A
B
10100101
01001010
2.NOT
A
B
11001010
10010010
3.XNOR
A
B
10001001
10001010
4.AND
A
B
10010010
11110010
5.XOR
A
B
11001010
11010010



Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Darkelf11 on August 16, 2020, 04:39:03 AM
7 sMerit left

Next question :

1.OR
A
B
10100101
01001010
2.NOT
A
B
11001010
10010010
3.XNOR
A
B
10001001
10001010
4.AND
A
B
10010010
11110010
5.XOR
A
B
11001010
11010010
Here are my answers:

1. OR
(A|B)=11101111

2. NOT
~A=00110101
~B=01101101

3. XNOR
~(A^B)=11111100

4. AND
(A&B)=10010010

5. XOR
(A^B)=00100000


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on August 16, 2020, 05:39:42 AM
Although the abstract of this research seems to be vague and too technical for me as of the moment. Still, it's good to think that somehow our topic in this first semester will likely improve my understanding regarding blockchain.
The invention may be implemented on the Bitcoin platform or an alternative blockchain platform. The transaction includes a locking script which comprises instructions selected so as to implement the functionality of a logic gate, such as the XOR gate

Anyhow, these are my recent works regarding Logic Gate as well as implementing Seven Segment in two different simulation platform.

https://i.imgur.com/2YHKp5el.jpg
Platform used: Tinkercad

https://i.imgur.com/OYLmolfl.png
Platform used: NI Multisim


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on August 22, 2020, 11:46:56 AM
~

Please double check your answer.

This event are still up I encourage member ranks too to join on this event

7 sMerit Left.

~

I'm waiting for your actual with the use of BBoard, also thanks for the idea with the use of the NI Multisim I haven't use this on my projects.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on August 23, 2020, 03:51:53 AM
I'm waiting for your actual with the use of BBoard, also thanks for the idea with the use of the NI Multisim I haven't use this on my projects.
Unfortunately, I don't think we're going to use an actual implementation in breadboard due to absence of a face to face class and the crisis caused by the pandemic. I just hope that in the next few months, things will get back to normal.

Moreover, NI Multisim is a pretty interesting tool to be used for creating and simulating projects before applying it for a real implementation. It just takes a little bit of effort to familiarize yourself on every button on the application. Also, just a heads up, NI Multisim have a paid subscription and you can only used for 7 days trial if you are not going to purchase it.  ::)


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Smartvirus on August 23, 2020, 08:27:21 AM
Next question :

1.OR
A
B
10100101
01001010
2.NOT
A
B
11001010
10010010
3.XNOR
A
B
10001001
10001010
4.AND
A
B
10010010
11110010
5.XOR
A
B
11001010
11010010


Answers are as follows:
1. OR- 11101111
2. NOT- (A- 00110101) & (B- 01101101)
Due to the fact that, the NOT gate accepts a single variable at a time.
3. XNOR- 10001000
4. AND- 10010010
5. XOR- 00011000
Those are my answers. Hope I'm on right and I look forward to more questions.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Darkelf11 on August 23, 2020, 09:02:39 AM
Here's my final answer.

1. OR
(A|B)=11101111

2. NOT
~A=00110101
~B=01101101

3. XNOR
~(A^B)=11111100

4. AND
(A&B)=10010010

5. XOR
(A^B)=00011000


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: CryptocurencyKing on August 23, 2020, 06:06:12 PM
~
Thanks for the recognition and would love to win another

CryptocurencyKing and Smartvirus  got the correct answer, deserve to get merit too.

Congrats to my co-winner.

Next question :

1.OR
A
B
10100101
01001010
2.NOT
A
B
11001010
10010010
3.XNOR
A
B
10001001
10001010
4.AND
A
B
10010010
11110010
5.XOR
A
B
11001010
11010010



Solution:
1. OR = 11101111
2. NOT = A = 00110101
                B = 01101101
3. XNOR = 10001000
4. AND = 10010010
5. XOR = 00011000

Was really looking forward to more questions and I'm glad you did find time to trouble us with one. It's really a brain exercising participating in your logic gate war of the peanuts games. Hope the next question is ready and I look forward to a remark on this one.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on August 26, 2020, 10:37:07 AM
~

I think it's better if we give chance to the other members to avoid merit farming like on this event.

1 member : 1 merit

~

Darkelf11 got the correct answer. Looking forward to other members would like to join this event.

6 sMerit left

Next question :

1.AND
A
B
10010101
10001001
2.NOT
A
B
00110101
10001010
3.XNOR
A
B
11001010
11001010
4.NOR
A
B
10001010
11001010
5.XNOR
A
B
10010101
10100101


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: dikobraz123 on August 26, 2020, 07:37:26 PM
Solution:
1) 10000001
2) A=11001010
    B=01110101
3) 11111111
4) 00110101
5) 11001111

It was about 20 years ago when I learned about logic gates... :)


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Smartvirus on August 29, 2020, 03:02:09 AM
Merited or not, I'm sure to participate in a rather lucrative game that enriches the mind and puts your brain to work rather than replying to just any post on the forum. I'll put out my answer for the next question in few hours. I'm just glad you found a way to revive our memory on the logic gates of some almost forgotten chapters of our life and keep us all busy and working out brains. It's worth the effort.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Smartvirus on August 29, 2020, 11:40:14 PM
Next question :

1.AND
A
B
10010101
10001001
2.NOT
A
B
00110101
10001010
3.XNOR
A
B
11001010
11001010
4.NOR
A
B
10001010
11001010
5.XNOR
A
B
10010101
10100101

I promised to put in my answers in few hours... Well, here it is:
Answers
1. AND - 10000001
2. NOT - (A-11001010)
               (B-01110101)
3. XNOR - 11001010
4. NOR - 00110101
5. XNOR - 10000101


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on September 01, 2020, 04:59:30 AM
https://i.imgur.com/2YHKp5el.jpg
Platform used: Tinkercad

Hey guys! Just wanna share that the previous logic circuit that I have made which is the quoted message above can be simplified using "Boolean Algebra" rules in order to reduce the number of IC to be used while maintaining the project cost efficient.

https://i.imgur.com/sKQrdBml.png

@Peanutswar, I think it would be very good idea to at least give some time creating a lecture with regards to how Boolean Algebra works as well as creating "Karnaugh Map" or "Quine Mc Cluskey" as a means to simplify Logic Circuit canonical forms.

Furthermore, I just want to add another application if you want to create logic circuit diagram. You can use "Logisim" for that.

https://i.imgur.com/Hb1xQvul.png



Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on September 10, 2020, 04:03:45 PM
Hey there! Just having fun making discussion here in this thread. I also want to share with you my latest experiment using the 7-seven digital display implemented using TinkerCad.


This is the table solution for a 3 bit input logic circuit using of course 3 variable named as A, B and C.

https://i.imgur.com/JNisO45l.png


This is simplification of Boolean Expression using Karnaugh Map or commonly referred as K-Map.

https://i.imgur.com/w31vQXBl.pnghttps://i.imgur.com/rsU27cxl.png


After doing simplifying all the boolean expression using K-map. We are now able to construct the logic diagram using the logisim.

https://i.imgur.com/YW43qu7l.png


And finally the simulation for the actual digital logic circuit using TinkerCad.

https://i.imgur.com/UlD4QXyl.png

If I can find some leisure time, I might be posting a short lecture on how these K-Map and Logic diagram works. @Peanutswar, you can also give this a shot if I won't be able to make a short lecture apropos to this matter.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on September 20, 2020, 03:54:43 AM
~

I will create the same with you @Maus0728 but on my way/process to create with this on K-map.

To the people who does not know what the use of it, it creates a table as a representation with consist of 0's and 1's to create boolean expression. You can visit guys the link below for more information[1].

[1]
Code:
https://www.geeksforgeeks.org/introduction-of-k-map-karnaugh-map/

I just recently bought a new computer so I can now continue the lesson for this thread, thanks to you @Maus0728  for getting active on this and still support.
Right now I'm working for another example of yours.

https://i.imgur.com/ZbcU9MH.png



Okay for other members we are back to the track.

~

dikobraz123 got the correct answer


5 sMerit left

Next question :

1.AND
A
B
10110010
11010010
2.NAND
A
B
11101001
10010010
3.NOT
A
B
11010010
11001010
4.XNOR
A
B
11101001
00010101
5.XOR
A
B
00101001
11010010

6.

https://i.imgur.com/TAqb31k.png

7. is the LED, ON or OFF?(6 and 7 are connected)

https://i.imgur.com/spL4cbQ.png



Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Maus0728 on September 20, 2020, 11:26:30 AM
I just recently bought a new computer so I can now continue the lesson for this thread, thanks to you @Maus0728  for getting active on this and still support.
No worries! I am just happy to share to everybody what I have learned so far during our online classes. I just happen to fell in love in creating these logic circuit.

If you want to verify your boolean expression and K-map, you can use the links below.
[1] https://www.boolean-algebra.com/
[2] https://getcalc.com/karnaugh-map/4variable-kmap-solver.htm?input=0+1+2+4+8

Just make sure that you know what you doing before using those otherwise it is considered cheating LOL.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on September 27, 2020, 11:40:32 AM
Good day member our topic are still up and we are waiting for you to answer the questions, this may help you to earn knowledge and try your luck with the use of basic logic, also we are going to reveal if the light if going to lights on or off according to the given problem.

Im looking forward to your answers.


5 sMerit left


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Debonaire217 on October 23, 2020, 05:14:20 PM
It just takes me back from the day I was busy on our 10th anniversary here on Bitcointalk when I created this quite complex project:

https://bitcointalk.org/index.php?topic=5193860.msg52956146#msg52956146

And this is the diagram

The basics of logic gates helped me to understand how the circuit works, it was just fascinating because other than the application of this to Electronics and IOT, Logic gates are also essential in coding. If we have more time, we can research logical operators and it seems like understanding logic gates will also be a bridge for better opportunities. I hope those who first saw OP's post could appreciate the importance of these symbols and their meaning. Sometimes, it is essential to social life too to completely understanding the usage of "OR" and "And" when making decisions in life.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on December 09, 2020, 03:03:55 AM
I think this deserves another up to the people who would like to learn with the logic gates you can use this to the future.

Still giving away  5 sMerit left


It just takes me back from the day I was busy on our 10th anniversary here on Bitcointalk when I created this quite complex project:

https://bitcointalk.org/index.php?topic=5193860.msg52956146#msg52956146

And this is the diagram
.....

I saw your previous project submitted on the anniversary of the bitcointalk and this is so good I'm hoping I try this kind of project too but the problem right now due to this pandemic I cant buy that equipment and tools, I want to try with the use of the RFID too.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: bitcoinermatt on December 12, 2020, 06:36:55 PM
Is the topic still going? Whats the current question?


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Muenalo on December 12, 2020, 08:09:21 PM
Wow.. Thanks so much for this write up.
You just remind me of my year one first semester course back then in the polytechnic "Introduction to Computing", But thou, I am not saying I was very good in the course oh, but at least I can still remember few things.

That if a certain condition is true, it turns “ON” and goes “OFF” when the condition is false. And that Logic Gate accepts the input and operates on a required condition.

And that there are seven types of Logic Gates. Which include:

NOT Gate (Inverter)
AND Gate (Multiplication)
OR Gate (Addition)
NAND Gate
NOR Gate
XOR Gate
XNOR Gate

So thank you once again for sharing this.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: fugit00 on December 13, 2020, 02:28:20 AM
1   10010010
2   01111111
3   00101101 00110101
4   00000011 
5   11111011
6   1
7   On


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on December 13, 2020, 05:21:28 AM
Is the topic still going? Whats the current question?

We have 4 smerit left This is the question https://bitcointalk.org/index.php?topic=5263519.msg55228819#msg55228819

1   10010010
2   01111111
3   00101101 00110101
4   00000011  
5   11111011
6   1
7   On

Congrats fugit00  got the correct answer, thank you for  answering, now we will show the output with the use of tinkercad


1.AND
A
B
10010100
11001010
2.NAND
A
B
11001010
11001010
3.NOT
A
B
110011101
11010010
4.XNOR
A
B
11010010
11001010
5.XOR
A
B
11010010
11100101


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: PhoenixZephyrus on January 04, 2021, 05:21:00 PM
1 10000000
2 00110101
3 001100010 00101101
4 11100111
5 00110111

I'm actually learning these in my classes right now, so this was a nice way to try out if I could do these on my own! I have also been learning on how to implement logic gates with Python, which is also one of the classes that I take currently, although I am yet to try them out on actual circuit boards, as I havent been able to get my hands on one due to the online classes.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on March 15, 2021, 09:33:52 AM
I would like to congratulate PhoenixZephyrus got the correct answer. It's been a long time before I get an update but now we are back on track I encourage newcomers to try these logic gates. 3 smerit left

1.AND
A
B
11001001
11001010
2.NAND
A
B
11001010
11001011
3.NOT
A
B
11111010
11001010
4.XNOR
A
B
11001010
11001010
5.XOR
A
B
11001010
11001100

Looking forward to your answers. Good luck.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: BevNation on March 15, 2021, 01:13:38 PM
I would like to congratulate PhoenixZephyrus got the correct answer. It's been a long time before I get an update but now we are back on track I encourage newcomers to try these logic gates. 3 smerit left

1.AND
A
B
11001001
11001010
2.NAND
A
B
11001010
11001011
3.NOT
A
B
11111010
11001010
4.XNOR
A
B
11001010
11001010
5.XOR
A
B
11001010
11001100

Looking forward to your answers. Good luck.

I remember this exercise from my days in high school. It was really confusing back then. Let me try if I still have some knowledge on it.

1. AND = 11001000
2. NAND = 00110101
3. NOT = A - 00000101
                 B - 00110101
4. XNOR = 11111111
5. XOR = 00000110

How did I do?


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Saucinnn on March 31, 2021, 08:09:07 AM
I would like to congratulate PhoenixZephyrus got the correct answer. It's been a long time before I get an update but now we are back on track I encourage newcomers to try these logic gates. 3 smerit left

1.AND
A
B
11001001
11001010
2.NAND
A
B
11001010
11001011
3.NOT
A
B
11111010
11001010
4.XNOR
A
B
11001010
11001010
5.XOR
A
B
11001010
11001100

Looking forward to your answers. Good luck.

For question 1:
11001000
For question 2:
00110101
For question 3:
A-00000101
B-00110101
For question 4:
11111111
For question 5:
00000110


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Peanutswar on April 22, 2021, 03:19:56 AM
Sorry for taking so long, BevNation got the correct answer

~~

Saucinnn you can try for my next update its better if you made faster to ce
~~

Here we go for another set of question 2 smerit left



1.NAND
A
B
11010010
11001001
2.AND
A
B
11100110
11010010
3.NOT
A
B
11001000
11001001
4.XNOR
A
B
11001000
00100010
5.XOR
A
B
11100101
11000101

Looking forward for your answers goodluck!.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: soliton on April 22, 2021, 09:12:17 AM


1. NAND  [If any of two bits false] => true  [if both bits true] => false
00111111

2.AND  [If any of two bits false] => false  [if both true] => true
11000010

3.NOT [If bit is  false] =>true  [if  bit is true] => false

A : 00110111
B: 00110110

4.XNOR
[If both bits false] => true  [if both bits true] => true [If one of two bits  false] => false

00010101

5.XOR [If both bits  false] =>false  [if both bits  true] => false [If one of two bits false] => true

00100000


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: Kittygalore on April 22, 2021, 11:29:08 AM
1.NAND
A
B
11010010
11001001
2.AND
A
B
11100110
11010010
3.NOT
A
B
11001000
11001001
4.XNOR
A
B
11001000
00100010
5.XOR
A
B
11100101
11000101

Looking forward for your answers goodluck!.

1.  00111111
2.  11000010
3.a 00110111
3.b 00110110
4. 00010101
5. 00100000

Tried to do it mentally because I was taught this back in my first year although I did failed the subject.


Title: Re: [LEARN] LOGIC GATES and chance to earn merit.
Post by: soliton on April 26, 2021, 10:24:29 AM
Is something wrong with my answer? I'm wondering because it’s been four days since the answer, but Peanutswar is  not paying attention. BTW, Kittygalore has posted solutions that coincide with mine which I got following the rules of Boolean algebra for logic operations in question.