Show Posts
Pages: [1] 2 3 ... 5
1  Using Arduino / Programming Questions / Serial.print in void setup() on: November 08, 2012, 12:47:07 am
G'day,
At times the serial.print does not print. This only happens when the code is in setup().
Have put in a delay after serial.begin to no avail.
When I hardware reset, the serial.print in setup() displays ok.

Is there a software reset that I can code in void loop()

Tks
2  Using Arduino / Programming Questions / Re: Interrupts cli() & sei() on: November 03, 2012, 07:54:04 pm
Tom,
Fantastic, tks for the info (heck had to wait nearly 5 minutes for the answer, you will just have to do better next time).
Grant
3  Using Arduino / Programming Questions / Interrupts cli() & sei() on: November 03, 2012, 07:35:13 pm
G’day,
Have seen a few sketches use cli() and sei().

How do they differ from noInterrupts() & interrupts(), and are they interchangeable.

Tks
4  Using Arduino / Sensors / Re: Kambrook Power Point Controller on: May 27, 2012, 07:14:10 pm
G'day,
All my problems solved with a ten 4N25 opto-couplers. (Each channel needs, one for off, and one for on)
Now able to wireless control five 220V outlets. The powered units are also approved, and deliver 10 Amps

It also no longer needs the internal 12V battery, as this is regulated down to 5V.
Grant

5  Using Arduino / Sensors / Kambrook Power Point Controller on: May 25, 2012, 08:18:52 pm
G'day,
Has anyone experienced interfacing to a Kambrook RF4471 Power Point Controller.

It’s a 433 MHz, handheld controller that can switch on/off five different power outlets plugged into the house power point.
The controller looks like it scans the 10 switches (5 for on, and 5 for off)

Could fit 10 relays and use them to simulate a switch being pressed, but must be a better way of doing it as the relays will cost more than the Kambrook system( that has one controller plus three main powered switched outlets)

Tks
Grant
6  Using Arduino / Programming Questions / Re: Use of Classes on: March 19, 2011, 08:36:38 pm
Nick,
Hows the MIDI testing lib going.
Grant
7  Using Arduino / Programming Questions / Re: vbs read COM port on: March 05, 2011, 07:00:12 pm
I'm also having problems with this VB Script under Windows 7.
It seems it never gets past the line

Code:
Do While com.AtEndOfStream <> True
As neither msgbox is  executed  in the following script.
Code:
Do While com.AtEndOfStream <> True
   MsgBox("In loop") 
  s = com.ReadLine
   objFile.WriteLine(s)
  WScript.Sleep(200)
Loop
MsgBox("Past Loop")
I know there are other ways of getting the serial, but would like to know what is wrong with this script.
Has anyone used it sucessfully.

8  Using Arduino / Audio / Re: MIDI plus USB serial on: March 04, 2011, 09:07:21 pm
Have three different MIDI lib's all use tx/rx pins. Have another guy blending in NewSoftwareSerial Lib, but he has not finished yet.
So now want to try a Hardware solution, use a FET to switch between the usb chip and the MIDI signal.
Was hoping someone had done this already.
9  Using Arduino / Audio / MIDI plus USB serial on: March 04, 2011, 06:00:59 pm
G'day,
I want to send a MIDI command via the USB and then send it out as a MIDI signal.
The MIDI lib used pin 0 and 1, as does the USB port.
Is there a way around this? Even a hardware solution would be welcomed.
 
 
10  Using Arduino / Interfacing w/ Software on the Computer / VBScript with Windows 7 on: March 04, 2011, 04:14:22 am
G'Day
Am tring to use the code from the playground timewitharduino.blogspot.com/2009/05/getting-arduino-to-write-to-or-read.html to record the serial from my Uno. But I get a permission denied on the line: -
Set com = fso.OpenTextFile("COM6:9600,N,8,1", ForReading)
Have admin previlages. Also get a different error if the UNO is not plugged it, so at least getting somewhere.
Any ideas?
 
11  Using Arduino / Programming Questions / Re: Use of Classes on: February 21, 2011, 04:11:30 pm
Nick,
Any luck getting Pauls MIDI lib alterations tested.
Grant
12  Using Arduino / Programming Questions / Re: Use of Classes on: February 19, 2011, 04:37:10 pm
G'day.
Is it possible for me to check the new library. Have the MIDI hardware, plus the problem.
Could assist with the documentation etc.
Grant
13  Using Arduino / Audio / Re: MIDI Serial Port on: February 18, 2011, 01:48:58 pm
It seems the MIDI 2.5 library does allow a different  tx/rx port to be used see http://blog.makezine.com/archive/2009/01/midi-programming-library-for-arduin.html
Has anyone done it.
14  Using Arduino / Programming Questions / Re: Use of Classes on: February 18, 2011, 01:21:47 pm
Paul, Tks for your time in this matter.
I'll put a hardware switch on the tx & rx line so that I can download sketch in one position, and then switch to MIDI.
tks again.
15  Using Arduino / Programming Questions / Re: Use of Classes on: February 17, 2011, 10:39:55 pm
Yup, I had the same problem with the download, used http://www.izarc.org/ and got it unzipped ok.
Pages: [1] 2 3 ... 5