Intro to Programming with MicroPython for ESP8266 Boards [Tutorial]

December 20, 2019 by 41 Comments



How to Program Using MicroPython
Full Tutorial: https://nulb.app/x4vnm
Subscribe to Null Byte: https://goo.gl/J6wEnH
Kody’s Twitter: https://twitter.com/KodyKinzie

Cyber Weapons Lab, Episode 134

Arduino is typically the way to go when first getting started programming microcontrollers. However, it’s not very beginner-friendly. Today, on this episode of Cyber Weapons Lab, we introduce you to MicroPython and teach you how to use it to program an ESP8266 such as a NodeMCU or D1 Mini.

To learn more, check out the article: https://nulb.app/x4vnm

D1 Mini Boards:
– Amazon: https://amzn.to/3bUYhWk
– AliExpress: https://s.click.aliexpress.com/e/DbUH1Fm0

NodeMCU Boards:
– Amazon: https://amzn.to/2PFNsyW
– AliExpress: https://s.click.aliexpress.com/e/K8rNxQ7Q

Micro-USB cables:
– Amazon: https://amzn.to/34M2mIa
– AliExpress: https://s.click.aliexpress.com/e/CEPitKaM

Breadboards:
– Amazon: https://amzn.to/2VLRoRX
– AliExpress: https://s.click.aliexpress.com/e/sZ1FWaiG

RGB LEDs:
– Amazon: https://amzn.to/2SYmS5q
– AliExpress: https://s.click.aliexpress.com/e/eUecjdzI

Create Rogue APs: https://youtu.be/OIa3BkYiQ7U

Follow Null Byte on:
Twitter: https://twitter.com/nullbyte
Flipboard: https://flip.it/3.Gf_0
Website: https://null-byte.com
Weekly newsletter: https://eepurl.com/dE3Ovb
Vimeo: https://vimeo.com/channels/nullbyte

source

41 Replies to “Intro to Programming with MicroPython for ESP8266 Boards [Tutorial]”

  1. m.nageh says:

    Hi can we get a vid of how to run evil twin on esp ???

  2. i wonder how far can you push this… maybe even could run sql quaries or maybe even discord.py xd

  3. Null Byte – A very interesting article. I programmed Microchip PIC microcontrollers back in the early 2000’s using its RISC Assembly language. I made my own programmer & many different projects. This little board is something I’d love to try! Thanks for sharing this 🙂

  4. Neo says:

    This was great, thank you!

  5. Olee _ says:

    Do this guy ever blink?!? good content tho

  6. Kujo Jotaro says:

    there are a lot more vids lately kinda nice

  7. danny leone says:

    Thank you. Great content.

  8. Vesper Venom says:

    I’m feeling like Mr. Robot hehehe…love the channel

  9. Can you use a esp on a rasberry pi?

  10. Hi bro I just need your advice and what to do because I lost my shine like I don’t love cyber sec etc like before and I want to become better what should I do

  11. Edge says:

    I don't wanna burst anyone's bubble but the Arduino IDE is literally way more user friendly than this.

  12. Eric Colt says:

    Nice artwork in the background 🙂 " Shodan systemshock"

  13. We need a complete guide for hacking a system entirely. Like first doing vulnerability and information gathering test, than maybe some social engineering attacks, exploiting system, post-exploitation, stoling sensetive information without letting system owner noticing etc. I am not saying that you should do it on a real web server just you guys could build for this type of a video. And because your teaching is really clear, good and attractive it would be a really nice educational video.

  14. KIRIK TECH says:

    super bro..love u 😍

  15. IvarsVMetal says:

    Look at you, hacker: a pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?

  16. Julien Cope says:

    Check out rshell! Much better alternative to screen imo

  17. Tom & Jerry says:

    I want to hack wifi passwords. How can I? Please reply to me

  18. Tom & Jerry says:

    Superb kody. 👍👍😊

  19. UDP says:

    Hey man! I've been watching your videos for about a couple months now, and I was wondering if you could create a discord? I watch you more than other IT YT'ers, and I wanted to talk to you in real-time and I want you to expand your community! If you want to talk to me about this, add me on discord: UDP#0001

  20. Sujit Raul says:

    Can we program this microprocessor using rust .

  21. I just found this video as a google Ad lol

  22. Steve says:

    That shirt is fresh

  23. 1strog says:

    Check out nodemcu it is a lua based solution for the ESP controllers

  24. Graham Owens says:

    You should change your channel to Dull Byte with some of the nonsense you spout. Turning on a pin is easy in one line on arduino, digitalWrite (2, HIGH);
    Why make it appear more difficult than it is?

  25. Prozacgod says:

    You have a system shock 2 picture framed behind you…. I need no more, subscribed.

  26. Dev says:

    Can you please do installing keyboard and trackpad drivers for macbooks for kali linux as this is actually so annoying to deal with. The reason being is that I'm working with a live persistent USB which has no macbook support whatsoever.

  27. Jon Agostini says:

    Awesome video! Awesome channel! Thank you so much!

  28. Adil Basheer says:

    Is it possible to install external libaries. ?

  29. Torbilan says:

    I started to notice nodemcu in this channel, then I've started to write codes into the nodemcu via Arduino studio using C++. Then I learned there was a way to write codes in python. After a lot of web searching, I turned out coming back here. Very cool channel really, thanks, sir.

  30. Cody Quist says:

    getting a bunch of unreadable characters…hmm

  31. ZGK_TECH says:

    Amazing very nice please have a look https://www.youtube.com/watch?v=FrGPu49nKsw can I switch to micropython… thanks.

  32. luke B says:

    i know more arduino than python atm but at 8:04 isnt 255 maximum anyways? 256 0-255?
    loving ur content i been bingeing for days 😍👍

  33. I haven't yet (but am about to) try this with an ESP8266. However, with μpy on a STM32F411 blackpill, the Thonny dot org IDE is way easier than ampy/screen or other terminal shells. It does the interpreter and little FS in two simple GUI frames in the same window, and can click to open/edit littleFS files.

    Thonny is FOSS. No external IP dialouts or trackerware. It is like Arduino in its initial simplicity, but has options available to accommodate larger projects and growth. It's nothing like navigating the maze of Pycharm or PlatformIO, and, so far, I haven't experienced an organizational train wreck like Ardy IDE libraries. Thonny has an intuitive layout, can connect to devices in a drop down menu, and is very light weight.
    I haven't looked into hardware debugging though. I don't know how that would even work with μpy. I have browsed past a reference where someone was using a clone J-Link with STM32F4xx with PlatformIO. Man I wish I could get that explained like I'm five…that, and/or a black magic probe (clone on a two buck bluepill) with Matrix style DMA brain port of how to use GDB for HW.
    Lastly, for anyone reading this, look up Matt Trentini on YT. He has published a bunch of little known uploads of Damien George describing μpy stuff directly. It's not tutorial, but is non-monetized, and at least demonstrates some possible features to explore like C library/assembly imports, and multi threading.
    Thanks for the upload.
    -Jake

  34. Divij Chawla says:

    he is illuminati(proof-his intro)

Leave a Comment

Your email address will not be published. Required fields are marked *