diff --git a/docs/Electronics Production.md b/docs/Electronics Production.md index 75e83d7240c21e7641e9af1f52d7e34c75616a79..5b063d22f24d29a42a1c988e102847d2813bb988 100644 --- a/docs/Electronics Production.md +++ b/docs/Electronics Production.md @@ -169,14 +169,101 @@ This solved the error. I reinstalled Homebrew.  Next, install brew tap + <code> + brew tap osx-cross/avr + </code>  -Install '''brew install binutils''' +Install- brew install binutils + <code> + brew install binutils + </code>  -Install brew avr-gcc +brew install gcc + <code> + brew install gcc + </code>  + + <code> + brew tap osx-cross/avr && brew install avr-gcc + </code> + + <code> + Brew install avrdude + </code>  -Quit terminal, reopen a new window and check the version and make file + +Quit terminal, reopen a new window and check the version + <code> + avr-gcc --version + </code> + <code> + make -v + </code> to ensure that make command is working  + +Firmware source code: +Extract the zip, and then using terminal +change directory to where the file needs to be saved and run +<code>make</code> + + + +A file called *fts_firmware.hex* will be created + + +Steps to activate the programmer: + +1. Plug in a programmer using a compatible USB adaptor port and the ribbon cable like so + + +Making sure, the ribbon cable is in the correct orientation + + +Run <code>make flash</code> + + +Run <code>make fuses</code> + +Now, I need ensure that my Mac recognizes my FabISP. In About this Mac > System Report > Hardware > USB, check that the ISP is visible + + +Run <code>make rstdisbl</code> to disable reset, It will blow the rest fuse. After Doing this step I will not be able to program my FabISP with another ISP programmer once the rest fuse is burned. + + +Now the FabISP is a programmer. + +Steps to burn bootloader: +Before using the programmer, the board needs to be prepared using Arduino IDE. + +1. Update Arduino IDE to the latest version [from the website](https://www.arduino.cc/en/software). + +2. Connect my board with FabISP using a ribbon connecter. Make sure the laptop recognizes USBtinyISP. + +3. In Arduino IDE preferences > settings > additional board managers URLs, add *https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json*, click OK + + +4. Open tools > board > boards manager, and search for ATTInyCore library and install. + + +5. Now in tools > board:, options of ATTiny Microcontrollers should be visible + + +6. Again in Tools > Processor: select ATtiny44 + + +7. Select clock > external 20 MHz + + +8. And Programmer: USBtinyISP + + +9. Then Sketch > Upload using programmer + + +10. Tools > Burn bootloader + +Now the board is ready to use as a programmer. diff --git a/docs/Final Project.md b/docs/Final Project.md index eeebc6bc003329c9b3790fad5c81d59c92391a2c..eb4839b0a93d98382974fb3291e84330448ef7c9 100644 --- a/docs/Final Project.md +++ b/docs/Final Project.md @@ -144,3 +144,7 @@ https://create.arduino.cc/projecthub/dymonxd/diy-grow-led-light-designing-a-bett </p><br /><br /><br /><br /><br /><br /><br /><br /> <p><br><br><a href=â€https://skunkology.com/how-does-hydroponics-work-infographics/†target=â€_blankâ€><img src=â€https://skunkology.com/wp-content/uploads/2017/10/How-does-hydroponics-work.jpg†alt=â€How does hydroponics work? – Infographics†border=â€0″ width=â€550″ /></a><br><span style=â€font-size: 14px;â€>(via <a href=â€https://www.skunkology.com/â€>Skunkology.com</a>).</span><br><br><br></p><br /><br /><br /><br /><br /><br /><br /><br /> <p> + + +Weather station : https://create.arduino.cc/projecthub/herolivechannel/weather-station-arduino-dht11-sensor-oled-display-2f8e50 +DHT11 and OLED display diff --git a/docs/images/ep/additional.boards.manager.jpg b/docs/images/ep/additional.boards.manager.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3bb112063b199eb907f0e5d35ed7a9170c356cbe Binary files /dev/null and b/docs/images/ep/additional.boards.manager.jpg differ diff --git a/docs/images/ep/attinycore.jpg b/docs/images/ep/attinycore.jpg new file mode 100644 index 0000000000000000000000000000000000000000..42dcb610e5d3c00cc4dd747ddbf7c7a2a438d769 Binary files /dev/null and b/docs/images/ep/attinycore.jpg differ diff --git a/docs/images/ep/board.jpg b/docs/images/ep/board.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a1590b41bc8a0bb2f4318011d729009173d39ebf Binary files /dev/null and b/docs/images/ep/board.jpg differ diff --git a/docs/images/ep/cd.make.jpg b/docs/images/ep/cd.make.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9218747887e5f655e7b0a4dfee4541f973fb55f3 Binary files /dev/null and b/docs/images/ep/cd.make.jpg differ diff --git a/docs/images/ep/clock.jpg b/docs/images/ep/clock.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c8f6eb0efdcfbd9f8e23e24f585df4cd37ef2c84 Binary files /dev/null and b/docs/images/ep/clock.jpg differ diff --git a/docs/images/ep/connection.JPG b/docs/images/ep/connection.JPG new file mode 100644 index 0000000000000000000000000000000000000000..aabc4c7f6b457c41a5d0502927e1e45f9fff7083 Binary files /dev/null and b/docs/images/ep/connection.JPG differ diff --git a/docs/images/ep/file.jpg b/docs/images/ep/file.jpg new file mode 100644 index 0000000000000000000000000000000000000000..522e2b789fd2ecb56ddc9562574ab4a15c6944ea Binary files /dev/null and b/docs/images/ep/file.jpg differ diff --git a/docs/images/ep/hexfile.jpg b/docs/images/ep/hexfile.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b0ca061fb4ce4adc0f70b6b9078ae85e98a0d039 Binary files /dev/null and b/docs/images/ep/hexfile.jpg differ diff --git a/docs/images/ep/make.flash.jpg b/docs/images/ep/make.flash.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bb105bb8a0dc521e7d63978ea609b2b834190465 Binary files /dev/null and b/docs/images/ep/make.flash.jpg differ diff --git a/docs/images/ep/processor.jpg b/docs/images/ep/processor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..441ff4fe478781bf2700526c872a28837a1de5b2 Binary files /dev/null and b/docs/images/ep/processor.jpg differ diff --git a/docs/images/ep/programmer.jpg b/docs/images/ep/programmer.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a8d4f9eb82817f199d8ff45356220af61e9baaf2 Binary files /dev/null and b/docs/images/ep/programmer.jpg differ diff --git a/docs/images/ep/ribbon.jpg b/docs/images/ep/ribbon.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4512486962bd81e30ce53b1e010345dcd20eb415 Binary files /dev/null and b/docs/images/ep/ribbon.jpg differ diff --git a/docs/images/ep/rstdisbl.jpg b/docs/images/ep/rstdisbl.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4723a27b682a9061214ef91e7f4619d323ba584a Binary files /dev/null and b/docs/images/ep/rstdisbl.jpg differ diff --git a/docs/images/ep/system.report.jpg b/docs/images/ep/system.report.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c988d71411c843ea05885a5868bcedb6d04421c2 Binary files /dev/null and b/docs/images/ep/system.report.jpg differ diff --git a/docs/images/ep/upload.jpg b/docs/images/ep/upload.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b6281aca9c1a3b50aafb8594c1bcdedf3740fbce Binary files /dev/null and b/docs/images/ep/upload.jpg differ