Search found 103 matches

by maxtisc
Tue Aug 04, 2020 1:27 pm
Forum: Flowcode V8
Topic: Arduino mega2560 FAT component
Replies: 2
Views: 220

Re: Arduino mega2560 FAT component

Hi LeighM yes in the end it succeeds, but the program on the hardware freezes in card initialization C:\Users\Max\Dropbox\radar>"C:\PROGRA~2\Flowcode\Common\COMPIL~1\avr\BATCHF~1\..\bin\avr-gcc.exe" -mmcu=atmega2560 -Os -ffunction-sections -fdata-sections -funsigned-char -o "C:\Users\Max\Dropbox\rad...
by maxtisc
Tue Aug 04, 2020 9:55 am
Forum: Flowcode V8
Topic: Arduino mega2560 FAT component
Replies: 2
Views: 220

Arduino mega2560 FAT component

hello team I'm trying to use the FAT component but it gave me many errors at the end of the compilation, I replicated your example (FAT_Data_Logger_Fast on Wiki) on arduino mega2560 excluding the display part but I see that on output it gives me the same errors I attach files and sreenshot of the er...
by maxtisc
Mon Jul 20, 2020 8:28 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

You return to display 0
by maxtisc
Mon Jul 20, 2020 5:28 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

Hi Martin, I got the new DS3231 module and everything works perfectly, :D I have another question and I hope to present it clearly in my code I called a variable "mese_STR" (month in string) that I use to send the number of the month to the Nextion type display, this was not shown but was always 0, ...
by maxtisc
Mon Jul 13, 2020 11:03 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

Hi Martin freq 32khz is ok I tried to insert the reset macro after the initialisation but there were no changes on the operation. I looked at the DS3231 datasheet and the 0x0E register seems to be commanded correctly I try to buy another card maybe mine is broken and maybe we are going crazy for not...
by maxtisc
Sun Jul 12, 2020 9:30 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

Hi Martin
I tried your code, from what I understand every 5 seconds you change the setting of the SQW output, I attach the file captured by the serial port, I looked with the oscilloscope but the output is always set to 1Hz
by maxtisc
Sun Jul 12, 2020 3:55 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

hello I downloaded your code and I saw that it has many more functions, so I downloaded your library and copied it inside the component folder (correct?), but when on FC8 I look for DS3231 I can't find it. (what is the correct procedure?) I use a card where a 24C32 type memory is also mounted which ...
by maxtisc
Sun Jul 12, 2020 10:59 am
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

hi Martin I'm sorry for the delay with which I reply I tested your code by modifying my hardware, with your settings I see the led blinking at a frequency of 1Hz, I changed the parameters of the SQW output, but the led always blinks at 1Hz, I probably explained myself badly in the first post , I nee...
by maxtisc
Mon Jul 06, 2020 4:24 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

hi Martin
can you publish the test code for mega2560 that i try too?
thanks
by maxtisc
Sat Jul 04, 2020 8:09 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

no with your code it doesn't work with my code I read and write the hour yes the resistances are there and they are from 4,7K today I did tests with a ds1307 with my original code for ds3231 (changing the properties of the RTC), but it doesn't work, I don't read and I don't write, strangely changing...
by maxtisc
Sat Jul 04, 2020 2:38 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

Hi Martin
I tried your code but there was no change, I pulled off the power and also the battery
thanks
by maxtisc
Thu Jul 02, 2020 6:26 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

hello Martin, it's about what I did in my second post, if you notice in the two videos I changed the frequency select first with 1 and then with 3 but the led always flashes at 1Hz
thanks
by maxtisc
Wed Jul 01, 2020 10:19 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3132 RTC

hello martin to make things simpler I changed the test code to a minimum, I connected the led B7 to visually see if something changes, but I see the led that turns on and off at the frequency of 1Hz, even changing the parameters, unfortunately I'm out of the office and I don't have the instruments a...
by maxtisc
Tue Jun 30, 2020 9:26 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Re: Arduino mega2560 problem with DS3231 RTC

