Loading...
  Show Posts
Pages: [1] 2 3 ... 7
1  Development / Other Software Development / Re: How to keep compiled files in arduino ide on: May 17, 2013, 09:19:26 am
I also discovered that if I close IDE, when I open again, load the sketch and try to compile, it compiles everything from source because it deletes everything... I can't compile from compiled files changing just my pde...

Anything about this?
2  Development / Other Software Development / Re: How to keep compiled files in arduino ide on: May 17, 2013, 03:02:01 am
Thanks Pito it works.

Do you know how to set relative paths? I would want to make it portable and be able to set the Arduino folder in any place. What do I have to do to define a path inside Arduino folder?

Something like /arduino/compiledLibraries ...
3  Development / Other Software Development / How to keep compiled files in arduino ide on: May 16, 2013, 06:17:49 am
I know that Arduino ide does it. Version you can downloaded compiled from webpage does it. But I downloaded source code to modify a couple of lines and my version doesn't do it.

Where do I have to save that files? or... where do I have to modify source code to get it?
4  Development / Other Software Development / Re: Modify IDE just for compiling on: May 14, 2013, 10:26:27 am
Well... I have discovered that with new arduino ide I can compile just one time, and if I don't change libraries, I can delete them... It keeps compiled version. Where does it get saved? Can I cut the arduino folder and take it away?

Which java file has the buttons? I am interested in delete some of them...
5  Development / Other Software Development / Modify IDE just for compiling on: May 14, 2013, 03:19:09 am
I am using other arduino based board (waspmote) but I guess this is not important for my target right now.

I want to modify arduino ide to make it able just for compiling a program. I mean, I want to delete upload button and some others too (like serial port, etc)

Also, I want to compile just pde. I have some libraries developed (also downloaded from internet or libraries from arduino) and I don't want to be able to modify them.

With this, I mean I want to have them already compiled, it is no need to recompile anytime and I don't want that anybody see the code. So I would just to write my sketch in arduino ide and be able to compile it to see if there are any compiling mistake, anything else.

I found there is a file called Compiling.java in Source code but I don't know which part I should delete to be able to have my files compiled or where to specify the directory of my libraries...
6  Using Arduino / Sensors / Re: UV AB measurement on: May 08, 2013, 09:23:45 am
Yeah, I already do that. But I don't know if they meassure UVA or UVB since I don't know anything about their difference... I was looking for a sensor which just meassure A or B if it exists
7  Using Arduino / Sensors / UV AB measurement on: May 08, 2013, 03:56:01 am
I am trying to get the value of my sun lights (For reptils). I read I have to change them each 6 months because A or B rays get wasted and lose properties (or something like that).

Which sensors do you know for doing that? (cheap, better).
8  Development / Other Software Development / Re: Updated DS1307 simple library for arduino 1.0 and older on: May 08, 2013, 03:53:18 am
Maybe your RTC is "broken".

I have a couple of tiny RTC bought on ebay and one of them works fine and the other one, when I poweroff external battery, loses the hour. So, external battery doesn't work. I tried with the other one's battery and same happends.

But the other one, works fine with and without external power.
9  Using Arduino / Interfacing w/ Software on the Computer / Re: Python + Arduino on: April 30, 2013, 03:53:07 am
In python just have to do this:
1 - Import library:
Code:
import serial

2 - Open port:
Code:
ser = serial.Serial('/dev/ttyUSB0', 38400, timeout=1)

Setting the correct port and baudrate.

3 - Read data:
Code:
read = ser.read(X)

Where X is the number of bytes you want to read together. If you just write read = ser.read(), you read 1 byte.

I recommend you to read just one byte at a time because if you read more than one, it will kept as string and you cannot modify it. For avoiding it and be able to modify you have to save it as list but I haven't the code here right now.

And, the rest is treat that data in functions or whatever you want.
10  Using Arduino / Sensors / Re: Can the Arduino Uno rev 3 handle 2 sensors? on: April 30, 2013, 02:21:26 am
PIns are connectors on arduino or sensor. Each wire has a pin in the end and it has to be connected to an arduino pin (normally, not all of them sometimes)
11  Using Arduino / Networking, Protocols, and Devices / Re: upgrade XBEE 802.15.4 to digimesh 2.4 on: April 26, 2013, 09:06:39 am
Um.... Which baudrate are you using? in xbee and x-ctu. Maybe, I am not sure right now, you have to activate option AP = 2 in first tab when you enter the program. Thats quite strange. I flashed all mines with that method.

Try this: http://www.digi.com/wiki/developer/index.php/Bootloader_to_force_XBee_reflash
12  Using Arduino / Networking, Protocols, and Devices / Re: Mesh + xbee serie 1 on: April 26, 2013, 05:19:21 am
I have that version in my X-CTU and I have't press "download new versions" button I think. So maybe you arleady have it.

If you press in version list, what versions do you have? You have to select XBEE DIGIMESH 2.4 in Function set combolist.
13  Using Arduino / Networking, Protocols, and Devices / Re: upgrade XBEE 802.15.4 to digimesh 2.4 on: April 26, 2013, 04:34:25 am
1- Open X-CTU and go to the Modem Configuration tab.
2- In Modem: select XB24-DM or XBP24-DM depending of using XBee or XBee pro.
3- Configure parameters as you want.
4- Press Write to flash module

You can do the reserve process to go back to 802.15.4, just selecting correct firmware in modem (XB24 or XBP24).
14  Using Arduino / Sensors / Re: 1 wire temp sensor on: April 25, 2013, 09:05:38 am
You can test them before plug them in final version so you have all addresses and can set: X addr is kitchen, Y is bathroom.... Save that values in eeprom and check them any time arduino reset or power off-on

I guess, address are always the same, aren't them?
15  Using Arduino / Networking, Protocols, and Devices / Re: Mesh + xbee serie 1 on: April 24, 2013, 09:49:19 am
You can, but you have to upload a new firmware to xbee modules. You have to use digimesh instead 802.15.4 firmware installed in your modules.

XBee modules use to have antennas. Maybe if you have rpsma version, you have to buy but if not, you don't need external ones.
Pages: [1] 2 3 ... 7