📖
eVOLVER
  • eVOLVER Documentation Wiki
  • General
    • About Us
    • eVOLVER Community
      • Code of Conduct
  • Getting Started
    • Buying eVOLVER
    • Part Sourcing
    • Unboxing and Setting Up
    • Software Installation
      • DPU Installation
      • Electron App (GUI) Installation
    • Configuring Computer and Networking
      • Router Setup
    • Calibrations
      • Temperature Calibration
      • Optical Density Calibration
      • Pump Calibration
      • Manual Calibration - calibrate.py
  • Upgrade Base eVOLVER Hardware
  • Experiments
    • Starting an Experiment
      • Carboy Media Prep
      • Preparing Vials
      • Setup Waste Carboy
      • Sterilizing Lines
      • Loading Vials and Setting Initial Conditions
      • OD Blank
      • GUI Start Guide
      • Command Line Start Guide
      • Cleaning Up After Experiment
    • Growth Curve
    • Chemostat
    • Turbidostat
    • FAQs
    • Tips and Tricks
  • Guides
    • Use the GUI to Control Parameters
    • Building a Smart Sleeve
    • Making media bottles and splitters
    • Emergency Efflux
    • View the Server Log and Restart Server
    • Updating the eVOLVER Server
    • Change Your conf.yml File
    • Arduino Software Installation
    • Raspberry Pi Configuration
    • Command Line Usage
    • Millifluidics Guides
      • Designing Millifluidics Using Eagle
      • Constructing Laser Cut Millifluidics
      • Constructing Millifluidics via SLA Printing
      • Calibrating IPPs
      • Operating Millifluidics
  • Troubleshooting
    • Troubleshooting Overview
    • Experiment Troubleshooting
      • Contamination
      • Vial Overflow, Pump Failure, and Spills
      • Tubing and Connector Blockage and Bursting
    • Optical Density (OD) Readings
    • Vial Troubleshooting
      • Replacing Photodiodes and LEDs
      • Heating Element
      • Stirring
    • Server Troubleshooting
    • Vial Platform Troubleshooting
      • Motherboard Troubleshooting/Replacement
      • 12V Power Supply Troubleshooting/Replacement
    • GUI Troubleshooting
    • eVOLVER Maintenance
  • Hardware
    • Overview of Hardware Architecture
    • Overview of Fluidics
      • Tubing and connectors
      • Peristaltic Pumps
      • Fluidics box
    • Overview of Millifluidics
      • IPPs (Integrated Peristaltic Pumps)
      • Pressure Regulator
    • Vial Caps
      • Universal Vial Cap Construction Guide (Luer Connectors Only)
      • 5 and 7 Port Nylon Tubing Caps Construction Protocol
    • Smart Sleeve
      • Vial Board
      • 🌪️Stirring
      • Temperature
      • Optical Density
        • OD90 vs OD135
    • Motherboard Layout and Circuitry
      • 🌡️Arduino
      • Sensor/Actuator Board Slots
      • Pulse Width Modulation (PWM) Boards
      • Analog-to-Digital Converter (ADC) Boards
    • Raspberry Pi
    • Chassis
    • Light Blocker / Splash Guard
    • Known Issues
  • Software
    • Overview of Software Architecture
    • DPU
      • Calibration
      • custom_script.py
      • Experiment Data Files
      • eVOLVER.py
    • Arduino
    • Server (Raspberry Pi)
      • Calibration Files
      • Configuration Files (conf.yml)
    • Known Issues
  • Extensions
    • Adding A New Experimental Parameter
      • Power Supply
      • Specific Applications
      • Custom Calibration Code
    • Custom Experiments
      • ePACE
        • ATTiny1634 Writing
        • LUX Board Troubleshooting
      • Morbidostat
      • Extractor Column
        • Extractor Volume Maintenance
        • Experiment Start
          • Sterilizing Extractor Fluidics
          • Setting up your experiment
          • Using the extractor script
        • Extractor Analysis
        • Troubleshooting
        • Example protocols
      • Phototroph Growth
        • Setup Phototroph eVOLVER
        • Photo-eVOLVER Smart Sleeves
          • Photo-eVOLVER Smart Sleeve Construction Guide
        • Experiment Guide
    • Custom Fluidics
      • Adding a Third Pump Rack
      • Bubblers / In-Vial Aeration
        • Bubbler Construction Protocol
        • Bubbler Cleaning Protocol
      • Running the slow pumps
    • min-eVOLVER
      • About
      • min-eVOLVER Construction
        • Parts
        • Construction Protocol
      • Fluidics Setup
      • Software Installation and Startup
      • send_command.py
      • Calibrations
      • Starting an Experiment
      • ePACE with min-eVOLVER
        • [v1.1] ePACE with min-eVOLVER
      • Troubleshooting
    • Interfacing with Other Systems
  • Contributing
    • Guidelines for Contribution
    • Reporting a Bug / Hardware Failure
    • Documentation
      • Making a Forum Post
      • How to Edit the Wiki
    • Software Development
    • Hardware Development
