Dekatron's Posts
Nairaland Forum › Dekatron's Profile › Dekatron's Posts
1 2 3 4 5 6 7 8 9 10 (of 47 pages)
Hey!! I am not dead yet!! Serious apologies to them gus that are still following…. Besides, my PC has spoilt and it hasn’t been funny at all. Apologies once again. I am going to save us a lot of bullshit and just jump into one of the main koko of the thread- how to use an Arduino board. Wait!! Do you know what an Arduino board is? Hahaha!! Sounds funny and ridiculous – I know. But no offence!! Even Sheldon Cooper doesn’t know everything! Let us briefly talk about it. Arduino is a microcontroller development board. A microcontroller is an IC (Integrated -circuit) that is really smart. It has its own memory inbuilt and quite small- since it is actually a more specific something. A microcontroller works on the principle of logic gates and ….well; let us just stop there for now. Have you ever wondered how eateries and shops and supermarkets do their this ‘sliding message’? have you ever wondered how the car key remote works or how the automatic pumping machine works? Or how the DVD know where you stopped the particular disc or how a microwave knows that a particular temperature has been reached and should make a sound and display the status? Well, like I promised, I am here to do my best in clearing these ‘HEADACHES’ you have been having. The answer to all of the above is something we call: A MICROCONTROLLER. It is small and have some legs (some have just 6 while some have over 30) and can be used for virtually any cool thing you can think of. The problem however , with microcontrollers is that it does a specific job and its memories (RAM and ROM) are very much limited and so small that they are most measured in ‘kb’ (kilobyte). Imagine your PC having a 1kb RAM/32kb ROM. Funny!! Luckily, your PC has a microprocessor not a microcontroller. Instead of having its memories built in, it has a RAM slot and HDD-Hard disc drive or SSD – Solid state drive SSD. A microprocessor also has the ability to do many things at a time. These are the direct opposite of a microcontroller, and are the major differences. So our dear Arduino is one of these. As time goes on, we will see more wonders of Arduino/microcontrollers |
I as a person can NEVER EVER teach my kid how to pray.... Why? Prayer changes nothing. If all works out as I am planning and working towards, how I will raise my child is : 1. Get him a home teacher on music. 2. Practise yoga/gymnastics with him. 3. Teach him how to convince people with his ideas (not scamming people o). How? I intentionally put him in situations where he has no options than to just talk his way out. 4. Teach him how not to be a slave to delusion - teach him ALL, I MEAN ALL, about religion. Let him realise the lies in it. 5. Teach him how to always survive physically (a man without an iota of military combat is not man enough) 6. Teach him to cook- yes. I will make sure of that. A child of mine must cook his own food in college. 7. Teach him to interact with girls and about sex and ma's turbation (I wish I was taught) as early as 13.even if he goes to college at 14, I am personally supplying him condoms. 8. Teach him STEM at age 3 upward (1+1 is math) (print "Hi" is programming. How to cut a wire is engineering) 9. The list is not conclusive Why? Cos I am working hard not to be ever ever poor. |
Google Nigeria..... Omatek.. Innoson.... Seriously |
You see.. When I talk, some person MODS will ban me.... .... Hausas have problem. It's not them per se.... It's their religion... If you are really a devoted Muslim, you see every non Muslim as infidel.... Same for Yoruba Muslims... . These people openly insult Christianity and Idol worshiping POINT BLANK, but when you say MOH.... they enter super crazy and bloodsucking mode.. In all, I wish religion was banned. Muslims are too crazy a bunch of people..... Am waiting for that foolish Yoruba Muslim/Abo ki mod to ban me...... 3...2...1...banned.. Mtcheewwww |
Never been a fan of public smoking... .. I love this.... Omo Ibadan le mi oo!! |
I can see so many fucktards tryna sound smart.... Nothing good even comes out from their mouth about South West By the way.... I am proudly an IBADAN resident.... From Dugbe to Iwo road to Oja oba... It's a serious something. |
Fulaman198:I know that... But I already started typing before I could think of that... Besides, the if statement is more like the case too..... Also, the program problem says : the user would input a number from 1-5..that means the user already knows details about the program because he knows he has to input from a number to another. Thanks though .. I will modify if I can (my PC spoilt 15' after I uploaded this) |
sonOfLucifer:boss man... why una come disappear nah? i tried going to onyenkuzi.com but keep getting confused.no clear direction no nothing..... and whatsapp, you just disappeared....maka wetin happen? |
wow!! nice one boss.... ouch!!@not free |
I was not expecting better...... Well...... Perhaps you might wanna choose which points to discuss... Most are repeated points making no sense..... Besides, nobody has time to waste analyzing over a hundred points to some niggas that keep running in circles |
Oh I wouldn't know, but I'd say it depending situation. But ideally, blogs make more money than sites. How? Nigerians too like amebo.... And blogs provide exactly that ... Upon all shouting, why are NL MODE still pushing senseless topics to FP?? Cos that is what most Nigerians look for online!! |
fistonati:BS!! YOU were saying? ? |
Nigeria oh Nigeria!! |
BUSHHUNTER:Singing -...... Is you drunk is you had enough? Who you epp? |
Wait make I fry buns.... .. Who him pinshure help? |
hey fulaman198... I actually just saw the day whatever assignment..... so I tried it and go it within not up to 15 mins(including watching musical videos simultaneously.... I am notorious for not always commenting on my codes.....do accept my "laziness"...and I already started typing away before I remembered I should use "switch" statements instead of multiple IFs.......also, I wrote my code and ran ONCE.....Not gloating sha ooo ![]() import java.util.Scanner;
|
Hahn..... Johnydon22..... Shollyps ..... Here we go.... |
Category1:Hating changes nothing... Yo a big fan, bi tch. Proudly Ibadan!! Oh!! And I forgot Aba and Emene in Enugu have golden walkways!! |
On the relationship side, I personally cannot..... But I can so far the girl is not tenacious or bigot.... I mean, if I know that you won't even listen, why should I waste my time with you?? It's headache when theists don't listen or try to. Just like ValentineMary, my ex also dumped me because I told her I was an atheist (still one)... So I made up my mind that come what may, before I ask a girl out, she must know I am an atheist..... One girl asked me out recently on Whatsapp.... I told her, I am an atheist and I cannot date without sex... She said I drop atheism for sex. Took it as a joke, but then I just told her.... I cannot... She had to later agree..... You see, I cannot date on marry a bigot on a good day... Unless I see trait of willingness to accept my terns about religion, I would rather die single fucki ng hook ers whenever I am aroused than get married. |
Hey guys!! I had only Whatsapp data plans. That's why I haven't come to update the thread.... Be back in a bit....... Teem, pele.. Lol |
Nobody cares if I am alive or dead.....anyway, had phone and data prob... So.... we stopped at RESISTORS. . We've talked about reading them. so...... lets briefly talk about diodes!! the first pic is of resistors....the second is for diode
|
No shares, No likes, No comments. . . . . . Mtcheww |
Okay. . Guys. . . So, I uhm . . Couldn't continue with the update. . I was on my way to the electronics store to get some stuffs Anyway . . As I waa saying, we'd talk about the components today. . . However, the android phone I'd have used to upload pictures is dead. . That means that pictures would come LATER. So, whats a resistor?? Just like I'd tell my students (I teach JAMB, POST-JAMB, NECO, WAEC, SSS3 classes PHYSICS, MATH and little Chemistry & biology. . . Met some girls sha. . story for another day), I am not going to tell you TEXTBOOK definition. I'd EXPLAIN IT!!A resistor to simply put, is an electronic component that offers opposition to the amount of current (I) flowing in a circuit. . See it like this :- Water flows in a pipe, then you block it, but allow the obstacle to have a hole to come out. Definitely, the amount of water flow from the pipe would become smaller. . Voltage is the water, current is the rate at which the water flows. RESISTOR is the obstacle. Just as you would have the amount of holes (which is directly proportional to water flow) differs due to some reasons, likewise resistors have varying RESISTANCE (amount of opposition to flow of current). Its measured in ohms. . . . We have many values :- 1k (NB - When I say K, I mean 1,000 or 10^3), 220k, 270k, 10k . .. . Etc. . . I wrote a program in java to calculate the value of the resistance. How?? Every resistor (through hole which we would be using here as we are not doing PCB) has COLOUR BANDS. What did I say?? COLOUR BANDS!! It has bands of colours and each colour means something. Black = 0, Brown =1 Red = 2 . . . Like that. . I'd write in full. I dont want to forget some things as I am typing from head. . . So, you just put the value of your colours in my program & bam!! You've got the answer!! We have MANY software like that (Apps) on Google play. . Download if you don't wanna cram how each resistor looks like to know their values. The bands are of different numbers. We have :- 3,4,5 bands. . . Confused?? Don't be. When you see a resistor, it has colour bands or lemme say :- STRIPES. .These stripes vary from 3 - 5 numbers. Take for example :- The resistor has three bands. The first is red. Second black, third white. . And it has a golden colour as the EXTREME colour. The resistor's value in ohms is :- Red = 1. Black = 0 White = 9. VALUE = 10 *10^9 ohms. The first colour is red which has a value of 1. You write that down. The second colour is black which is 0. You write it TOGETHER with the value 1. Making 10. . You dont multiply like that o. Then, 10 is constant. Since we have three bands, the third would :- 10 raised to power that colour. In this case, white which is 9. Therefore it is 10^9 You get me?? The last last colour which is gold means endurance. . Gold is 5% of the total value. ... In this case, find the 5% of 10 * 10^9 ohms. . Subtract it, from the initial value, then add it. When you subtract, you get a value. Thats the minimum range possible the resistor can take. When you add, thats the max. So, that is the range (lowest to highest) Another way apart from using softwares/Apps and calcuator, it is to use what we call :- MULTIMETER. Thats a tutorial on its own. Now, any question on Resistors?? Atleast for now?? |
arduino:I never called you. I just mentioned a microcontroller unit. You want to advertise on MY thread? Contact me! Hello guys. Today, we'd be talking about the components we mentioned yesterday. Resistors, diodes, capacitors. |
vizkiz:Haaaaaaaaaaaaa!! Jesus wept!! Meself am still weeping . . . . Anyday from today now . . . ![]() |
But wait :- This girl always look for opportunity to dance and whine in my presence . . . Have I been dulling?? Am actually serious cc vizkiz Anytime we are together she gats dance and shake bum ni sha . . . For over a year now have I been a mugu ni?? Somebody tell me. ![]() |
I love the article mehn!! My future company would work on similar things for N.A MILITARY CONTRACTOR things. |
HCpaul:I am familiar with algorithms and pseudocodes. . I used them before doing a major programming exercise. . Yes, I am interested in WHATEVER mathematical. . Though I am not exceptionally bright in it. As for the multimeter, no problem. . . Though it requires more expertise to understand very well without stopping to read (values) very well. . . If for sensing alone, analogues are better. . . But for better values, digitals it is. . All in all, NO PROBLEM!! |
I FORGOT SOMETHING VERY VERY IMPORTANT :- Breadboard. I hated BB before, but its really really a necessary component. We have two three division of boards (lemme call it that). We have :- Permanent - PCB Temporary - BB Semi-permanent - VB PCB = Printed circuit boards VB = VEROBOARD/PERFBOARDS Bread boards = BB our circuit would be hosted/built on a board. . . Boards allow conduction of current among our components. . Boards allow the current to flow from one part to another. . . Later we shall see definitions. @y'all welcome teempakguy, you know C for Arduino?? You na boss na. You will learn it sharpaly johnydon22. E mean say :- I have idea about Java (more than a beginner), I am proficient in QBASIC, I know Arduino C to a level I can write fairly complex codes on my own without help, I can write fairly advanced FORTRAN programs, I can read and understand what a c++ program is, though I can't write pass 'hello world! , I can write little programs in python (Simple/Compound interest, Quadratic equation, etc) I started that like four days ago. . . . Na wetin I write o. Loading . . . |
Okay, so. . . Shall we start?? Due to the fact that I have seen so so so many ARDUINO tutorials, that are . . . Well, abandoned with no proper tutorials, I took it on myself to one day, come back here to teach the same. . So, list (basic) for this tutorial :- 1. Arduino board (I use the MOST COMMON duino -- the almighty arduino uno R3) you can get at www.jutronix.com , www.hub360.com , www.khispa.com Cc :- princejude, hub360, khispa :- anybody that wants to be the official vendor for this glorious thread (trust me, it will blow), holla me through my number. . . . Henceforth, do not be pissed if my prices don't agree with your prices as I am not your official partner here. I bought my uno for #3,000 2. Multimeter (not necessarily the 7,000 ones. . . . The one I would be using cost me just #450) . . Preferably digital. . . Why digital?? Remind me to tell you the reason later on. 3. Jumper wires (costs #350 or so on www.khispa.com . . . You can get female to male , male to male. . Lemme explain :- just like female humans have kitty-cat, jumper wires have 'heads that contain holes'. When you slot the 'male head' that looks like pin into the female head, it 'keys' together to form part of the completed circuit. . . We shall see later on. 4. Diode. . . This is my BEST component!! Costs around 5-10 naira per piece on jutronix.com . . One thing is that :- jutronix replies on time & also the more you buy, the less you pay per commodity!! . . . 6. Resistors -- they are the MOST USED electronic component. . Am sure you that are science students did 'RESISTOR CONNECTION IN SERIES AND PARALLEL' during SSCE (physics) Potentiometers/switches :- for varying resistance, thus light and volume regulation. . . We all know what switches do na LED :- They are types of diodes. . . LEDs emit light when they are biased in a forward manner. . . Simply, the are directional components. Optional :- Transistors :- Amplify current/signals Anything I forgot, I'd add as time goes on!! Leggo. . . First, we talk about all the above we mentioned. |
Hey yo!! I am Dekatron. . . Unlike teempa.kguy and johnydon22, I am not well known on here. . . . Well, I am an Engineering student , I feel happy with practicals than theory. The mentioned guys are Students of Pure Sciences (physics). Without wasting much time, I'd be taking us through BASIC ELECTRONICS. It gon be a continuous series - up until level of ROBOTICS (Lol. Okay, scaring you?? Naahh!! The discipline isn't that hard like you think- its hard though, no lie) . . . . I plan to start a blog on this but then. . . .nairaland is family!! Brief profile :- Name :- Dekatron Hobby(ies) :- Electronics, programming (not so beginner in Java, beginner in C++, boss in QBASIC, Enthusiast in FORTRAN, beginner in Python, More than Enthusiast, but not professional in Arduino C) Discipline :- EEE Level :- 200 Anyway . . . . I'd love to cc some bawsses :- teempakguy, johnydon22, aksat (actually, he made me love Electronics even more. He told me about microcontrollers), princejude ( I always price something from him, but never bought anything. The time I wanted to buy, that I had cash , he didn't have) antiparticle (he holds a PhD in EEE, works at the top processor making company HQ. . . Also my sponsor. You na boss). I'd like to call him 'Dr' here. . Usisky, baba11 (meself don learn EEE ) . . . . Robinhez, sirwere, mathchic, . . . Others!! |
Wanimoh:Actually, THEY DO HAVE IT HERE. Need proof? |
?

* cel + 32;