¿Qué necesito para programar un microcontrolador?

Una vez que tienes un microcontrolador, el siguiente paso, es programarlo para que haga algo útil.

Para hacer eso, necesitas:

 

  1. Un editor/procesador de texto.
  2. Un compilador/ensamblador.
  3. Un programador/quemador.
¿Qué son estas cosas?
  • Un editor de texto, es un programa para escribir, cuya función principal, no es que el texto se vea lindo, si no, ayudarte a escribir. Normalmente colorean las palabras especiales de cada lenguaje para ayudarte a comprender la estructura de tu código de forma visual. Además, muchos vienen con agregados útiles, como expresiones regulares (regex), de las cuales que hablaré en un futuro post.
  • Un procesador de texto, es un programa para escribir, cuya función principal, es que el texto se vea lindo, para esto te deja agregar imágenes, tablas, colores, distintos tamaños y tipografías para las letras, etc... Esto no es muy útil para programar, por lo que no lo recomiendo, sin embargo conozco una persona que programa así. Si puede servir, por ejemplo, para documentar tu código.
  • Un compilador, es un programa que traduce el código escrito en un lenguaje en particular a código de ensamblador o a un archivo binario/hexadecimal directamente, lo cual es ejecutado directamente por un computador..
  • Un ensamblador, es un programa que traduce un tipo de código de muy bajo nivel (que no pienso enseñar por que no me gusta :P) a un archivo binario/hexadecimal.
  • Un programador o quemador (como le quieran decir), consta de dos partes, un software pare el computador y un aparato físico que se encargan de traspasar el archivo hexadecimal desde el computador en que lo compilaste, al microcontrolador que lo debe ejecutar.
Ok.. se que parecen muchas cosas, pero por eso mismo, se han inventado atajos para resolver el problema:
  • Un IDE, una sigla en inglés que significa "Entorno de Desarrollo Integrado" (Integrated Development Environment), es un conjunto de esas cosas, que para nuestros fines, normalmente traen un editor de texto, un compilador, un ensamblador y un programador (software). La idea es que la mayoría de esas cosas queden ocultas para simplificarnos la vida, por lo que muchas veces solo vemos el programa para escribir y un botón que compila, ensambla y traspasa el programa al micro, todo automáticamente.
  • Un Bootloader, es un programa especial para el microcontrolador, que hace que no requiera un aparato especial para cargarle tus programas (y en consecuencia, se reduce el costo).
Ya, ahora se ve más simple; sin embargo, aun existen alternativas más simples y agradables, como por ejemplo:
  • Arduino: Una plataforma construida a partir de microcontroladores AVR de Atmel, son increíblemente baratos, poderosos, y no solo traen un IDE y un Bootloader, si no que además trae muchas funciones pre-hechas en C++, gracias a lo cual, puedes hacer complejos programas en poco tiempo.
  • Picaxe: Otra alternativa, pero ocupando los PICs de Microchip. Personalmente, y con toda la subjetividad que eso implica, no los recomiendo.

 

|

Comentarios

You've made soje really good points there. I looked on the web for addiyional information about the issue and found most individuals will go along with your views oon this website.
Responder
I bet hee is PERFECT at it!? Laughed Larry.
Responder
Ao invés de, esnobe algo as mulheres.
Responder
Ahaa, its good dialogue concerning this paragraph at this place at this web site, I have read all that, so now me also commenting at thiss place.
Responder
I've been exploring for a bit for any high-quality articles or weblog posts in this sort of area . Exploring in Yahoo I eventually stumbled upon this site. Studying this information So i am happy to exhibit that I have a very just right uncanny feeling I found out exactly what I needed. I such a lot indisputably will make sure to do not put out of your mind this site and provides it a glance on a constant basis.
Responder
I bet he is PERFECT at it!? Laughed Larry.
Responder
Hi would you mind letting me know which webhost you're utilizing? I've loaded your blog in 3 completely different browsers and I must say this blog loads a lot quicker then most. Can you suggest a good internet hosting provider at a reasonable price? Thanks, I appreciate it!
Responder
Today, I went to tthe beach with my children. I found a seaa shell and gave it to my 4 yer old daughter and said "You can hear the ocean if you put this to your ear." Shhe placed the shell too her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to goo back! LoL I know this is completely off topic buut I had to tell someone!
Responder
If some one wants to be updated with most recent technologies afterward he must be pay a quick visit this web site and be up to date every day.
Responder
wonderful issues altogether, you just gained a logo new reader. What could you suggest about your post that you simply made a few days ago? Any certain?
Responder
Follicle RX cambió eso. Dolor pélvico severo en un lado.
Responder
I know a recreation we are able to play thats like Daddy is speaking about.? Mommy stated making each boys wish to know the ssport a lot. ?It?s known as ?Whats the neatest thing about God. And every of us has to provide you with one really great point we like about God. Who needs tto go first??Lee and Larrey jumped and shouted ?ME ME!? waving their hands in the air like they do at school. Lastly, Mommy mentioned, ?Properly Lee, since youe two inutes older than Larry, youll be able to go first.
Responder
I really like looking at and I think this website got some truly useful stuff on it!
Responder
Great goods fom you, man. I've understand your stuff previous to and you're jjust extremely fantastic. I actually like what you hve acquired here, really lie what you're stating and the waay in whgich yyou say it. You make it entertaining annd you still care for to keep it wise. I can't wait to read much more from you. This is actually a great web site.
Responder
I'll right away grab your rss as I can not find your e-mail subscription link or e-newsletter service. Do yoou have any? Kinddly allow me recognise in order that I may just subscribe. Thanks.
Responder
Unquestionably believe that which youu said. Your favorite reason seemed to be at the internet the easiest factor tto be mindful of. I say to you, I certainly get irked even as other folks consider issues that they jyst don't know about. You managed to hit the nail upon the highest and also outlined out the whole thing wiithout having side effect , other folks caan take a signal. Will probably be again to get more. Thanks
Responder
My partner and I absolutely love your blog and find many of your post's to be exactly what I'm looking for. Does one offer guest writers to write content for you personally? I wouldn't mind writing a post or elaborating on a lot of the subjects you write related to here. Again, awesome web log!
Responder
There's certainly a lot to learn about this issue. I really like all of the points you made.
Responder
Hmm it looks like your blog ate my first comment (it was super long) so I guess I'll just sum it up what I wrote and say, I'm thoroughly enjoying your blog. I too am an aspiring blog blogger but I'm still new to the whole thing. Do you have any points for first-time blog writers? I'd really appreciate it.
Responder
I enjoy reading through and I think this website got some truly utilitarian stuff on it!
Responder
I don't even know how I ended up here, but I thought this post was good. I don't know who you are but definitely you're going to a famous blogger if you are not already ;) Cheers!
Responder
Hi! I've been following your website for a while now and finally got the bravery to goo ahead and give you a shout out frpm Austin Texas! Just wantsd to mention keep up the good job!
Responder
As for their technical footwear for the street and path, you can count on as expensive as $200.
Responder
Everything is very open with a clear description of the challenges. It was truly informative. Your site is very useful. Thank you for sharing.
Responder
After looking at a few of the articles on your website, I really appreciate your way of writing a blog. I saved as a favorite it to my bookmark webpage list and will be checking back in the near future. Take a look at my website too and let me know what you think.
Responder

Escribe un comentario

¿Quieres usar tu foto? - Inicia tu sesión o Regístrate gratis »
Comentarios de este artículo en RSS

Comentarios recientes

Cerrar