Show Posts
Pages: [1]
1  Products / Arduino Due / Re: IDE 1.5.1 on: January 18, 2013, 01:03:06 pm
I had the same error when updating to 1.5.1 from 1.1 on win 7 SP3 32bit
I can confirm removing the folder 'my documents\Arduino\Hardware' fixes the problem (I had additional boards installed in this folder, the Sparkfun Micro)


best regards,
Lieven Standaert
2  Forum 2005-2010 (read only) / Troubleshooting / Re: Bluetooth upload problems on: September 20, 2009, 01:40:55 pm
I have the same problem.


I can get a sketch uploaded by pressing the reset-button after hitting 'upload' .
I thn still get a (different) error message, but the new sketch starts being executed.

did you find a better fix in the meantime?

Lieven
3  Forum 2005-2010 (read only) / Interfacing / Showing arduino sensor values in processing on: October 09, 2009, 07:57:45 am
Hi,

I'm currently building a RC airship with an arduino BT inside. I use the BT to send sensor values (altitude, angle of attack, rudder position,....)
back to my pc.
i want to build an interface in Processing to display the values onscreen and build in some alarms (have my computer beep if the ship flies to low or the battery is low for example)

i'm working my way through the exmples on the processing-site, but most of the examples i find focus on graphical output. I just want some sensible numbers in a large font;

I've started writing something based on Tom Igoes examples, but it would be a great help if you would know of an example/application where this was allready done...

thx -Lieven
4  Forum 2005-2010 (read only) / Development / Re: SRF02 and CMPS03 Libraries on: February 22, 2010, 11:11:14 am
Hey,

I just used your library for controlling 2 SR02's. Works great. I wasn't sure how to change the adress on one of them, but the page on your site explains it very clearly.

thx

-Lieven
5  Forum 2005-2010 (read only) / Troubleshooting / Re: How much ram is being used? on: October 29, 2009, 09:35:43 am
This thread was extremely helpfull, and mem's MemoryFree library above is a must-have.
It should be included in the documented arduino libraries.
6  Forum 2005-2010 (read only) / Troubleshooting / Arduino BT - rewire reset button on: September 27, 2009, 08:04:39 am
Hi,

I can currently only upload a sketch to my arduino BT when i press the reset-button before uploading.
I would like to be able to remote-upload to the arduino AND I want to mount a motorshield on it, which makes the reset-button inaccessible to boot.

I was thinking I could desolder the reset-button of the BT, put in 2 transistors in its place, connect these to 2 digital pins from the BT.

I can then send a serial command, setting the pins to high, thus resetting the BT, then uploading the new sketch.

Would that work? Or is this a stupid idea and should I  fix it in software?

smiley -lieven
7  Forum 2005-2010 (read only) / Troubleshooting / Arduino BT setup examples on: September 21, 2009, 03:26:13 am
I'm having some problems connecting with an arduino BT, and I'm unsure how it's supposed to behave.

I've been looking for tutorials/examples of a setup but the bluetooth examples on http://www.arduino.cc/playground/Main/InterfacingWithHardware#Communication concern other bluetooth modules.

The one on the arduino BT doesn't seem to be a valid link:
http://www.arduino.cc/playground/Main/BtPCSetup (blank page)

Ive read the hardwarde pages on the arduino BT, but maybe I missed something... if anyone knows of a setup tutorial/example for the arduino BT it would be most welcome.



Here's my question:

-I can only upload to the arduino BT when I manually press the reset-button after hitting 'upload'. arvdude then still reports an 'out of sync'- error, but the sketch gets uploaded.
I'm used to working with Diecimilas.
I read in another thread that the BT does not have auto-reset, and some people are working on it, but I'm not sure what that means.

Does it mean that my arduino BT works as designed and I just have to live with pressing the reset-button?
Or is something wrong?


regarding, Lieven
8  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino robot on: September 19, 2009, 04:57:56 pm
Yes,

you can use an arduino to build a robot. Nut you're going to need some more parts.
If you want to have it moving, you need to learn about servo's and DC motors.
The motorshield from adafruit is a good start. (google it)


