FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
08-06-2024 05:39 PM
So i have a somewhat automated locker, driven by a CtrlX. The CtrlX sends TCP messages to another PCB to open/close the locks and detect their status.
Then I also have a CtrlX usb -> arduino mega -> PN532 rfid reader. The arduino reads the rfid badges of our employees, who can use their badge to log in, and borrow or return items. With the ctrlX we can see a list of users who borrowed and returned each item with time + date.
I just discovered one issue:
We have 2 identical installations. But on one installation the CtrlX won't start when the arduino is plugged in. I can plug the arduino in after startup, and everything will work. But if the arduino is plugged in from the start, then the status led stays off. The power led indicator stays blue. Even if you unplug the arduino in this state, the CtrlX won't start. At this point I can not log in either.
When i remove the arduino from the usb, I can start up. When i go to the logs I don't see anything to tell me what is preventing the startup.
I have another (spare) arduino uno i plugged in, which also prevents the ctrlX from starting.
The arduino that allows the ctrlX to start, lets both CtrlX start.
The two arduino that don't allow the ctrlX to start, do so on both CtrlX.
Both arduino that prevent startup, also prevent startup without anything connected. Just usb supply.
I wonder if the power supply is very limited? Or can you think of any other reason this could happen?
Both mega boards are rev3. All 3 arduinos have a ATmega16U2 USB chip.
Solved! Go to Solution.
08-06-2024 07:12 PM
@Davey ,
Are the arduino all the same model? Can you please generate a system report so I can troubleshoot further?
08-07-2024 03:24 PM
08-07-2024 03:59 PM
I went to take pictures + get board info from the arduino IDE.
I attached the pictures below, but in summary:
Arduino uno + arduino mega that fail the CtrlX to start up both share VID 0x2341. This means they are both official arduino's.
The arduino mega that allows the CtrlX to start has VID 0x2A03. This is not an official board.
Both mega boards seem to be rev3 from what I can tell. The pinout + components look the same.
08-28-2024 11:47 AM
Hi Sgilk,
If you want, I could always send you an arduino + cable so you can test this yourself?
09-02-2024 01:46 PM - edited 09-26-2024 08:24 AM
For your all information, there is similiar topic already discussed "CORE X3 crashing when booting with scanner plugged in via USB".
09-25-2024 04:48 PM
@CodeShepherd
When i click your link i get a "access denied":
You do not have sufficient privileges for this resource or its parent to perform this action.
Click your browser's Back button to continue.
I can't seem to find the article you mentioned in the forums.
09-26-2024 08:25 AM - edited 09-26-2024 08:25 AM
I updated the link above. Now the article is reachable.
10-02-2024 05:50 PM - edited 10-02-2024 05:51 PM
I have cut open the USB cable and put a on-delayed relay timer on the 5V wire.
I'll work with this as my solution
yesterday
There will be an solution in the version 3.6 of ctrlX OS coming up end of March 2025. Feel free to check it out.