Search found 94 matches

by tello
Mon Feb 13, 2023 11:21 am
Forum: AVR & Arduino
Topic: Atmega2560 flash memory program 29K
Replies: 3
Views: 6240

Re: Atmega2560 flash memory program 29K

Hello again guys.
I have already found the solution.
I have done several tests removing some parts of the program but I could not solve it.
Finally I have done the whole program again, I think that some part had been corrupted.

Thank you so much.
by tello
Fri Feb 10, 2023 8:51 am
Forum: AVR & Arduino
Topic: Atmega2560 flash memory program 29K
Replies: 3
Views: 6240

Atmega2560 flash memory program 29K

Hi guys. I use Flowcode 7 and in the current project I have switched from an Arduino nano to an Arduino Mega because of memory capacity. When I compile the program the HEX file always has 29K which is very strange because it doesn't seem to support any more function blocks and the program crashes. I...
by tello
Fri Feb 10, 2023 8:37 am
Forum: AVR & Arduino
Topic: ATMEGA2560 Delay not work ok
Replies: 2
Views: 1873

Re: ATMEGA2560 Delay not work ok

Thanks chipfryer27 :D :D :D My friend Eduardo last night helped me see that I didn't have the fuses configured correctly and that's why the oscillator didn't work correctly. I have loaded the bootloader again and used the USB port to load the program and now it works correctly. But I have a new prob...
by tello
Thu Feb 09, 2023 5:53 pm
Forum: AVR & Arduino
Topic: ATMEGA2560 Delay not work ok
Replies: 2
Views: 1873

ATMEGA2560 Delay not work ok

Hi guys. I have a problem with the delay of an arduino Mega2560. Initially the program was doing it for an Arduino Nano and everything is correct and works fine. Changing the destination no longer works well on the arduino Mega. To do tests I have made a new program and I have only set one output to...
by tello
Wed Apr 15, 2020 8:43 pm
Forum: Flowcode V7
Topic: LCD compilation failure (I2C)
Replies: 3
Views: 2731

Re: LCD compilation failure (I2C)

many thanks.
Finally the problem was the update of FC7
by tello
Sat Mar 28, 2020 7:05 pm
Forum: Flowcode V7
Topic: LCD compilation failure (I2C)
Replies: 3
Views: 2731

LCD compilation failure (I2C)

Hello guys. I am working on an Arduino Nano 328 project with a 20x4 I2C display. In the project I only have the component included but when compiling I get a bug that I don't know how to correct. I attach the program and catch the compilation failures, I think it is a component failure but I'm not s...
by tello
Mon Jun 26, 2017 7:20 pm
Forum: AVR & Arduino
Topic: OSC on ATMEGA2560
Replies: 1
Views: 5789

OSC on ATMEGA2560

Hello guys, I am doing a project with Atmega2560 and I can not select the clock speed to more than 12Mhz, is it possible to set to 16Mhz ??

Thank you
by tello
Thu Jun 23, 2016 10:43 am
Forum: Flowcode V6
Topic: BLUETOOTH LOW ENERGY BLE HM-10
Replies: 2
Views: 3406

Re: BLUETOOTH LOW ENERGY BLE HM-10

Thank you very much Benj.
I tried it with the BLE terminals and effectively communicate.
Megustaria to have Bluetooth LE and mosdus Slave FC7 components.
Thank you
by tello
Thu Jun 02, 2016 10:30 am
Forum: Flowcode V6
Topic: BLUETOOTH LOW ENERGY BLE HM-10
Replies: 2
Views: 3406

BLUETOOTH LOW ENERGY BLE HM-10

Hi guys. I'm testing a bluetooth module HM-10. I have not managed to connect to my mobile android, it's very strange, with the manufacturer's software "HMComAssistant" immediately connected, but with other software such as "Bluetooth Terminal" does not allow me the connection, "Connection not availa...
by tello
Fri May 06, 2016 2:01 pm
Forum: Flowcode V6
Topic: Modbus master component Time out response
Replies: 13
Views: 14040

Re: Modbus master component Time out response

hi Benj. The new component is much faster than the previous but still have a very large pause 1,14sec after receiving the response from the slave. You can add a variable to adjust the timeout or time out after receiving the answer ?? My big problem is that the micro does two UART communications and ...
by tello
Wed May 04, 2016 2:11 pm
Forum: Flowcode V6
Topic: Modbus master component Time out response
Replies: 13
Views: 14040

Re: Modbus master component Time out response

Hi Benj. thank you very very much. Well now send data to Modbus slave and the slave responds ok. there is one thing I do not understand. When the master sends the data block and the slave responds, the block is stopped for 2,474s, what is the reason ?? With this pause my program is very very slow. w...
by tello
Wed May 04, 2016 9:37 am
Forum: Flowcode V6
Topic: Modbus master component Time out response
Replies: 13
Views: 14040

Re: Modbus master component Time out response

