Show Posts
Pages: [1] 2 3 4
1  Using Arduino / Project Guidance / Re: Advice needed: wireless tangibles for a tangible user interface on: October 09, 2012, 05:48:27 pm
Using XBees without an external MCU may be not as simple as you expect. BTW, here is a starting tutorial for developing applications for panStamps: http://code.google.com/p/panstamp/wiki/ArduinoLibrary

Good luck with your projects!
2  Using Arduino / Project Guidance / Re: Advice needed: wireless tangibles for a tangible user interface on: October 09, 2012, 11:44:02 am
Hi,

I can  confirm that multiple panStamps can communicate between them and also to a common receiver. panStamp follows a point-to-point and point-to-multipoint schema. Moreover, there is Lagarto, an open source automation platform which lets us do many things from the IP world, including sending data to multiple clouding data services (Cosm, ThingSpeak, sen.se), integration with OpenRemote, event management, web GUI, etc.

Did you take a look at panStamp's documentation wiki? http://code.google.com/p/panstamp/
3  Development / Other Hardware Development / Re: Reduce bootloader size on: September 01, 2012, 10:22:29 am
Finally got to make optiboot work on my custom board. The problem was in that I was incorrectly defining the board in boards.txt. This time I copied the UNO definition and changed f_cpu to 8000000L. Well, now I have enough room to add my calibration routine in the bootloader itself.

Thanks guys for your help!

Daniel.
4  Development / Other Hardware Development / Re: Reduce bootloader size on: August 31, 2012, 10:48:21 am
You're right, that was not a problem. Just looking forward to do it a bit smarter  smiley-grin

As for optiboot, I remember having tried to hack it for 8MHz but no luck. I should maybe look into this again.

Thank you very much!
5  Development / Other Hardware Development / Re: Reduce bootloader size on: August 31, 2012, 10:30:59 am
I'm pretty sure the uno bootloader for the 328p handles WDT correctly. Probably you should try and figure out why you can't burn and run optiboot on your 328p chip rather then trying to add a function to your old bootloader.

Not sure why but the bootloader didn't like running at 8MHz, at least from the internal RC oscillator. I even posted a question some time ago but nobody seemed to be using those settings with optiboot.

Quote
And again why not just run your calibration function inside the setup function in your sketch?

This is how I'm running it right now. I just wondered if running the calibration tasks from the bootloader was something possible, mainly because I wanted to run them before comms start.

Thanks again!

Daniel.
6  Development / Other Hardware Development / Re: Reduce bootloader size on: August 31, 2012, 10:17:26 am
Thanks Lefty,

I'm using the old 2KB bootloader, with support for the WDT, since I was unable to make optiboot work on my board.
7  Development / Other Hardware Development / Reduce bootloader size on: August 31, 2012, 09:42:39 am
Hi,

I'm looking forward to reduce the size of the standard serial bootloader in order to make some room for a custom calibration routine. Is there any thing that may be removed/commented from the standard source file without altering the normal use of the bootloader? This is for a custom Atmega328p board running from the internal RC oscilator. Hence my wish to do some calibrations from the bootloader.

Thanks in advance!

Daniel.
8  Development / Other Hardware Development / Re: NMEA 2000 Shield on: July 25, 2012, 08:36:22 am
ID A + ID B makes 29 bits. Yes, NMEA2000 is somehow a subclass of J1939 and inherits some PGN's from it in fact.
9  Development / Other Hardware Development / Re: NMEA 2000 Shield on: July 23, 2012, 04:43:26 pm
Yes, NMEA2000 sits on top of CAN (extended address schema).
10  Development / Other Hardware Development / Re: NMEA 2000 Shield on: July 23, 2012, 09:23:32 am
1) Is correct to use that Can-Bus board to send data??? The structure of can bus message is the same of NMEA2000 message???

Yes, you should be able to connect an Arduino to a CAN bus through this board. However, bear in mind the actual traffic load in the bus and the limited computing power of an Arduino. If you just want to develop a "sender" application it's should be OK.

Quote
2) Is there any library that I can use???

No free or open source library if I remember well. Working with NMEA2000 typically requires you to buy their specs.

Hope this helps,

Daniel.
11  Topics / Home Automation and Networked Objects / Re: Open remote for arduino control on: April 26, 2012, 04:16:16 am
Sorry Harry but I have to disagree with you.

I've recently been playing with OpenRemote and it has proven me to be a rock solid option. OpenRemote Controller 2.0 worked out of the box on my Debian-based home automation server and remotes are freely available from the Android app store. Remotes auto-detect Controllers and load the GUI panels from them. On the other hand, designing custom panels for iPhones, iPads and Android may be a little tricky depending on the protocol being used, but this is just the initial learning curve. I'm now able to create new sensors and switches from OpenRemote Designer in seconds.

Harry, have you tried to post your questions in the OpenRemote user forum?
http://www.openremote.org/display/forums/User+Forum

The OpenRemote team helped me a lot along my first steps, don't hesitate to post your questions there.

This is my own review about OpenRemote and the integration with my wireless arduino software-compatible modules:
http://www.panstamp.com/announcements/openremotecontrolspanstamps

Don't give up Harry!
12  Using Arduino / Programming Questions / Re: Get port I/O registers given a pin number on: December 15, 2011, 01:35:06 am
portOutputRegister and portInputRegister return pointers to the registers.  If you are not using them as pointers, then you will have trouble.

That was the problem! Thank you very much!
13  Using Arduino / Programming Questions / Get port I/O registers given a pin number on: December 09, 2011, 05:31:04 am
I've recently discovered the following functions:

digitalPinToBitMask
digitalPinToPort
portOutputRegister
portInputRegister

as a way to get Atmega's I/O registers given the Arduino pin number. However, portOutputRegister and portInputRegister are not working as I expected.

For example, how could I get PORTA/PORTB/PORTC/PORTD and PINA/PINB/PINC/PIND given the pin number? I need this in order to develop a new library that manipulates digital pins faster and still let the user enter a pin number as in digitalWrite/digitalRead.

Thanks in advance for your help!.
14  Using Arduino / Project Guidance / Re: Optiboot on 8MHz Arduinos on: August 16, 2011, 01:05:04 pm
Thanks a lot for your help madworm.

I've finally tried both optiboot_atmega328_pro_8MHz.hex and optiboot_pro_8MHz.hex from Arduino 022 choosing different boards ("Arduino Uno" and "[Optiboot] Arduino Pro or Pro Mini (3.3V, 8MHz) w/ Atmega328"). None of the combinations worked on my Atmega328P 3.3V @8MHz(internal osc) board.

Anyway, this is not a big problem since I can still stay with the old bootloader :-)
15  Using Arduino / Project Guidance / Re: Optiboot on 8MHz Arduinos on: August 07, 2011, 11:15:22 am
I had no optiboot entry until I created a hardware folder in my Sketches dir, containing the downloaded optiboot dir, as explained in the wiki:
http://code.google.com/p/optiboot/

Do you mean that none of the new optiboot entries set the correct baud rate?

Thanks again!
Pages: [1] 2 3 4