Search found 192 matches

by jot4p
Wed Nov 28, 2018 3:38 pm
Forum: General Questions
Topic: sd card does not respond
Replies: 5
Views: 2818

sd card does not respond

Hi,

My Libelium P&S V1.0 H SD cart does not respond to libelium examples, but in the past yes.

// Set SD ON is defined.
SD.ON();

> SD format failed
> file NOT created
> mkdir failed

Any "force" solution ?
by jot4p
Wed Nov 14, 2018 5:07 pm
Forum: General Questions
Topic: EXAMPLE - How to set DATE/TIME of compilation to RTC.
Replies: 4
Views: 3072

Re: EXAMPLE - How to set DATE/TIME of compilation to RTC.

Automatic update if needed based on epoch: void setup() { RTC.ON(); setClockTimeDateFromPC(); } void loop() { } void setClockTimeDateFromPC() { char* datestr = __DATE__; char* timestr = __TIME__; USB.println("Compilation Date/Time: "); USB.print("Date "); USB.println(datestr); USB.print("Time "); US...
by jot4p
Wed Nov 14, 2018 4:37 pm
Forum: General Questions
Topic: EXAMPLE - How to set DATE/TIME of compilation to RTC.
Replies: 4
Views: 3072

Re: EXAMPLE - How to set DATE/TIME of compilation to RTC.

Fix:

RTC.setTime(yOff,m,d,RTC.dow(yOff,m,d),hh,mm,ss); << include day of the week
by jot4p
Wed Nov 14, 2018 4:14 pm
Forum: General Questions
Topic: EXAMPLE - How to set DATE/TIME of compilation to RTC.
Replies: 4
Views: 3072

Re: EXAMPLE - How to set DATE/TIME of compilation to RTC.

" RTC.setTime("13:01:11:06:12:33:00"); " this is not necessary .. only for example.
by jot4p
Wed Nov 14, 2018 4:13 pm
Forum: General Questions
Topic: EXAMPLE - How to set DATE/TIME of compilation to RTC.
Replies: 4
Views: 3072

EXAMPLE - How to set DATE/TIME of compilation to RTC.

Hi, Here my contribution: how to use compile time to update the RTC: void setup() { // Open the USB connection USB.ON(); USB.println(F("RTC_1 example")); // Powers RTC up, init I2C bus and read initial values USB.println(F("Init RTC")); RTC.ON(); // Setting time [yy:mm:dd:dow:hh:mm:ss] RTC.setTime("...
by jot4p
Mon Oct 22, 2018 12:07 pm
Forum: General Questions
Topic: weather station ws3000
Replies: 3
Views: 4488

Re: weather station ws3000

My problem is that plv (current hour) value is always around 13mm. This command " intFlag &= ~(PLV INT);" reset the counter correct ? What is wrong ? My code: #include <WaspSensorAgr_v20.h> #include <WaspFrame.h> #include <WaspLoRaWAN.h> uint8_t socket = SOCKET0; uint8_t PORT = 5; /*****************...
by jot4p
Thu Oct 11, 2018 11:17 am
Forum: General Questions
Topic: weather station ws3000
Replies: 3
Views: 4488

weather station ws3000

Hi,

I have an old weather station ws3000 and a old wasp pro v1.2.

I need to obtain the values of pluv from the last hour and the last 24 hours, but at same time I need to put the wasp to sleep.

It's possible ?
by jot4p
Tue Sep 18, 2018 1:38 pm
Forum: General Questions
Topic: Read sensor from USB port
Replies: 3
Views: 2131

Re: Read sensor from USB port

I have 1 sensor to read the color of water.
I need to read the 5 commun sensors and another (water color sensor) .. it's a rx-tx sensor and it's possible to plug via usb to P&S port.

It's impossible ?
by jot4p
Thu Sep 13, 2018 6:39 pm
Forum: General Questions
Topic: Read sensor from USB port
Replies: 3
Views: 2131

Read sensor from USB port

Hi,

I have some P&S devices. I need to read/send some info with 1 sensor connected to USB port from P&S. The battery is FULL but the usb only have 1.93 Volts and I need 5V..

It's possible to increase ??
by jot4p
Mon Aug 20, 2018 12:15 pm
Forum: Software
Topic: Smart Device App 2.7 Problems
Replies: 19
Views: 17097

Re: Smart Device App 2.7 Problems

Hi, The new version of java does not include: "rxtxParallel.dll, rxtxSerial.dll, RXTXcomm.jar" and gives error due to windows 10 64 bit. Download here the files: http://fizzed.com/oss/rxtx-for-java (direct for windows 64 bit's > https://bitbucket.org/jlauer/mfz-cdn/downloads/mfz-rxtx-2.2-20081207-wi...