Microcontrollers for beginners? Answered

I am completely new to the world of microcontrollers. Does anyone know of any books, or websites that give a basic understanding of programming microcontrollers? Thanks!

Asked by DELETED_afw11 9 years ago

How to link a microcontroller with a pc using usb or serial port for sendng program from pc to microcontroller?

How can i connect microcontroller with a computer using usb or serial port for sending programs from pc to microcontroller.

Asked by prosi09 8 years ago

Getting started in microcontrollers

Does anyone know a website or book that can help me get started with microcontrollers without Arduino?

Posted by starwing123 9 years ago

Cheap PIC microcontroller?

What is the cheapest PIC microcontroller with an analog input(a2d capability) and a few digital outputs?? and how much does it cost?? Thanks!

Asked by Chris414 5 years ago

Microcontroller crash course!!!

I would like to build more complicated robots but am seriously lacking knowledge about microcontrollers. Does anyone know any sites or books that explain buying\using\programming these? Thanks!

Asked by DELETED_afw11 9 years ago

Microcontroller Help!!!

I want to connect a microcontroller to LEDs to make them blink. I know how to wire LEDs and how to write computer programs, but I don't know which controller to use, where to get it, or how to wire it. Any help?

Posted by JayGilly6 9 years ago

Im looking into starting a robotics project with microcontrollers. Whats a good noobycheap microcontroller I can get.

I would like it to be USB friendly and I have Windows XP. Thanks! Also is adruino good

Asked by AwesomeCereal 9 years ago

Loading Bootloader into P89V51RD2?

I have two P89V51RD2 microcontrollers, Out of this only one is working fine and in the other one the bootloader is corrupted. How can i replace the corrupted bootloader using working P89V51RD2. Can i use MOSI, MISO & SCK pins of P89V51RD2 microcontroller ?

Asked by HarishN 4 years ago

Need help to spec a microcontroller.

​Hello! I am looking for a bit of guidance as I have limited knowledge in programming Microcontrollers...amateur experience covers a bit of Arduino and LabVIEW (mostly). My goal is to have an LCD display (Module size +- 65 x 40 mm, with SPI or I2C Comms, Monochromatic) to display small error message/codes and other information as for example temperature, speed, Test number and Timer. I do not know what would be the best Microcontroller to use that is off the shelf, that will still be in production for years to come and is "less complicated" to learn...from what I have read, perhaps the best microcontroller might be the Atmel just don't know what model (am open to other suggestions) Also there shall be 20 push buttons connected to the microcontroller. All that the microcontroller does is read the buttons as a byte and send it to another controller and receive information from that controller to know what information to display on the LCD. It shall also inform the controller of any error that it is experiencing.  I do hope that I am providing with clear and enough information so that someone could point me in the right direction.  Thank you in advance.

Posted by Art_Rob 1 year ago

Converting Attiny45 to a Atmel168?

Has anyone replaced an ATTiny45 with an Atmega168 in order to have addtional I'O's?

Asked by ve3poa 9 years ago

Trying to add to a contest but it's not listed

Hi, I'm trying to add my instructable (https://www.instructables.com/id/Build-an-Amateur-Radio-APRS-RX-Only-IGate-Using-a-/) to the Microcontroller contest but when I click to add it, that particular contest isn't listed. Would appreciate some help here. Thanks.

Posted by g6nhu 1 year ago


What can I make with Cmucam4 and Arduino ? Please help me to make a project with Cmucam4 and Arduino

Posted by PardingotanR 1 year ago

2 small more microcontroller questions...

Getting it in the mail soon, so I might as well ask while i wait. 1: Can you put 9V into a input, and out a output.. or is that way too much for the poor guy? 2: Do micro controllers have ability's to read voltage on the input? Like if I want to say when its lower than 1V on input0 it will open output 0 (which sounds a buzzer) for beginner projects. I don't expect examples. I example a yes/no answer. If you feel you need to give an example, feel free. Just don't want you guys to think im requesting codes!

Posted by Killa-X 10 years ago

Hi All, which µcontroller can have memory, output to LCD,Speaker,Stepper motor and PWM ?

