Search found 186 matches

by viktor_au
Sat Aug 01, 2020 11:15 pm
Forum: Flowcode V8
Topic: BME680 Sensor
Replies: 8
Views: 151

Re: BME680 Sensor

I think it is a very good idea to check the FC8 supported components before you buy anything.
--
Another good idea is suggested by mnf: make a new component.
Would be great if you can make one.
A lot of people would be grateful to you John.

PS
Thank you Martin.
by viktor_au
Thu Jul 09, 2020 10:18 am
Forum: Flowcode V8
Topic: Using BMP280 Barometer and the Hall_Digital1 mcros
Replies: 7
Views: 250

Re: Using BMP280 Barometer and the Hall_Digital1 mcros

Understood Jbeaty46 You didn't show the working code. ------------------------------------------ About barometric measurements. I have attached the PIC-based example (not my code). You probably found it on this forum... ----------------------------------------- One more question please. What kind of...
by viktor_au
Wed Jul 08, 2020 8:37 pm
Forum: Flowcode V8
Topic: Using BMP280 Barometer and the Hall_Digital1 mcros
Replies: 7
Views: 250

Re: Using BMP280 Barometer and the Hall_Digital1 mcros

Hello JBEATY46

Your program has 3 states:
Sense = 0 (OK and run)
Sense = 1 (No replay)
Sense = 2 (CRC error)
------------------------------
By default Sense value is not set.
-----------------------------
Question: where do you measure or get Sense value?
by viktor_au
Fri May 29, 2020 10:04 am
Forum: Flowcode V8
Topic: LM75b component commands question
Replies: 0
Views: 208

LM75b component commands question

When I use the CAL i2c component to represent the LM75b the program works OK. 1. Start i2c Master 2. Tx the data (as byte) to address 146 3. If ack = 0 (OK) 4. Tx the data (as byte) to address 0 5. Restart i2c master 6. Tx the data (as byte) to address 147 7. Rx MSB as byte 0 8. Rx LSB as byte 1 9. ...
by viktor_au
Mon May 25, 2020 10:09 pm
Forum: Flowcode V8
Topic: MODBUS Error
Replies: 15
Views: 843

Re: MODBUS Error

Hi Seogki

You work on industrial project, that's not a hobby project, isn't it?
Sure, if you have the money you can buy an expensive equipment.
All the best with your project.
by viktor_au
Sun May 24, 2020 10:16 am
Forum: Flowcode V8
Topic: MODBUS Error
Replies: 15
Views: 843

Re: MODBUS Error

Hello

Rs232 or Rs485...
----------------------
The question is how many slaves do you want your modbus master to communicate with?
by viktor_au
Wed May 06, 2020 11:49 pm
Forum: Flowcode V8
Topic: Two bytes to Integer without changing values
Replies: 5
Views: 406

Re: Two bytes to Integer without changing values

Thank you mnf and medelec35 I tried to shift the values. Sure, can be done. However the suggested by medelec35- I nteger = of byte1 * 100 + byte2 works well. ------------------------ If: byte1 = 4 byte2 = 15 ----------- .int1 = .byte1 * 100 .int2 = .byte2 .to_record = .int1 + .int2 ------------ .to_...
by viktor_au
Wed May 06, 2020 12:11 pm
Forum: Flowcode V8
Topic: Two bytes to Integer without changing values
Replies: 5
Views: 406

Re: Two bytes to Integer without changing values

A good point Martin.
I need to save the data to sd-card as an integer.
The byte 1 can be 0 to 15 (as max).
The byte 2 can be 0 to 99.
------------------------------------
If byte 2 is 1 the result expected to be as 401.
by viktor_au
Wed May 06, 2020 11:47 am
Forum: Flowcode V8
Topic: Two bytes to Integer without changing values
Replies: 5
Views: 406

Two bytes to Integer without changing values

Is it possible to save two bytes with values 4 and 15 to integer as 415?
by viktor_au
Thu Apr 23, 2020 12:14 am
Forum: Programming Tips & Tricks
Topic: Auto Power Off for MCU
Replies: 5
Views: 957

Re: Auto Power Off for MCU

Hello Martin

Can you please publish the circuit diagram of your project?
by viktor_au
Fri Apr 17, 2020 12:15 am
Forum: Flowcode V8
Topic: Timer (storage) compile error with Mega2560
Replies: 6
Views: 538

Re: Timer (storage) compile error with Mega2560

Thank you Ben
by viktor_au
Wed Apr 15, 2020 11:59 pm
Forum: Flowcode V8
Topic: Timer (storage) compile error with Mega2560
Replies: 6
Views: 538

Re: Timer (storage) compile error with Mega2560

Thank you Ben All good now. A few more questions please. -------------------------------------- 1. How can I test the timer1 (storage)? I used the delay component to let timer do the counting. However the result is a different from expected. What is the reason? ------------------------- 2. Timer1 ha...
by viktor_au
Tue Apr 14, 2020 11:22 pm
Forum: General Programming
Topic: Embedded system ventilator
Replies: 19
Views: 1264

Re: Embedded system ventilator

...become corrupt Good point Ben. It is the weak point in RPi. -------------------- The whole idea is create a cheap and easy assembled controller for 'any' (?) mechanical squeezer of Ambu bag. I checked the ventilator projects on internet. If we separate the non-smart from the smart (with some ele...
by viktor_au
Tue Apr 14, 2020 7:54 pm
Forum: General Programming
Topic: Embedded system ventilator
Replies: 19
Views: 1264

Re: Embedded system ventilator

RPi is a good platform. I am not sure what community is bigger, Arduino or Raspberry Pi. I made a few projects on RPi and can say that it is a bit more complex than Arduino project. But... Horses for courses. What is good for one is not good for another one. ------------------------------ I have rai...
by viktor_au
Tue Apr 14, 2020 7:37 pm
Forum: Flowcode V8
Topic: Timer (storage) compile error with Mega2560
Replies: 6
Views: 538

Re: Timer (storage) compile error with Mega2560

Hello Ben

The attached files:
- the program with Timer1(storage) in it (with error in compiling process)
- .msg file
by viktor_au
Tue Apr 14, 2020 8:23 am
Forum: Flowcode V8
Topic: MODBUS Error
Replies: 15
Views: 843

Re: MODBUS Error

I am not an advanced user, far from it. My advice is only correct by 80% if not less. ----------------- Let us have a look at the attached modbus slave example done by Ben. Do you see the difference between your program and Ben's? -------------- What I would do? --------------- Try to change your pr...
by viktor_au
Tue Apr 14, 2020 1:52 am
Forum: Flowcode V8
Topic: Banggood 0.96" GLCD Geekcreit Display
Replies: 8
Views: 625

Re: Banggood 0.96" GLCD Geekcreit Display

Hi again

I prefer to stay away from SPI mode and buy only i2c ssd1306 as it is easy to setup and reasonably fast to work.
-----------
I tested your program again and FC8 reported some errors
by viktor_au
Mon Apr 13, 2020 11:29 pm
Forum: Flowcode V8
Topic: MODBUS Error
Replies: 15
Views: 843

Re: MODBUS Error

Hi again A few more questions please... What program gives you the error? Did you check the discussion on the next forums? https://www.electronicspoint.com/forums/threads/insufficient-data-received-error-in-modbus.269512/ https://forge.codesys.com/forge/talk/Runtime/thread/7ecb0598e7/ https://www.ed...
by viktor_au
Mon Apr 13, 2020 11:19 pm
Forum: Flowcode V8
Topic: Banggood 0.96" GLCD Geekcreit Display
Replies: 8
Views: 625

Re: Banggood 0.96" GLCD Geekcreit Display

Hello Ian

You have two oled's in your program.
However you do use only one in your test program.
What about the second one?
Is it connected as well on your hardware setup?
by viktor_au
Mon Apr 13, 2020 11:05 pm
Forum: Flowcode V8
Topic: MODBUS Error
Replies: 15
Views: 843

Re: MODBUS Error

The last program gives the same error:
by viktor_au
Mon Apr 13, 2020 12:42 pm
Forum: Flowcode V8
Topic: MODBUS Error
Replies: 15
Views: 843

Re: MODBUS Error

Hello seokgi

I tried to run your program but I've got a different warning:
by viktor_au
Sun Apr 12, 2020 6:32 am
Forum: Flowcode V8
Topic: Finding the correct Display shield
Replies: 4
Views: 335

Re: Finding the correct Display shield

Hello billduck

Did you try to use search?
by viktor_au
Sat Apr 11, 2020 11:33 am
Forum: Flowcode V8
Topic: Flowcode 8 crash
Replies: 35
Views: 2878

Re: Flowcode 8 crash

I had the same problem on 2nd April 2020.
Finally I understood that the problem is in the corrupted registry.
After I renamed the registry the FC8 has created a new one
and I have never had any problems.
by viktor_au
Sat Apr 11, 2020 9:24 am
Forum: Flowcode V8
Topic: Timer (storage) compile error with Mega2560
Replies: 6
Views: 538

Timer (storage) compile error with Mega2560

Hi Question to Matrix team. After I did the update, the Uno and Mega, during the 'Compile to HEX' process do return the errors. It only happened with added Timer (storage). No problems without the Timer. I am not sure what has happened. I used the Timer (storage) yesterday with the Uno project. All ...
by viktor_au
Fri Apr 10, 2020 7:20 am
Forum: General Programming
Topic: Embedded system ventilator
Replies: 19
Views: 1264

Tidal volume calculations

Need some help with tidal volume calculations.
In what situation the sensitivity changes from 5 to 7 and up?