viernes, 19 de abril de 2013

Arduino by Davis: “Re: How to use a variable from a different scope” plus 19 more

Arduino by Davis: “Re: How to use a variable from a different scope” plus 19 more

Link to Arduino by Davis

Re: How to use a variable from a different scope

Posted: 19 Apr 2013 03:21 AM PDT

[code]
int x=0;  //<--global variable

void setup(){
  int y=0;  //<--variable only accessible in setup()
  x=1;       //<--assign value to z
}

void loop(){
  int z=0;  //<--variable only accessible in loop()
  Serial.println(x);  //<--prints: 1
  Seria...

Re: IRF électrovannes flexinol et isolations

Posted: 19 Apr 2013 03:19 AM PDT

cette led est mon circuit 11.
elle est sur un PWM out, au même titre que les mosfets des electrovannes.

je la laisse allumée, pour voir si il n y a pas d incidence...
[/q...

Re: calcule d'une vitesse

Posted: 19 Apr 2013 03:19 AM PDT

Ca sent le dépassement de capacité (mauvais choix de type de variable pour D et T) smiley-mr-green
Un entier (int) doit être compris entre -32767 et 32767
http://arduino.cc/en/Reference/Int
Quote
x = 32767;
   x = x + 1;       // x now contains -32,...

Re: Quadcopters used for cameras in auto racing

Posted: 19 Apr 2013 03:18 AM PDT

That "quadcopter" seems to have 6 propellers.


 I should have known better than to slip that past you.  smiley

 I fixed the title and post.

High Frequency digitalRead and digitalWrite (Arduino MEGA 2560)

Posted: 19 Apr 2013 03:18 AM PDT

Hi,

I am trying to read one image in real-time with arduino, but the simple digitalRead is slow for this application.

So I would like to know how to use the directDigitalRead/Write at the arduino MEGA 2560.

Do I need some library for C or some archive...

Raspberry Pi Colocation Phenomena: Racking Up Your Pi in a Datacenter? #piday #raspberrypi @Raspberry_Pi

Posted: 19 Apr 2013 03:00 AM PDT

Rack with pis

Here's an interesting story shared by Thor de Regt from Amsterdam who has started offering colocation hosting in his data center for customer's Raspberry Pi units. Posted over at RaspberryPi.org:

The beginning

So, how did all this start? Well, it wasn't a warm summer evening in ancient Greece (in fact it was a cold morning last winter in the Netherlands), when we thought it would be pretty cool to host a couple of Raspberry Pi's in our data center. We were pretty confident that there would be at least some people interested. I remember getting excited by the thought of reaching enough people so we could end up hosting around 50 Raspberry Pi's. Two days after the website went live that goal was quickly achieved though, but more on that later.

Raspberrycolocation.com

Before we could share the initiative with anyone we needed a platform, and thus raspberrycolocation.com was created. To keep our tone of voice in line with the Foundation we made the website as transparent as possible and people really seem to appreciate that. When people visit the website they can see for themselves that we have nothing to hide and that there is no hidden agenda. We believe this definitely contributed, in one way or another, to the popularity of the initiative so far. People just dig generous offers and our service is no different. I mean, where else can you get a 100 Mbit uplink, 500 GB bandwidth, power and the ability to boast about it to your friends for free?

One of the illustrations made for the website to give some pizazz to our applications page. In this illustration you can "clearly" see two raspberries chatting in fruit language.

Success

Just a few minutes after the website went live we knew we were in for something good. After having sent out a Facebook post and a tweet, we received close to 60 signups within two days. That amount more than tripled when we included the project in our not so monthly newsletter, and has been steadily increasing since. Every now and then the website gets shared on a popular forum or blog (like raspberrypi.org), usually resulting in a few thousand visitors for a day or two. At this moment we have received close to 450 signups, about 150 of which are currently operational. If we get all of them up and running we're probably looking at three racks filled with Pi's. Yum! …

Read More.

A look inside the pi rack

PowerForPi


998Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new "Adafruit Raspberry Pi Educational Linux Distro" ? It's our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there's more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.

We now have Raspberry Pi Model B with 512MB RAM in stock and shipping now!

Re: Where to get sensors for weather station?

Posted: 19 Apr 2013 02:55 AM PDT

Do you actually want to make the sensors , or do you want to use existing commercial sensors.
You may be interested in this project.
http://wmrx00.sourceforge.net/
Its called Weather Station data Logger and it uses an Arduino with a custom shield to si...

Re: Afficher courbes sur site web

Posted: 19 Apr 2013 02:54 AM PDT

[code]<html>
    <head>
        <title>Simulateur EDF </title>
    </head>
    <body style="text-align:left;">
        <div style="font-size:200%;font-weight:bold; border: 2px black solid;"><img src ="/ledf.jpg"><span style="text-indent:50%;margin-left...

Re: joke

Posted: 19 Apr 2013 02:54 AM PDT

test smiley

arduino läuft nur über pc

Posted: 19 Apr 2013 02:49 AM PDT

Hallo,

Ich habe die letzten tage mal etwas mit meinem Arduino Duemilanove gespielt. Und einen rgb led streifen programmiert...
Der Arduino war über usb mit meinem PC verbunden. Seit dem ich jetz gestern abend mit angeschlossenem arduino diesen pc runt...

Re: DS1307 derive

Posted: 19 Apr 2013 02:49 AM PDT

suite (aussi bizarre qu'étrange)
test "1ere heure"... 30 secondes de retard
test au bout de 15 heures = 58 secondes de retard

je refais un test 1ere heure

Re: How to use a variable from a different scope

Posted: 19 Apr 2013 02:21 AM PDT

Quote
How can I use a variable from a different scope?
Simple answer, make it global.

Re: Problema salvataggio log su sd e stampa su web

Posted: 19 Apr 2013 02:20 AM PDT

Sorry, stò iniziando adesso con Arduino e html. Ma ho una schedina ENC28J60, perciò uso altra libreria.

Io per imparare un pò di cose su html ho guardato qui:
http://www.lucadentella.it/2013/01/04/enc28j60-e-arduino-13/#comment-82758
E' però tutto rela...

Re: Ultra Novice - Détecteur de niveau d'eau avec alerte par mail.

Posted: 19 Apr 2013 02:18 AM PDT

ULTIME question, après je passe commande et mets tout ça ne place :

Vous les achetez-où vos MPX ? J'ai regardé chez Radiospares mais ils n'en ont pas.

Je pense que le préférable est de prendre un vrai MPX de Freescale. Il y a d'autres fabricants mais ...

How to use a variable from a different scope

Posted: 19 Apr 2013 02:17 AM PDT

Hi. How can I use a variable from a different scope?
What I am trying to do is initialize my temperature to current temperature at start up in the void setup loop. I only want to run this initialization process once and then use that data as an intitia...

Re: Millis Accuracy Again

Posted: 19 Apr 2013 02:17 AM PDT

Hi orly_andico

I think it's a software related problem. You are doing some strange things with millis()...

I guess this is your loop:
[code]void loop() { 
  long tstart = exttimer_millis();

  handler_called++;

  if ((handler_called % THINKPERIOD) != 0...

Re: IRF électrovannes flexinol et isolations

Posted: 19 Apr 2013 02:16 AM PDT

Hum. J'ai fais quelques tests (toujours pas de shottky etc).

Voilà pour l'influence des électrovannes sur la led: https://vimeo.com/64375651

il n y en a a priori aucune.

En fait le problème se pose avec le DMX. Débranché, plus aucune perturbation...

Re: Xbee signals

Posted: 19 Apr 2013 02:13 AM PDT

Hi Cruz:
How far is it from labview to machine?
2.4GHz signal is hard to penetrate the metal closure. I suggest you find sub G RF solution like 433MHz.
433MHz have more s...

Re: How to change LCD pins by editing LCD library files ?

Posted: 19 Apr 2013 02:11 AM PDT

Thanks @jrial .

I just figured out and made it work .

Thanks ,

Re: Problema salvataggio log su sd e stampa su web

Posted: 19 Apr 2013 02:09 AM PDT

No, non mi sono ancora cimentato con le SD, WebServer e dintorni.  smiley-sweat

No hay comentarios:

Publicar un comentario