AzuritBer Teensy

@Bernard
Did you change the pin assignment in your last changes?
The current Github version has pins for the bumpers:
#define pinBumperLeft 35
#define pinBumperRight 36

But it should be 27/28 for the current MainPCB.
 
Not exactly .
the
#define pinBumperLeft 35
#define pinBumperRight 36
is the standard bumper pin since the beginning and the correct pin for the PCB annotation.

But i add for my MI632 the rear bumper on free pin 30 and 31 (on J20 CAN3)
#define pinBumperRearLeft 30 // bumper pins
#define pinBumperRearRight 31
Only wiring actually and not dev in the code.

Do not forget to adjust the new check station speed into setting station to have a better docking and avoid reverse.
I test actually the brake function of the red driver (i have big slope at a wire location and mower stop only after 20 cm)
I directly use the motor EN output of the PCB to brake the motor when PWM speed is set to 0.

In all case you need to always keep your mower.h and .cpp with your motor/bumper/pin assignement etc ... version and tell me if there is new var in the last version.

I use 2 mower model : the RL2000 with DC motor and MI632 with BL motor and i change only the 2 mower.h and cpp version before upload to one or other mower.
 
OK I got confused by the label in kicad, fits after all. But somewhere I still have a mistake in it. I need to test further and mow the lawn with the ride-on mower.
 
Bei ersten Tests mit dem Teensy scheinen noch Bibliotheken zu fehlen, oder? Woher kann ich die bekommen?

Code:
ResolveLibrary(Watchdog_t4.h)
  -> candidates: []ments\Arduino\test\Teensy\teensymower\robot.cpp:17:25: fatal error: Watchdog_t4.h: No such file or directory

compilation terminated.
Mehrere Bibliotheken wurden für "SD.h" gefunden
 Benutzt: C:\Users\sefan\Documents\Arduino\libraries\SD
 Nicht benutzt: C:\arduino-1.8.16\libraries\SD
 Nicht benutzt: C:\arduino-1.8.16\hardware\teensy\avr\libraries\SD
Bibliothek Wire in Version 1.0 im Ordner: C:\arduino-1.8.16\hardware\teensy\avr\libraries\Wire  wird verwendet
Bibliothek SD in Version 1.2.4 im Ordner: C:\Users\sefan\Documents\Arduino\libraries\SD  wird verwendet
Bibliothek SPI in Version 1.0 im Ordner: C:\arduino-1.8.16\hardware\teensy\avr\libraries\SPI  wird verwendet
Bibliothek EEPROM in Version 2.0 im Ordner: C:\arduino-1.8.16\hardware\teensy\avr\libraries\EEPROM  wird verwendet
Bibliothek ADC in Version 8.0 im Ordner: C:\arduino-1.8.16\hardware\teensy\avr\libraries\ADC  wird verwendet
Fehler beim Kompilieren für das Board Teensy 4.1.
 
I have the AzuritBER for Teensy, Ver 1.422.
I think, after charging the mower is powering down?

Is it fixed at the actual version?
 
I have the AzuritBER for Teensy, Ver 1.422.
I think, after charging the mower is powering down?

Is it fixed at the actual version?
Last version is 1.483
It's optional and build for version of PowerPCB without charging jumper..
Take a look at the setting battery , you can adjust the max charging duration i don't remember the max value , but you can adjust the slider as you want into pfod.cpp.

If one Timer is activate , mower never power off, but without timer mower shutdown at the end of charging process to avoid battery discharging into station idle.
 
Hello,
I need a liitle bit of help by the programming of the ESP32 and Teensy board with Arduino IDE 2.3.2
If i try to upload the sketch "ESP32_WIFI_Passerrelle" to my ESP32 i get the followed error:

Sketch uses 1638009 bytes (124%) of program storage space. Maximum is 1310720 bytes.
Global variables use 57804 bytes (17%) of dynamic memory, leaving 269876 bytes for local variables. Maximum is 327680 bytes.
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
text section exceeds available space in board


The ESP32 is a Wroom 32D with 30 pins. https://de.aliexpress.com/item/1005...t_main.47.559c5c5frweV21&gatewayAdapt=glo2deu

Have the different ESP32 modules different big Flash memories? Or what is the problem?


And the second error with the library files of Teensy that Bernard posted in this thread with the ZIP file with Watchdog and SD.
How can i install these ZIP files in Arduino IDE 2.3.3 ? I have other directories as in the picture to see here:
 
Hi Stefan,:
wo kann ich diese Einstellung finden: Partition Scheme: Huge App?

ps: ah, ok. Ich habe es gefunden in den Boardeinstellungen, wenn ich ein anderes Board auswähle. Es gibt hier zig unterschiedliche Varianten im Arduino boardmanager von diesem Board...:unsure:
 
Last edited:
Thanks Bernard!
I have now setting board: SparkFun ESP32 IoT RedBoard
and this board has Huge App setting.
Now my ESP32 is programmed and has a WIFi AP "Teensy2"

Now to my second problem: by upload the sketch to Teensy i get the error with the missing libraries (watchdog and SD etc.)

How can i your ZIP file add to my Arduino IDE 2.3.2 ???

UPDATE: wow, I got it! :D
I have unzipped the "teensy lib.zip" file from Bernard to: "C:\Users\-my username-\AppData\Local\Arduino15\libraries"
And after that I managed to compile and upload the sketch to my Teensy without error! 🥳

Today is to late, but tomorrow comes to the first test with my hardware.🤪
 
Last edited:
Back
Top