element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Operating 6 led's independently
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 8 replies
  • Subscribers 393 subscribers
  • Views 425 views
  • Users 0 members are here
Related

Operating 6 led's independently

Former Member
Former Member over 10 years ago

Can I pull the ATMega328p out of my Arduino Uno, put a new mega328 in the Uno, down load the Arduino software again, upload the led sketch, and then solder the mega328 to my project board?

After many hours of trying to get an ATtiny861a to work, and searching for another chip with 6 outputs, I don't know what else to do.

Thanks

Stan

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 10 years ago +1 verified
    Hi Stan, Yes this is a possibility. Make sure you get an AT 328 that has a bootloader installed or you will have to make another step and install it yourself. Of course you will have to provide power and…
  • jw0752
    0 jw0752 over 10 years ago

    Hi Stan,

    Yes this is a possibility. Make sure you get an AT 328 that has a bootloader installed or you will have to make another step and install it yourself. Of course you will have to provide power and a 16mHz crystal for the breadboarded  AT 328.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to jw0752

    Thanks John.

    I just ordered a pre-loaded chip from Adafruit.

    Also found they have led strings that can be programed like what I have been trying to do for the last few weeks

    with single lead's. LOL

    The experience has been lots of frustration, but lots of fun!

    I would still like to learn the extra step it takes to install the bootloader myself.

    Just not today........

    Thanks again John.

    Stan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago in reply to Former Member

    Hi Stanley,

    Sounds good. Let me know as I had to do it once, accidently ordered blank AT328s, and I still have the procedure around here somewhere. Good luck on your project.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to jw0752

    Hello John,

    I'm still thinking about my first attempt at using a blank ATtiny861a.

    I think my trouble started with all the how to, youtube videos on the subject.

    Below is what I tried to burn to the 1Mhz 861tiny chip first, before knew about boot loaders. (I didn't write it.)

    It didn't work so tried another one for 8Mhz. Then I tried the boot loader. Then I started over and went through it all again.

    Would this render the 861 unusable.

     

     

    attiny861at1.name=ATtiny861 @ 1 MHz  (internal oscillator; BOD disabled)

    attiny861at1.upload.using=arduino:arduinoisp

    attiny861at1.upload.maximum_size=8192

    # Default clock (slowly rising power; long delay to clock; 1 MHz internal)

    # Int. RC Osc. 8 MHz divided by 8; Start-up time PWRDWN/RESET: 6 CK/14 CK + 64 ms; [CKSEL=0010 SUT=10]; default value

    # Brown-out detection disabled; [BODLEVEL=111]

    attiny861at1.bootloader.low_fuses=0x62

    attiny861at1.bootloader.high_fuses=0xDF

    attiny861at1.bootloader.extended_fuses=0xFF

    attiny861at1.bootloader.path=empty

    attiny861at1.bootloader.file=empty861at8.hex

    attiny861at1.build.mcu=attiny861

    attiny861at1.build.f_cpu=1000000L

    attiny861at1.build.core=tiny

    attiny861at1.build.variant=tinyX61

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago in reply to Former Member

    Hi Stanley,

    As long as you did not apply too much voltage to the Tiny or improper polarity it is unlikely that any damage was done to the chip. If it did not accept programming then more than likely something in the procedure was not correct. I personally have not used the Tiny so perhaps one of the excellent engineers on the site may help us out with a clear programming procedure.

    John 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago in reply to jw0752

    The tiny I have been using recently was the one built into the Adafruit Trinket controller (5$ ish gets you the board) with USB boot loader, regulator the works and no special programmer required, very handy little board, you do need to have the riht software on the IDE though but that was a simple matter

     

    this was the project : http://www.element14.com/community/groups/arduino/blog/2014/12/24/byob-party-6-introducing-baby-trinket-shhh-she-is-sleeping

     

    sorry but I have yet to try programming my other ATMEGA85s directly

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jw0752
    0 jw0752 over 10 years ago in reply to Robert Peter Oakes

    Hi Peter, You knew I was talking about you. Thanks for the input. At least there are some inexpensive solutions for Stanley.

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to jw0752

    John,

    Finally have the  board soldered together and the lights working great.

    Now just needs to be mounted on the quad.

    I ended up using a mega328 preloaded with the boot loader.

    I give up trying to use the tiny861. Probably going to throw them away.

    Thanks to all of you for your help with this.

    Stan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube