Recent Posts

Pages: [1] 2 3 ... 10
1
Hardware / Re: carro con arduino ayuda po...
Last post by Hugo_OG - Today at 07:04 pm
Puedes utilizar un amplificador operacional como comparador y a la salida un transistor como switch, hay diagramas en internet, puedes comprobar el funcionamiento de cada parte con leds, recuerda ponerles resistencia, o tambien utilizar un ULN2803 o similar, funcionan igual que transistores en arreglo darlington. No conectes directamente el motor, puedes dañar el arduino.

No descartes un error en el código, utiliza leds como si fueran los motores para comprobar. suerte amigo.
2
Deutsch / Re: 433MHz-Übertragung klappt ...
Last post by Miq1 - Today at 07:04 pm
Ich danke für die Hilfe...  Menno, schreib' einfach, was Du wissen musst und ich antworte. Ich kann schlecht alle Internetreferenzen, die ich beackert habe, hier mit anhängen. Ich hatte daraus gelesen, dass nicht jeder Core per Software ein Serial emuliert - die ATtiny85 haben ja keine Hardware-Serial -, und die RCSwitch-Library benutzt eben Serial. :smiley-roll:

Ich glaube aber, ich habe es jetzt selbst gefunden: ich definiere im Code (siehe im Post oben) mit "Manchester receiver;" ein eigenes Objekt, die Library macht aber ganz am Ende von Manchester.cpp selbst ein "Manchester man;". Dadurch wird die Interruptroutine des Objektes "man" durch die des Objektes "receiver" überschrieben. Das könnte zu Problemen führen, denke ich. Beim Senden ist keine Interrupt beteiligt, deswegen passiert da nichts, obwohl ich auch da in Code ein "Manchester transmitter;" stehen habe.

Der Kram ist auf meinem anderen Rechner, deswegen kann ich das nicht sofort probieren. Ich schreibe aber hier, wenn es geklappt hat.
3
Project Guidance / Re: [BEGGINER]
Last post by dave-in-nj - Today at 07:03 pm
Learning how to do things is part of the adventure.

I would look at crossroads site 
http://www.crossroadsfencing.com/BobuinoRev17/

about half way down,  the max7219
this can control 64 led's one at a time.
and yes, one arduino can control multiple units 
4
Français / Lecture signal radio DCF77
Last post by Rudyk - Today at 07:01 pm
Bonjour,

Je souhaite pouvoir mettre à l'heure l'horloge interne de l' ARDUINO, avec un petit module DCF77 qui fournit la trame du signal radio  (série d'impulsions).

Configuration:

MAC OSX (10.11.6)
Carte ARDUINO UNO (1.8.4)
Platine câblée de réception DCF + antenne,
sortie transistor collecteur ouvert, (donc + Résistance pullup 10K).

Je vois très bien le signal en sortie du module avec un oscilloscope.

Sortie du module DCF sur Pin 2 Arduino (interruption 0).

Je détecte également le signal sur l'Arduino avec le petit programme "DCF signal" des exemples fournis avec les librairies DCF77 que j'ai téléchargées.(Thys Elenbaas 2012).

"InternalClockSync" doit permettre la mise à l'heure de l'horloge interne de l'Arduino.

Code: [Select]


/*
* InternalClockSync.pde
* example code illustrating time synced from a DCF77 receiver
* Thijs Elenbaas, 2012
* This example code is in the public domain.

 This example shows how to fetch a DCF77 time and synchronize
 the internal clock. In order for this example to give clear output,
 make sure that you disable logging  from the DCF library. You can
 do this by commenting out   #define VERBOSE_DEBUG 1   in Utils.cpp.
 
 NOTE: If you used a package manager to download the DCF77 library,
 make sure have also fetched these libraries:

* Time

A package that includes all referenced libraries can be found at:
https://github.com/thijse/Zipballs/blob/master/DCF77/DCF77.zip?raw=true  
 
*/

#include "DCF77.h"
#include "Time.h"

#define DCF_PIN 2         // Connection pin to DCF 77 device
#define DCF_INTERRUPT 0 // Interrupt number associated with pin

time_t time;
DCF77 DCF = DCF77(DCF_PIN,DCF_INTERRUPT);


void setup() {
 Serial.begin(9600);
 DCF.Start();
 Serial.println("Waiting for DCF77 time ... ");
 Serial.println("It will take at least 2 minutes until a first update can be processed.");
}

void loop() {
 delay(1000);
 time_t DCFtime = DCF.getTime(); // Check if new DCF77 time is available
 if (DCFtime!=0)
 {
   Serial.println("Time is updated");
   setTime(DCFtime);
 }
 digitalClockDisplay();  
}

void digitalClockDisplay(){
 // digital clock display of the time
 Serial.print(hour());
 printDigits(minute());
 printDigits(second());
 Serial.print(" ");
 Serial.print(day());
 Serial.print(" ");
 Serial.print(month());
 Serial.print(" ");
 Serial.print(year());
 Serial.println();
}

void printDigits(int digits){
 // utility function for digital clock display: prints preceding colon and leading 0
 Serial.print(":");
 if(digits < 10)
   Serial.print('0');
 Serial.print(digits);
}

Code: [Select]



Pour éviter une erreur de compilation j'ai remplacé #include<Time.h> par #include<TimeLib.h>.

A l'exécution du programme l'heure n'est jamais mise à jour; la date reste fixée au 1 janvier 1970 !

Je ne trouve pas de solution, les conseils seront les bienvenus.
Merci d'avance.
Rodolphe.
5
Generale / Re: Costruire un braccio mecca...
Last post by Thai90 - Today at 07:01 pm
Ma che sensori devi testare?
Ciao Uwe
mouse, sia ottici che laser
6
What kind of board are you uploading it to?
7
Then use your senior's code.

Do let us know how well it works.
8
I've been to NYC computer store. There's so many unsold beagle bone, raspberry pi, adafruits, seeed, Arduinos, Neuron Robotics, etc sitting there for four years.  Big cities heard about Youtube, Iphone-X, Nintend Switch, Xbox One s, self driving cars. But not IOT, Internet of Things, smart homes.

 Any ideas what causes big cities to stop buying Arduino, pi, etc?
9
General Electronics / Re: Voltage is dropping, why?
Last post by septillion - Today at 07:00 pm
So, you have a 1A supply and want to draw 1,6A?
And a linear regulator that needs to convert the rest (12,8W!!!) to heat?

And you're surprised


And you use Neopixels, not just normal leds. Aka, devil is in the details. Give us schematics, code, type details etc and we can give you useful answers and tips. If you don't, it's just a wild guess.
10
Something is missing from what is clearly supposed to be your setup() function...
Pages: [1] 2 3 ... 10