Difference between revisions of "Training 041024"
Line 51: | Line 51: | ||
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. | 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... | ||
+ | |||
+ | UPLOAD errors are activated and should be there...The error codes are in global.h in SRC. |
Revision as of 00:25, 4 October 2024
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...
UPLOAD errors are activated and should be there...The error codes are in global.h in SRC.