2025 අධ්යයන වර්ෂය සදහා දැන් නවක සිසුන් බදවාගැනේ | Now enrolling new students for the 2025 Academic year !!!
First, open the software platform Arduino, and then click File in Menus and select Preferences.
Arduino මෘදුකාංගය විවෘත කර, ඉන්පසුව මෙනුවලින් "File" තෝරා "Preferences" තෝරන්න.
Second, click on the symbol behind "Additional Boards Manager URLs"
"Additional Boards Manager URLs" යනුවෙන් සඳහන් ස්ථානය පිටුපස ඇති සළකුණ මත ක්ලික් කරන්න.
Third, fill in | පහත URL එක ඇතුළත් කරන්න
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
in the new window, click OK, and click OK on the Preferences window again.
ඊළඟට, "OK" මත ක්ලික් කරන්න. පසුව Preferences හිද "OK" මත ක්ලික් කරන්න.
Fourth, click Tools on the Menu Bar > Board > "Boards Manager".
Menu Bar > Board > "Boards Manager" මත ක්ලික් කරන්න
Fifth, input "Pico" or "raspberry pi" in the window below, and press Enter. click "Install" to install.
"Pico" හෝ "raspberry pi" ලෙස ටයිප් කරන්න, සහ Enter යතුර ඔබන්න. පසුව "Install" බොත්තම ක්ලික් කර ස්ථාපනය කරන්න.
When finishing installation, click Tools in the Menus again and select Board: "Raspberry Pi Pico/RP2040", and then you can see information of Raspberry Pi Pico. Click "Raspberry Pi Pico" so that the Raspberry Pi Pico programming development environment is configured.
ස්ථාපනය අවසන් වූ පසු, නැවත මෙනුවෙන් "Tools" මත ක්ලික් කරන්න. එහිදී "Board: Raspberry Pi Pico/RP2040" තෝරන්න. මෙය තෝරාගත් පසු, "Raspberry Pi Pico" මත ක්ලික් කරන්න.
දැන් Raspberry Pi Pico සදහා වැඩසටහන් සකස් කිරීමට අවශ්ය පරිසරය සකස් වී ඇත.
Connect Servos 1, 2, 3, and 4 to the corresponding port on the robot board, which are GPIO10, GPIO11, GPIO12, and GPIO13 respectively.
Servo 1, 2, 3 සහ 4 යන සර්වෝ මෝටර්වලට අදාලව Robot පුවරුවේ GPIO10, GPIO11, GPIO12 සහ GPIO13 වරායන්ට සම්බන්ධ කරන්න.
LeftLeg 10
LeftFoot 11
RightLeg 12
RightFoot 13
Pay attention to the colors of the cables. Connect the yellow cable to the yellow pin, red to red and brown to black. Do not misalign the cables.
කේබල්වල වර්ණ වලට අවධානය දෙන්න. කහ කේබලය කහ Pin, රතු රතුට, සහ දුඹුරු කේබලය කළු Pin සම්බන්ධ කරන්න. කේබල් මාරු වෙන්න දෙන්න එපා!
Run the servo installation program, and the servos will keep at 90°.
Assemble the servos to the acrylic parts with the black screws in the servo packages.
Make them as close to 90° as possible.
It is acceptable that the angle is in the range of 80 – 100 degrees.
Servo සවිකිරීමේ වැඩසටහන ක්රියාත්මක කරන්න. එවිට Servo මෝටර් 90° තැන්පත් වෙයි.
දැන් servo වලට අයත් කළු බොල්ට් (screws) භාවිතයෙන් ඒවා ඇක්රිලික් කොටස් වලට සවි කරන්න.
Servo Motor 90° ට හැකි ඉක්මනින් ආසන්නව තැබෙන්න උත්සාහ කරන්න.
Ask your Professor on how to properly fix the servos to the acrylic pars, if confused.
Method 1
Open Arduino IDE, click Sketch on Menu bar -> Include Library -> Manage Libraries.
Here need to install following Libraries;
ESP8266Audio
LittleFS_MBed_RP2040
To enable LittleFS data upload for your Raspberry Pi Pico in Arduino IDE 1.8.9, you need to install the appropriate plugin and then follow a specific procedure to upload your data.
1. Install the LittleFS Uploader Plugin:
The standard LittleFS Uploader plugin for Arduino IDE 1.x is typically designed for ESP8266, but a compatible version for Raspberry Pi Pico exists.
Download the plugin: Locate and download the arduino-littlefs-upload plugin for Arduino IDE 1.x. You can often find this on GitHub repositories maintained by the Raspberry Pi Pico Arduino core developers. The file will likely be a .jar file.
Install the plugin:
Navigate to your Arduino IDE's tools folder. This is usually located within your Arduino installation directory (e.g., C:\Program Files (x86)\Arduino\tools on Windows).
Create a new folder named ESP8266LittleFS (or a similar name if specified by the plugin instructions).
Inside this new folder, create another folder named tool.
Place the downloaded .jar file into this tool folder.
Restart Arduino IDE: Close and reopen your Arduino IDE to allow it to recognize the new plugin.
2. Prepare your Sketch and Data:
Create or open a sketch: Open an existing Arduino sketch or create a new one and save it.
Create the data folder:
Go to Sketch > Show Sketch Folder in the Arduino IDE menu. This will open the directory where your sketch is saved.
Inside this sketch folder, create a new folder named data.
Place your files: Put all the files you want to upload to the LittleFS filesystem into this newly created data folder.
3. Upload the Data:
Select your board and port:
Ensure you have the correct "Raspberry Pi Pico" board selected under Tools > Board and the correct COM port selected under Tools > Port.
Close Serial Monitor:
Make sure the Serial Monitor is closed, as it can interfere with the upload process.
Upload the data:
Go to Tools > ESP8266 LittleFS Data Upload (or a similar option name if the plugin uses a different label for Pico).
Monitor the upload:
The IDE's status bar will indicate the progress and completion of the upload.
After the upload is complete, your Raspberry Pi Pico's LittleFS filesystem will contain the files you placed in the data folder. You can then access these files within your sketch using the LittleFS library.