Search found 110 matches

by cubitus54
Tue Jan 05, 2016 8:31 pm
Forum: Flowcode V5
Topic: DHT11 to DHT22!
Replies: 28
Views: 33287

Re: DHT11 to DHT22!

Hello

testing it
I do not have to try the sensor, does it work in simulation.
by cubitus54
Mon Jan 04, 2016 8:15 pm
Forum: Flowcode V5
Topic: DHT11 to DHT22!
Replies: 28
Views: 33287

Re: DHT11 to DHT22!

Hello,

I have not tested on the hardware ... Normally it should work.

Cubitus
by cubitus54
Mon Jan 04, 2016 11:41 am
Forum: Flowcode V5
Topic: DHT11 to DHT22!
Replies: 28
Views: 33287

Re: DHT11 to DHT22!

Hello You put a variable or constant with offset offset = 3 for example (+0,3°C) .temperature = .temperature + offset .temperature = .temperature AND 0x03ff .entier = .temperature / 10 ... OR .temperature = .temperature + 3 .temperature = .temperature AND 0x03ff .entier = .temperature / 10 ... :D
by cubitus54
Sun Jan 03, 2016 8:48 pm
Forum: Flowcode V5
Topic: DHT11 to DHT22!
Replies: 28
Views: 33287

Re: DHT11 to DHT22!

Hello

For the négative temp.
temp_neg.gif
temp_neg.gif (12.06 KiB) Viewed 25260 times
◎Special Instructions:
When the temperature is below 0 ℃, the highest position of the temperature data.
Example: -10.1 ℃ Expressed as 1 000 0000 0110 0101
Temp.:0000 0000 0110 0101 = 0065H(Hexadecimal)= 6×16 +5 = 101
=> Temp. = -10.1℃
by cubitus54
Mon Sep 07, 2015 11:52 am
Forum: Flowcode V6
Topic: DS18B20 Temperature Component Macro
Replies: 29
Views: 23984

Re: DS18B20 Temperature Component Macro

Which chip you work?
It seems to me that it takes a minimum frequency of 8MHz ...
by cubitus54
Thu Sep 03, 2015 5:03 pm
Forum: Flowcode V6
Topic: DS18B20 Temperature Component Macro
Replies: 29
Views: 23984

Re: DS18B20 Temperature Component Macro

Hellos,

It's the same thing...

Do not forget to put the pull up resistor
Image3.gif
Image3.gif (7.29 KiB) Viewed 19198 times
by cubitus54
Thu Sep 03, 2015 9:25 am
Forum: Flowcode V6
Topic: Capture frequency
Replies: 5
Views: 4450

Re: Capture frequency

Hello,

I'm not sure, but there is no external counter input for the 328.

This entry exists on the Mega 2560 on the timer 5 (see p161 TCCR5B : CSn2, CSn1, CSn0 => 111 = External clock source on Tn pin. Clock on rising edge)
by cubitus54
Tue Sep 01, 2015 11:25 am
Forum: Flowcode V6
Topic: LCD Greek symbols
Replies: 7
Views: 6195

Re: LCD Greek symbols

Hello,

We need a 5x8 matrix encoded

exemple : http://www.instructables.com/id/LED-Sco ... enerator-/

this is "é"
Image1.gif
Image1.gif (19.4 KiB) Viewed 6191 times
by cubitus54
Tue Sep 01, 2015 7:33 am
Forum: Flowcode V6
Topic: DS18B20 Temperature Component Macro
Replies: 29
Views: 23984

Re: DS18B20 Temperature Component Macro

Hello,

Use "One Wire" in "Comms"
by cubitus54
Thu Aug 27, 2015 10:16 am
Forum: Flowcode V6
Topic: gLCD EBM001 in mode SPI
Replies: 10
Views: 8498

Re: gLCD EBM001 in mode SPI

Hello,

More more faster :):)

Only for Ardiuno Mega
I use er SPI register directly (SPDR) in a command C..

90ms for clear all screen :D :D
SPI_c.gif
SPI_c.gif (29.77 KiB) Viewed 8372 times
by cubitus54
Thu Aug 27, 2015 9:58 am
Forum: Flowcode V6
Topic: gLCD EBM001 in mode SPI
Replies: 10
Views: 8498

Re: gLCD EBM001 in mode SPI

Hello,

More faster :)
Clear all screen in 215 ms -> 160 ms
if one uses an element in the SPI bus.
You can put the CS line to 0 and 0 to let it saves time and makes the fastest display.
by cubitus54
Wed Aug 26, 2015 10:50 am
Forum: Flowcode V6
Topic: gLCD EBM001 in mode SPI
Replies: 10
Views: 8498

Re: gLCD EBM001 in mode SPI

Hello,


Thank you for the humidity sensor.
The display is 1.8 or SPI. there is not really a reference and there are many version for this inexpensive and popular display.

aff_1.8 spi.jpg
aff_1.8 spi.jpg (122.08 KiB) Viewed 8404 times
by cubitus54
Wed Aug 26, 2015 8:33 am
Forum: Flowcode V6
Topic: gLCD EBM001 in mode SPI
Replies: 10
Views: 8498

Re: gLCD EBM001 in mode SPI

Hello,

I'd like to try to transform EBM016_Humidity.fcpx in DHT11, DHT22.
Can you give me the component source

