Loading...
  Show Posts
Pages: [1] 2 3 ... 13
1  Using Arduino / Project Guidance / Re: Self levelling table project on: May 01, 2013, 11:05:38 am
The project is designed to work on board a boat and counter act the motion of the sea if you look at the pictures the sensor is mounted on the blue part of the meccano which represents the deck of the boat. i am trying to make the motor move in the opposite direction of the sensors angle and stay level.

A very fast motor will be needed then, because the movement of the sea is not something that is slow, so be aware of that.
and also, please put some isolator between your arduino and the base plate. This plate conducts electricity, so it may generate shorts or faulty readings or whatever, in any case it can't be good for you board.
2  Using Arduino / Installation & Troubleshooting / Re: [Win8] Arduino IDE must run as admin on: April 22, 2013, 12:49:54 pm
Most of the processes were "SUCCES", some were "FILE NOT FOUND", and another some were "OVERFLOW".
What do you mean to send you the capture? It's a 5000 items long list :o

btw, I don't really found the 'non-related processes' exclude, so I clicked arduino.exe and did include 'arduino.exe', and it only showed those arduino.exe's from then on.
btw2, it somehow got my keyboard into qwerty (while it's standard in azerty), I had to reboot my pc to get it OK (that and arduino were the only programs running).
btw3, I start to think it might be something with my fresh windows installation somehow. I had to do 'run as admin' twice today to install stuff, otherwise I got errors
3  Using Arduino / Installation & Troubleshooting / Re: [Win8] Arduino IDE must run as admin on: April 22, 2013, 07:08:09 am
I ran it as normal user (where it quits):

Quote from: normal user


CmdLine:   C:\Program Files (x86)\Arduino\arduino.exe --l4j-debug
WOW64:      yes
Working dir:   C:\Program Files (x86)\Arduino\.
Bundled JRE:   java
Check launcher:   C:\Program Files (x86)\Arduino\java\bin\javaw.exe (OK)
Add classpath:   lib\pde.jar
Add classpath:   lib\core.jar
Add classpath:   lib\jna.jar
Add classpath:   lib\ecj.jar
Add classpath:   lib\RXTXcomm.jar
Launcher:   C:\Program Files (x86)\Arduino\java\bin\javaw.exe
Launcher args:   -Xms128m -Xmx128m -classpath "lib;C:\Program Files (x86)\Arduino\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base
Args length:   170/32768 chars
Exit code:   259


and as admin, where it works fine

Quote


CmdLine:   C:\Program Files (x86)\Arduino\arduino.exe --l4j-debug
WOW64:      yes
Working dir:   C:\Program Files (x86)\Arduino\.
Bundled JRE:   java
Check launcher:   C:\Program Files (x86)\Arduino\java\bin\javaw.exe (OK)
Add classpath:   lib\pde.jar
Add classpath:   lib\core.jar
Add classpath:   lib\jna.jar
Add classpath:   lib\ecj.jar
Add classpath:   lib\RXTXcomm.jar
Launcher:   C:\Program Files (x86)\Arduino\java\bin\javaw.exe
Launcher args:   -Xms128m -Xmx128m -classpath "lib;C:\Program Files (x86)\Arduino\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base
Args length:   170/32768 chars
Exit code:   259


I do not see any difference (yes I'm sure those are 2 differnt outputs), maybe I'm missing something?
4  Using Arduino / Installation & Troubleshooting / Re: [Win8] Arduino IDE must run as admin on: April 22, 2013, 01:49:19 am
Nope, doesn't work. I get exactly the same results. It installs perfectly, but when I open it only the splash screen shows up, then it quits.
Nice job on the software though
5  Using Arduino / Installation & Troubleshooting / [Win8] Arduino IDE must run as admin on: April 21, 2013, 08:49:03 am
Hi

I recently reinstalled Windows on my laptop (for speed reasons), and after downloading the arduino IDE (1.04) again and installing the USB com driver, it seems that from now on I can only run the IDE as asministrator. If I run it as normal user, it only loads the splash screen and then quits. Even the process itself quits.

When I run it as administrator, everything works perfect, serial communication, compiling, uploading etc. I searched on google, but it doesn't seem like anyone has had this problem before, or am I wrong?
It is kinda irritating to have to give permission every time I open the IDE, so it would be nice to have a sollution.
I already checked the 'always run as administartor' box, but then I still need to give it permission.

Thanks
6  Using Arduino / Project Guidance / Re: Scoreboard on: April 20, 2013, 02:08:01 am
First of all I'd say you place the LEDs in parallel instead of in series, then they still only need 2.2V, but it will draw 60mA current per segment.
With a bit of logic structuring you could handle all of the segments with 3 shift registers (e.g. 74HC595 or TPIC6B595), since 126+2=128 and 128/8=16.
So make it a multiplexed matrix of 8 rows and 16 cols, or the other way around.

Then you could power them using a FET connected with gate to the output of the shift register, drain to +5V and source to the anodes of the LEDs.
At the at the kathodes of the LEDs, connect gate to the output of the shift register, drain to kathodes and source to GND.

Don't forget to put in resistors for the LEDs at every segment, or better at every connection between kathode and ground, since otherwise you'll blow up your LEDs+FETs, and that's not something we want, is it?
7  Using Arduino / Networking, Protocols, and Devices / Re: One-To-Many wireless on: April 03, 2013, 02:35:53 am
I think (I haven't tested this module) you'll better choose a module like this one
It's a 2.4GHz module, which allow buad of 250k to 2M, which should be enough.
For address I would use DIP-switches, since then you can change the address, without having to modify any of the code (and who would want to upload 120 different programs just for the address that's changed..)
The LED dimming through PWM as you said and you're done, I'm not sure, but this may even be done with an ATtiny84 I think (11 pins available)
3 for shift register (piso) to read DIP-switch, 1 for LED pwm and I think 3 for SPI to the transceiver module, makes it perfect for ATtiny84.
8  Using Arduino / Project Guidance / Re: Spectrum Analyzer - new to hardware - on: April 02, 2013, 05:22:26 pm
There is an arduino FFT lib, which will make it thousands of times easier: http://neuroelec.com/2011/03/fft-library-for-arduino/
9  Using Arduino / Programming Questions / Re: NC5 IR sending problems... on: April 02, 2013, 03:28:43 am
Have you tried simply sending the w/o 0x80 signal (so only 0xC etc) a couple of times directly after each other.
You could use a for loop to send it about 10 times, it shouldn't bother the TV.

And when that doesn't work, or only the one time, have a boolean like you said, that toggles when you send a command, that way you'll always know which one to send.
10  Using Arduino / Project Guidance / Re: Output voltage problems on: April 01, 2013, 01:33:13 pm
you could just place a transistor with the base attached to D2, collector to +3V3 and emittor to the power supply

EDIT: with power supply i mean the one from the gps, and it has to be a NPN transistor (e.g. BC547 will do fine)
11  Using Arduino / Project Guidance / Re: How to dim 120 volt incandescent lights on: April 01, 2013, 01:25:21 pm
You will need to find/buy a remote if you would like to know what it sends. using this IRremote lib you can read and send IR signals, but to be able to send it, you should know what to send...

I think it might be easier to build one yourself, using a mosfet or something equivalent, more info can probably found here
12  Using Arduino / Project Guidance / Re: Button pad with arduino? on: April 01, 2013, 01:20:14 pm
It's perfectly clear how they're hooked up to the connector pins, just follow the marks on the backside of the plate, as well as the led hookup:

13  Using Arduino / Programming Questions / Re: Boolean memory size on: March 24, 2013, 06:07:00 am
A boolean takes up one byte in C++ (zero or not zero for false/true); you can use bit fields in C/C++ that take up single bits; eight of them (one bit each) take up a single byte again.

kind regards,

Jos

Well that was the alternate way I'd do it, just generate one bit booleans myself, thanks.
14  Using Arduino / Programming Questions / Boolean memory size on: March 24, 2013, 04:28:00 am
Hi

I was wondering if a boolean gets saved as one bit, or as a full byte. Since it makes a huge difference in memory usage, but I don't know if the arduino is able to address only on bit. So if you'd save 8 booleans, that would still only take up 1 byte instead of 8 bytes, or is this false?

Thanks
15  Development / Other Software Development / Function key support arduino IDE on: March 23, 2013, 10:35:33 am
Hi

I've been wanting to ask this a very long time, and I've searched the forums (and found nothing), so here I am.
Could it be possible to add function key support to the arduino IDE?
With function keys I mean those F[number here] keys.

e.g. of mapping:
F1 reference
F2 find previous
F3 find next
F5 compile and upload
F9 compile
F12 save files

I would be pleased to see this in a next release, but I don't know if it would be possible.

Thanks
Steen
Pages: [1] 2 3 ... 13