Please keep in mind that this video is already 7 months old. PlatformIO is really pushing its development forward. (Which is a great thing!) But since the upload of this video, there might be a few slight changes to PIO. Most of the stuff should still be the same. But if you get stuck somewhere simply leave a comment. Thanks! :)
@AshishVerma_Awesome5 жыл бұрын
why you stopped making videos of reverse engineering
@jonvannatto7 жыл бұрын
I tried Atom when when I saw you used it in a previous videos. Thanks for the walk through. Very helpful! I would like to see more videos about this. I did have some issues initially as I first installed Atom on my work computer and the firewall wouldn't let me install any packages. This wasn't an issue on my home machines. Still getting a feel for it.
@RobinReiter7 жыл бұрын
Thanks for your feedback! Work places often have very strict firewall rules. Though you should probably be able to copy your plugins onto a thumb drive and install them directly by copying them to your work machine. (discuss.atom.io/t/manually-install-package/9251) I'll put some in depth videos about platformIO on my todo list!
@Kazooie7 жыл бұрын
This is sooo needed over arduino IDE. Arduino IDE is missing so many key features that Atom provides :D
@RobinReiter7 жыл бұрын
Thats what I was thinking :)
@neilbarnett30466 жыл бұрын
Yes, but I had a program running within 10 minutes of opening the box when my Arduino kit arrived and I still haven't got a program to compile on Atom with PlatformIO after 3 months. There's frameworks, which are presumably not the same as platforms. On the platform page it has a tool button for the Arduino, but that's in the ESP32 frame, so why? My ESP8266 board is an original D1, but it's not obvious how I even start writing an application. I Googled for help, but all I found was docs.platformio.org and the article "Get started with Arduino and ESP32-DevKitC: debugging and unit testing", this required me to buy two pieces of kit, one of which seems to be a power supply and something else so obscure that I've never seen it and the other is an ESP32 board from some preferred supplier. Clearly this is a system for people who already know all the answers and aren't learning. Using the Arduino IDE, I have a weather station up and running and fetching the time from an NTP web site. If you've read this far, I'm sorry for going on a bit.
@Vukuzenzele4 жыл бұрын
Everytime I install PlatformIO, Atom freezes and gives me a not responding message. What gives?
@Corgitronics6 жыл бұрын
A very helpful video. Although PlatformIO has changed some, the content is still relevant. Subscribed! I'm planning to use PlatformIO as my editor for working with AWS IoT on the ESP32.
@kevinpreller13804 жыл бұрын
How does this work when using external arduino librarys? Will i be able to open code previously made in the arduino IDE in platform io?
@UpcycleElectronics6 жыл бұрын
Thanks. Great introduction to PlatformIO. Subscribed, and created a playlist on it because this looks promising. Now if I can just figure out how to get Atom to run without lag on an ancient laptop running current Lubuntu this would be really interesting. -Jake
@dave-in-nj93937 жыл бұрын
what does "no configuration to build this project exists " mean ? at 4:40 you say "hit the arrow button at the top" what arrow button ?
@RobinReiter7 жыл бұрын
+Dave -in-NJ I am not sure that that error is about. Did you try to look ok the PlatformIO website / forum? Keep in mind that this video is already a couple of months old. Ivan from PIO is really pushing this software forward so changes are coming pretty fast. The „arrow button“ is just triggering the Build. You can also do that through the menu.
@dave-in-nj93937 жыл бұрын
Robin, I have to say that Ivan has been doing an amazing job and I truly hope that he gets this ready for prime-time. I really hope that sooner than later, the folks over at Arduino drop their IDE and just say, use PIO. but, the learning curve is a brick wall. IMHO, PIO should hide all traces of ATOM so I cannot use ATOM and PIO at the same time, thinking they are one in the same. my current problem is that of the file naming and folders. when I develop, I work with a single sensor, make a working file. then work with a display, make a second working file. name each by the part number(s) then merge them, create a 3rd file move them into directories. displays, weather, steppers, servos. ..... so I have a BME280 file name and a DS18B20 file name, and a DHT11 file name, a TMP35 file name..... in one folder OLED128x64, TFT84x84, TFT230x340 .... in a folder, and so on. PIO at this time, only allows one folder and if you go into the OS file system and try to change a file name, you get an error. if you move a folder into a sub folder, you get an error. 171029-205952-d1_mini 171028-114732-d1_mini 171028-203459-d1_mini and so on, offer no information to let me know what the file is for. multiple a single folder with 100 file names that are similar. I tried to m someone will eventually make a file handing that will allow PIO to have it's special names, I assume for linking to GitHub and for file archiving and version control, but also only show a file name of my choosing in my folder tree panel. what that would take is to hide the ATOM file panel and replace it with a new panel. one that looks at the actual folder and file names and created by PIO and then displays the name I put in for the name of the file.
@AlexCio7 жыл бұрын
Short and great intro for beginners. Thanks for this overview! Thumbs up!
@RobinReiter7 жыл бұрын
Thanks man!
@haus_automation7 жыл бұрын
Nice one! Have heard about it, but never used it. After your video I will give it a try, looks very nice compared with the Arduino IDE :) Thanks a lot
@revetastogne7 жыл бұрын
I'm new to programming controllers (in my case it's esp8266 module), and what I really don't like in Arduino IDE - there is no code completion. I haven't heard about PlatformIO plugin for Atom before, so thanks for showing it! I will try it.
@KasimirvonFinck2 жыл бұрын
urgh, i love atom ai and never thought i could use it as arduino ide replacement. But on ubuntu and windows arduino ide does not want to get my esp32 working and i would love to give platformio a try. BUT it does not clear the last setup stage. i got the latest python version installed (python 3.10) and it does not accept the python folder ... any ideas?
@Isambardify6 жыл бұрын
All the #include lines, are these libraries and do I need to download them to a particular folder first?
@poenze15 жыл бұрын
05:10 - 05:20 Nothing happens when I save =(
@jR060t7 жыл бұрын
This is a great tip, thank you! I HATE the Arduino IDE.
@GD-zg7wt4 жыл бұрын
Hello. I have a better alternative. Why dont you go for Arduino Pro IDE? Its features are really cool and also supports Source Control Management like Git. This was Tanish Desai btw
@KidCe.5 жыл бұрын
Heard so much about platform.io but never really thought about using it. This convinced me to try it out :D
@sennabullet5 жыл бұрын
Thank you for this great beginner's guide. Great style, great presentation...you have my subs.
@mohamedanbaj79974 жыл бұрын
Please, What is the language used in Arduino programming?
@BD-Research-Den4 жыл бұрын
C/C++
@yashesvi-raina4 жыл бұрын
I am doing this in VScode so will this tutorial be same for that too?
@dave-in-nj93937 жыл бұрын
day 2, I am becoming more frustrated. I cannot open the serial port. says that I the software I am using is not installed. sounds like the silliest thing that the software that is not installed has responded...... and worst than microsoft, it offers no help to install what is needed. very frustrating that this stuff has so many dead ends.
@RobinReiter7 жыл бұрын
Dave -in-NJ On what system are you running this stuff?
@dave-in-nj93937 жыл бұрын
Win-7 , I am watching ATOM, I think.... trying to use the icons on the side. since I have an ESP8266 running and sending data back on the serial port, I figured I would open a new window and get the data. I really cannot figure if platformio is in control or if ATOM is.
@RegsterU7 жыл бұрын
What was the shortcut to open autocomplete without typing the first letter? (Windows)
@Creuilcreuil7 жыл бұрын
ho no i am on GNU/Linux and don't know how to install the package, atom get stuck on message error "reticulating spline" maybe i need to download more ram ?
@taranagnew4366 жыл бұрын
if i install new boards using ide can i progame the new boards with atom/platformIO?
@SamuelCarreira7 жыл бұрын
Excellent video. I will try your suggestion. In larger projects I've been used visual studio with visual micro add on. But it wasn't completely "free"
@RobinReiter7 жыл бұрын
Thank you! Well VisualStudio was Windows only. But I think they recently released an OS X version aswell. Not sure. Have to check that out!
@retronexusio6 жыл бұрын
Can you do also tutorial videos on your electronic projects in more detail? Love the knowledge you show and would be great to go into more detail on use the tools and things you have at hand.
@shambahri5 жыл бұрын
Hi Robin, very cool indeed and thank you, switching to PlatformIO. Ta
@chrizbeee7 жыл бұрын
Hey Robin, musstest du den dunklen Skin von PlatformIO in Atom aktivieren, oder ging das automatisch ? Ich nutze VS Code, und hier wird die PlatformIO IDE in weiß auf einem dunklen VS Code angezeigt... :(
@SimjetAU5 жыл бұрын
I cant get Clang to even be recognised let alone download it. I have Mojave on my MAC..any ideas?...couldnt really find any solutions as it seems to be the OS
@not_thareesh49155 жыл бұрын
Does it have a serial monitor?
@ravisankar81592 жыл бұрын
i am getting an error it says cont find python interpretor
@timguy74476 жыл бұрын
hi thanks very much for your video. Would you be able to help and/or do a video on how to combine multiple files. For example i have multiple tabs for functions in the Arduino IDE but i can't work out how to do separate files in platformIO?
@minecraftvideospt92906 жыл бұрын
porque não usas o PlatformIO IDE?
@taranagnew4366 жыл бұрын
i need help with a project i'm working on, i am making a digital dice to play catan with, the problem is that i can't get it so that it rolls the dice once i press the select button on the LCD keypad shield and then checks the current button state the code is: #include LiquidCrystal lcd(8, 9, 4, 5, 6, 7); #include #define btnSELECT 4 int adc_key_in; int btnNONE; int diceOne; int diceTwo; const int select = 720; const int threshold = 2; //Put threshold value here int read_LCD_buttons() { adc_key_in = analogRead(A0); // read the value from the sensor if (adc_key_in > select - threshold && adc_key_in < select + threshold) return btnSELECT; //if else statements could be used, but since each statement uses return, you don't lose speed for using all if's return btnNONE; // when all others fail, return this... }//end read_LCD_Buttons set (sensorValue0, 720); void setup() { lcd.begin(16, 2); lcd.setCursor(1, 0); lcd.print("Roll the dice!"); } lcd_key = read_LCD_buttons(); // read the buttons void set (int sensorValue, int value) { if (sensorValue > value) { diceOne = random(1, 7); diceTwo = random(1, 7); } case (diceOne + diceTwo == 7); { lcd.clear(); lcd.setCursor(7, 0); lcd.print("7"); lcd.setCursor(3, 1); lcd.print("The pirate"); case (diceOne + diceTwo == 5, 4, 3, 2, 6 ); { lcd.clear(); lcd.setCursor(7, 0); lcd.print("5,4,3,2,6"); } } and i keep getting Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno" sketch_jun19a:23: error: expected constructor, destructor, or type conversion before '(' token set (sensorValue0, 720); ^ sketch_jun19a:31: error: 'lcd_key' does not name a type lcd_key = read_LCD_buttons(); // read the buttons ^ exit status 1 expected constructor, destructor, or type conversion before '(' token
@distancelab20107 жыл бұрын
Hi Robin, Thanks for the video, this looks great and I have run through the install. One question I have is if the board you use is not listed is there a way to find any relevant files or download the definition file for a board. I use the Genuino/Arduino 101 board in particular? Thanks >>>
@RobinReiter7 жыл бұрын
Thanks Richard! You may have overlooked the Arduino/Genuino 101 board. I was able to find it in my drop down list. It is within the Platform INTEL_ARC32. If you still cannot find it we'll figure something out ;)
@peterkaczmarczyk48917 жыл бұрын
Thanks for your comprehensive Video. It helped to pass the pitfalls as a Newbie.I would be glad to see more helping videos about this stuff. regards peter
@RobinReiter7 жыл бұрын
I'm glad it helped you! A new PlatformIO video is already in the works. Should be done in a day or two. So stay tuned!
@Gruftgrabbler4 жыл бұрын
This sounds great. Does this work with teensy, too?
@fibranijevidra5 жыл бұрын
I need to try it as I just cannot install support for ESP8266 boards in Aeduino IDE on win10 nor win7 machines, despite all rhe solutions I have triwd. Thanks for the video.
@g43s7 жыл бұрын
That case shown in the opening of the video is some kind of kit? if so, where i can get one?
@RobinReiter7 жыл бұрын
I have a couple of these boxes. But I put these together by myself.
@kldzk5 жыл бұрын
error checking on save is nor workign any ideas?
@robin78565 жыл бұрын
Does it support other boards
@thearakong71597 жыл бұрын
This is what i'm looking for, Thanks Robin!
@eloyrolandocanchanyabalbin46927 жыл бұрын
Grandioso tutorial!
@speedbumphu7 жыл бұрын
Absolutely great video, helped me a lot. Thanks for sharing your experiences.
@rudsomlima7 жыл бұрын
Just what I was looking for! Thanks
@jean99106 жыл бұрын
I'm looking to get started with arduino, what language should I try to learn?
@soltaniahmed32425 жыл бұрын
c/c++
@XblueNitroxNT3 жыл бұрын
Thank u very much, Atom is a really nice and helpful program. 👍🏻
@marie-elizeventer70804 жыл бұрын
This is a great tutorial! Thanks!
@driversteve93455 жыл бұрын
Are there any debugging utilities with PlatformIO or Atom? Thanks!
@paperbag5925 жыл бұрын
The PIO unified debugger (docs.platformio.org/en/latest/plus/debugging.html#piodebug) is built-in into the PlatformIO IDE and provides debugging utilities on Atom. However, Atmel AVR-based boards aren't supported (that's almost all of the Arduino boards). In the PlatformIO home page, click 'boards' and find your board to check if it's supported.
@joaquimrs137 жыл бұрын
Very good tutorial!!!
@areejmir87237 жыл бұрын
Hi, nice video, can you explain how to use debugger in platformio for Arduino boards.
@jeffhan12397 жыл бұрын
packagemanager cant install any package.. first found this problem in Dec2017, now still happens on my pc with newest PIO version..
@RobinReiter7 жыл бұрын
Are you getting any error message?
@rickdegier85137 жыл бұрын
Can someone help me i don't get any color in the code I have written.
@RobinReiter7 жыл бұрын
You mean you don't have any colored syntax? Did you install and setup the Material UI theme?
@nigelmdl5 жыл бұрын
looks like a great tool.. Going to be testing this one out ^^
@SciFiFactory5 жыл бұрын
I can't get the serial monitor to work ... that is a problem for me. Otherwise, very good video.
@RobinReiter5 жыл бұрын
SciFi Factory Do you get any errors or what is going wrong?
@SciFiFactory5 жыл бұрын
@@RobinReiter It doesn't show any text. I also can't type in the terminal. The serial monitor of the Arduino IDE and Vscode work. (After uploading with atom for example.) Edit: the problem seems to be known (for years). The suggested solution by one of their team members is: "That is a problem caused by atom. Switch to Vscode."
@JohnUsp5 жыл бұрын
How to compile?! How to upload?
@professorm41715 жыл бұрын
You can get platformio on Visual Studio Code too.
@MrBobWareham6 жыл бұрын
Hi loved the video can you use this editor for the ESP32 please thanks Bob-UK
@GioGziro957 жыл бұрын
WOW. Atom has so many packages now. This makes me want to switch from Sublime Text, and I probably will.
@RobinReiter7 жыл бұрын
+Giorgi Gzirishvili Yeah thats what I've thought a couple of months ago. Was a sublime user, too. :)
@GioGziro957 жыл бұрын
The only things I hated about Atom when I checked it last time were the memory usage and slowdowns when working with large files. Is this still the case?
@RobinReiter7 жыл бұрын
Giorgi Gzirishvili For large files Sublime still is the better tool. Thats because atom is an electron app based on html and js (nodejs). Sublime on the other hand is pure c++
@GioGziro957 жыл бұрын
Obviously, but I wonder if the difference is still significant. Anyway, it's worth trying out.
@GioGziro957 жыл бұрын
BTW, Sublime Text uses Python scripts for the plugins, so it's not fully written in a compiled language.
@giantxBash7 жыл бұрын
i will love a new video about this, with more dept
@RobinReiter7 жыл бұрын
Yes, I'll probably make another video about that! :)
@hbcchefmailde7 жыл бұрын
Hi Robin, thanks for the tutorial. Info is packed a bit too much - but I used the paused button. Really shit is, that you don't inform about the costs of the IDE 9$ per month if you want to use the PIO-Debugger. I installed everything like described, and at the end I saw it costs money !!! :-( So I have to deinstall everything and search for ontoher IDE.
@RobinReiter7 жыл бұрын
Well at the time of this recording you could use the debugger without spending something. This unfortunately changed. :(
@NiceTechViews54037 жыл бұрын
Thank you so much for your video..i followed and setup ATOM and PlatformIO as you said...BUT i got some crucial error messages during the PIO package install!!...REASON was that on my new win 10 NB there WAS NO Python 2.7 installed ( python 2.7 is prerequisite for PIO ! )..after i have installed this PYTHON - PIO could get installed like you demonstrate in your nice video now everyThing seem fine :-)
@RobinReiter7 жыл бұрын
nice view Great! I'm pretty sure you'll like PlatformIO :)
@FrixGaming7 жыл бұрын
Step one. Install the package.. Step two install clang. Step three. Install python 2.7??? Alright still says i don't have python install. goes into appdata/local/programs/python.... exe file doesn't show up in your file manager so i can't even choose it. Alright then tries to uninstal package and reinstall.. tells me to install clang which i already did. Last step. Give up due to lack of tutorials and explanation on any guides.
@TheActualTed6 жыл бұрын
When installing Python make sure the path is checked when doing the installation.
@The13lackMamba7 жыл бұрын
When i select my board (esp32) and tell it to download everything for it, platform io gives the error: Failed to initialize PlatformIO project! Error: Unknown board ID 'esp32doit-devkit-v1', C/C++ project index rebuild failed Error: Unknown board ID 'esp32doit-devkit-v1'. What did i do wrong? And how can I fix it? :P
@neilbarnett30466 жыл бұрын
There are so many settings to get PlatformIO to do anything, that it actually does nothing. I haven't yet worked out the difference between platform and board and framework and why the platform for the ESP32, which I'd like to use, has an Arduino settings button on it. And a pumbaa and simba, what the hell are those. I think anywhere that someone's actually using it, there's a "guru" who tells all the others what to do.
@pakiki7 жыл бұрын
Make not only America, but also writing code, great again!
@electronicshaman6 жыл бұрын
Also available for vscode! 😁
@RobinReiter6 жыл бұрын
True. In fact meanwhile I switched to VSCode. Maybe I'll do a video but the process is nearly the same.
@tyleraustin81347 жыл бұрын
Awesome stuff Robin, I have enjoyed every one of your videos~ Will you be coming to US for DEFCON or BLACKHAT this year? I was also wondering where you like to buy all your hardware, micro controllers, FPGAs etc. I have my boxes organized with what I do have (Mostly from hackerboxes.com) but I need to fill them up with more parts for on hand inventory! I am a traditional IT pentester but love hardware so much more.... Thankfully work has me getting into IoT and such!
@RobinReiter7 жыл бұрын
Thanks Tyler. I appreciate your feedback! I don't think I'll make it to one of the conferences this year. But we'll see. Most of the electronic components I use are from banggood and aliexpress. Some of them are also bought on amazon.
@tyleraustin81347 жыл бұрын
Not worried about the potential for a tampered board from aliexpress?
@RobinReiter7 жыл бұрын
Well heavily depends on what kind of board. I am pretty sure some power electronics which are highly dependant on proper working caps might die quicker than those from other sources. Also boards like battery charging and management should be checked before using them. I had some charging modules with shorted terminals. You certainly don't want to connect your lipo cell to them. IMHO: at the end of the day it saves you a buck when tinkering around with little arduinos and sensors.
@dave-in-nj93937 жыл бұрын
PIO is a very interesting program and if development continues to be as good as it has been, I expect one day that it will replace the IDE that the folks at Arduino offer. one my top 10 wish list at the moment is to offer a NON-NTERNET version. I live where internet is down from time to time, trees and wires on poles are not good when storms pass. so, when there is no internet for a few days, I cannot use this.
@faribakarami60624 жыл бұрын
Why don't you try Arduino PRO IDE it has more advanced features.
@Gruftgrabbler4 жыл бұрын
It has pro in the name? Lol
@MrMraza1237 жыл бұрын
Hi, very helpful video for beginner, please make video how to use debugger in platformio for Arduino boards. Thank you.
@jR060t7 жыл бұрын
Mohammad Raza have you found an answer to this? Real debugging (like code stepping, checking registers, etc.) is so valuable!
@RobinReiter7 жыл бұрын
This is on my schedule. Though its a paid feature of platformio.
@michaelmaqueda30227 жыл бұрын
Hi m8 nice video! well i comming here searching for help. im starting with platformio but, idk how to add the libraries to my main.cpp project i mean in the arduino ide its really simple like #include but in platformio idk how to do it. im really nuv with this so pls can someone say how to do that pls or can u make a short video explaining that? thanks
@RobinReiter7 жыл бұрын
+Michael Maqueda Well that indeed is my next platformio video. Will be released shortly ;)
@michaelmaqueda30227 жыл бұрын
cool im waiting for it tnx m8. :)
@RobinReiter7 жыл бұрын
+Michael Maqueda There you go: kzbin.info/www/bejne/e3PPeYF4g614ibM
@marijntopgear5 жыл бұрын
Thanks!
@weerobot7 жыл бұрын
Cant even get to Alien load screen??
@RobinReiter7 жыл бұрын
The alien load screen is called the home screen. Try to open that through your Atom command pallet or through the menu.
@premacharya86445 жыл бұрын
these is good and parfat vido
@maxthreshold6 жыл бұрын
Nice video but I prefer the Clion + Platform IO combination.
@Gruftgrabbler4 жыл бұрын
😍
@grahameprestage917 жыл бұрын
Great tutorial but if you slow down a bit it may not seem so overwhelming. Take a breath...
@TheSugus387 жыл бұрын
Ok, seems great, but I do not recommand installing it on windows 10 x64, it just doesn't work properly.
@dimitrisbal45056 жыл бұрын
Thank you for the nice video. But little slower explanation would be better.
@qsdrfghgujfddyffguff3 жыл бұрын
One of the headache io
@zapador7 жыл бұрын
This is awesomesauce, disregard Arduino IDE.
@wasuuu6 жыл бұрын
Ikr, the actual IDE looks like a retro IDE... xD
@dave-in-nj93937 жыл бұрын
woo...slow down. although this is a good very-broad and non-informative video, it is not a good tutorial. assume we have things loaded. how do you get rid of that platformio screen ? how do you create your file ? how do you save it ? take what you said at 4:00 to 6:00 and make a new video, that is slow and goes over each mouse click. 10 minutes ? call it using platformio to blink
@germas3695 жыл бұрын
The installation of this is seriously not worth the hassle. I tried to give this thing a shot multiple times in the past but its just too slow, eats more RAM, it required a HUGE amount of dependencies and overall the feel of it is way too clunky. Never again no thanks
@jefersonoviedo29656 жыл бұрын
visual studio ide
@DanielMelendrezPhD7 жыл бұрын
Great work but way too fast! Kudos
@RobinReiter7 жыл бұрын
+Daniel Melendrez Thanks! I personally like condensed videos :)
@DanielMelendrezPhD7 жыл бұрын
I totally agree. However sometimes it gets confusing and really hard to follow the pace. Subscribed immediately, nonetheless! Lots of potential on this channel. Keep on!
@RobinReiter7 жыл бұрын
Daniel Melendrez Thank you! I'm still experimenting a lot from video to video. As a non native speaker its a bit hard to get the right feel for natural speed and so on. I'm working on that. But thanks for your feedback and of course your subscription! ;)
@wolfeatsheep1635 жыл бұрын
dude slow down on the coffee and explain yourself like we haven't done this 100 times before