Show Posts
Pages: 1 ... 5 6 [7] 8 9 ... 11
91  Topics / Home Automation and Networked Objects / Re: Arduino Controller android app on: October 19, 2012, 07:31:48 am
Ads! No, thanks..
92  Using Arduino / Networking, Protocols, and Devices / Re: Enc28J60 socket API on: August 10, 2012, 11:59:55 pm
Quote
@4ntoine: Are you sure your code is OK? With a 700-800 byte packet buffer it's quite easy to run out of RAM smiley-sad.

This can probably be the reason. But i used libs examples to test if it's working in common case first so buffer size is used as is.
I try to modify StandardFirmata sketch to work over Ethernet (TCP) using enc28j60, so most part of the sketch seems to be mature and stable.
Firmata messages are quite short, no longer than 50 bytes (except one message).
93  Using Arduino / Networking, Protocols, and Devices / Re: Enc28J60 socket API on: August 09, 2012, 01:02:39 am
This tcp implementations can help:
http://code.google.com/p/avr-uip/
http://code.google.com/p/avr-net/
94  Using Arduino / Networking, Protocols, and Devices / Re: Enc28J60 socket API on: August 09, 2012, 12:03:26 am
Any idea which of EtherShield or EtherCard would be a better start ?

In the meaning of closest API psock is the closest, but it's very difficult to debug using Serial.print(..) only without hardware debugger.
Also take into account that psock is designed in a very complex way in the meaning of working with threads, so it's behaviour is pretty strange: it can go out of infinite loop in a thread and move back later.
So you have to understand psock threads idea first. I believe that with hardware debugger and/or deep knowledge of TCP  it's much more easy.

Another approach can be to get one of existing tiny TCP implementation (f.e. lwIP http://savannah.nongnu.org/projects/lwip/) and port to ATMega/Arduino + Enc28j60 thought i'm not sure that it can be done as it works with hardware closely.

Quote
Anybody wanting to collaborate on that ? The first step wouldn't include any programming, only collaborate to understand the differences... And why not, put the result somewhere in the playground.
I've created stubs for enc28j60 https://github.com/4ntoine/ArduinoCommander-ethernet/tree/master/Ethernet to make it easier as client-side (ArduinoCommander) is ready.
Or one can create simple Echo sketch..
95  Community / Products and Services / Re: ArduinoCommander - android application to manage arduino board on: August 05, 2012, 03:06:01 am
Thanks 4ntoine now it works.
Glad that it helped

Tested succesfully also on Samsung Galaxy 3 smiley
Thanks  smiley-wink
I also test on Galaxy Ace (320x480, android 2.3.6), Galaxy Tab (1024x600, android 2.2.1) and Galaxy Tab 2 (1280x800, android 4.0.4) using wide range of connection types: Bluetooth, USB, Ethernet, so ArduinoCommander can be called "swiss knife for Arduino"  smiley
96  Community / Products and Services / Re: ArduinoCommander - android application to manage arduino board on: August 02, 2012, 10:33:41 pm
Hi 4ntoine,

your app is great however, I can't seem to make it work with my bluetooth module (this one http://www.ebay.ca/itm/1pcs-TTL-Bluetooth-Module-with-adapter-board-for-arduino-free-connecting-cable?item=280926037720&cmd=ViewItem&_trksid=p5197.m7&_trkparms=algo%3DLVI%26itu%3DUCI%26otn%3D5%26po%3DLVI%26ps%3D63%26clkid%3D1055455930564002769#ht_1401wt_952).

I tried changing the baud rate but to no avail. Moreover the app sometime freezes on the phone (samsung galaxy giò - android 2.3).

I am sure the bluetooth module is working and connected correctly because I tried this http://www.instructables.com/id/how-to-Control-arduino-by-bluetooth-from-PC-pock/ and it worked perfectly.

Is the module not compatible or maybe it's the phone?
Hi, erFiodena.
It seems that I am using the same bluetooth module.
Try to set baud rate for the module using AT+ commands at hardware level.
97  Using Arduino / Networking, Protocols, and Devices / Re: Enc28J60 socket API on: August 01, 2012, 09:42:54 pm
Do you think it would be feasible to align the library API with the Wiz5100 one ? How complex would that be ? Because things like IPAddress class etc. should be the same, shouldn't they ?
Yes it would be great! Turicas tried to do the same https://github.com/turicas/Ethernet_ENC28J60:
Quote
In a near future I want to replace all ip_arp_udp_tcp layer in the socket layer, so the architecture will be more like the standard Ethernet library:

{Ethernet.cpp, Server.cpp, Client.cpp} ↔ socket.c ↔ enc28j60.c

When this goal is reached we can create a single socket.c that communicate with one or another controller (W5100 or ENC28J60).
Actually i don't remember why it was not working for me, but i like the idea to have the same interface for w5100 and enc28j60
98  Using Arduino / Interfacing w/ Software on the Computer / Re: Android + Arduino via USB on: July 31, 2012, 12:41:21 pm
Well, now USB support (USB and ADK) is finally available in the app.
Read for details here: http://arduino.cc/forum/index.php/topic,91261.msg875134.html#msg875134
99  Community / Products and Services / Re: Android + Arduino via USB on: July 31, 2012, 12:40:28 pm
Will, now it's finally available in the app.
Read for details here: http://arduino.cc/forum/index.php/topic,91261.msg875134.html#msg875134
100  Using Arduino / Networking, Protocols, and Devices / Re: Enc28J60 socket API on: July 31, 2012, 12:34:15 pm
Yes, i played with Nanode a week or two.
It is designed to reply to GET response once so i was unable to work with it as with stream (use
Code:
write(int outComingByte)
method)
101  Community / Products and Services / Android + Arduino via USB on: July 28, 2012, 05:43:27 am
Hi.

I've implemented USB Support (both FTDI-based Duemilanoves and ATMega-based Unos) for my app but it's not tested:
https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinocommander

If you are interested in testing, please write me to dev at antonsmirnov dot name
and i will send you apk and testing tutorial. Thanks!

PS. It's free app and free feature   smiley-razz
102  Using Arduino / Project Guidance / Re: connection problem between android to ADK on: July 28, 2012, 05:28:07 am
My galaxy ace (2.3.6) does not support ADK mode too but was expected to  smiley-confuse
103  Using Arduino / Installation & Troubleshooting / Re: Problem in ADK development. on: July 28, 2012, 05:25:19 am
It seems that your device does not support ADK and there is no library for it.
It have the same problem with Galaxy Ace (2.3.6) and i failed to add libs manually  smiley-confuse
104  Community / Products and Services / Re: ArduinoCommander - android application to manage arduino board on: July 28, 2012, 05:23:15 am
Hello again)

USB support is implemented:

No special sketches are required for USB support, only StandardFirmata.
USB baud rate is configurable in app's settings.

Nothing special, just works:
105  Community / Products and Services / Re: ArduinoCommander - android application to manage arduino board on: July 14, 2012, 10:54:11 am
Hello, everybody.

I'm happy to announce that now ArduinoCommander supports connection via Ethernet shield and supports any screen dimensions, any ratio (16:9, 4:3, etc).

Pages: 1 ... 5 6 [7] 8 9 ... 11