I often get asked about the Arduino and one of the main issues people have is installing software, especially on locked down computers that many organisations use. A great way around this is to use an online IDE – an Integrated Development Environment. This is an online service that has all the bits you need to code an Arduino, including all the libraries you’ll ever need.
One of the best bits about CodeBender is that once you have installed the browser plugin the software is all online, so it’s always up to date – no need to install the next version ever again!
Ok, so let’s crack right into installing CodeBender and getting it up and running.
- Go to the CodeBender website and create an account. Follow the instructions here and then confirm the account email.
- The site will bring up a full ‘Getting Started’ instruction set that will walk you through getting setup. This is super helpful and full of animations to get you running.
- First up is installing the Browser plugin. Click through this and allow the plugin to run by clicking ‘Allow’ in the browsers window – this appears as a small grey bar at the top – easy to miss sometimes.
- Next you’ll need to download the drivers that talk to the Arduino boards. This is just over 4 megabytes so shouldn’t take to long. The drivers come in a zip package and so you’ll need to click on it from the browser or double click on the zip file itself wherever you downloaded it to to unpack them.
- Once Unzipped, double click on the package or .exe file to run the installer.
- Follow the instructions for the installer. You may note that it installs both the FTDI and CH340x drivers – these are the drivers that let the computer talk to the Arduino via USB. If you already have installed the Arduino software, reinstalling these won’t hurt anything! The software will ask for permission to install the driver, and then take a few minutes to do so.
- Ok, now the magic bit happens…. the CodeBender browser app will let you know if everything went ok and then talk back to the CodeBender website to move you along the installation.
- Now select your Arduino board. Don’t worry, you can choose a different board latter. You’ll notice that a whole range of boards are available and you don’t need to install additional boards like you do in the Arduino IDE.
- At this point, you’ll need to connect up your Arduino board to the USB on you computer. You should see the power LED come on. Remember to keep the Arduino on a non-metallic surface or it will short out!
- Once the Arduino is connected, click on the new Serial port that has appeared in the port box above the green bar title “Run on Arduino”.
- Now click the Green “Run on Arduino” button. Blinky lights now flash on the Arduino and you’ll get a screen congratulating you… . Great! Now you’re ready to code!
- Click the Play with Code – ‘give it a try’ button in the bottom left and you’ll jump straight into the code editor which has a blinking LED sketch ready to play with. Uploading code is done through the green ‘Run on Arduino’ button.
- Once you’ve had a play, click the codebender logo in the top right to exit out of the sketch. You’ll be taken to the home screen that let’s you see your sketches, play with examples and share your code.
So….Where to from here? Well, check out our other Arduino tutorials, or simply just click around and see what there is. If you need to setup multiple computers, you can log into the account you just created and just click the arrow bracket button in the side menu to restart the install procedure.
There’s a huge number of examples that can be accessed by clicking on the Examples and libraries button , so have a play in there. If you are completely new to Arduino and coding then 01.Basics is a great place to start! .