Posted in Bits and bytes

Preprost PLC krmilnik na osnovi okolja Arduino (2010)

Continue Reading...
Posted in Bits and bytes

A “better” IDE for Arduino

That’s my new project I’ve been working on for some past weekends and afternoons. Yes, there are some similar projects that have already been started. And yes, there are some plugins for Arduino development beeing developed for NetBeans and Eclipse (and these solutions tend to be more powerful in the start and – perhaps – also in the future, because of the feature-rich platforms they extend). However, there is no really specialized IDE for Arduino development that would satisfy me out of the box. And – most of all – I need another challenge! I work with IBM RAD most…

Continue Reading...
Posted in Bits and bytes

Teensy++ (AVR) PLC controller – version 1

Here it is! The AT90USB646-based homebrew programmable logic controller. It’s not quite a Simatic S7 (and it’s not even completed in most parts), but it’s a nice start. A more complete and IEC-ish environment on the development software part (among many other things) would be nicer, but… the code is (will be) here, so extend it to whatever you want. But, whatever you may want to do with it, keep in mind it’s more of a “proof-of-concept” thing than a production-ready device.

Continue Reading...
Posted in Bits and bytes

The PLC update

After looking at the Beremiz iec2c compiler source, I decided that modifying it to fit into this project is probably not the way to go. At this time, I’m deep into experimenting with the Coco/R framework on Java to produce my own IEC compiler. To make things simpler, I decided to support

Continue Reading...
Posted in Bits and bytes

Using the MsTimer2 library on AT90USB646

In order to use the Arduino MsTimer2 library on AT90USB646 microcontroller you have to minimally modify the source code of the library. First, download the library, unpack it into the “libraries” directory of your Arduino installation (it’s a subdir of “hardware”) and open the file MsTimer2.cpp.

Continue Reading...