hello martin, thanks for your replay, the code and test and it will be part of a more complex code, I initialize and send the instruction to modify rs1-rs2, with the led I check that the program is running, but with the oscilloscope not I see the change of frequency (always 1HZ out) SQW, do you reco...
by maxtisc
Mon Jun 29, 2020 10:02 pm
Forum: Flowcode V8
Topic: Arduino mega2560 problem with DS3132 RTC
Replies: 27
Views: 1962

Arduino mega2560 problem with DS3132 RTC

Hello I am using RTC DS3132, I can write and read, the only thing I can not do is change the frequency of the SQW output, it remains fixed at 1HZ even if I enter from 0 to 3, the strange thing is that even if I insert a option that is not provided for example 6, FC8 does not report an error I am usi...
by maxtisc
Mon Jun 01, 2020 8:41 pm
Forum: Flowcode V8
Topic: Arduino module modbus
Replies: 1
Views: 257

Re: Arduino module modbus

hello team I'm very happy :D because I managed to make modbus work, the problems were multiple from the wiring and the software, but now everything is ok, I only have 2 questions: 1) does it make sense to use an interrupt on the rx pin of the 485? 2) the last bytes of the transmission from what I un...
by maxtisc
Sat May 30, 2020 6:40 pm
Forum: Flowcode V8
Topic: Arduino module modbus
Replies: 1
Views: 257

Arduino module modbus

hello team in a project I receive the impulses from an external module and recalculate them in speed, I am proceeding step by step and everything worked well, now implementing the rs485 modbus module, but at the end of the compilation it gives me a series of errors C:\Users\Max\Dropbox\radar\radar_A...
by maxtisc
Sun May 17, 2020 10:59 pm
Forum: Flowcode V8
Topic: PWM ARDUINO 2560
Replies: 0
Views: 384

PWM ARDUINO 2560

Hi
I'm using the PWM output in the property menu I see that the maximum settable overflow period is 255, even if from datasheet the overflow period for channel 10 is 16 bit, the question is whether it was possible to set 16 bits would increase the output resolution?
thanks
by maxtisc
Mon Apr 06, 2020 9:32 pm
Forum: Flowcode V8
Topic: problem RXINT stm32
Replies: 13
Views: 1134

Re: problem RXINT stm32

Hello attached the file that I made to read the incoming bytes on the serial, on arduino it works well, (this is the only way I managed to do) as you can see in the photo I read correctly the 7 incoming bytes, but the same program does not work on STM32. in STM32 I read the B1 (value 101) replicated...
by maxtisc
Sun Mar 29, 2020 10:55 pm
Forum: Flowcode V8
Topic: problem RXINT stm32
Replies: 13
Views: 1134

Re: problem RXINT stm32

Thanks benj and LeighM I have had the opportunity to try the circularbuffer and I see that it only partially works the data is only partially collected, I have already tried several time outs up to the maximum, the cleaning block does not seem to work and does not reset the stored data short descrip...
by maxtisc
Wed Mar 25, 2020 6:56 pm
Forum: Flowcode V8
Topic: problem RXINT stm32
Replies: 13
Views: 1134

Re: problem RXINT stm32

hello LeghM I had already seen these pages and also many others, but there are passages that are not clear to me, for example in the code there is a variable called .int (also in other projects there are variables with a dot) what does it mean the point? and is not declared in the variable list how ...
by maxtisc
Wed Mar 25, 2020 1:01 pm
Forum: Flowcode V8
Topic: problem RXINT stm32
Replies: 13
Views: 1134

Re: problem RXINT stm32

Thanks
But a litle example?
by maxtisc
Tue Mar 24, 2020 6:06 pm
Forum: Flowcode V8
Topic: problem RXINT stm32
Replies: 13
Views: 1134

Re: problem RXINT stm32

I had previously tried, without results
by maxtisc
Tue Mar 24, 2020 5:38 pm
Forum: Flowcode V8
Topic: problem RXINT stm32
Replies: 13
Views: 1134

Re: problem RXINT stm32

thanks LighM
here it is
by maxtisc
Tue Mar 24, 2020 4:43 pm
Forum: Flowcode V8
Topic: problem RXINT stm32
Replies: 13
Views: 1134

Re: problem RXINT stm32

sorry, no analyzer image was attached