First test of PCB 1.3, directions

petelake

New member
First tests of PCB 1.3 (as shown in video 7)

- Insert the fuse 1.6AT (for the time being) into fuse holder EF2.
- Insert the DC / DC converter
- Do not connect JP1
- Connect JP8 to Dauer-ON
- Connect the connection cable for the Start-Button and bridge the wire ends
  (to connect)
- Connecting the Battery with P43 (Watch + and -)
- Measure tension
- Reduce voltage to 9V on DC / DC
- Battery control LED (+ 24V) must be on
- Connect JP1
- Control LEDs "+ 5VP" and "+ 3.3Vp" must light up
- Disconnect the battery and remove the measuring device
- Bridge the NOT-AUS connection with a wire bridge
- Reattach the battery
- Control LEDs "Dual1" and "Dual2" must light up
- Disconnect the battery again
- Connect motor drivers
- Reattach the battery
- All Control LEDs light up as before
- Disconnect the battery again
- Mount Arduino (JP13 for Marotronics DUE (clone))
- Reattach the battery
- LEDs "+ 3.3V" and "+ 5V" now light up (all control LEDs are on) and Buzzer beeps
  continuously
- Disconnect the battery again
- Move fuse from 1.6AT to EF1 and insert fuse 5AT into EF2
- Insert INA, relay and RTC
- Reattach the battery
- Finally, place the Bargraph (choose the right direction)
- First LED (Station LED) and last LED (Buzzer) Burn and Buzzer beeps continuously
   (On the video, the 4th LED flashes, apparently by the "BLINK" program on the
  DUE, this was
     Not so with me, despite the blinking program focused on pin13 from Arduino ... ???)
! Oh yes, I have not soldered the wire bridges for the dividers yet, I'd like to study odometry first ...
Or is that a problem to continue?

TestJrgen.200_2018-02-25.jpg
 
Who can tell me what the next steps are?
.INO Sketch for Arduino?
(ardumower-1.0a7-Azurit ardumower-1.0a7-Azurit code ardumower ardumower.ino)
And should all .h and .cpp files be copied somewhere in the Arduino IDE?

When should the start button (P20) be placed?
Is this an on / off, or a push-button that pops back?
Should the wire bridge of the EMERGENCY STOP still remain?

What are the next tests before I connect the motors and the sensors?

Grtjs, Peter from Bruges (Belgium)

PS: Can I contact someone personally if I have a small or stupid question?
 
Hi.
Don't know exactly what's your knowledge on Arduino But:
First Disconnect the Mower Motor or remove the Disk Blade for first test
First you need to put the Ardumower firmware into the Due.
The .h and .cpp need to be into the ardumower folder with ardumower.ino
Simply double click on ardumower.ino and normaly it's open the IDE and you can see all .h and .cpp into the IDE.
Into IDE on Tools / Board: you need to choose : "Arduino DUE Programming Port" it's on the bottom of the list, if not you need to download the DUE support from arduino site.
Connect the DUE on Programming Port and after USB Detect , Into Tools /Port choose the correct port

ON the upper left of the Ide click on Verify button normaly it's compile without error.
After that you can click on Upload button.

And normaly it's OK for the DUE.

P20 is a push button and need one short click to start the mower (Don't worry but if the USB cable is connected , the DUE is powered by the PC and you don't need to push the P20 Button all is correctly on Power.)
Bridge the Emegency stop (P and remove the bridge only if you connect the Emergency
On arduino IDE Click on Serial Monitor (upper right) and choose the correct Baud rate (i don't remember for 1.07 but simply try 115200 or other until you can see correct data) send a d char to start the setting.

And follow the WIKI.

No problem for Private Contact.

By.





Click on the upper left on (Verify), to be sure there are no ERROR
 
I have linked the Due to the PC. (Arduino Programming port)
Have clicked on .ino in the folder:
Desktop ardumower-1.0a7-Azurit ardumower-1.0a7-Azurit code ardumower
Have the code verified and the code uploaded to the DUE
Baud rate 19200 gave me readable characters in the serial monitor.
For the time being P20 is bridged and Not-aus too

I now want to put the Arduino back on the PCB 1.3.
Can I better place a push button on P20?
And, when exactly do I have to press it?
(Connect the battery and briefly press the button?
Or leave the bridge on P20?)

And, what do you mean by "send a char to start setting"?
Do I have to type "a d char" at the top of the serial monitor and then click send?

If I place the Due on the PCB, do I have the USB cable connected to the computer? Or do I have to disconnect it?

Do I have the correct code? (ardumower-1.0a7)

greetings, Peter
 
Hi.
Connect the battery and briefly press the button?
Yes
Do I have to type "a d char" at the top of the serial monitor and then click send?
Yes put only one char (d for main menu) and press enter or send
If I place the Due on the PCB, do I have the USB cable connected to the computer? Or do I have to disconnect it?
Like you want ,if the USB is connected the Due is powered by PC so don't need to push the P20 and all is correctly working.
If the USB is not connected, when you plug the battery, you need to press the P20 Button to start to power the Due with the Battery.
If only the USB is connected and not the Battery some module can't work.
For testing it's better to have the USB and battery.
Don't forget to unplug the USB and Battery when you want to restart the Due.
By.
 
Oben