Experimental program window

The latest release of Fritzing (0.4.0) has a surprise new experimental feature: a programming window.   It’s intended to be a place to type your script for downloading to a microcontroller, and then actually download it.   It’s not intended to replace your usual microcontroller programming environment.  Rather, it’s meant to be a lightweight alternative, particularly useful for novices, workshops, and classrooms.  It’s also a nice way to keep both your sketch and script files together.

At the moment, Fritzing only fully supports the PICAXE microcontroller, and only on the Windows platform.  While there is support for typing in Ardiuno programs, we do not yet handle the download part (and that may have to wait for the release of Arduino 1.0).1

There is one programming window per sketch, but a programming window can have multiple tabs.   The reason for multiple tabs is that we imagine you might want to play with slightly different versions of the same script until you hone in on one.

Aside from the standard file and edit commands, there are four steps you need to perform.

  • First, choose the microcontroller language for your script.  Right now there are two choices, Arduino and PICAXE.2  Once you choose a language, you will notice that the script you’re working on is highlighted according to that language, and also that you can only save or load files with the appropriate extension.
  • Second, select a serial port.  First plug in your microcontroller into your USB port.  This should create a new USB serial port for that device, which should now be listed when you click on the port combo box.
  • Third, select a programmer (i.e. the executable which will compile and download your script).   Fritzing does not install these programs for you, you have to do it yourself.
  • Fourth, hit the program button.  Feedback from the programmer should be displayed in the console area on the bottom of the programming window.

Here’s an image.  As usual, we will be refining the implementation and UI in future releases.

programming window

A couple of acknowledgements. This work was partly sponsored by PICAXE (grateful thanks to Clive).  And thanks to Bryant–our first new major code contributor–for co-implementing this feature.

That’s it, happy programming.


1. For the technically minded, here is the explanation: right now there’s not a simple way to invoke the Arduino compiler and downloader via shell command(s).  This feature is slated for Arduino 1.0.

2. There are two requirements for adding a new language to the programming window.  First, to enable syntax highlighting, Fritzing implements a subset of Kate Highlighting XML. So a new Kate Highlighting XML file has to be provided for each new microcontroller language.  You can find the current set of highlighting files in your Fritzing installation folder, in the …/translations/syntax folder.  The second requirement is to find a compiler/downloader for the microcontroller that can be accessed via shell commands.


19 thoughts on “Experimental program window

  1. hello, can help contstruir a program in Arduino to put a stepper motor (ref. 42BYG011-25 1.8) to make a 360 degree turn. I have the material mounted on bredboard. have experienced some programs and the engine just does not step out of that posição.É for use in an automatic fish feeder will move a food propeller, need to put the engine to make a complete back, or hub to rotate in one direction. required


    1. Hey amigo, es sencillo, necesitas buscar un controlador para motores de paso como un A4988 o un easydriver. Para programarlo puedes utilizar la libreria accelstepper para arduino

  2. This article is over 6 years old. Surely this feature has much more capability now? Can you update please with current information? I can’t seem to get the software to upload code to my Arduino.

  3. I thought this was the whole point of fritzing… to be able to run your code virtually before you spend money on parts or PCB’s you may not need, or configurations that may be wrong.

  4. Is it possible to simulate a circuit with this program?
    I have already the circuit and wrote the code
    but can not find the way to Run the program
    Please could you tell me how?
    Thank You.

  5. Attending trouble finding a location to play cockfighting gambling?
    In this article you will discuss in full how to easily access the on the internet game of cockfight betting safely and naturally profitable.
    Check out this content to the ending and you will
    locate a spot to play cockfighting gambling, the particular best S1288 site inside the

    First, it is necessary that you can know very well what the S1288 site, or
    better referred to as s128. This is a good online bookies gambling site that provides the best chicken breast gambling game.

    Every day right now there are hundreds of participants linked to it plus enjoy fighting chickens via the live streaming characteristic on the s1288 site.

    Even so, s1288 cannot feel its customers directly within Indonesia because it is usually blocked
    by Indonesian authorities regulations which prohibit just about
    all types of gambling. Therefore , the particular reputation of
    a wagering agent is very important to facilitate
    customers being able to access the gambling games these people want.

    The s1288 real estate agent acts as a website that
    connects the two parties by giving a user ID that can later on be used to log into the s1288 betting site.
    Consequently , be sure to usually are registered
    at Betberry prior to you start gambling within the s1288 website.

    The Positive aspects of Playing on the particular S1288 Cockfighting Site
    Today that you know very well what typically the s1288 site is, you also need to really know what Betberry is and why
    you should choose Betberry as your gambling partner. Listed below are the features
    possessed by Betberry.

    Easy Registration
    The first thing you get from Betberry is the particular easy accessing the game, especially the
    live streaming chicken fight. Only having an energetic KTP capital, telephone number,
    plus active email address you are able to immediately join as a member with Betberry.
    After that you can instantly opt for the game you
    just like.

    Low deposit
    Betberry really aims to accommodate gamers from the lower midsection class who also would like to take
    pleasure in the excitement of playing internet
    gambling. So typically the deposit that must end up being paid is
    also relatively small. No requirement to worry ever again if you don’t
    have a major budget to perform gambling because at Betberry, you can still take
    pleasure in gambling games with a low budget.

    Secure Transaction
    Betberry has collaborated with a number of well-known local banks within Indonesia such as BNI, BCA, BRI, Mandiri and CIMB Niaga.
    You may choose one of these banks to make dealings
    and each transaction could be done safely plus comfortably.
    The methods used usually are also various, for example transfers between ATMs, M-banking, or perhaps e Banking.

    Complete game
    Not only cockfighting, in Betberry you will furthermore find other exciting online games
    such as soccer wagering, casino gambling, slot betting
    or shooting fish. Selecting Betberry as a enjoy partner is the 1st step for your success
    inside the online gambling market.

Leave a Reply

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