¿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

It's great that you aree getting ideas frpm this post as welll as from our argument made here.
Responder
Thanks very nice blog!
Responder
Very rapidly this website will be famous amid all blogging and site-building users, due to it's fastidious posts
Responder
Howdy would you mind stating which blog platform you're using? I'm planning to start my own blog in the near future bbut I'm having a difficult time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask iss because your design and style seems different then most blogs and I'm looking ffor something unique. P.S Sorry for being off-topic but I had tto ask!
Responder
You actually make it seem so easy along with your presentation but I find this topic to be really one thing that I believe I'd never understand. It seems too complicated and extremely huge for me. I'm looking ahead on your next publish, I'll try to get the hang of it!
Responder
continuously i used to read smaller articles which as well clear their motive, and that is also happening with this article which I am reading now.
Responder
This is my first time pay a visit at here and i am genuinely pleassant to read everthing at single place.
Responder
Just desire to say your article is as surprising. The clearness to your post is just excellent and that i can suppose you are an expert on this subject. Fine along with your permission allow me to grab your feed to stay updated with imminent post. Thank you 1,000,000 and please carry on the gratifying work.
Responder
Some truly interesting points you have written.Assisted me a lot, just what I was searching for :D.
Responder
We think in terms of options most of the time.
Responder
For latest news you have to go to see internet and on world-wide-web I found this website as a most excellent web site for most up-to-date updates.
Responder
Actuaally when someone doesn't understand aferward its up to other people that they will help, so here it happens.
Responder
Hmm it seemjs like your blog ate my first comment (it was super long) so I guess I'll just sum iit up what I submitted and say, I'm thoroughly emjoying your blog. I as well am an aspieing blog writer but I'm still new to everything. Do you have any recommendations ffor newbie blog writers? I'd definitely appreciate it.
Responder
The other day, while I was at work, my sister stole my iPad and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation. My apple ipad is now destroyed and she has 83 views. I know this is completely off topic but I had to share it with someone!
Responder
Greetings! Very useful advice in this particular article! It's the little changes that make the largest changes. Thanks for sharing!
Responder
If some one wishes to be updated wioth most up-to-date technologies agter that he must be pay a quick visit this site and be up to date daily.
Responder
First of all I would like to say woinderful blog! I had a quick question which I'd like to ask if yyou do not mind. I was interested to find out how you cednter yourself and clear your thoughts before writing. I've had trouble clearing mmy thoughts in getting my iceas out there. I truly do ttake pleasure inn writing but itt just seems like thhe first 10 to 15minutes tend to be wasted just trying to figure out how to begin. Any recommendations orr tips? Appreciate it!
Responder
Thank you forr another excellent article. Where else may just nyone get that kind of information in such a perfect method of writing? I have a presentation next week, and I aam at the search for such info.
Responder
I need to to thank you for this excellent read!! I absolutely loved every little bit of it. I have got you bookmarked to check out new things you post?
Responder
Can you tell us more about this? I'd care to find out some additional information.
Responder
Technically tennis shoes, they are snug and have the Adidas sophistication that this model is famous for.
Responder
I've been browsing online greater than three hours lately, yet I never found any interesting article likoe yours. It's pretty woirth sufficient for me. In my opinion, if all webmasters andd bloggers made good content material as you probably did, the internet will probably bbe a lot more useful than ever before.
Responder
No matter if some one searchess for his necessary thing, thus he/she wishes to be available that in detail, thus that thing is maintained over here.
Responder
Appreciate this post. Let me try it out.
Responder
Lee and Larry cherished their siixth birthday party. Evven though they had been twins, Mommy and Daddy at all tmes made certain they every had a particular time. Andd with their birthdays cpming in December, Mommy and Daddy also at all times made sure their birthjdays were special regardless that Christmas was right around the corner. The party was so enjoyable with a clown and cake and songs and great presents from thewir pals and grandpareents andd uncle annd aunts. It weent by so quick but earlier than they knew it, everyone had gone home and it was time to clean up and prepare for bed.
Responder
Hi there, just wanted to say, I enjoyed this post. It was helpful. Keep on posting!
Responder
Hello colleagues, its fantastic post about tutoringand fully defined, keep it up all the time.
Responder
This is really interesting, You're a very professional blogger. I've joined your rrss feed and look ahead to looking for extra off your fantastic post. Additionally, I have shared your website in my social networks
Responder
But nonetheless, other activities from the social life ask for other sort of footwear than the sports ones.
Responder
Nicely, Im surprised you all left the very additional best onne for me.? Daddy stated with a teasing smile. ?It?s that he despatched Jesus to die for us and provides us life without end and ever and that due to that we will be a household in heaven for tens of millions of years. That?s pretty good isnt it?
Responder
Hi my friend! I wish to say that this post is amazing, great written and come with almost all important infos. I'd like to see extra posts like this .
Responder
Its like you read my mind! You seem to know so much about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but other than that, this is magnificent blog. An excellent read. I'll definitely be back.
Responder
It's an awesome article in favor of all the web visitors; they will take benefit from it I am sure.
Responder
Hey There. I found your weblog using msn. This is an extremely well written article. I'll make sure to bookmark it and return to learn extra of your useful information. Thank you for the post. I'll definitely comeback.
Responder
My spouse and I stumbled over here by a different page and thought I may as well check things out. I like what I see so now i am following you. Look forward to looking into your web page for a second time.
Responder
Hey there! This is kind of off topic but I need some guidance from an established blog. Is it hard to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking about creating my own but I'm not sure where to start. Do you have any tips or suggestions? Cheers
Responder
Hey! Do you use Twitter? I'd like to follow you if that would be okay. I'm undoubtedly enjoying your blog and look forward to new updates.
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
What i do not realize is actually how you are now not really a lot more neatly-liked than you might be now. You are so intelligent. You already know thus significantly in terms of this subject, made me personally consider it from a lot of varied angles. Its like women and men are not interested unless it's one thing to do with Girl gaga! Your personal stuffs great. All the time care for it up!
Responder
I couldn't refrain from commenting. Exceptionally well written!
Responder
Working as a contract paralegal has factors in itss favor, and factors thaat are unfavourable to some people. If a way of adventure and plleasure iin yoir work liffe is what would suit you the perfect, freelancing might be an ideal choice for you!
Responder
What a stuff of un-ambiguity and preserveness of precious know-how about unexpected emotions.
Responder
Hi, Neat post. There is an issue along with your site in internet explorer, might check this? IE nonetheless is the market chief and a good component of other people will pass over your excellent writing because of this problem.
Responder
Fünf neue Interpretationen von Adidas Originalen sind dabei entstanden, die auch durch ihre Schlichtheit bestechen.
Responder
Saved as a favorite, I really like your blog!
Responder
Thanks , I've just been looking for info approximately this subject for a long time andd yours is the greatest I have discovered till now. However, what in regards to the bottom line? Are you certain about the supply?
Responder
Ahaa, its good dialogue concerning this article at this place at this webpage, I have read all that, so at this time me also commenting here.
Responder
Hello there! This article could not be written any better! Looking at this article reminds me of my previous roommate! He always kept preaching about this. I am going to send this post to him. Fairly certain he's going to have a great read. Many thanks for sharing!
Responder
This site was... how do I say it? Relevant!! Finally I have found something which helped me. Cheers!
Responder
I blog often and I truly thank you for your information. This article has really peaked my interest. I will book mark your blog and keep checking for new details about once per week. I opted in for your RSS feed too.
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