Search found 18 matches
- 27 Jun 2018 22:40
- Forum: Z-Uno
- Topic: Serial strange behaviour
- Replies: 26
- Views: 24945
Re: Serial strange behaviour
Here is a modified version of Library. Place it to libraries folder an use like this: #include <SoftwareSerial7N1.h> SoftwareSerial7N1 swserial(11, 12); // ... Interesting, it gives an idea on how to modify SoftwareSerial library to support more coding method. I think I'm wrong with 7n1. According ...
- 23 Jun 2018 18:27
- Forum: Z-Uno
- Topic: Serial strange behaviour
- Replies: 26
- Views: 24945
Re: Serial strange behaviour
Hum, output seems dirty. I introduce a buffer (buf) to avoid Serial overhead. #include "SoftwareSerial.h" SoftwareSerial swserial(11, 12); // duplex mode on pins 11 and 12 char buf[512]; int i=0; void setup() { swserial.begin(1200); Serial.begin(9600); } void loop() { while(swserial.availa...
- 23 Jun 2018 16:00
- Forum: Z-Uno
- Topic: New 2.1.4 beta
- Replies: 49
- Views: 45595
Re: New 2.1.4 beta
Great! 1200 baud, right what I needed! I succeed to parse 7n1 by using "& 0x7f".
Hopelessly there is reading errors (cf. Serial strange behaviour).
- 23 Jun 2018 16:00
- Forum: Z-Uno
- Topic: Serial strange behaviour
- Replies: 26
- Views: 24945
Re: Serial strange behaviour
Great! SoftwareSerial library work like a charm, adopted! Do you plane to support find and readBytesUntil functions ?
- 03 Apr 2018 21:54
- Forum: Z-Uno
- Topic: z-uno with adafruit TFT Display - libraries won't compile
- Replies: 2
- Views: 4267
Re: z-uno with adafruit TFT Display - libraries won't compile
Hi Rob, As Z-Uno uses a Sigma Designs microcontroller, Arduino Atmel microcontroller libraries are not compatible with Z-Uno. Z-Uno provides libraries for popular chips : https://github.com/Z-Wave-Me/Z-Uno-Core/tree/uCXX_Cores/hardware/arduino/zuno/libraries All instructions compatible with Z-Uno ar...
- 03 Apr 2018 10:40
- Forum: Z-Uno
- Topic: Serial strange behaviour
- Replies: 26
- Views: 24945
- 21 Mar 2018 13:25
- Forum: Z-Uno
- Topic: Serial strange behaviour
- Replies: 26
- Views: 24945
Re: Serial strange behaviour
Hi,
I tried a lot of solutions. None are working properly. Best solution was to identify chars using bit mask. This solution was working but occuring too many reading errors.
risca, xibriz and me are looking for a solution. Please, implement a software serial or give us some tips.
Best regards.
I tried a lot of solutions. None are working properly. Best solution was to identify chars using bit mask. This solution was working but occuring too many reading errors.
risca, xibriz and me are looking for a solution. Please, implement a software serial or give us some tips.
Best regards.
- 01 Feb 2018 02:17
- Forum: Z-Uno
- Topic: Z-UNO for Sale
- Replies: 2
- Views: 3260
Re: Z-UNO for Sale
Its a great product. If you have any difficulties, we're here to help you.
- 01 Feb 2018 02:12
- Forum: Z-Uno
- Topic: Serial strange behaviour
- Replies: 26
- Views: 24945
Re: Serial strange behaviour
In France, our electricity provider send power consumption using serial at a speed of 1200. It sends data continuously. I only want reading. Thank you for syncmode implementation. I'm going to read about this mode into libs that you mentioned. This code is working when I send char one by one : ZUNO_...
- 27 Jan 2018 23:25
- Forum: Z-Uno
- Topic: Serial strange behaviour
- Replies: 26
- Views: 24945
Re: Serial strange behaviour
I tried some sketchs. I think it's easier to code my own than to adapt existing code. I connect rx on pins 16-17. First one is used as fast reading. Second one is used as falling detection. A falling edge starts the gpt timer. The handler of the gpt timer reads 10 bits (start bit, 8 bits of data and...