Powered by GitBook
On this page
  • AVRDUDE and AVR-gcc
  • Follow instructions here:
  • Pin layout Arduino to ATtiny1634
  • Burning ATtiny1634
  • On the terminal
  • Alternative guide? or ATTiny as an arduino?

Was this helpful?

Edit on GitHub
Export as PDF
  1. Extensions
  2. Custom Experiments
  3. ePACE

ATTiny1634 Writing

PreviousePACENextLUX Board Troubleshooting

Last updated 2 years ago

Was this helpful?

For upgrading an Arduino so that it can program another microcontroller

AVRDUDE and AVR-gcc

Follow instructions here:

Tried to upload blink to Arduino Uno and got this error

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x58

Had to remove all wires going to Arduino ports and unplug usb before it would upload

Pin layout Arduino to ATtiny1634

Map of controller pins in on the microcontroller

Burning ATtiny1634

Load up ArduinoISP (in the Arduino IDE examples) onto the programmer Arduino

Download C code for ATtiny from here:

On the terminal

Navigate to the folder containing ATtiny code (lightsense.c)

Run commands:

avr-gcc -g -Os -mmcu=attiny1634 -c lightsense.c avr-gcc -g -mmcu=attiny1634 -o lightsense.elf lightsense.o avr-objcopy -j .text -j .data -O ihex lightsense.elf lightsense.hex avrdude -p t1634 -P <Your Arduino Port> -c arduino -b 19200 -U flash:w:lightsense.hex -v -v -v -v

Replace <Your Arduino Port> with the port used by your Arduino (found in IDE under Tools>Port)

avrdude -p t1634 -P COM9 -c arduino -b 19200 -U flash:w:lightsense.hex -v -v -v -v

avr-gcc -g -Os -mmcu=attiny1634 -c LEDblink.c avr-gcc -g -mmcu=attiny1634 -o LEDblink.elf LEDblink.o avr-objcopy -j .text -j .data -O ihex LEDblink.elf LEDblink.hex avrdude -p t1634 -P COM9 -c arduino -b 19200 -U flash:w:LEDblink.hex -v -v -v -v

Alternative guide? or ATTiny as an arduino?

From <>

https://www.arduino.cc/en/Tutorial/BuiltInExamples/ArduinoISP
https://github.com/FYNCH-BIO/evolver-arduino/tree/master/ATtiny1634
https://github.com/FYNCH-BIO/evolver-arduino/tree/master/ATtiny1634
https://github.com/SpenceKonde/ATTinyCore
https://www.arduino.cc/en/Tutorial/BuiltInExamples/ArduinoISP
https://github.com/FYNCH-BIO/evolver-arduino/blob/master/ATtiny1634/lightsense.c
https://blog.zakkemble.net/avr-gcc-builds/