eamars / OpenTrickler-RP2040-Controller

OpenTrickler controller application on RP2040 platform
https://discord.gg/ZhdThA2vrW
GNU General Public License v3.0
13 stars 8 forks source link

Scale Settings #6

Closed Mojojojo31 closed 11 months ago

Mojojojo31 commented 1 year ago

Hey, which settings do I need to change on the scale? Currently it stops at "Waiting for Zero". Allready changed the baudrate to 19200bps. So in the "settings" the scale calibration will work. Greatings

eamars commented 1 year ago

As far I can recall, things need to be configured are:

  1. Unit (default is Gram. Need to be maually changed to grain).
  2. Serial baud rate (to the maiximum 19200bps).
  3. Response time (to fast). You could use AutoTrickler manual as the reference: https://cdn.shopify.com/s/files/1/0525/7235/6768/files/AutoTrickler_V4_Sept_2022.pdf?v=1671110335
Mojojojo31 commented 1 year ago

I still got the "--- Waiting for zero" message and it wont go any further.

eamars commented 1 year ago

By default the A&D Fx series scale won't automatically populate the measurement to the serial port you need to enable that.

If you enter the Cleanup mode you should be able to read the current weight from the scale. Are you getting anything?

Mojojojo31 commented 1 year ago

I enabled it. Got the factory settings and the AutoTrickler settings. I also played with all settings but no change. When I enter the Cleanup theres a black screen and when the turn the nobe the stepper will start to run. But no display output. Maybe my scale is bad ? But communication works because the scale will correctly respond to the calibration mode.

eamars commented 1 year ago

There are two issues according to your description.

  1. The OpenTrickler cannot receive/decode the message. I suggest you to check with the RX terminal on the board to see if the voltage will drop below 12V/3.3V (depending on where you measure it).
  2. The cleanup mode should not end up in blank screen. Are you running the latest firmware from https://github.com/eamars/OpenTrickler-RP2040-Controller/actions/runs/5411318698 ?
Mojojojo31 commented 1 year ago
  1. I´ve got 3,3V on RX and TX . RXD is 0V not changing. TXD got -5V

  2. Yes its the latest firmware.

eamars commented 1 year ago

The 3.3v on RX and TX indicating your serial port is sitting idle. No message is received nor transmitted.

RXD and TXD should measure 12V if nothing happen. Reading 0 at TXD is certainly a bad thing. You need to check the cable (NULL modem or straight through) with the corresponding jumper position.

FYI I made a change from v1.0rc to connect PIN5 of J6 (RS232) to the GND. If you made the v0.3 the PIN5 is floating, for which you may need to solder a cable from PIN5 to the ground somewhere on the board. image

Here are some solutions to diagnose the serial issue.

  1. Measure the voltage between PIN2-PIN5, PIN3-PIN5. You should be able to measure 12V on idle, or around 6V if transmitting/receiving.
  2. Make sure the J6 is RS232 FEMALE header. The male header had different pin out.
eamars commented 1 year ago

Hi I created a discord server for open trickler users. https://discord.gg/ZhdThA2vrW

Please feel free to join the server and let's work on the comm issue.

Mojojojo31 commented 11 months ago

After some Digging on the Discord i got the Problem and the Fix. It was the v1.0rc Board and a FEMALE header image

eamars commented 11 months ago

Glad the issue is fixed. Will close.