Training 041024

From BoSL Wiki
Jump to navigation Jump to search

Today, Stephen went through all the steps required to make BoSL boards work awesomeomely!

To upload to the BoSL board please find the instructions below:

BOSL 0.5 SETUP

Ensure that the JUPMER PIN is on the middle two - ON, not OFF or WDT. TIM at TINY to ensure all are ON.

Connect the BoSL board to your computer using the USB port, plug in a battery to the BoSL board

Download the Arduino IDE (https://www.arduino.cc/en/software/OldSoftwareReleases)

Add the BoSL board package by following the instructions at https://monash-bosl.github.io/BoSL-IDE-Core/

https://monash-bosl.github.io/BoSL-IDE-Core/package_bosl.com.au_index.json from link above

FIRST go to preferences and paste in the above URL.

Click Tools > Board: > Board Manager

Type in BOSL and find the correct board manager - the 0.5 is in the BoSL Boards AVR B - INSTALL THIS.

Tools, boards, bosl, bosl 0.5.

Then go to file, examples and under utilities there should be utilities modem passthrough.

Upload and it should upload via the chosen COM PORT!

Pass through should work - turn off LINE ENDING such that it is NO LINE ENDING.

Try AT return - it should return OK.

UNIVERSAL CODE

Close Arduino IDE

Get Universal code. https://drive.google.com/drive/folders/113Kkc1dzY9LJFRyzb-I3wgZEUTlFJLGL?usp=sharing

Update all libraries

OneWire.h by Jim Study 2.3.8

MCP7940 by SV Zanshin 1.2.0 for RTC

Arduino-sht byt Johannes Winkelmann 1.2.5 for a sensor

Change name of the SITE_ID to something unique - like DAVE

Upload to board.

Sometimes will need to unplug and plug in several times to ensure it uploads

Loop - the number of actual loops since restart - it is the loops, so if 6 average and 1 min scans, then each time on the website it will be 6 12 18 etc.

ERROR for SCAN SENSORS - this is an error - so just errors...

All error reports are from the previous attempt of uploading. So there is legacy.


UPLOAD errors are activated and should be there...The error codes are in global.h in SRC.