Show Posts
Pages: 1 2 [3] 4 5 ... 15
31  Using Arduino / Programming Questions / uarts buffers on the arduino mega on: December 05, 2012, 06:13:26 pm
Hi friends,

I was reading about the arduino mega, and learned it has 3 additional  USB ports, or uart connections through specific pins.
I am wondering about this because i have need for a micro controller to control 4 USB devices
Well my 4 questions are

1) Does each USB port has its own buffer.
    So that if two devices are simultaneously writing data, they each store it in their buffer until I read it out

2) Can there be multiple USB device configurations like 3 reading data 1 for writing data, or is there some limit here ?.

3) i was also thinking is it possible to use an external USB hub to extend the number of USB ports ? > and if so how to address them?

4) if i add an ethernet shield wil this cost me a USB port ?

32  Development / Other Software Development / Mariamole an improved Editor for arduino on: November 30, 2012, 01:49:54 pm
Alex Dalpix made something that might interest you  >> http://dalpix.com/mariamole
33  Using Arduino / Programming Questions / Might an arduino-ethernet be able to talk with a S7-1200 plc with profinet on: October 24, 2012, 05:50:36 pm
Well i'm in a war of protocols it seams smiley
Device X wont talk to device Y
where X is Linux ubuntu and Y is a Siemens s7-1200.

Now it seams rather complex but as this is "THE" forum for people who create microcontroller stuff.. and turn around every byte we see.
I was thinking maybe.. well just maybe connect an arduino through usb with an ethernet shield to the linux so it be able to send a few bytes.
Perhaps someone here allready tried it, and wrote a Arduino lib ?
34  Using Arduino / General Electronics / screen (LCD?) counter interface on: October 10, 2012, 04:40:20 pm
I'm not deeply into hardware, and so i wonder can someone recommend a simple cheap LCD like output to connect to a Arduino
I have a fast counter that i would like to keep track of so the numbers will be high
Multi lines would be nice too maybe, like 2 or 4 lines but mainly 1 line should be enough, i'm thinking of at least 8 digits, more is oké too
Not sure yet if it should also be able to display letters but it might be handy too

(I dont want to use USB out to computer screen)
35  Using Arduino / Microcontrollers / freesoc new arduino type board on: October 07, 2012, 02:34:19 pm
http://www.kickstarter.com/projects/18182218/freesoc-and-freesoc-mini

well just to inform you
36  Using Arduino / Microcontrollers / Re: Arduino IDE for Android on: October 07, 2012, 05:09:33 am
no there isnt just go to the app store / google-play its called these days and see what is available for arduino ( type arduino there).


I think there is some emulation software in windows, but for the price you might buy some real arduino's instead.
37  Using Arduino / Programming Questions / Re: Analog to digital pin on: October 03, 2012, 05:27:02 pm
just as you would configure a normal pin for digital input or output in the setup part..
38  Using Arduino / Programming Questions / Re: Help on reading serial data on: October 03, 2012, 05:06:11 pm
oh sorry its a future of the CMUcam to detect color blobs, i didnt knew that.
sounds interesting dough
39  Using Arduino / Programming Questions / Re: Help on reading serial data on: October 03, 2012, 05:03:17 pm
@PGTBOOS
I'm not storing images on the Arduino. The CMUcam tracks pre-determined colors and sends back information such as the X and Y values of the middle of the mass.

The camera sends a stream of bits, does it have a wait and confirmin  signal per scan line ?.
So you go by camera scan line and then say do i have a red dot here ??.. i doubt that a bit.. it would be nice for you if it would but most likely it wont.
If you would like to detect the middle of a mass thats object recognition, and well most of such implementations require you to keep the whole image in memory which is to huge for the arduino.
I did object recognition in the past and soon in the near future again, but more often this requires a bit more memory.

In the case if you only like to detect if a certain object is red/green/bleu you can do so with 3 leds (in those colors) and a single LDR then swithc them on one after eachother and read out the LDR
40  Using Arduino / Programming Questions / Re: Help on reading serial data on: October 03, 2012, 10:29:06 am
Just curious how do you want to store a RGB like image of a cam on a arduino, or what would you like to do with the received data.
Because I mean even a small cam lets say (800 x 600 pixels x 3 colors) requires 1.44 Mb thats more then a arduino has.


(  i'm curious since i had been thinking of using cams with arduino to, and then abandoned the idea in favor of a cheap ITX motherboard )
41  Using Arduino / Programming Questions / Re: Templates and __builtin-constant_p on: September 30, 2012, 05:24:24 pm
maybe this is of any help to you ?
http://www.cplusplus.com/doc/tutorial/templates/
42  Using Arduino / Project Guidance / Re: DIY home audio theatre DAB + MP3 player on: September 27, 2012, 06:10:39 pm
Update
Well i'm no expert on this, but i decided to buy a ITX low budget board (afterall i only want to play music wth it).

Asrock E350M1, AMD A50M Fusion, CPU onboard, 2x DDR3, 4x SATA-600  (with HDMI) mostly i choose it for low power consumption.
be quiet! Pure Power L7, 300W    (silent power suply)
Corsair, 4GB, PC3-8500 (DDR3-1066)     (compatible with the mobo)
Crucial m4, 32GB, mSATA, SATA-600, SSD  (silent SSd disk, i couldnt find a smaller one, and it was not that expensive)

All together for around 150 euro, a lot cheaper then the midi hifi set i had in mind first almost 60% cheaper.
But i think its more like how i want it, a computer can play music/video and can run a website to control it.

Next i'm planning for Linux and and some media center software, i've not done much with linux any tips are welcome smiley
Meanwhile i wonder if a arduino might be used to do button input (besides DLNA imput)..
However with arduino i have no experience writing code on linux to get things done it would be cool dough.
43  Using Arduino / Project Guidance / DIY home audio theatre DAB + MP3 player on: September 27, 2012, 08:13:53 am
Well i've been looking around a lot on the internet but i find it hard to find.
Does anyone know of some DIY site for creating your own audio system (TV out is not required, but its ok if the project has it).
I want a player to be able to play mp3 music
And also digital audio broadcasts (DAB)
Have a small web running so it wouldnt require a screen, but be able to be controlled from an android phone (as if it was brouwsing a web site).  > i guess some linux theatre software.
And be able to use my speakerboxes of my old (broken) audio set.  (so real speakers no PC speakers).
When i turn it on it should automatically start (so i wont need to attach a keyboard to tell it to start the music theater software).
It shouldnt need a computer power supply with fans, (they are noisy) just a small DC adapter.
It might run from SD / or USB disk
Should have an ethernet connection WIFI o UTP both it doesnt matter to my, as the router is nearby putting line to it isnt a problem.

I think its beyond Arduino, but since i am between builders here i hope someone can put my a link so i know what kind of small micro pc to use, to make it work with real boxes (old ones from pioneer)
44  Using Arduino / Programming Questions / Re: Setting multiple LEDs to high simultaneous within a pattern on: September 23, 2012, 06:27:17 pm
there is more then the forum..
seen this http://arduino.cc/en/Reference/HomePage ?
i think you should try to figure it out, to learn arduino programming.
If you can get one led, more shouldnt be complex.

patterns you might do with some if(yourtest here){yourcode here} constructions.
45  Using Arduino / Programming Questions / Re: track counter on: September 23, 2012, 06:24:04 pm
there is no main void loop in your prog, you did good with setup but main a continous loop is required also.
its a loop that always goes on keeps running.

Code:
void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
 
}
Pages: 1 2 [3] 4 5 ... 15