Updates on the “Arduino PLC”

Several people have contacted me regarding the “Teensy++ PLC”, either with the idea of extending it, or porting it to other microcontroller architectures, or developing it further as a true “Arduino” solution. Especially the true Arduino PLC solution is very tempting for me. Indeed, that was the idea that followed me from the very start. So, let me put together some thoughts on this topic. Continue reading

IDE update

After some joyful time I’ve had playing with GUI concepts and visuals, I threw that initial code away and started doing it the right way. At the time being, I have a simple GUI and dinamically extensible framework at some early stage. Think of it as a tiny, super-light netbeans or eclipse-like platform. There’s more to follow here. Take care!

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!

Current experimentation with GUI concepts...

I work with IBM RAD most of my daytime and in the remaining time I work with IDEA. That should give quite a clear picture about my expectations of an IDE (and frustrations I face). However, this project is about fun. If I save a world or two at the same time, it’s o.k., too. That’s what I’m going to say for now. Stay close!

Programmable Logic Controller – initial sources release

Finally, here are the sources I was talking about for so long! This project page wouldn’t be complete without it, would it?

The zip file below contains complete sources of AVR firmware in Arduino language (C++ with a couple of libraries, basically), the graphical development environment, a sample control program with corresponding configuration, a simple PC SCADA application and a simple communication library in Java.

plc-project-061010.zip

Schematics and other info can be found here (just search in the document, you’ll find it at the end).

It looks like that:

 

Graphical integrated development environment

 

 

Initial prototype of the controller

 

 

Do read more about it here.

How much AVR resources does your little program occupy?

If you’ve ever played with WinAVR, you have probably noticed the pretty resource usage info printed after each compile. You may miss that candy if you compile with GCC on Linux. In that case, grab a simple script avr-mem.sh. While the script should work with common AVR chips, you must modify it in order to use it with AT90USB646. Continue reading

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.

Prototype with a simple 24VDC digital I/O module

Prototype with a simple 24VDC digital I/O module

Continue reading

That PLC thing…

Ehm… that PLC. What’s new?

O.k. I canceled the ST compiler part. Not that I don’t like the idea of doing it, I just don’t have the time. So here is the alternative Continue reading

Follow

Get every new post delivered to your Inbox.