Recent Posts

Pages: [1] 2 3 ... 10
1
Français / Re: Problème arduino et module...
Last post by J-M-L - Today at 03:57 pm
Exactement lesept

Ensuite vous allez en balancer bcp - à vous de voir si c'est un soucis ou pas
2
Software / arduino mega+ethernet shield+ ...
Last post by devilx - Today at 03:56 pm
Salve a tutti

è un giorno che ci sbatto la testa ma senza un risultato, vorrei poter visualizzare su blink nel widget LCD l'ora e la data che si aggiornano via LAN, la base di partenza del codice è questa

Code: [Select]
#define BLYNK_PRINT Serial


#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
#include <TimeLib.h>
#include <WidgetRTC.h>


char auth[] = "YourAuthToken";

#define W5100_CS  10
#define SDCARD_CS 4

BlynkTimer timer;

WidgetRTC rtc;


void clockDisplay()
{
 
  String currentTime = String(hour()) + ":" + minute() + ":" + second();
  String currentDate = String(day()) + " " + month() + " " + year();
  Serial.print("Current time: ");
  Serial.print(currentTime);
  Serial.print(" ");
  Serial.print(currentDate);
  Serial.println();

 
  Blynk.virtualWrite(V1, currentTime);
 
  Blynk.virtualWrite(V2, currentDate);
}

void setup()
{
 
  Serial.begin(9600);

  pinMode(SDCARD_CS, OUTPUT);
  digitalWrite(SDCARD_CS, HIGH);
  Blynk.begin(auth);
 
  rtc.begin();

 
  timer.setInterval(10000L, clockDisplay);
}

void loop()
{
  Blynk.run();
  timer.run();
}


primo problema fino ireri l'ora e la data ok, oggi per magia la data ferma al 1970 e l'ora non va piu.
Ho pensato di sincornizzare il tutto via lan , ma ho provato diverse soluzioni senza successo....

Che mi consigliate
3
MKRVIDOR4000 / Re: FPGA Script Build of MKRVI...
Last post by Limba - Today at 03:55 pm
After success build_all.sh or assemble_library.sh you should find release folder under distrip folder like
D:\Arduino\VidorBitstream-release\distrib\MKRVIDOR4000_peripherals

That contains examples and src folders and library.properties. I think this is folder that you import / copy to arduino library folder.

src folder should have atleast app.tff and signature.h. Other files are used libraries for using FPGA.
In examples folder you find examples of IP block from FPGA.
4
Project Guidance / Powering multiple components
Last post by Sdongre - Today at 03:54 pm
I'm working on my ty project. It's a moving car having a robotic arm. I'm using Arduino, gsm, gps module, ultrasonic sensor, 4 servo motors, h bridge motor shield and raspberry pi. Each of these uses different voltage, then how can I power them?
5
Français / Re: Interaction probable entr...
Last post by cbrandt - Today at 03:53 pm
si je comprends bien:
 sd + écran 1 + mega = ok
 sd + écran 2 + esp = pas ok

donc il faudrait essayer:
 sd + écran 2 + mega
 sd + écran 1 + esp
pour être sûr de la source du pb (écran 2 ou esp ?)
6
Deutsch / Re: Arduino zur Steuerung drei...
Last post by BaseT7 - Today at 03:53 pm
Ich möchte die Hörner nicht in ein KFZ einbauen. Möchte das nur als Demonstrationszwecke auf eine Platte bauen.
Spannungsversorgung kann somit frei über ein Netzteil gewählt werden.

Kann mir jemand hierzu mehr Details zur Schaltung bzw Bauteilen geben?
7
Project Guidance / Re: Led strip + arduino uno + ...
Last post by lednew - Today at 03:52 pm
Ok I attached the image, please tell me if it is ok? The resistor on the right is 10k.

8
I have tested FSK style tranceivers similar to the HC12 extensivly in the urban area by me, where there are houses in the way between TX and RX.

The range I get at ground level with handhelds, for data packets @ 1000bps @ 100mW would be around 300m maximum.

The same setup was good for 40km between hilltops.

Such are the very large distance differences between urban areas and good line of sight.
9
you connect once and hold the connection open all the time. then you read and send data without waiting
10
When I compile that I see:
Code: [Select]

warning: 'tmax' is used uninitialized in this function


Same thing for tmin. You may need to increase the level of compiler warnings in preferences to see this.

To fix this, make those variables global and set them to a temperature read in the setup function.
I'm sorry I don't understand how do I set them as a temperature read.I have changed the variables to global and uploaded and i get a minimum temperature of 0.00.
Thanks.



Pages: [1] 2 3 ... 10