Show Posts
Pages: 1 [2] 3 4 5
16  Using Arduino / Networking, Protocols, and Devices / Re: Mighty 1284p SPI / Ethernet how to get it work ? on: June 29, 2012, 11:40:07 pm
I figured out it was located in pins_arduino.h

Code:
static const uint8_t SS   = 4;
static const uint8_t MOSI = 5;
static const uint8_t MISO = 6;
static const uint8_t SCK  = 7;

But, i still can't get any basic Ethernet examples to work, it just hang. I've tried with 4 different 1284p, no love.
17  Using Arduino / Networking, Protocols, and Devices / Mighty 1284p SPI / Ethernet how to get it work ? on: June 29, 2012, 11:14:30 pm
Hey!

I can't figure out how change from default Arduino 10 (SS), 11 (MOSI), 12 (MISO), and 13 (SCK). to 4, 5, 6, 7 to match The Mighty 1284p ?
 Anyone ?
18  Using Arduino / Networking, Protocols, and Devices / Re: How can i make this socket connection works as is on Arduino on: April 14, 2012, 08:24:48 pm
Yes, I did a few test and it works. That was easy indeed.  smiley-eek-blue

You need to use the Arduino Ethernet library

An example of connecting to a web server can be found here: http://arduino.cc/en/Reference/EthernetClient
19  Using Arduino / Networking, Protocols, and Devices / Re: How can i make this socket connection works as is on Arduino on: April 14, 2012, 07:45:21 pm
It's Arduino Ethernet Programming, the socket connection process is my problem.
The While loop i can handle what is going to be inside it.
In fact i just have to read from a server.

I'm not quite sure what you are trying to accomplish.

Do you want to connect to the Arduino using a C program from your computer?
Or do you want to program the Arduino with Ethernet capabilities using the shield?
20  Using Arduino / Networking, Protocols, and Devices / How can i make this socket connection works as is on Arduino on: April 14, 2012, 07:10:38 pm
Hi,
I use the regular Arduino Ethernet shield
I'm trying to use this ~exact code in my arduino project.
It's C, must be easy to do.

I'm not very good with Socket programming already.

Thanks for the help.  

Code:
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <netdb.h>

int conn;
char sbuf[512];

int main() {
  char *host = "some.domain";
  char *port = "8080";

  memset(&hints, 0, sizeof hints);
  hints.ai_family = AF_INET;
  hints.ai_socktype = SOCK_STREAM;
  getaddrinfo(host, port, &hints, &res);
  conn = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
  connect(conn, res->ai_addr, res->ai_addrlen);

  while ((sl = read(conn, sbuf, 512))) {
    ...
    ... do somthing here
    ...
  }
}
21  Using Arduino / Microcontrollers / Re: ATmega1284P: End to End using 1.0 IDE on: February 10, 2012, 06:20:00 pm
Wow - 19 already! Gonna have to order 30!
Glad to see there is plenty of interest.

I'll take Qty: 5
Quebec, Canada. You have my infos already. Thanks.
22  Using Arduino / Project Guidance / Re: New Project on: January 30, 2012, 11:14:09 pm
You should probably start your project off with a building permit and an elevator shaft  smiley-lol

... and change the Post title
23  Using Arduino / Programming Questions / Re: DS18B20 & onewire.h on: January 29, 2012, 02:43:33 pm
Hummm, is breadboard needs bridge leads where "W" marks are?



24  Using Arduino / Audio / Re: Usb midi controller for ableton live on: December 16, 2011, 01:48:51 pm
Before doing anything, i suggest that you take a look at Midibox blog http://midibox.org first then Midibox Forums http://midibox.org/forums/ It's not Arduino based but everything else is the same.
25  Using Arduino / Project Guidance / Re: Camera Project on: November 20, 2011, 02:32:30 am
http://openmoco.org/  smiley-wink


26  Community / Bar Sport / Diaspora on: November 12, 2011, 03:01:05 pm
Just joined Diaspora alpha and it looks good already. It is gonna be awesome, no doubt about it.
27  Using Arduino / Displays / Re: 4D LABS μLCD-32PT(SGC) 3.2” Serial LCD Display Module Arduino Library on: October 25, 2011, 08:48:36 pm
The display viewing Area is not centered on that axis.
Keep in mind that the overall size is 2.75 in (70mm)  by 3.15 in (80mm)

Space inside is very limited, i'm not sure yet about these mounting holes.

Yes I see, what about making it smaller on that axis so the two "sides" are the same width.

Quote
Mini Pro, gps sensor, rtc, lipo battery and more
Specific mounting holes for these items or generic?

______
Rob

28  Community / Bar Sport / Re: Your latest purchase on: October 25, 2011, 06:13:59 pm
eZ430-Chronos 24.50$ free shipping.

The eZ430-Chronos is a highly integrated, wireless development system based for the CC430 in a sports watch. It may be used as a reference platform for watch systems, a personal display for personal area networks, or as a wireless sensor node for remote data collection.



http://tideals.com/
29  Using Arduino / Displays / Re: 4D LABS μLCD-32PT(SGC) 3.2” Serial LCD Display Module Arduino Library on: October 25, 2011, 02:16:42 pm
No i can't because the SD Card access.

@sync
Can you make the enclosure symmetrical so the display can be used horizontal or vertical?

______
Rob
30  Using Arduino / Displays / Re: 4D LABS μLCD-32PT(SGC) 3.2” Serial LCD Display Module Arduino Library on: October 25, 2011, 12:55:54 am
Great job, well done, i can't wait for more features to come.

I'm also working on something pretty nice for the display, it is hardware related. A box that will have a space for an Arduino Mini Pro, gps sensor, rtc, lipo battery and more...

Here's a very ugly rendering, a simple teaser. It's all aluminum, anodised, CNC made, half inch overall thin only. Built-in Ports are also accessible from the back. SD card has an openning. No screw visible.
Pages: 1 [2] 3 4 5