Hi guys.
I still have the problem of fault block time out modbus master, someone knows where you can set the time of failure time out ??
Thank you
by tello
Tue May 03, 2016 9:34 am
Forum: Flowcode V6
Topic: Modbus master component Time out response
Replies: 13
Views: 14040

Re: Modbus master component Time out response

Good morning Benj
I wonder if it is possible to repair the component block Modbus master "Presetmultipleregisters" is very important for my project.
Not because I find fault with it modbus Timeout response.

Thank you
by tello
Fri Apr 29, 2016 2:04 pm
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13110

Re: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes

I understand, all excepting one thing, I get Analyzer energy in Rs232 in Bytes but I eque send Multiple Registers FC16 Modbus and the data is Uintarray.
how can I convert 2 bytes to 1 Uint to put it in the array ??,

I feel not knowing clearly explained

Thanks
by tello
Fri Apr 29, 2016 9:32 am
Forum: Flowcode V6
Topic: Modbus master component Time out response
Replies: 13
Views: 14040

Re: Modbus master component Time out response

Thank you. I understand the plot of sending Flowcode FC16 and you are right, not the data "number of records" I think it's a component failure. In this case it must be repaired to be used. I do not understand because I have TimeOut failure in PresetSingleRegister when this frame is correct. Thanks o...
by tello
Fri Apr 29, 2016 8:03 am
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13110

Re: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes

Good guys days. I explain what I need. In my project, I have a micro with 2 UART, the first communicates with a microchip energy analyzer MCP39F511. My micro is always asking the Voltage, Current, Power and Reactive active variables, etc .. and stores them in a record. Communication is in Bytes reco...
by tello
Thu Apr 28, 2016 1:57 pm
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13110

Re: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes

ok, but also need to convert 2 bytes registers Uint format to send it via Modbus, the Modbus send in Hex.
I tried several examples in simulation but do not work properly.
by tello
Thu Apr 28, 2016 12:34 pm
Forum: Flowcode V6
Topic: Modbus master component Time out response
Replies: 13
Views: 14040

Re: Modbus master component Time out response

Hi guys. Attached the program modbus master file. In the Main routine, I Initialize including Modbus Master. I found out a curious thing, when sending only a register (PresetSingleRegister) responds sending me the same thing. When I'm sending four registers (PresetMultipleRegisters) responds with an...
by tello
Thu Apr 28, 2016 7:56 am
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13110

Re: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes

Many many Thanks Rudi.
I feel stupid, it is clear that the format of the variable was was not Byte if not uint.

Thanks again
by tello
Wed Apr 27, 2016 1:46 pm
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13110

Re: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes

Thanks Rudi. I am an active user forum with FC5 and FC6 license but I do not know how I can change my status FC5 to FC6 member. I followed the process that you have shown me but can not get the expression is accepted in the Modbus block component, there are some step I'm not doing well. You have use...
by tello
Wed Apr 27, 2016 12:49 pm
Forum: Flowcode V6
Topic: Modbus master component Time out response
Replies: 13
Views: 14040

Modbus master component Time out response

Good morning guys again.
I implemented the modbus component in my project.
I have a Modbus slave emulator for testing. the emulator receives the query and responds but the teacher always gets time out.
Someone has made some example to understand my mistake?

Thank you
by tello
Wed Apr 27, 2016 10:05 am
Forum: Flowcode V6
Topic: HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes
Replies: 12
Views: 13110

HOW CAN I DO AN ARRAY OF VARIABLES 4 bytes

Good guys days, I need to create an array of variables of 4 bytes.
I've never worked with arrays of data, information've searched forum but it is not me how to create the structure.
Some partner can help. thank you very much.
by tello
Fri Mar 04, 2016 1:28 pm
Forum: Flowcode V6
Topic: How initializing a display i2c winstar ??
Replies: 11
Views: 11320

Re: How initializing a display i2c winstar ??

Good morning. I have already 4x20 I2C display component exports. But I have three questions. 1- When you export the component blocks shown me that I do not need are CalcI2C component. As you can take from appearing in the exported component ??. 2. When sending several commands 13,67ms there is a tim...
by tello
Thu Feb 25, 2016 12:07 pm
Forum: Flowcode V6
Topic: How initializing a display i2c winstar ??
Replies: 11
Views: 11320

Re: How initializing a display i2c winstar ??

Hi guys, I am very happy today. With the help of Benj and some of you have almost finished component Display driver with I2C 24x20 SSD1803A and ST7036. I just need a last step, I can not export the component because I have an error. The program and a screenshot of the error are here. I need one last...
by tello
Thu Feb 11, 2016 10:57 am
Forum: Flowcode V6
Topic: How initializing a display i2c winstar ??
Replies: 11
Views: 11320

Re: How initializing a display i2c winstar ??

Hi Benj.

I've been testing but I can not make display work properly, I can initialize but then appear strange characters.

You can send I2C Display component to be able to modify the macros and adapt to my needs ST7036 driver ??

Thank you