I need please a name of one microcontroller with the following features: - memory -output signal to a display (LCD) -output signal to speaker -output signal to motor ( I don't know between stepper motor or servos motor which is appropriate?) -PWM (puls width modulation) feature for stepper motor. Thank you in advance.

Asked by lins2050 7 years ago

How to interrupt in microcontroller?

I need your help in my graduation project It is a smart home project in which i am using two PIC micro-controllers PIC16f877A for LCD & Keypad which is a way of devices control connected to the main micro PIC18f4550 i have problems in main micro code could you help me please I am trying to achieve multi way home automation with some security like fire system and recording camera . one micro for lcd and keypad connection. another to handle interrupts coming from different ways of devices control like keypad , GSM messages serially connected , C# windows application USB connected and remote. my code https://drive.google.com/open?id=0B7jw0zvYc42cdmJPbGRzOWQ0MW8&authuser=0

Asked by AhmedA52 3 years ago

why certain photocell are not working for some PCB ?

I have one sliding door controller ,the photocell is defective and i were try to replace with another set of photocell ,after the installation of photocell the safety is not working ,the supplier says the control board will not be supportive for the any other kind .dear experts may i know how this is possible ?

Asked by kingslyx 3 years ago

HELP. i need thy help.

Hi. ive been wanting to get into micro controllers, and programming them for a while. unfortunately i have only a VERY basic knowledge of electricity, and my best is lighting up a few LEDs, and playing with some motors. I need to know (since i can't find one topic that makes sense to me) what i will need to start, how much it will cost, and if my computer will handle it. im looking to start with either PIC or AVR... thanks!

Posted by DELETED_craz meanman 9 years ago

Cheap microcontroller?

I'm looking for a cheap microcontroller that i can use to control at least 3 led's. All they have to do is flash very quickly at different speeds. I dont have any experience with microcontrollers but i do have limited programming knowledge. Suggestions?

Asked by robbienakata 9 years ago

Which microcontroller to choose?

Hi all, I need to use a microcontroller for my project and am thinking of getting the arduino UNO R3 development board which composes of the ATmega328 microcontroller. I have to connect a small motor, a 16x2 LCD display and a miniature heating element to the arduino. I would like to know if the UNO R3 is suitable for my project. PS: I am very new and noob regarding microcontrollers

Posted by kurtselva 5 years ago

where can i find a PIC microcontroller?? Answered

I dont have to explaine it cause you guys should know what it is.

Asked by jerico420 8 years ago

Can this microcontroller be used for ARDUINO ???

Hi ... can this microcontroller uk.farnell.com/atmel/atmega328p-mu/mcu-8bit-avr-32k-flash-32qfn/dp/1748522 be used to create "ARDUINO" ??? There seems to be a small difference in the pins in compare to uk.farnell.com/atmel/atmega328p-pu/mcu-8bit-avr-32k-flash-28pdip/dp/1715487  - that's what's making me confused. Thank you in advance for your answers. Zholy

Asked by zholy 8 years ago

Where do I get started with microcontrollers? Answered

I would like to start using microcontrollers. I was wondering if there was a cheap starter pack, maybe something that can run Linux software, or come with free software, etc. so I don't have to pay $85 for one chip that can hold 20 lines of code and a CD full of crappy coding software. My budget is about $ 20 + shipping and handling. Also, can I connect a microcontroller to my computer and have it do things on my computer, such as send e-mail, etc.? Thanks!

Asked by mad magoo 9 years ago

Program a cheap microcontroller to work with a electric odometer?

I need suggestions for 1) a cheep microcontroller, and 2) how to program this controller to work with this setup (link) (minus the arduino) .  If that does not make sense just ask and I will try to answer as soon as possible. Edit: If this solution can have anything to do with the ATtiny85 that would be great because i just found a box at a garage sale that was full of them. Thanks in Advance, Zootsuitman

Asked by zootsuitman 5 years ago

Need info on an instructable.

I was reading the instructable for the LED rave glasses.  This one here: https://www.instructables.com/id/FUNKY-RAVE-GLASSES-LED-MATRIX-GLASSES-USING-A-PIC/ In the instructable as in this image: http://imgur.com/N82oywV It seems as if everything is simply wired to the microcontroller.  Unfortunately, the wiring schematic was never added.  Is this LED matrix possible by just using the microcontroller as in the pic?  Would appreciate any word.

Posted by bernaserra 5 years ago

Microcontroller question!!!!

Non of the online tutorials are helping me, How do i set a high/low output to a SPECIFIC pin on my AT2313 tiny??? All I fine alone is OUT PORTD,0xFF which sets ALL ports on portD to high 255 aka OFF. But How can i set like pin 4 (PD4 aka PortD 4) and not all portD? someone help me!!

Posted by Killa-X 10 years ago

Survey on Physical Computing and Microcontroller

Dear user, I need YOUR help in order to get some insight into the substance of microcontrollers and physical computing. The basic question that needs to be answered is, what the problems are that occur in the process of physical prototyping, what the reasons for these problems are, and how these problems can be avoided. The results will be used in a bachelor thesis, that deals with this topic, trying to find out how easy - or difficult - it is to enter that particular field. I kindly ask you to follow the following link and to participate at this survey. http://www.kwiksurveys.com?s=NJDNHK_210fb8e2 Thank you very much in advance! Vletsou Ioanna LMU - University of Munich  

Posted by asking-student 7 years ago

Coming Soon: Microcontroller Contest

