¿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

WOW just what I was searching for. Came here by searching for ___xxx__xxx_______________________________
Responder
I know this website presents quality based articles and additional material, is there any other website which gives these stuff in quality?
Responder
You could definitely see your enthusiasm within the article you write. The arena hopes for even more passionate writers like you who aren't afraid to mention how they believe. Always follow your heart.
Responder
Appreciating the dedication you put into your website and detailed information you provide. It's good to come across a blog every once in a while that isn't the same unwanted rehashed material. Fantastic read! I've bookmarked your site and I'm including your RSS feeds to my Google account.
Responder
Have you been accused of child pornography possession?
Responder
Again, this ties back into child pornography.
Responder
I like the valuable information you provide in your articles. I'll bookmark your weblog and check again here frequently. I am quite sure I will learn a lot of new stuff right here! Good luck for the next!
Responder
Go to this web site for more information on STD Examine Reviews.
Responder
Good site, nice pattern, definitely clean as well as awesome post.
Responder
It_s actually a nice as well as useful piece of info. I_m glad that you just shared this very helpful info with us. Please keep us informed. Many thanks for sharing.
Responder
Keep on working, great job!
Responder
Do you have a spam problem on this blog; I also am a blogger, and I was wanting to know your situation; many of us have developed some nice practices and we are looking to trade techniques with other folks, why not shoot me an email if interested.
Responder
What's up friends, nice article and pleasant arguments commented at this place, I am in fact enjoying by these.
Responder
Hello! Would you mind if I share your blog with my facebook group? There's a lot of folks that I think would really enjoy your content. Please let me know. Cheers
Responder
Visit this website for extra info on STD Examine Evaluations.
Responder
Please let us help! Very unprofessional!
Responder
Pi_kny artyku_, ogólnie masz racje, jednak w kilku kwestiach bym si_ k_óci_a. Z pewno_ci_ sam blog zas_uguje na szacunek. Z pewno_ci_ tu wróc_.
Responder
They noticed white tip reef sharks and blue sharks.
Responder
Mieszkania, domy, dzia_ki, lokale w Opolu i woj.
Responder
Then again, WebGL is totally built-in into the net browser so fast, responsive and extremely crafted 3D games aren't only accessible, however do not require any additional steps to play them!
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
Hello There. I discovered your blog using msn. That is a very neatly written article. I'll be sure to bookmark it and come back to learn more of your helpful information. Thanks for the post. I'll certainly return.
Responder
Warfare Robots (beforehand named Strolling Struggle Robots) is a 3rd-particular person shooter on the Android and iOS platforms.
Responder
Post writing is also a fun, if you be acquainted with afterward you can write if not it is complex to write.
Responder
Thanks for every other magnificent post. Where else may anybody get that type of information in such an ideal way of writing? I've a presentation subsequent week, and I am on the look for such information.
Responder
Excellent post. I'm facing many of these issues as well..
Responder
I'm not sure where you're getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for fantastic info I was looking for this information for my mission.
Responder
Hi there, I read your new stuff on a regular basis. Your story-telling style is awesome, keep it up!
Responder
Hmm is anyone else experiencing problems with the images on this blog loading? I'm trying to figure out if its a problem on my end or if it's the blog. Any feed-back would be greatly appreciated.
Responder
Newsbloggers, for one, are actually typing in where traditional news print media are neglecting. However, save on your closest family and friends, nobody usually mind your blog. Open Command Prompt - Under the Start Menu, type CMD inside the search bar.
Responder
Jeste¶my wspó_za_o_ycielami oraz cz_onkami...
Responder
Posiadamy wieloletnie do_wiadczenie w bran_y.
Responder
Appreciation to my father who stated to me regarding this blog, this website is truly amazing.
Responder
I need to to thank you for this good read!! I certainly enjoyed every bit of it. I've got you book-marked to check out new things you post_
Responder
In case you are the type of one that is lower than thrilled with the prospect of woprking in thee identical office, day after day, eliminating this form of routine is likely one of the most essential highlights that you could obtain from freelancing. If you hire your self out as a freelancer, each job project that you just tzke on will likely bbe a brand new adventure. Not only wikll the work environment range, however additionally, you will have the opportunity to satisfy many extra interesting people. This issue alone is one of the fundamental the reason why many paralegals desire freelancing oveer committing themselves to one specific workplace.
Responder
Udzielamy bezp_atnej pomocy kredytowej!
Responder
Super Post, celkom s vami súhlasím, v_ak niektorým otázkam i aspekty Tine sporná. Rozhodne rovnaký blog mô_u spo_ahnú_ re_pekt. Iste, _e napriek tomu som klesa_.
Responder
Post wreiting is also a fun, if you knokw afterward you can write or else it iis complicated to write.
Responder
Outstanding quest there. What happened after? Thanks!
Responder
Effectively like Mommy stated, once we love each other aand love the world that Jesis died for, that?s a form of worship. After we take into consideration God annd take heed to the sermon or in Sunday College, that?s a method of worshipping because we are learning how great God is and He likes that. Or once we sit around and nform each oother what the greatest things about God are. You know how a lot you like listening to folks say how smart or cute you boys are? Well God lokes once we disuss collectively aabout how nice he is.? Daddy answered.
Responder
With the intention to be successful with freelancing, its essential to be self-disciplined, motivated, and organized. In the event you elect to take the route of freelancing, you will want tto be abpe to seek and procure prospective jobs, bee very efficient in scheduling your time, and have good math skills for the purpose of billing and taxes.
Responder
I really like your blog.. very nice colors & theme. Did you create this website yourself or did you hire someone to do it for you? Plz respond as I'm looking to design my own blog and would like to know where u got this from. cheers
Responder
I love your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone to do it for you? Plz respond as I'm looking to design my own blog and would like to know where u got this from. kudos
Responder
Mommy and Daddy hugged the twins as a result of it was getting time to get to bed. ?Mommy thinks the perfect thing about God is he gave me these two little rascals and they are thhe very best factor in Mommy?s world.? She said cuddling and tickling each boys. That waas the kind of thing mommies always say. The giggled annd hugged Mommy annd had been nearly able to go to their bunk beds when Lee said.
Responder
Hello there! I simply wish to offer you a biig thumbs upp for the excellent info you have got right here onn this post. I am coming back too your web ssite for more soon.
Responder
Essential,do not skip any steps from above!In case you experience any issues with our Struggle Robots Hack,please contact us utilizing our contact page or for a sooner communication,ship us a e-mail or a message and we wil help you straight away!
Responder
For latest news you have to pay a quick visit internet and on the web I found this web page as a finest site for most up-to-date updates.
Responder
If youre the type of person who is lower than thurilled with the prospect of working in the identical office, day after day, eliminating this type of routine is among the most important highlights which yoou could receive from freelancing. If you rent your self ouut aas a freelancer, eaxh and everey jobb tsk tat yoou simply tackle will be a brand new adventure. Not solely will the work envioronment fluctuate, however yyou will also have the opportunity to meet many more fascinating people. This issue alone iis without doubt one of the fundamental the reason why many paralegals want freelancing over committing themselves to at least one particular workplace.
Responder
With tons of gold you can upgrade your walking war robots or get several new robots.
Responder
I do not know whether it's just me or if perhaps everybody else experiencing issues with your site. It appears as though some of the written text on your content are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them too? This could be a issue with my browser because I've had this happen before. Thanks
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