microcontroller help? Answered

I have a few MSP430F5438IPZR microcontrollers from texas instruments, and i was wondering how to program them. I've seen things like the ghetto programmer and was hoping that i could do something similar. yes i am new at microcontrollers, i have done nothing with them, but would like to start. any help would be appriciated. MSP430F5438IPZR data sheet thanks EDIT: i would like to know how to connect it to the computer and then program it.

Asked by matstermind 8 years ago  |  last reply 8 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 6 years ago  |  last reply 6 years ago


good cheap microcontroller?

Does anybody know a good cheap microcontroller that has at least 5 outputs, programmable via usb, and a fast clock (1000 ticks/ second)

Asked by coleyy 7 years ago  |  last reply 7 years ago


microcontroller on arduino board?

I am a newbie to arduino.I 've learnt atmega328 controllers are used on arduino.I am using arduino smd rev3 can someone please label it for me?  

Asked by manaswini1317 2 years ago  |  last reply 2 years ago


How to interface a microcontroller with a switch? Answered

I have a device with a lever-style switch, like the bottom switch in the picture of this article. http://en.wikipedia.org/wiki/Miniature_snap-action_switch With some multimeter probing, i found that of the three pins, the middle is unconnected. The left pin is always connected to ground. The right pin is connected to ground when the switch is unpressed. When the switch is pressed, the right pin is unconnected. How can I use a microcontroller to stand in for this switch? I'd like to have it activate the switch every 2 seconds. I have the software done, and just need to get the hardware set up. Help is apreciated.

Asked by 4lifenerdfighter 6 years ago  |  last reply 6 years ago


Build Barcode Scanner with microcontroller

Hi everyone, im new here. i have a school project, i need to build a barcode scanner with microcontroller to use it like ( personnel pointing system ). so i can read each code bar and shows me in a LCD the name of the correspondant Person. thanks for your help

Posted by ael mehdi 5 years ago  |  last reply 3 years ago


Motorized Panoramic head with microcontroller

Hi All, I want to build a motorized panoramic head. It must be made in PIC or ATMEL because I have only these options. Arduino board are not available to me  How it works.  Its basically controlling two stepper motors using inputs from photographer. Photographer inputs values in parameters and than microcontroller uses these parameters to rotate camera frame and take pictures. Parameters are as under: There are two stepper motors. One motor rotates frame of camera on x-axis and one rotates it on y-axis.  1. For x-axis motor parameters    a. Total numbers of steps to rotate.    b. One motor movement = 1 stepper motor step or more. For example we can move stepper 2      steps in on movement    c. After each movement (point#2) It takes image or press camera button by using relay or optocoupler    d Time Delay : When camera takes picture it takes time to save on memory card. We can define time in seconds as per picture size.    e : When it completes total number of steps defined in step#1. It moves back to its zero position. 2. For Y-axis moto parameters     a: When first motor completes its full number of steps than y-axis motor is activated.     b: y-axis: Total number of steps      c: one movement = how much motor steps. just like x-axis motor parameter     d:   Time Delay : same as x -axis motor. time delay after tilting frame.      e: y-axis motor just performs only one movement. Than again it activates x-axis motor.     f: Panoramas are made in multi rows. so this process of x-axis and y-axis motor activation should keep on going. It is terminated when y-axis motor completes its total number of steps. So the whole process is like this Turn on microcontoller  Add parameters for x-axis and y-axis motors click on start button microcontroller starts rotating frame on x-axis Frame start moving in steps. Than frame completes its first x-axis turn now microcontroller activates y-axis motor. Y-axis motor tilts frame upper arm in one direction.   code checks it is Y-axis motor final movement or more to come. If more than it activates x-axis motor. X-axis motor starts repeating whole process which it previously did. Than after full movement on x-axis and it activates y-axis motor. This process is terminated when total movement defined for y-axis motor is achieved. CAN ANYBODY MAKE ITS CIRCUIT AND PROGRAM CODING ? I M TOTALLY BLANK IN MAKING CIRCUITS AND WRITING CODES.

Posted by diy high speed photography 8 years ago


Thinking of getting into PIC microcontroller world

So I'm thinking of learning about PIC micro-controllers. I'd like to know some info about it. In what language is it programmed in? Is it similar to C? How is it different with STM32 controllers? (Never used an STM before, though).

Asked by Kan Yu 11 months ago  |  last reply 11 months ago


microcontroller 8051 seriel interfacing with pc

I want coding of microcontroller seriel interfacing to pc in assemble and c both

Asked by f_siddiqui 8 years ago  |  last reply 4 years ago



is the ps2 connected mouse's microcontroller programmable ? Answered

I heard that the ps-2 connected mouse has a microcontroller , is that true? and if it's true is it programmable?

Asked by top.boy 7 years ago  |  last reply 7 years ago


What are the advantages of PIC16F877A compared to microcontroller 8051?

Asked by kanya 9 years ago  |  last reply 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  |  last reply 9 years ago


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  |  last reply 7 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 9 years ago  |  last reply 9 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 10 years ago  |  last reply 10 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  |  last reply 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 10 years ago  |  last reply 10 years ago



can anyone suggest a microcontroller that would allow me to controll 19 outputs from an rs232 connection? Answered

I was thinking of some kind of PICAXE chip

Asked by DanNixon 9 years ago  |  last reply 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  |  last reply 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  |  last reply 1 year ago


how to interface current transformer to ARM7- LPC2148?

Asked by DSKHOT 7 years ago  |  last reply 7 years 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  |  last reply 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  |  last reply 1 year ago


CMUCAM 4

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

Posted by PardingotanR 2 years ago  |  last reply 2 years 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  |  last reply 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 8 years ago  |  last reply 8 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  |  last reply 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 4 years ago  |  last reply 4 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 10 years ago  |  last reply 10 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<50;i++) { PORTB.F0 = 1; Delay_us(800); PORTB.F0 = 0; Delay_us(19200); } } void servoRotate90() //90 Degree { unsigned int i; for(i=0;i<50;i++) { PORTB.F0 = 1; Delay_us(1500); PORTB.F0 = 0; Delay_us(18500); } } void servoRotate180() //180 Degree { unsigned int i; for(i=0;i<50;i++) { PORTB.F0 = 1; Delay_us(2200); PORTB.F0 = 0; Delay_us(17800); } } 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 3 years ago  |  last reply 3 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  |  last reply 7 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 6 years ago  |  last reply 6 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  |  last reply 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  |  last reply 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  |  last reply 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  |  last reply 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  |  last reply 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  |  last reply 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  |  last reply 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 8 years ago  |  last reply 8 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 9 years ago  |  last reply 9 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 11 years ago  |  last reply 7 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  |  last reply 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  |  last reply 4 years ago


How well can you debounce a switch with a cap?

Asked by sotsirh194 9 years ago  |  last reply 8 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 8 years ago  |  last reply 6 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 5 years ago