Tag Archive for 'processing'

processing as a quick video capture program on OSX

Processing.org has a nice video capture library that is suitable for quick videos for documentation, I am using it to capture some arduino experiments with the external isight camera

call and response

code follows….

Continue reading ‘processing as a quick video capture program on OSX’

Mashed08

Un Arduino Diecimila

Image via Wikipedia

I was at Mashed08 in Alexandra Palace . There is a good mix of hardware and software hackers, but I like the hardware ones best. It’s a bit like working with children ands animals. It should not be done in 24hrs unless you are really experienced. I spent too much time on a prototype when i should have spent time on the sketch, A learning experience, but I did dip into using python to talk to Arduino , and that was a valuable lesson.

syntax highlighting of arduino code in jedit

jEdit

Image via Wikipedia

My eeepc has a small screen which some programs don’t handle well. The arduino programming environment (the same as processing) doesn’t always handle it very well (like having the scroll bar disappear occasionally). However, it is possible to use an external editor. Personally, I like jedit and its code highlighting. Problem is that it dosen’t recognise the extension *.pde as a c-like style. Continue reading ’syntax highlighting of arduino code in jedit’

Processing and Arduino on the eeePC

arduino the setup

I recently bought an asus eeepc subnotebooks( 4G ssd, 512ram, portable celeron) for a portable blogging computer. I never expected to install processing.org or arduino even though I use them on another computer. However, the people down at the eeepc wiki have posted a method of installing both(here) . I have installed arduino and processing(instructions ) on it. So now I have an ultraportable kit to play with arduino and processing! >> 2kg! Its not a fast system for processing, but adequate for trying out patchs, and fine for communicating with arduino.

Cool.

Now I am working with the kingbright chameleon rgb led modules(available at Maplin and Rapid ), getting arduino to handle the physical interface of controlling the 3 leds(on/off done) and processing.org the mix of colors from an onscreen interface(in the process).

To do this I have used the example code from fading and blink, and merged the different ideas.

I hae also been getting to know led modules, their orientation, the value of the resister needed for each. (ie the Blue operates at a higher voltage than the Red led, needing different resister values).

This is primarily because LEDs do not provide a resistance to current, if the voltage is above the operating voltage of the led, then the led will suck more and more current until it burns out. Thats the reason to put in the resister, it controls the current (usually 20milliamps up to a max of 50milliamps)(some links can be found at http://del.icio.us/sctv search for led.

Will post the code as it gets more mature, for now I am verry happy to have this nice little development package for arduino and processing.