RS-232 + 4 i/O + ethernet + internal Flash [SOLVED]

Hi everybody,

I am a electronic student and I need to do a project for control a device that has information I need to read and write. The device has rs-232 serial port communication and 4 programmable I/O digital or analog lines. Moreover I need to save the information of the device into an internal flash memory that I need to get later using an USB port and an ethernet port.
Can you give me some orientation about what arduino and what components I need to get to implement my project?.

I promise to post the results when the project is complete. :slight_smile:

Cheers,
Akuthor

"The device has rs-232 serial port communication "

USB to RS232 adapter

"and 4 programmable I/O lines digital or analog."

incomingByte = digitalRead();
incomingInt = analogRead();

"Moreover I need to save the information of the device into an internal flash memory www.adafruit.com, SD card shield"
Adafruit Data logging shield for Arduino [v1.0] : ID 243 : Adafruit Industries, Unique & fun DIY electronics and kits

"that I need to get later using an USB port "
built into Uno

"and a ethernet port."
ethernet shield
http://arduino.cc/en/Main/ArduinoEthernetShield

Thanks CrossRoads for the very quick answer.

I was searching the arduino UNO and I found two options:
1.- Arduino Compatible UNO ATMEGA328P-PU USB Board
2.- Arduino UNO R3 Microcontroller Development Board with USB Cable

are both the same?, because the price is very different.

The ethernet shield is great :).

Is there some arduino with a flash memory integrated to the board?, because I would like not use SD.

And for last, It's possible to use the USB to get the data stored into the flash memory with a pendrive?

Thanks for the previous answer and for your time.

I love this forum and arduino too,

Cheers,

Akuthor

akuthor:
Thanks CrossRoads for the very quick answer.

I was searching the arduino UNO and I found two options:
1.- Arduino Compatible UNO ATMEGA328P-PU USB Board
2.- Arduino UNO R3 Microcontroller Development Board with USB Cable

are both the same?, because the price is very different.

The ethernet shield is great :).

Is there some arduino with a flash memory integrated to the board?, because I would like not use SD.

And for last, It's possible to use the USB to get the data stored into the flash memory with a pendrive?

Thanks for the previous answer and for your time.

I love this forum and arduino too,

Cheers,

Akuthor

Same thing uno is an uno same slight differences per version.

No in any of the stock arduio's. There is eeprom. The Ethernet shield has a SD card slot on it. If you really want flash i2c or SPI flash on a protoshield. The only real downside on SD when your already using the Ethernet shield is one more pin used as it's CS line and a 512k of sram used to buffer the block.

It's possible but not easy the uno is a USB target not host (this is why firewire is so much better). There are USB host chips but it's a lot of work to avoid using sd and you can always plug that into a sd usb reader.

Thanks silasmoeckel for clearing my concepts.

I will use the ethernet anyway and I will follow researching about eeprom and the SD advantage related to my project.

For the EEPROM i found this: Recommendations For You - DealeXtreme

For the USB host I found this: http://www.circuitsathome.com/arduino_usb_host_shield_projects

so:
read from the device -> save into EEPROM -> connect the USB pendrive and save the data into a file.

It's possible or I am insane?.

Thanks for all help.

Akuthor

Certainly possible. Not insane.
How much data?

A message from device has 95 bits aprox. and I need to save 30MB or a little more.

Can you say me if this kit is a better option compared to UNO R3?.

Cheers,
Akuthor

"if this kit is a better option"

Comparing apples & oranges.
Uno: easy to use IDE, lots of support here in the forum
STM32: unknown

30MB storage. Going to need some external serial devices for that:
EEPROM

SRAM

akuthor:
A message from device has 95 bits aprox. and I need to save 30MB or a little more.

Can you say me if this kit is a better option compared to UNO R3?.

http://dx.com/p/open103z-package-a-stm32-microcontroller-development-board-kit-blue-149377?item=573

Cheers,
Akuthor

If you want to look at a non arduiono a r pi is probably a decent fit, linux is a lot easier to get used to than a random arm stack.