¿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

Hey there! This is my first comment here so I just wanted to give a quick shout out and say I truly enjoy reading your blog posts. Can you suggest any other blogs/websites/forums that cover the same topics? Thanks!
Responder
I have been surfing online more than 2 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. In my view, if all webmasters and bloggers made good content as you did, the net will be much more useful than ever before.
Responder
This post provides clear idea in favor of the new viewers of blogging, that in fact how to do blogging and site-building.
Responder
I don't know whether it's just me or if everyone else encountering issues with your site. It appears as though some of the text on your content are running off the screen. Can someone else please provide feedback and let me know if this is happening to them as well? This may be a problem with my web browser because I've had this happen before. Kudos
Responder
Hi! I've been reading your site for a while now and finally got the bravery to go ahead and give you a shout out from Houston Tx! Just wanted to tell you keep up the great job!
Responder
I am truly happy to read this weblog posts which includes tons of useful data, thanks for providing these data.
Responder
I simply couldn't go away your web site before suggesting that I really enjoyed the standard information a person supply for your visitors? Is going to be back frequently in order to check out new posts
Responder
hi!,I like your writing very so much! percentage we communicate more about your article on AOL? I require a specialist on this space to resolve my problem. Maybe that is you! Taking a look ahead to see you.
Responder
Does your website have a contact page? I'm having trouble locating it but, I'd like to shoot you an email. I've got some ideas for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it expand over time.
Responder
I know this if off topic but I'm looking into starting my own blog and was wondering what all is needed to get setup? I'm assuming having a blog like yours would cost a pretty penny? I'm not very internet smart so I'm not 100% certain. Any suggestions or advice would be greatly appreciated. Many thanks
Responder
Great article! This is the kind of information that are meant to be shared around the net. Shame on the seek engines for not positioning this put up upper! Come on over and seek advice from my website . Thanks =)
Responder
I am really enjoying the theme/design of your blog. Do you ever run into any web browser compatibility problems? A couple of my blog audience have complained about my blog not operating correctly in Explorer but looks great in Chrome. Do you have any advice to help fix this problem?
Responder
Have you ever thought about adding a little bit more than just your articles? I mean, what you say is fundamental and everything. Nevertheless just imagine if you added some great pictures or video clips to give your posts more, "pop"! Your content is excellent but with images and videos, this blog could undeniably be one of the most beneficial in its field. Wonderful blog!
Responder
You actually make it appear so easy along with your presentation however I in finding this topic to be really one thing that I feel I might by no means understand. It kind of feels too complicated and extremely large for me. I'm taking a look ahead in your subsequent publish, I will try to get the cling of it!
Responder
I_m not that much of a internet reader to be honest but your sites really nice, keep it up! I'll go ahead and bookmark your website to come back in the future. Cheers
Responder
Good blog you've got here.. It's difficult to find good quality writing like yours these days. I seriously appreciate individuals like you! Take care!!
Responder
Good information. Lucky me I found your site by accident (stumbleupon). I've saved it for later!
Responder
Hello, its nice article concerning media print, we all be aware of media is a wonderful source of facts.
Responder
Wow that was strange. I just wrote an really long comment but after I clicked submit my comment didn't appear. Grrrr... well I'm not writing all that over again. Anyways, just wanted to say great blog!
Responder
If you wish for to get a good deal from this paragraph then you have to apply such techniques to your won webpage.
Responder
What's up, after reading this remarkable piece of writing i am too glad to share my know-how here with mates.
Responder
This is really interesting, You're a very skilled blogger. I've joined your feed and look forward to seeking more of your wonderful post. Also, I've shared your site in my social networks!
Responder
When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I get 4 emails with the exact same comment. There has to be an easy method you are able to remove me from that service? Appreciate it!
Responder
I am really enjoying the theme/design of your weblog. Do you ever run into any internet browser compatibility issues? A small number of my blog audience have complained about my website not operating correctly in Explorer but looks great in Chrome. Do you have any ideas to help fix this issue?
Responder
I have to thank you for the efforts you have put in penning this website. I'm hoping to see the same high-grade blog posts by you later on as well. In truth, your creative writing abilities has encouraged me to get my own blog now ;)
Responder
Have you ever considered creating an ebook or guest authoring on other blogs? I have a blog centered on the same topics you discuss and would love to have you share some stories/information. I know my viewers would enjoy your work. If you are even remotely interested, feel free to send me an e mail.
Responder
whoah this blog is fantastic i really like reading your posts. Stay up the good work! You understand, many people are looking around for this info, you could aid them greatly.
Responder
I really love your blog.. Great colors & theme. Did you build this website yourself? Please reply back as I'm wanting to create my own blog and would like to find out where you got this from or exactly what the theme is called. Kudos!
Responder
Hi there i am kavin, its my first time to commenting anywhere, when i read this article i thought i could also create comment due to this sensible article.
Responder
This excellent website definitely has all of the information and facts I wanted about this subject and didn't know who to ask.
Responder
This is a really good tip especially to those new to the blogosphere. Brief but very precise info_ Thank you for sharing this one. A must read post!
Responder
After I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and from now on each time a comment is added I receive 4 emails with the same comment. There has to be a means you are able to remove me from that service? Appreciate it!
Responder
I guess he is PERFECT at it!? Laughed Larry.
Responder
obviously like your web-site however you have to take a look at the spelling on several of your posts. Many of them are rife with spelling problems and I in finding it very troublesome to tell the truth on the other hand I will certainly come back again.
Responder
Freelancing may also lead to a giant _plus_ relating to your income. Instead oof having to settle for the precise wage that is supplied by the one law agency that you simply work, you have quite a lot of leeway in setting your own pay rates. This factor can llead to significantly extra money for you.
Responder
Working as a conntract parawlegal has elements in its favor, and compolnents which can be adverse to some people. If a sense of adventure and excitement in your work life is what would swimsuit yyou tthe best, freelancing may very well be a terrific choice for you!
Responder
Wow, incredible weblog layout! How lengthy have you ever been running a blog for? you made running a blog look easy. The full glance of your site is fantastic, as well as the content material!
Responder
I loved as much as you will receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get got an impatience over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this increase.
Responder
Nicely, what does God like?? Lee added. ?I imply, we like cookies and cartoons and toys, however wbat kind of issues are enjoyable for God?? It was a query that for a minute Mommy and Daddy needed to assume about.
Responder
There are, of course, some detrimental points to freelancing. One vital level is that in the event you work as a freelance paralegal youll nnot be eligible for the kinds off advantages that you would have in working for a regulation agency or a non-public attorney. If you happen to feel that sich _perks_ as normal medical insurance and different such advantages are essential, freelancing is nnot going to provide you with these benefits.
Responder
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.
Responder
LIKE WHAT DADDY, TELL US, TELL US.? Both boys jumped up and down desirous to know methods to make God happy.
Responder
WOW just what I was searching for. Came here by searching for drug rehab
Responder
This design is incredible! You most certainly know how to keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Wonderful job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!
Responder
Would Becoming A Freelance Paralegal Be A Good Option For You?
Responder
We are a bunch of volunteers and opening a brand new scheme in our community. Your website offered us with valuable information to work on. You have performed a formidable task and our whole neighborhood will probably be thankful to you.
Responder
It's awesome in favor of me to have a web site, which is valuable in favor of my knowledge. thanks admin
Responder
I am in fact grateful to the holder of this web site who has shared this fantastic post at at this place.
Responder
The company has been at its Parma headquarters and distribution center since 2003, where flowers arrive through refrigerated supply vehicles from California and Canada three times every week, and dayy by day from Miami.
Responder
When some one searches for his required thing, therefore he/she wishes to be available that in detail, so that thing is maintained over here.
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