Search found 41 matches

Return

by QMESAR
Thu Nov 27, 2014 9:56 pm
Jump to forum
Jump to topic

Re: It's SPI Communications active?

I don't know if the SPI communications is active or not, why it looks like this? Hello MOSI,MISO,CLK pins you can not change as they are fixed on the micro you are using ,Consult the Datasheet for your device and you will see that the SPI for the device the SDO ,SDI and CLK pins are fixed to those ...
by medelec35
Fri Jan 23, 2015 7:27 pm
Jump to forum
Jump to topic

Re: Quad 7 segment set up nightmare

Hi 407charles. The best way to set up 7seg LED is to have them within timer interrupt which is dependent on how many 7seg displays you have. You will be best aiming for 50 to 100Hz per display. For example if you have 3 x 7seg displays then interrupt frequency should be min of 3 x 50 = 150Hz. One of...
by QMESAR
Fri Jan 23, 2015 10:38 pm
Jump to forum
Jump to topic

Re: Quad 7 segment set up nightmare

Display will not be that clear and it will look like segments will be on that are not suppose to be on. i.e blurry as you described. As Martin said your Display frequency is very high and in you newly posted file you have <= 4KHz reduce this to something like 160 -200 Hz Then Martin posted a link t...
by Benj
Thu Jul 23, 2015 9:56 am
Jump to forum
Jump to topic

Re: A project from hell!

Hello, I have modified your program so that it should read in the temperature and display it as a raw value. The raw value is then converted to a temperature and shown separately. You may need to check that your chip select pin is C0 as I have guessed. If it's not then you will need to change the pi...
by LeighM
Fri Jul 17, 2015 8:36 am
Jump to forum
Jump to topic

Re: A project from hell!

I suggest that you use either the SPI Master or CAL SPI Flowcode component. Write your own GetTemperature macro that will need to first use a port pin to set CS low, then call SPI GetChar twice. The first byte is the high byte, the second is the low byte of the 16 bit result. Shift this result 6 bit...
by Benj
Mon Jul 27, 2015 10:11 am
Jump to forum
Jump to topic

Re: A project from hell!

Hello, Thanks for letting us know how your getting on, glad your having some good results. .Return = .LSB >> 3 .Return = .Return | .MSB << 5 This code basically takes the lower 8 bits and shifts them down so that the data starts at bit 0 of the return variable. The second line then adds the rest of ...
by cubitus54
Mon Aug 10, 2015 9:19 am
Jump to forum
Jump to topic

Re: Time to suffer!!!

Hello Charles,


Sorry for my poor English, I'm French ... Thanks to Google translation ... :mrgreen:
Hard for me to make great explanation in English ... :?

Here's my program with a GLCD display.
You can get inspired to run yours.
rtc.gif

RTC_i2c+afficheur18.fcfx
by cubitus54
Sun Aug 09, 2015 7:52 am
Jump to forum
Jump to topic

Re: Time to suffer!!!

hello,

aa.gif


on the program below,
I read the registers and I 7 shipments over RS232

To you to adapt the program.
lecture.gif
by cubitus54
Sun Aug 09, 2015 5:38 pm
Jump to forum
Jump to topic

Re: Time to suffer!!!

Hello,

No, I use RS232 to view the values. One can also use a display ...
This is just one example.
by cubitus54
Sat Aug 22, 2015 7:49 am
Jump to forum
Jump to topic

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:06 pm
Jump to forum
Jump to topic

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
Sun Aug 23, 2015 7:16 am
Jump to forum
Jump to topic

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 kersing
Fri Aug 28, 2015 7:38 pm
Jump to forum
Jump to topic

Re: Arduino C code headache!!

You need to use capitals for the register names. Also, it seems the compiler does not like the register.bitno notation. Attached a version that does compiler, I'm not making any claims about it working ;-)
by Benj
Thu Sep 17, 2015 10:14 am
Jump to forum
Jump to topic

Re: Is it possible to use arduino functions with Flowcode?

Hello,

I have created a second macro to allow you to measure a complete period.

PulseIn.fcfx
by Bachman
Mon Dec 14, 2015 5:26 pm
Jump to forum
Jump to topic

Re: There is any way to achieve a higher ADC resolution?

In this post, you can find four links to frequency counters: link.
by medelec35
Sat Dec 26, 2015 10:25 pm
Jump to forum
Jump to topic

Re: LCD display failure!

You don't open the gLCD_ILI9341.fcpx
found here
Did you place the component in:
C:\Program Files\Flowcode 6\components
If 32 bit windows
Or
C:\Program Files (x86)\Flowcode 6\components
If 64 bit windows?
by Bachman
Mon Dec 28, 2015 4:52 pm
Jump to forum
Jump to topic

Re: There is any way to achieve a higher ADC resolution?

At this time i don't have any external ADC chip. Can you post your program? Maybe somebody will find the problem. For ILI9341, i've used two conrollers: PIC 18F46K80 & PIC 18F46K22. The controllers can run at 64 MHz without extra components and contains 64Kbytes Program Memory. Be careful not to...
by dazz
Tue Dec 29, 2015 11:44 pm
Jump to forum
Jump to topic

Re: Arduino mega, a mega problem!!!

hi
forgot to say is your flowcode the latest version, if so try going into board options then change the chip to one of the other mega2560's,
If i have time tomorrow i will remove my mega from the printer it lives in and check it programs ok here
Regards
Dazz
by dazz
Wed Dec 30, 2015 12:58 am
Jump to forum
Jump to topic

Re: Arduino mega, a mega problem!!!

Hi Charles Download xloader from here http://russemotto.com/xloader/ XLoader is worth installing and keeping as it's superb for loading hex file to arduino open your flowcode 6 folder see image below no1 in red shows the location of the bat files rename your original avrc_arduinoA.bat as shown by th...
by Bachman
Fri Jan 01, 2016 6:02 pm
Jump to forum
Jump to topic

Re: GLCD's, a mistery treasure!!

Try to connect the Reset pin to Vcc (3.3 V) or GND. Do not leave floating because it can generate continuous resets on the display.
by STibor
Thu Dec 31, 2015 7:40 am
Jump to forum
Jump to topic

Re: GLCD's, a mistery treasure!!

Hello! The SSD1289 graphic LCD requires a 3.3V logic supply. Arduino Mega 2560 logic voltage to 5V. Do you use 5V <-> 3.3V voltage converter shield? Etc. http://www.hobbielektronika.hu/forum/getfile.php?id=233929 The linked Arduino shields port assignment is random, Flowcode data ports (data port lo...
by kersing
Sun Jan 03, 2016 11:53 pm
Jump to forum
Jump to topic

Re: Using GLCDs, Good or bad idea!!

Graphic displays add pixels only, they do not clear previous contents. To clear a region, draw a rectangle in the background color.

I don't understand the last part of your question. Could you rephrase it?
by kersing
Sun Jan 03, 2016 11:50 pm
Jump to forum
Jump to topic

Re: GLCD SSD1289

For ASCII, have you checked the Print macro? To show bitmaps etc, check these message.
by Benj
Tue Jan 05, 2016 12:35 pm
Jump to forum
Jump to topic

Re: Using GLCDs, Good or bad idea??

It should simply be a case of setting the transparent parameter to 0 whenever you print text or a number, this should allow the data to be displayed without being garbled. The transparent option is there to allow you to create text with a drop shadow effect but is only really useful on colour displa...
by kersing
Mon Jan 04, 2016 10:29 pm
Jump to forum
Jump to topic

Re: Using GLCDs, Good or bad idea??

Try the attached code.