Recent Posts

Pages: 1 ... 8 9 [10]
hi, the problem is the library is re defining how to attend the `__vector_9' interruption, Which is already defined on lines 97/103 on

The right way should be Timer2.attachInterrupt() and rename the ISR(TIMER2_COMPA_vect)  on the FreqCounter.cpp:104 to a function you want to be called anytime TIMER2_COMPA_vect is generated.

See how the initialization of other timers on the Arduino definite are handled on init:

Let me know.
Core/Cross-platform Library Questions / correctly import arduino lib (using timer2)
« Last post by Raffy87 on August 28, 2014, 02:03:43 PM »
I am trying to get de frequentie counter working in Wiring

But i get the error

core.a(WHardwareTimer.cpp.o): In function `__vector_9':
C:\Program Files (x86)\Wiring\cores\AVR8Bit/WHardwareTimer.cpp:103: multiple definition of `__vector_9'
FreqCounter\FreqCounter.cpp.o:C:\Program Files (x86)\Wiring\libraries\FreqCounter/FreqCounter.cpp:104: first defined here

when I compile the sketch.

Can someone help me to confert the libraries correctly. Or help me get a simalur lib that works directly with Wiring.

kind regards Raphael Baars
Installation Questions / Re: Windows 8 / 8.1
« Last post by barragan on August 11, 2014, 08:07:08 PM »
hi Fraser, I have uploaded an osx test version, in case you have an mac with os 10.9 to try. I´ll be doing the same for Windows 8 as soon as I get my windows machine back from dell, it is broken right now.
Installation Questions / Re: Windows 8 / 8.1
« Last post by fraser on August 10, 2014, 05:03:12 AM »
That is great to hear. Many thanks for the reply and updates. I have always loved this project/platform and it would be ace to use it without having to mess about with VM or dual booting into a legacy OS as I am at the moment.

Thanks again!

Installation Questions / Re: Windows 8 / 8.1
« Last post by barragan on August 05, 2014, 12:08:36 PM »
We are working a release supporting Windows 8, and Macosx 10.9, osx should be up by the weekend and Windows in the following days. Linux will take a bit longer.
Installation Questions / Windows 8 / 8.1
« Last post by fraser on August 02, 2014, 09:36:53 AM »
I realise this project has not been updated for a while, but I was wondering if anyone has the Wiring IDE working in Windows 8 or 8.1?

I have recently dug out my old board for a little project I have planned - but I can't seem to compile anything using the Wiring IDE.

The errors I get are from avr-g++.exe when trying to compile.

C:\wiring\tools\avr\bin\avr-g++.exe: *** fatal error - couldn't allocate heap

I have tried a few things such as compatibility mode and unblocking but I just can't get it to work.

Any help much appreciated!

I think its not. the FTDI driver.....  You forgot to remove  a sign by installing Java, this is the only install I know wich installing this toolbar.....

I was really happy to install Wiring 1.0 build 100 yesterday on my Mac laptop. I also installed the FTDI drivers that came with it. (incidentally, these rename the COM1 and COM2 ports but I used bluetooth port names and it started working.)

What surprised me is that I had to unlock my Mac (OSX 10.9.4) to allow an unsigned and uncertificated driver to be installed, but I trust Wiring. I am extremely careful about who i unlock for.

To my surprise, after installing the driver and rebooting, my web browser (Chrome) started up with a different homepage and toolbar, something like the ask tool bar that Java tries to stick you with.

But the only installation done was the FTDI drivers for wiring. (FTDIUSBSerialDriver_v2_2_16.dmg Created: Monday, February 28, 2011 at 9:50 AM)

So either somebody hacked the drivers to put in this toolbar, or the extension was put in without consent, or i got it from another source.

I appreciate Wiring and I don't mind bloatware if I am asked first because then I can say no.

Anyway thanks for making such a great program and sorry for any inconvenience this report may cause.
Wiring Implementations / Re: Dot Matrix Pen Write Screen
« Last post by barragan on July 10, 2014, 11:02:54 PM »
Great project, this is very cool, I saw a tutorial long ago regarding the possibility of using an LED as both sensor and actuator by switching the pin very quickly with the microcontroller. Is is possible also use it "touching" right? (not just with the pen)
Wiring Implementations / Dot Matrix Pen Write Screen
« Last post by kathyelecfreaks on July 08, 2014, 04:28:36 AM »
We were just wondering in the current market where capacitive touch screens, resistive touch screens, TFT displays are flooding, DIY enthusiasts have been rarely used dot matrix screens. Here we use 5mm 8 * 8 dot matrix screen and phototransistor to achieve a pen write function. Sounds fun? But how to specifically make it? Can we achieve a larger area pen write?

I. Target
To realize pen write on dot matrix.

II. Hardware
LED matrix, UNO, flowerpad, 74ls138, PNP transistor, LM358, photosensitive triode, resistors (22K, 1K), pins

III. Circuit
The project is mainly composed of three parts: row scan circuit, column scan circuit, the pen’s circuit. The principle block is as shown below. It has a photosensitive sensor in the pen, we use this pen to get the states of LED.



1. Row scan

Make decoder’s Y0, Y1…effective in turn, but 74ls138 output low level on corresponding pin if have a effective input, because our dot matrix is common anode, we need an inverter, we use PNP transistor to constitute a inverter. Every eight times column scanning on a row scan.

2. Column scan

Make decoder’s Y0, Y1…effective in turn, and input PWM on OE1, if OE1 is high level, Y0~Y7 are high level,if OE1 is low level, ABC pin decide decoder’s output. When enable some line, we make decoder’s Y0, Y1…effective in turn, and we can control every LED’s brightness by OE1.

3. Pen

Set the reference voltage at the inverting input of comparator at a certain value, and in-phase input voltage will be less than this value when the pen receives light, vice versa. The current through R3 is very small if light is insufficient, so in-phase input voltage will be closer to the power supply voltage, and comparator outputs high level. The current through R3 will increase if light intensity increases, and the voltage of R3 will increase, so in-phase input voltage will decrease, then comparator outputs low level. MCU can catch this change and then does the corresponding processing.

IV. Program Analysis
To detect state of the points on the dot matrix we must light LED, and make it in the dim state, when the pen gets close to some point, we set the point highlight. But how do we know the coordinates of this point? The principle is: let LED light up one by one,the first of the first line, then the second of the first line…, until the last of the first line. Turn again the first of the second line, light up LED in turn in a loop. Every LED has state value: 0 stands for the dim state, 1 stands for highlight state. When the pen gets close to some point but it’s not the point’s turn to light up, because the pen did not detect light,it maintains a high level at the output of the comparator. When it’s turn to light up this point, comparator outputs a low level, MCU executes interrupt program when it detect a level change, and gets value of current row and column, then set state that find the point by value of row and column of 1, and set it to highlight state when it’s lighted up next time. We see the whole dot matrix light up when increasing scanning speed, rather than one by one.

If you are interested in this pen write screen, click here to view more details:

Pages: 1 ... 8 9 [10]