Hope this helps,
regarding -Lieven
9  Forum 2005-2010 (read only) / Troubleshooting / Re: arduino BT upload problem on: September 19, 2009, 05:21:53 pm
I've been reading on, and it's unclear to me if this is normal.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1247005623
seems to have the same problem

The arduino BT does not seem to have auto-reset, like the Diecimila has.

Am I supposed to manually press the reset-button every time?
10  Forum 2005-2010 (read only) / Troubleshooting / arduino BT upload problem on: September 19, 2009, 04:48:07 pm
Hi,

i've been trying to upload to an arduino BT for the last 4 hours.
I'm working on XP with arduino 15.
I don't have a problem uploading to a regular Diecimila through USB.

I've read through the other threads here describing upload errors, and tried most things written there.
 

Error:
avrdude: stk500_getsync(): not in sync: resp=0x54
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x54



With upload.verbose=true:

         Using Port            : \\.\COM2
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 19200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x54
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x54

avrdude done.  Thank you.



I found out that:
-I can upload by hitting the reset-button on the board after pressing 'upload'
I get an 'out of sync' error, but the sketch gets uploaded ok.

-I can also receive messages from the arduino BT through the serial monitor. Serial.println works fine.


-AND i can send commands to the arduino BT with Serial.read()

Problem: I meant to program the arduino while being mounted in a remote-controlled airship 5 meters from the ground. Pressing 'reset' manually just isn't practical.

Is there a way around this?
Anyone else has had this problem?


regarding -Lieven
11  Forum 2005-2010 (read only) / Interfacing / Re: Xbee and WM+ on: February 26, 2010, 08:38:21 pm
Solved it.

The problem wasn't power.  It was the Xbee configuration.

If you connect the Xbees with their 'DL' adress set to 'FFFF' (meaning, talk to absolutely any Xbee ) they are very slow. It seems the Wire buffer clogs up, as the serial message doesn't get through fast enough.

When I configured my Xbees to only talk to each other  it solved the problem.(set 'DL' to the 'SL' of the other XBee, do the same with the 'DH' to 'SH' adress.)

Funny thing is; you can actually see the difference, as you can see the differience in speed of the RX/TX-leds blinking on the arduino.
12  Forum 2005-2010 (read only) / Interfacing / Re: Xbee and WM+ on: February 26, 2010, 07:31:42 pm
I have a similar problem:

-Xbee shield works fine

-Arduino communicates through I2C with ultrasonic sensors, works fine. Arduino prints measurements to serial port, all fine.

--> put in Xbee shield to make forementioned arduino wireless... Ultrasonic sensors stop working, only intermittent I2C communication.

Did you find a solution?

regarinding, Lieven
13  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Measuring Current/Voltage with arduino ? on: October 05, 2009, 03:52:58 pm
halley:

you would need a really accurate, really small resisitor. The main circuit has a resistance of 0,18 Ohm, if you make a shunt 1/100th f that it will have a voltage drop of 0,22V. But that means a shunt of 0,0018 Ohm.  I see 2 ways you could try.

1- take 50 meter of copper wire (i would take my roll of extension cord, though I'm not sure that could take 120A) . Measure the resistance of this ( say that's 2,0 Ohm)  Then make a linear interpolation and cut a short piece from the wire. Use this as resistor (in my example, this would be a piece of 4,5 cm smiley )
Now, this would still give 120A*0,22V=26W ! of heat dissipation in this wire, which is probably too much. And if the wire gets hot, the resistance will change... Hm. Cutting the short wire in 2 isn't very practical, so lets use 10 equally sized pieces in parallel to build the shunt. This divides the resistance by 10, voltage drop is now 0,022V.

You can use the above multiplying method to build a 'radiator' of wires and build op a resistor that has a small resistance and enough surface to be cooled.

Also, if you can get your hands on a spool of constantan wire, that's very good to make resistors from. This is an alloy designed to have the same resistance as temperature increases.


Method 2: For this method you need an Amp-meter that can measure 120 Amp (mine sure can't)
Just use a piece of the regular wire in the circuit as shunt. Measure the voltage across this wiie with the circuit described above while you place the Amp-meter in the circuit. You can now see what voltage drop across this wire corresponds to what Amperage. Basically, if you have an amp-meter, you can build one smiley



hope this helps,
Lieven
Pages: [1]