Thank you
by cubitus54
Tue Aug 25, 2015 7:19 pm
Forum: Flowcode V6
Topic: gLCD EBM001 in mode SPI
Replies: 10
Views: 8498

Re: gLCD EBM001 in mode SPI

Hello,

Excellent ! :D :D

Code: Select all

Do you want the new component including in the official build?

Why not :)

I may be a few other programs propose to you...
by cubitus54
Mon Aug 24, 2015 7:01 pm
Forum: Flowcode V6
Topic: gLCD EBM001 in mode SPI
Replies: 10
Views: 8498

Re: gLCD EBM001 in mode SPI

Hello,

Is it possible to create an integrated component in Flowcode?
glcd_EBM001_spi.fcfx
(82.81 KiB) Downloaded 455 times
Timing
SPI Hardware : 0,5µs/div
chrono.gif
chrono.gif (18.06 KiB) Viewed 8454 times
by cubitus54
Mon Aug 24, 2015 4:39 pm
Forum: Flowcode V6
Topic: gLCD EBM001 in mode SPI
Replies: 10
Views: 8498

Re: gLCD EBM001 in mode SPI

Hi,

Thank you very much ;)
by cubitus54
Mon Aug 24, 2015 4:24 pm
Forum: Bug reports
Topic: Loop for to next
Replies: 2
Views: 3123

Re: Loop for to next

Hello,

Yes ! It is what I did

Thank you
by cubitus54
Sun Aug 23, 2015 4:34 pm
Forum: Bug reports
Topic: Loop for to next
Replies: 2
Views: 3123

Loop for to next

Hello,

Please, look the pictures.
Program Ardiuno Mega 2560

Code: Select all

void FCM_DrawBox .....

    MX_SINT16 FCL_X;
    MX_SINT16 FCL_Y;
    MX_SINT16 FCL_PIXEL;
Macro "DrawBox"
GLCD_18_test_SPI.fcfx
(25.23 KiB) Downloaded 382 times
OK.png
(57.11 KiB) Downloaded 668 times
NOK.png
(60.45 KiB) Downloaded 668 times
by cubitus54
Sun Aug 23, 2015 7:16 am
Forum: Forums d'aide en français
Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
Replies: 8
Views: 13692

Re: Capteurs d'humidité et de température DHT11, DHT22, AM23

Hello,

For the DHT11
8 bit integral humidity
8 bit decimal humidity =0
8 bit integral temp.
8 bit decimal temp =0

Le DHT11 ne transmet que l'entier sur 8 bits en BCD, la partie décimale =0
Le DHT22 transmet la partie entière et décimale en BCD sur 16 bits
by cubitus54
Sat Aug 22, 2015 4:30 pm
Forum: Flowcode V6
Topic: gLCD EBM001 in mode SPI
Replies: 10
Views: 8498

gLCD EBM001 in mode SPI

Hello, Is it possible to change the type of screen EBM001 SPI hardware? On the version of Flowcode V5 FC5_xxx_gLCD_.c in the SPI output software. On the V6 version of Flowcode, the function is compressed and unchangeable ... Thank you V5 FC5_xxx_gLCD_.c void gLCD_SendByte (char Command, unsigned int...
by cubitus54
Sat Aug 22, 2015 4:13 pm
Forum: Forums d'aide en français
Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
Replies: 8
Views: 13692

Re: Capteurs d'humidité et de température DHT11, DHT22, AM23

Thanks for your reply. I did run it in the micro-controller but it just display 255 as a value at both, temperature and humidity. I did try to open your program but is in a different format, I could not opened it with Flowcode. How can I see it? Thanks a lot for your help. Menu -> Macro -> Import
by cubitus54
Sat Aug 22, 2015 7:49 am
Forum: Forums d'aide en français
Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
Replies: 8
Views: 13692

Re: Capteurs d'humidité et de température DHT11, DHT22, AM23

Hello, Ce n'est pas possible de simuler le programme sur Flowcode. Il faut le tester avec un microcontrôleur. Voici le programme que je n'avais pas pu mettre (3 PJ maxi) (Importer Macro) mesureDHT.fcm Voici une application qu'il est possible de faire en l'interfaçant avec Matlab Simulink. DHT11.png
by cubitus54
Thu Aug 20, 2015 4:10 pm
Forum: Flowcode V6
Topic: Time to suffer!!!
Replies: 16
Views: 10299

Re: Time to suffer!!!

by cubitus54
Thu Aug 20, 2015 4:06 pm
Forum: Forums d'aide en français
Topic: Capteurs d'humidité et de température DHT11, DHT22, AM2302
Replies: 8
Views: 13692

Capteurs d'humidité et de température DHT11, DHT22, AM2302

Bonjour, Je vous présente mon programme pour lire les capteurs d'humidité et de température DHT11, DHT22, AM2302 Ce capteur transmet 40 bits: l'humidité en 16 bits, la température en 16 bits, et une somme de contrôle en 8 bits. trame.gif DHT11 humidité en 8 bits, température 8 bits (boitier bleu) DH...
by cubitus54
Wed Aug 19, 2015 7:26 am
Forum: Flowcode V6
Topic: Time to suffer!!!
Replies: 16
Views: 10299

Re: Time to suffer!!!

Hello,

Yes I do. I would put very soon.
This is not the OneWire protocol.
The function did not exist in Flowcode.