Forum Replies Created

Viewing 1 - 15 of 173 posts
  • Lukas

    Member
    March 15, 2023 at 4:28 pm

    Hi Xavier,

    yes, this is normal behaviour of the Arduino USB interface. This feature (reset based on DTR) is used during the programming. DTR is toggled by the system when the Virtual USB port is open/closed and it is very hard to avoid that.

    But there exists kind of a hack how to prevent this behaviour. Interconnect 5V a and RESET signals at pinheader X1. (But then you must not use the reset button!)

    Please take it really as an unofficial hack. It is not a solution for some product, or industrial application.

    Best regards,

    Lukas

    • This reply was modified 1 year ago by  Lukas.
  • Lukas

    Member
    March 15, 2023 at 4:03 pm

    Hi nbcdntr,

    Modbus is tricky. It is hard to let it running when you do not have experience with the master side (CONTROLLINO) and the slave (sensor or motor controller). I always recommend to start with simplier setup – use PC with USB-RS485 converter and some Modbus Master application and try to control the motor. Then, when you are sure you know the baudrate, address, registers and their meaning, switch to CONTROLLINO.

    Good luck!

    Lukas

  • Lukas

    Member
    March 15, 2023 at 3:32 pm

    Hi Barrels,

    at first to the Modbus. Before you start the integration of the sensor with the CONTROLLINO, please try to control the sensor from a PC with RS485-USB converter and some Modbus RTU Master application. You will easily fine proper registry numbers and meanings etc.

    To the analog measurement. You cannot directly connect current loop 4-20 mA to CONTROLLINO analog input. You should use external 500 Ohm resistor to convert it to voltage suitable for the CONTROLLINO analog input.

    Good luck!

    Lukas

  • Lukas

    Member
    March 15, 2023 at 3:02 pm

    Hi Keith,

    well … it sounds like a very ambitious project 🙂

    In principle it should be possible with CONTROLLINO. The only limitation may be program flash memory of ATmega2560. All the rest is about your work with wiring and programming.

    Good luck!

    Lukas

  • Lukas

    Member
    May 5, 2022 at 12:50 pm

    Please see FAQ#7

    You should call Controllino_RTC_init(); before you use SPI for external device.

    Lukas

  • Lukas

    Member
    May 5, 2022 at 12:36 pm

    Let´s try to check c:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\wiring_analog.c

  • Lukas

    Member
    May 5, 2022 at 12:33 pm

    Yes, exactly. It is compatible with Arduino Mega.

    Lukas

  • Lukas

    Member
    January 19, 2022 at 8:57 am

    Hi magloman,

    this is strange. Is it 100% replicable and always with the same result? (same corrupted address)

    Are you sure that it is not cause by the USB cable? Corrupted or too long, or connected via hub?

    Thanks,

    Lukas

  • Lukas

    Member
    January 19, 2022 at 8:51 am

    Hello beetroot,

    I will forward your request to responsible person at CONTROLLINO.

    Best regards,

    Lukas

  • Lukas

    Member
    January 4, 2022 at 4:20 pm

    Hi,

    Do you have problem with register read (like in your sketch) or with register write (like in the title of the issue)?

    Do you have any progress so far?

    Thanks,

    Lukas

  • Lukas

    Member
    January 4, 2022 at 4:17 pm

    Hi Juanfer,

    please check the pinout table here.

    Arduino pin numbers (blue) are not the same as the CONTROLLINO digital outputs numbers (green).

    Better to use our own pin aliases as we do in our examples.

    Thanks,

    Lukas

  • Lukas

    Member
    March 15, 2023 at 3:46 pm

    Hi all,

    we will try to fix this in the new release of the CONTROLLINO Library.

    I hope it happens in the next two weeks.

    Thanks,

    Lukas

  • Lukas

    Member
    March 15, 2023 at 3:40 pm

    Hi Jelle,

    Hi Steve,

    as far as I know from the CONTROLLINO management the myPLC serial production was not launched because of the world wide chip shortage.

    That is the reason why the NEO is based on the RP2040 MCU which is available in high amounts and with reasonable price.

    I hope it will be released soon.

    Thanks,

    Lukas

    • This reply was modified 1 year ago by  Lukas.
  • Lukas

    Member
    March 10, 2023 at 11:15 am

    I am sorry, but it should be invented by the Arduino community 🙂

  • Lukas

    Member
    January 19, 2022 at 8:50 am

    Not at our side.

Viewing 1 - 15 of 173 posts