Hear ye, hear ye! We will be starting a microcontroller contest on January 17. It will be a relatively short contest (3-4 weeks long). So, if you're working on something, wait until then to publish. If you weren't, maybe now is the time to try out an Arduino or any other microcontroller. More info next week. UPDATE: We have partnered with SparkFun for the contest! We will be giving away: 3 First Prizes - $250 worth of goods from SparkFun + laser-etched Leatherman Squirt E4 + Prize Pack 5 Second Prizes - $50 worth of goods from SparkFun + laser-etched Leatherman Squirt E4 + Prize Pack 5 Runners-Up Prizes - laser-etched Leatherman Squirt E4 + Prize Pack UPDATE 2: The contest is now live. See it here.

Posted by fungus amungus 7 years ago

PIC Microcontrollers

Hello. I'm just making my entrance into the world of microcontrollers. But as I self learning everything I have a few questions. I recently purchased 2 PICS (16F648A) and a programming board. The board works fine and I got it to connect to the computer and reconize the PIC. I guess my first question is, Is all hex code PIC specific? Meaning would I be able to use this code "http://www.voti.nl/blink/index_1.html#16F630" for my PIC? The models are very similar but not exact. If not, I would like to do the standard "Blink an LED" as my first project. How would I write my code for this PIC and what materials would I need? Thanks!

Posted by jefferson987 10 years ago

Best starter microcontroller for project? Answered

Yes, i have already visited https://www.instructables.com/id/How-to-choose-a-MicroController/, and it did not help me much.My last question was a bit ambitious, so I decided to restart with some more info.The project requires: (8) LED; (9)Toggle Switches; (2) Variable Resistors; [1] Relay (20 total)I'm new to this whole thing so I don't know which controller to choose. I did a bit of research, and I think the arduino will do what I need it to. But I don't know if the ATmega168 can be used without the board. (I need about 5 units). Will the arduino suit my needs? Or is there something better out there?

Asked by ericsnapple 8 years ago

does anyone have a good resource for introduction to microcontrollers? Answered

I'm talking absolute idiot here. like, imbecile. dumb.  I'm going to need to start from scratch. I just want to know the easiest and quickest route to this, be it a website, a book, or a class.

Asked by codongolev 8 years ago

Is there a cheaper alternative to arduino? Answered

What is the alternative, and what are the pros and cons compared to the arduino

Asked by sunny342 9 years ago

Programming a microcontroller?

Hi everyone I have got a MICROCHIP - PIC16F616 to play with, I am going to write a little program and load on it. http://onecall.farnell.com/microchip/pic16f616-i-p/8bit-flash-mcu-smd-16f616-dip14/dp/1332199?Ntt=1332199 However, I have a few questions before I do this. 1. How do I know whether language I should write? like C or Assembly? does it tell you in the datasheet (link above), because I don't seem to find it. 2. What kind of program do I need for loading the program into the chip? is it also an information I can find in the datasheet? or it is really some common sense between programmer. My supervisor doesn't offer much help... Extra question Here is the link of open programming, I am just curcious that if I build this programmer (I have one for my chip, but just wanna learn something), does it mean that I can use this to connect my microcontroller and my computer, so to load the program into the microcontroller? http://openprog.altervista.org/OP_eng.html Many thanks

Asked by luckyvictor 7 years ago

Tessel: a new quick-prototyping microcontroller, programmable in JS

I haven't been very active on Instructables lately because I've been a part of starting a company (technical.io)! I thought the Instructables community would want to see: Tessel is an internet-connected microcontroller programmable in JavaScript that enables developers to extend the reach of the web to physical things. Since Tessel is compatible with Node.js and leverages the Node Package Manager, adding additional capabilities is as easy as plugging in a Tessel module and npm installing its firmware. Get Tessel and start making smart, internet connected devices! We have eight days left of crowdfunding: http://www.dragoninnovation.com/projects/22-tessel, so you can see our whole story there. Since Instructables still has a claim on my heart, you've got an open line to me if you have any questions. Miss you! Selkeymoonbeam

Posted by SelkeyMoonbeam 4 years ago

What exactly is an arduino?

I checked out a page on instructables which said that arduino is a microcontroller development system...Is it some kind of a kit or what? what software do i use to program it? and i searched arduino on ebay and a couple of other places...got lots and lots of hits...which kit would be recommended for a beginner?(can u also post a link to it if possible?)

Asked by Yashknowsbetter 9 years ago

need help with programming

