¿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

An impressive share! I have just forwarded this onto a colleague who has been conducting a little research on this. And he actually bought me breakfast due to the fact that I stumbled upon it for him... lol. So allow me to reword this.... Thank YOU for the meal!! But yeah, thanx for spending the time to discuss this subject here on your blog.
Responder
It's really a cool and useful piece of information. I am happy that you simply shared this helpful info with us. Please stay us up too date like this. Thank you for sharing.
Responder
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
I wanted to thank you for this fantastic read!! I absolutely enjoyed every bit of it. I have you book marked to check out new stuff you post_
Responder
Hello! I could have sworn I_ve visited this blog before but after browsing through some of the posts I realized it_s new to me. Anyhow, I_m definitely pleased I discovered it and I_ll be book-marking it and checking back often!
Responder
Hi there! This post couldn't be written much better! Going through this post reminds me of my previous roommate! He continually kept preaching about this. I will send this post to him. Fairly certain he will have a great read. I appreciate you for sharing!
Responder
Simply desire to say your article is as astonishing. The clarity in your post is just cool and i could assume you are an expert on this subject. Fine with your permission allow me to grab your feed to keep up to date with forthcoming post. Thanks a million and please continue the rewarding work.
Responder
After I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I receive four emails with the exact same comment. Is there a way you can remove me from that service? Many thanks.
Responder
Heya i am for the first time here. I came across this board and I find It really useful & it helped me outt much. I hope to give somefhing back and help oothers like you helped me.
Responder
Do you have a spam issue on this blog; I also am a blogger, and I was wanting to know your situation; many of us have created some nice methods and we are looking to swap strategies with others, be sure to shoot me an e-mail if interested.
Responder
Do you have a spam issue on this blog; I also am a blogger, and I was wanting to know your situation; many of us have created some nice methods and we are looking to swap strategies with others, be sure to shoot me an e-mail if interested.
Responder
Do you mind if I quote a couple oof your articles as long as I provide credit and sources back to yoyr website? My website is in the very saame area of interest as yours and my visitors would certainly benefit from a lot of the information you present here. Please let me know iff thbis okay with you. Thank you!
Responder
I was suggested this blpog by my cousin. I'm not sure whether this post is written by him as no one else know suchh detailed about my difficulty. You are incredible! Thanks!
Responder
Howdy! Someone in my Facebook group shared this site with us so I came to take a look. I'm definitely enjoying the information. I'm book-marking and will be tweeting this to my followers! Outstanding blog and terrific style and design.
Responder
I was able to find good info from your blog posts.
Responder
Please viskt our website at to search out ouut extra about our newezt quotes.
Responder
It's an amazing pikece of wwriting in favor of all the oline viewers; tbey will get benefit from it I am sure.
Responder
Thanks for sharing such a nice thought, article is nice, thats why i have read it completely
Responder
Pretty section of content. I just stumbled upon your website and in accession capital to assert that I acquire actually enjoyed account your blog posts. Anyway I'll be subscribing to your feeds and even I achievement you access consistently rapidly.
Responder
After looking into a handful of the articles on your web site, I honestly appreciate your way of blogging. Iadded it to my bookmark webpage list andd will bbe checking back soon. Please check out my weeb site as well and tell me how yyou feel.
Responder
Hello would you mind letting me know which web host you're using? I've loaded your blog in 3 different browsers and I must say this blog loads a lot quicker then most. Can you recommend a good internet hosting provider at a honest price? Thanks, I appreciate it!
Responder
Okay,? Lee said after which he stopped and thought. ?The perfect factor about God is ??? hmmmm?????..? He puszled because he had so many things that had been great about God but he wished to choose the very best one sso he would win the game. ?That he is aware of everything. That?s actually cool. Meaning hee may help me with my homework.? Larry concluded with a proud expression on his face.
Responder
LIKE WHATDADDY, TELL US, TELL US.? Both boys jumped uup and down wanting too know easy methods to make God happy.
Responder
Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but instead of that, this is magnificent blog. A fantastic read. I'll certainly be back.
Responder
Good day! I know this is kinda off topic however , I'd figured I'd ask. Would you be interested in exchanging links or maybe guest writing a blog article or vice-versa? My website covers a lot of the same subjects as yours and I believe we could greatly benefit from each other. If you might be interested feel free to shoot me an e-mail. I look forward to hearing from you! Superb blog by the way!
Responder
Hello are using Wordpress for your blog platform? I'm new to the blog world but I'm trying to get started and set up my own. Do you need any html coding expertise to make your own blog? Any help would be really appreciated!
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