Search found 9 matches

by marcel00
Sat Nov 30, 2019 10:25 am
Forum: Software & Firmware
Topic: Serial overload- Sensor readout in conflict with Nextion display communication?
Replies: 1
Views: 2365

Re: Serial overload- Sensor readout in conflict with Nextion display communication?

Issue could be solved by adding delays after execution of functions related to getValue and setValue out of ITEAD Library from Nextion.
by marcel00
Sat Nov 30, 2019 10:22 am
Forum: Software & Firmware
Topic: Communication between Maxi Automation and Nextion Display
Replies: 1
Views: 1741

Re: Communication between Maxi Automation and Nextion Display

Communication is working again. Issue was related with function nexInit(); out of Itead Library from Nextion. Somehow synchronization between MCU and Nextion display failed. A delay(100); was necessary after nexInit(); in case of 115200 baud.
by marcel00
Thu Nov 07, 2019 3:41 pm
Forum: Hardware
Topic: Interrupt pins
Replies: 2
Views: 1987

Re: Interrupt pins

I am confused about the Maxi Automation PINOUT V1.1. In my understanding the Interrupts are belonging to the following pins of the Arduino MEGA Board(blue) 2 (Interrupt 0), 3 (Interrupt 1), 18 (Interrupt 5), 19 (Interrupt 4), 20 (Interrupt 3) und 21 (Interrupt 2) In the PINOUT V1.1 you have 18 (Inte...
by marcel00
Thu Nov 07, 2019 2:13 pm
Forum: Hardware
Topic: Interrupt pins
Replies: 2
Views: 1987

Interrupt pins

The MEGA 2560 has got 2, 3, 18, 19, 20, 21 as interrupt pins.The Maxi Automation Pinout shows Pins 2 and 3 as digital out 0 and 1. Can I still use X1.12 and X1.13 as digital inputs as they are the only not occupied ones for starting an ISR?
by marcel00
Wed Nov 06, 2019 8:05 am
Forum: Software & Firmware
Topic: Serial overload- Sensor readout in conflict with Nextion display communication?
Replies: 1
Views: 2365

Serial overload- Sensor readout in conflict with Nextion display communication?

Hello an .ino file shall establish the communication between I2c sensors, Nextion display and a Controllino Maxi Automation.The Serial2 port is set at 115200 baud. Initially I am trying to readout a BME280 sensor and want to display the values on a Nextion enhanced display. Therefore I use void pres...
by marcel00
Fri Oct 11, 2019 1:46 pm
Forum: Software & Firmware
Topic: Communication between Maxi Automation and Nextion Display
Replies: 1
Views: 1741

Communication between Maxi Automation and Nextion Display

Hello So far I worked with an Arduino Mega and a Nextion Enhanced display.Communication is via serial2 at 112500 baud without any issues. If I connect RX2 and TX2 of Nextion display to TXD2(X2.22) and RXD2(X2.23) and power up the Nextion display via external 5V with common ground I am not able to co...
by marcel00
Thu Jul 04, 2019 11:28 am
Forum: Hardware
Topic: Firmware update at Maxi Automation with SD Card
Replies: 4
Views: 1943

Re: Firmware update at Maxi Automation with SD Card

Hello Lukas, I used the following code to reset: void softwareReset( uint8_t prescaller) { wdt_disable(); // start watchdog with the provided prescaller wdt_enable( prescaller); // wait for the prescaller time to expire // without sending the reset signal by using // the wdt_reset() method while (1)...
by marcel00
Thu Jul 04, 2019 9:13 am
Forum: Hardware
Topic: Firmware update at Maxi Automation with SD Card
Replies: 4
Views: 1943

Re: Firmware update at Maxi Automation with SD Card

Hello Lukas, flashing works now. But only if I open the serial monitor in the Arduino IDE. I use a control LED on pin 43. If I press a momentary switch on pin 42 this LED is turned off and EEPROM flash address 1FF is set to F00. Now I turn of the MCU and after switching on Arduino MEGA 2560 immediat...
by marcel00
Tue Jul 02, 2019 5:31 pm
Forum: Hardware
Topic: Firmware update at Maxi Automation with SD Card
Replies: 4
Views: 1943

Firmware update at Maxi Automation with SD Card

Hello I want to use the Maxi Automation for an industrial application. It is mandatory to enable a firmware update by using a SD card module as network access is not allowed for security reasons. I already testet out a Arduino MEGA 2560 together with an Adafruit SD card module as shown at https://ww...