Im new at programming microcontrollers and im trying to program an attiny13. i have the cradle and a USB Programmer but im really confused on how to add the code to the microcontroller. i tried to download a sample version here to test it out but i dont understand what im looking at (the code i want to test with is called test_leds.hex( this just makes the leds flash to test it) and its near the bottom under "pulling it together".i downloaded the WinAVR program which i believe is used to right the code and im using the notepad it came with to right the code but i dont understand how to transfer that code to the microcontroller and i cant seem to make it into a hex file.can anyone tell me what steps i need to take to program the attiny13? and how to use avrdude and to make hex files with winavr? i know its a lot to ask but i seriously want to learn how to do this.

Posted by KT Gadget 9 years ago

Aquarium project

I hope I'm not stepping on anyones toes here. I just posted a new topic in Aquarium Projects. It involves using a microcontroller (starting with Parallax BS2 and eventually switching to AVR) to automate some of the tank maintains. Please delete this if it is some sort of violation to refer to a topic in another forum. Otherwise, it is at:https://www.instructables.com/forum/T519BYHFAQEDBX1/I would really appreciate any advice I can get.Thanks!

Posted by GlobalVillageIdiot 10 years ago

Lets discuss our project interest here

Hello everyone, share your thoughts & ideas here..

Posted by ALP Electronic Innovation 4 years ago

fuses? Answered

Is this the default stting of fuses on a pic programmer or do i have to change something _BODEN_OFF _BOREN_OFF _CP_OFF _DATA_CP_OFF _WDT_OFF _LVP_OFF _MCLRE_OFF _INTOSC_OSC_NOCLKOUT tis is wat i am using ' http://members.aon.at/electronics/pic/picpgm/

Asked by oallaa 6 years ago

power up an MCU using another MCU

Dear all, Here is a concept i would like to prove. I am hoping to power up a microcontroller (MCU) using another MCU. The reason is I would like to make multiple replicates of a base circuitry and connect them to each other, two by two. The catch (what i think would be the catch) is to power up the second one using the first one. I am not sure how this would be possible!? would i be able to change the use of two i/o ports to have both the power and data RX/TX ing? Any help is very much appreciated. Regards, KarimS

Posted by karimskarim 3 years ago

Help with programming a PIC16f877A with Pickit2

I am having a really hard time programming a PIC16f877A with a Pickit2 programmer or a homemade serial programmer. I have tried several ICSP interface circuits but neither programmer can read the microcontroller.  I have been able to program other PICs with each programmer without any problems. I am beginning to think that I just have a bad chip. Does anyone have experience using Pickit2? A step by step breakdown would be extremely helpful.  Can anyone suggest a good interface for the PIC16f877A? I have tried connecting the pins directly to the programmer. I have also tried using pullup resistors on MCLR, and used a schematic for ICSP that I found on the Microchip website.  One thing I have yet to try is powering the chip with an external power supply, Would this method work? 

Posted by carjo3000 7 years ago

Need suggestion for clap "push Button" instead of a clap switch.?

Well I want to make a circuit that send out a "high" pulse instead of being "high" continuously and getting "low" after next clap,just like pressing a push button and not like toggling a switch a circuit that turns toggle switch signal to a single pulse

Asked by Suraj Grewal 4 years ago

how can i connect a pic18f4550 to a pic16f88 using a max485 with details about the wires connection between them?

Hello; i want to create a Master-Slave connection between a pic18f4550(Master) and a pic16f88(Slave) using the max485. i need to know how to connect them and how can i program the pics using the proton ide application . then i want to connect the master to a pc using the same mode and i need to know how. thank you very much

Asked by rimchahrour 2 years ago

How do i set up & program a servo? and what do i need?

I am a total newbie to this, i know i need a micro controller of some sort but dont know exactly what i need or how to set it all up. i will be using the servo to lift a faceplate on a helmet up and down. and would like it on a push button, so when i push the button once, it lifts the faceplate up, and press it again it takes the faceplate down? many thanks

Asked by gazza554 5 years ago

why my servo works on arduino and not pic microcontroller?

Hello, Iam trying to use servo to control the turning angel of RC car , my servo is feetech fs5113m . 1st i tried arduino , using a 5 volt supply voltage "1A" for the servo , which is lower than its actual required voltage , but it was still working perfect, i used the "sweep" in arduino examples just to test it. then i used my pic16f877a to run it , and i was facing a problem where the servo keep 'buzzing' and doesn't work until i give it a push , and i was using the same power supply , then i tried both 7 and 6 volts "0.8A". and nothing but "buzzing" here's the code : void servoRotate0() //0 Degree { unsigned int i; for(i=0;i void servoRotate90() //90 Degree { unsigned int i; for(i=0;i void servoRotate180() //180 Degree { unsigned int i; for(i=0;i void main() { TRISB = 0; // PORTB as Ouput Port do { servoRotate0(); //0 Degree Delay_ms(1000); servoRotate90(); //90 Degree Delay_ms(1000); servoRotate180(); //180 Degree delay_ms(1000); }while(1); } and its running on ISIS simulation , and its a code that i actually took from someone who tried it and worked , so help me with this please.

Asked by omar emad 2 years ago