jueves, 4 de abril de 2013

Arduino by Davis: “Re: serial problem” plus 19 more

Arduino by Davis: “Re: serial problem” plus 19 more

Link to Arduino by Davis

Re: serial problem

Posted: 04 Apr 2013 03:12 AM PDT

Code:
  Serial.flush();
Why? You've just opened the serial port. You've sent nothing. Why are you waiting for that nothing to be shifted out?

Re: multiMap() function with 2 data sets - question

Posted: 04 Apr 2013 03:09 AM PDT

Not an answer to your question, Paul has already done that, but the first thing that I would do is to declare the 4 arrays required as global to take them out of the loop() function.  This will make your code much easier to read.

Re: quale sensore per fare da bussola (HMC5883L)?

Posted: 04 Apr 2013 03:08 AM PDT

In pratica mi serve un sensore che faccia da bussola con una ottima precisione, oppure un consiglio o un'idea, grazie.

Il problema è che serve una perfetta calib...

Re: Precision Potentiomter

Posted: 04 Apr 2013 03:06 AM PDT

There are 10-turn precision pots (not those smaller ones, but just or bigger than the one in the link), though I never personally used them. I think the part number starts like 3450S-(resistance value) made by Bourns.

I believe linear precision (LIN?)...

quale sensore per fare da bussola (HMC5883L)?

Posted: 04 Apr 2013 03:01 AM PDT

Salve a tutti dopo aver risolto un quesito per riconoscere e inserire i valori letti dal sensore HMC5883L vedi:http://arduino.cc/forum/index.php/topic,158157.0.html ora ho un ulteriore pr...

Stuff of Legend: Inventor Fashions the Perfect Cup for Dunking Oreos #3dthursday

Posted: 04 Apr 2013 03:00 AM PDT

PerfectDunker

Stuff of Legend: Inventor Fashions the Perfect Cup for Dunking Oreos, WIRED: Design:

Sam Feller's latest at-home invention might have sugary origins, but it also stands as a case study about using the latest tools — and a bit of creativity — to make solutions to simple problems.

We're living in a golden age of Oreo innovation — Kraft Foods has been hard at work cramming more cream into their cookies while a Ph.D. has developed a machine to scrape the high fructose corn syrup stuff off. Still, despite being a $2 billion dollars a year product, food scientists have not yet figured out how to dunk these sweet cookie sandwiches in a glass when the milk gets low. Some think a new utensil is the answer, but self-proclaimed "Awkward Engineer" Sam Feller thinks that's a hack solution.

Instead, he offers his own fix: a custom chalice that could stylishly serve Snoop Lion if he had a case of the munchies, but also maximizes milk displacement for the engineering-minded. The cup has a wide mouth and an Oreo-sized pit that makes dunking easy no matter how much milk is left…

The cookie dunker started with a sketch, became a CAD model, and ended up as a series of progressively nicer 3-D printouts. Rough prints created on Feller's kitchen table helped him refine the general shape and plastic thickness and a $700 SLA print became the star of his Kickstarter video…

Read more.

Re: I don't understand the "for" loop.

Posted: 04 Apr 2013 02:56 AM PDT

Quote
I will try and write some programs with it.
Trying something for yourself is important.  Start with something simple like
[code]void setup()
{
  Serial.begin(9600);

  for (int counter = 0;counter < 50;counter++)
  {
    Serial.println(c...

Re: Sleep.h

Posted: 04 Apr 2013 02:56 AM PDT

J'ai plus cours là, je te le fais parvenir demain a 9h

Re: come impostare un valore su una variabile

Posted: 04 Apr 2013 02:50 AM PDT

Ok mille grazie ragazzi, basta inserire i comandi in fila in pratica smiley
ora inserisco 22 linee di riconoscimento satelliti e vediamo che succede.

Re: Strano comportamento seriale

Posted: 04 Apr 2013 02:49 AM PDT

Mi pare di capire che hai problemi quando lanci il programma prima che Arduino abbia inizializzato la seriale.
Dopo l'inizializzazione fai accedere ad esempio il pin 13. Cosi vedi visivamente cosa sta combinando Arduino.

Se apri il serial monitor Ardui...

4 digit I2C

Posted: 04 Apr 2013 02:47 AM PDT

Quote
C:\arduino\arduino-1.0.1\libraries\ZtLib\/..\Wire\utility/twi.h: In member function 'int ZtLib::Seg8b4DisplayDec(uint8_t, short unsigned int, uint8_t, uint8_t)':
C:\arduino\arduino-1.0.1\libraries\ZtLib\/..\Wire\utility/twi.h:44: error: too few...

Re: Relay shield

Posted: 04 Apr 2013 02:42 AM PDT

Sauf erreur oui. Mais le.bouton principale à été cassé pendant le transport.

Re: I can not read text messages with Siemens tc35

Posted: 04 Apr 2013 02:39 AM PDT

I found that the problem is communication between Arduino and GSM module because when I connect GSM module to the serial port of the computer, the message is read. Where is the error in my program?

Re: I can not read text messages with Siemens tc35

Posted: 04 Apr 2013 02:38 AM PDT

I found that the problem is communication between Arduino and GSM module because when I connect GSM module to the serial port of the computer, the message is read. Where is the error in my program?

Control servo with push - button

Posted: 04 Apr 2013 02:34 AM PDT

I am very new here , I want to control a servo by push – button.
Push/Hold button servo move 80* to 30* / 30* to 80* non-stop , release buttom and servo stop at 80.

How do i wirte these code? thks

Arduino MEGA ADK: read data from usb(not serial)

Posted: 04 Apr 2013 02:28 AM PDT

Hello,

I'm new on this field and I've spent my last 3 days searching for a way to read some data from a usb device(http://www.willow.co.uk/TelosB_Datasheet.pdf). It sends packets of 12 octest and all I want to do is to read 2 of them. I want to be able...

This posting includes an audio/video/photo media file: Download Now

Re: Using SoftwareSerial inside a library - Arduino 1.02

Posted: 04 Apr 2013 02:07 AM PDT

Quote
I'm still not sure why when I use the regular Hardware serial I get a picture but when I'm using this softwareserial I can't.
Do you have the camera connected to pins 2 and 3? What is happening on those pins?

Re: Binary counting using 12 LEDs

Posted: 04 Apr 2013 02:05 AM PDT

For example, if I press 2+3+#
I get the first 5 LEDs HIGH
Instead I want to count up by this value in binary

Re: multiMap() function with 2 data sets - question

Posted: 04 Apr 2013 02:02 AM PDT

Define mils and anlogin as pointers to arrays. In the if/else blocks, change what they point to (to point to arrays mils1 and anlogin1 or mils2 and anlogin2, for instance).

Re: what can be removed to make a "barebones" due?

Posted: 04 Apr 2013 02:01 AM PDT

Did you try the search function? I made an arduino Due barebones.. See post #21 for the schematic and board files in the following topic: http://arduino.cc/forum/index.php/topic,152234...

No hay comentarios:

Publicar un comentario