Getting Started with the tinyAVR 1-series Microcontroller

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024

ความคิดเห็น • 177

  • @jeremiefaucher-goulet3365
    @jeremiefaucher-goulet3365 3 ปีที่แล้ว +42

    Getting pretty good at the Dave Jones impersonation 👍

    • @pablorjimenezjr
      @pablorjimenezjr 3 ปีที่แล้ว +6

      It was pretty dead on! Totally pictured Dave there.

    • @JuniorJunison
      @JuniorJunison 3 ปีที่แล้ว

      Now all he's missing is the crocodile dundee knife lol!

  • @Dredderick
    @Dredderick 3 ปีที่แล้ว +22

    I like your references to Steve1989. I watch his videos from time to time just to hear him say "Let's get this out on a tray...NICE!"

    • @NatesRandomVideo
      @NatesRandomVideo 3 ปีที่แล้ว +1

      That one surprised me. And I liked it! LOL

  • @ferrumignis
    @ferrumignis 3 ปีที่แล้ว +29

    A proper 8 bit DAC is an amazing feature for such a small micro, ordered a few to play with.

  • @xp8969
    @xp8969 3 ปีที่แล้ว +12

    Honestly, I never have a clue what Ben is talking about or doing when it comes to any of the tech stuff he works on but he's still one of my favorite TH-camrs just because of his personality, been subscribed for nearly a year now and I watch most of his vids just for his sense of humor and all the random hysterical things he says while he's working

  • @kadlerio
    @kadlerio 3 ปีที่แล้ว +8

    I have to say Atmel Start seems pretty cool. Nice way to lower the learning curve and get people started with all the features.
    I also imagine it must have been pretty fun to build it. :)

  • @YoutubeBorkedMyOldHandle_why
    @YoutubeBorkedMyOldHandle_why 3 ปีที่แล้ว +3

    I really appreciate that Ben is not afraid to get his hands dirty, and doesn't assume that we are all 1st graders, because frankly I'm sick to death of seeing 'hello world' and 'blinky' tutorials with no followup.
    On this note, the ATTinys are a great fit, because they kind of force you to use the old grey matter in order to get them to do anything useful.

    • @alejandroperez5368
      @alejandroperez5368 ปีที่แล้ว

      You sure about that? You can use the Arduino framework with them.

  • @chain3519
    @chain3519 3 ปีที่แล้ว +2

    Ben Heck's getting equipment from manufacturers again! This is an absolute win!

  • @MichalKobuszewski
    @MichalKobuszewski 3 ปีที่แล้ว +7

    Interesting! After using AVR's for my first few years in microcontrollers, I grew tired of their limitations and got into STM32, never looked back. If it is a must to solder one without a hot air station, I know there are some STM32s in SO8 and TSSOP14/20 packages, but to be absolutely fair - these particular parts don't contain DACs. But once you get into QFN packaged parts, it's like night and day in performance and peripherals plus they can get really small where it matters. I love that Single Wire Debug works on any STM32 with a $5 dongle I can get from mostly anywhere, Microchip used to price their not-so-great programmer way higher.

    • @herla84
      @herla84 ปีที่แล้ว +1

      Yeah, but STM32 Cube is a piece of buggy crap.

  • @RanHam
    @RanHam 2 ปีที่แล้ว

    I've been bare metal programming the atmega chips for years now. I recently decided to try the stm32 but thought it was a bit complicated for me, so I bought a AVR128DA48 and this video really helped me figure out my way around the infrastructure. Thanks

  • @MikeStavola
    @MikeStavola 3 ปีที่แล้ว +23

    Your Canadian accent is like a mix of Canadian, Irish, and an old Amish man.

    • @ratinthecat
      @ratinthecat 3 ปีที่แล้ว +1

      Is Candian though?
      Edit: Oh, but the Canadian accent part...

    • @IndellableHatesHandles
      @IndellableHatesHandles 3 ปีที่แล้ว +1

      He sounds a bit like me off-camera. I'm from Atlantic Canada.

    • @john_hind
      @john_hind 3 ปีที่แล้ว +3

      I think the only Canadian he's met happened to be a Newfie!

    • @jerther_
      @jerther_ 3 ปีที่แล้ว

      So many accents in Canada... That's one I've never heard.

    • @AQUATICSLIVE
      @AQUATICSLIVE 3 ปีที่แล้ว

      Yep I am from Wisconsin too lots of us pretty mixed together sounding.

  • @exosdel
    @exosdel 3 ปีที่แล้ว +5

    I love this microcontroller videos, great job!

  • @YoutubeBorkedMyOldHandle_why
    @YoutubeBorkedMyOldHandle_why 3 ปีที่แล้ว +1

    It's very expensive watching your videos. Every time I do, I end up buying a whole lot of new stuff. This time I didn't even finish your video before placing another AliExpress order. Thanks Ben ;-)

  • @DouglasFish
    @DouglasFish 3 ปีที่แล้ว

    Between you and Steve Burk, good sleeping material. Information, I learn something, and I rest well at night

  • @BusyElectrons
    @BusyElectrons 3 ปีที่แล้ว

    Thanks for an excellent intro to this microcontroller family. I'm looking forward to your follow-on video(s).

  • @MrDaniellong1970
    @MrDaniellong1970 3 ปีที่แล้ว +2

    Wow... 9 minutes. A new PB!

  • @BobMagana
    @BobMagana 3 ปีที่แล้ว +12

    There better be cooking!

    • @kalimaa999
      @kalimaa999 3 ปีที่แล้ว +2

      Skip @20:21 - @20:27 to avoid hearing rumblings of a lunch eaten, but alas, unfilmed.

  • @HeyBirt
    @HeyBirt 3 ปีที่แล้ว +4

    That's not a sine of life, it is a square wave of life!

    • @23Gears
      @23Gears 3 ปีที่แล้ว

      You took the words out of my mouth 😆

  • @andreaszapfl9776
    @andreaszapfl9776 3 ปีที่แล้ว +13

    "Please don´t get rid of Atmel Studio" :-D

    • @NeoTechni
      @NeoTechni 3 ปีที่แล้ว

      *Atsmell

    • @uwezimmermann5427
      @uwezimmermann5427 3 ปีที่แล้ว

      the latest downloads call it "Microchip studio" - it seems that they intend to keep it around...

  • @uwezimmermann5427
    @uwezimmermann5427 3 ปีที่แล้ว +1

    Your indent style is the only one which should be acceptable!
    Thank's for pointing me to these new devices - I had no idea that they had launched a new series of ATtinys as well. I'll need to get some myself...

    • @uwezimmermann5427
      @uwezimmermann5427 3 ปีที่แล้ว

      since when "do we not have to do this progmem thing" in AVR GCC using Atmel Studio?

  • @BrandonPoulton
    @BrandonPoulton 3 ปีที่แล้ว

    Thanks for the introduction to Culvers! I am now addicted to the fries!

  • @dieSpinnt
    @dieSpinnt 3 ปีที่แล้ว

    8:10 Ben:"We want a division of 0"
    Ariane 5: "What could possibly happen? ... Go on!"
    Thanks for presenting these nice little buggers, Mr. Heck:)

  • @dream0p2131
    @dream0p2131 ปีที่แล้ว

    I probably shouldn't encourage it, but the grandma skit had me rolling.

  • @kalimaa999
    @kalimaa999 3 ปีที่แล้ว +1

    Praise be to Jeebus. Comments keep Ben's algorithm a growin'

  • @Rezigunn
    @Rezigunn 3 ปีที่แล้ว

    100% agree that hunchback is the best disney movie. My all time favorite glad to see ben has good taste

  • @ClericChris
    @ClericChris 3 ปีที่แล้ว

    Would love to see you put that smarmy Aussie in his place and do something with the 3 cent Padauk microcontroller. The world needs to see what someone from America's Canada can do.

  • @yerdyi
    @yerdyi 3 ปีที่แล้ว

    nice to see someone else who uses the microntroller part number when creating a project name

  • @rivards1
    @rivards1 3 ปีที่แล้ว +14

    This was like listening to Charlie Brown's teacher saying "wah-WAH-wah" except with occasional pop culture references. Still interesting though!

    • @dh2032
      @dh2032 3 ปีที่แล้ว

      same here, didn't make any sense, until 48:30 with the Oled Screen

    • @xp8969
      @xp8969 3 ปีที่แล้ว

      Honestly, I never have a clue what Ben is talking about or doing when it comes to any of the tech stuff he works on but he's still one of my favorite TH-camrs just because of his personality, been subscribed for nearly a year now and I watch most of his vids just for his sense of humor and all the random hysterical things he says while he's working

  • @aaronjamt
    @aaronjamt 3 ปีที่แล้ว +1

    17:19 Wait, how do you know my grandma? Did YOU program the chip??? You killed my grandma!!

    • @BenHeckHacks
      @BenHeckHacks  3 ปีที่แล้ว +1

      Hey my grandma didn't die because of a chip failure! The kids chose to pull the plug! (well my mom didn't but she was out voted)

    • @aaronjamt
      @aaronjamt 3 ปีที่แล้ว

      @@BenHeckHacks O.O so... you programmed your kids' brainchips, right? So technically you programmed chips that eventually made the decision...

  • @ky5666
    @ky5666 3 ปีที่แล้ว +3

    50:09 I much prefer datasheets that over explain the shit out of how it works as I have encountered datasheets that don't and it's a true nightmare to figure out.
    Like for example the W5100 Datasheet was not entirely clear that you cannot just set the index to how many bytes you wrote to memory. Instead you must first read the index, send the data starting at that index then add how many bytes you wrote to the index and write it back to the chip. You also have to detect if you have overflowed the page and if so wrap the data accordingly and calculate the index to the end of the page then add the rest of the value to the base page address.

  • @AJMansfield1
    @AJMansfield1 3 ปีที่แล้ว +3

    43:00 Why is the `if (ringBuffer[txPointer]) { transmitByte(); ` portion required for the `uartSend()` function? The datasheet explicitly states that "DREIF is set after a reset to indicate that the Transmitter is ready" in section 24.5.5, so you don't actually need to have ever written to `USART0.TXDATAL` in order for the DRE interrupt to fire. By my reading, just setting `USART0.CTRLA |= USART_DREIE_bm;` _should_ immediately trigger the interrupt to run at that point if appropriate, which already performs that exact check first thing.
    The way this peripheral is meant to be used, you're supposed to just set DREIE any time you add a character to the send buffer, and then just immediately have the ISR pick the character back out of the buffer with zero delay if it's ready to send. And while that does end up shuffling that first character into an intermediate buffer one extra time even though you could've written it directly, that is actually *more efficient* than shuffling around all the data you need to even _check_ whether or not you need to.
    Here's how I'd do it:
    (EDIT: incorporated fix from @Mark S )
    ```
    #define BUF_POWER 5
    #define BUF_SIZE (1

    • @ax13h
      @ax13h 3 ปีที่แล้ว

      As written you've got a race condition in putc. WritePointer will actually load increment and store before ch is writen to the buffer. writePointer++ needs to be on the subsequent line.

    • @AJMansfield1
      @AJMansfield1 3 ปีที่แล้ว

      @@ax13h Oh, good catch. Technically, before C++17 the update to `writePointer` and the write to the buffer were actually just unsequenced (which still isn't good), but yeah, since C++17, `writePointer` gets updated first:
      "17) In a subscript expression E1[E2], every value computation and side-effect of E1 is sequenced before every value computation and side effect of E2"
      (from en.cppreference.com/w/cpp/language/eval_order#:~:text=In%20a%20subscript%20expression )

  • @rfdave3980
    @rfdave3980 3 ปีที่แล้ว

    And the Oscar goes to ... Ben

  • @donpalmera
    @donpalmera 3 ปีที่แล้ว +3

    I heard the this new C89 thing has stuff like preprocessor defines and bit shifts so you don't have to put hand crafted hex values all over the place.

  • @rdxdt
    @rdxdt 3 ปีที่แล้ว +3

    GIMME DA SCOPE, oh wait, wrong channel...

  • @shivambatra8210
    @shivambatra8210 2 ปีที่แล้ว

    Hi, I would love to watch an in-depth guide/tutorial by you on these tinyAVR 1-series MCU's using both Atmel Studio and Atmel Start.
    Thanks for this informative video!

  • @bismuto42_
    @bismuto42_ 3 ปีที่แล้ว

    Thanx i'm a noob on the microcontrollers world and this video is useful

  • @marcbotnope1728
    @marcbotnope1728 3 ปีที่แล้ว +1

    AAAAAA { on the same line as the while... O M G !!! Ben Hack indeed

  • @0LoneTech
    @0LoneTech 3 ปีที่แล้ว +2

    I guess from the praise for UPDI you haven't used debugWire. You could already program using only one wire, though from a quick glance maybe updi is faster. Debugwire wasn't on high end chips, it was on low pin count chips, including the attiny25 you were comparing to.

  • @planker
    @planker 2 ปีที่แล้ว

    Like you, I'm taking a stab at the ATTINY88. Got most of it to work somewhat, Using the Arduino IDE. I haven't tried Micro chip stuff yet. My show stopper so far is no RX/TX functions. Blink works, servos work, ect. . It also has no PORT id, and resets wildly with some Nano sketches.

  • @tengelgeer
    @tengelgeer 3 ปีที่แล้ว +1

    35:38 I like the bracket there :)

  • @nkillick
    @nkillick 3 ปีที่แล้ว +1

    "good artists copy; great artists steal"...Jobs was quoting Pablo Picasso :-)

  • @TeraVoltLabs
    @TeraVoltLabs 3 ปีที่แล้ว +2

    I love the reference at 3:15 ... those who know :)

  • @piratesephiroth
    @piratesephiroth 3 ปีที่แล้ว +2

    dave jones cameo at 28:32

  • @VVerVVurm
    @VVerVVurm 3 ปีที่แล้ว +2

    I read it as Techno-Blog-y

  • @didgeridooblue
    @didgeridooblue 5 หลายเดือนก่อน

    Add an RC high-pass filter to the DAC's out and it will be cleaner.

  • @john_hind
    @john_hind 3 ปีที่แล้ว +1

    At last! A low pin count micro with serial peripherals! Better late than never I suppose? Always puzzled me why they did not do this for making distributed individual sensors or actuators controlled by serial bus. Hook this up to a single microswitch and then wire your machine using I2C, or another serial bus.

  • @ImaginationToForm
    @ImaginationToForm 3 ปีที่แล้ว

    We need a spinoff show. Ben's Grandmama

    • @BenHeckHacks
      @BenHeckHacks  3 ปีที่แล้ว

      I guess we could livestream her grave?

  • @rullywow3834
    @rullywow3834 3 ปีที่แล้ว +1

    “Nice hiss!”

  • @metalpachuramon
    @metalpachuramon 3 ปีที่แล้ว

    Nice Dave Jones impersonation, I hope we get to see a Ben's impersonation 😂

  • @myfireydragon287
    @myfireydragon287 3 ปีที่แล้ว

    Every once in a while I know what he's taking about. It's at those times I feel smart, but two seconds later I'm right back to feeling dumb again.

  • @RP4UXO
    @RP4UXO 3 หลายเดือนก่อน

    A.W.F.U.L.

  • @Vamptonius
    @Vamptonius 3 ปีที่แล้ว

    2:42 - You happen to be the world's foremost rockstar electronicist.

  • @victortorres2080
    @victortorres2080 3 ปีที่แล้ว

    Hi Ben, great video, Master of Microchip ATMEL, you can add other videos of this small and powerful microcontroller, also detail the tools (software and hardware) and codes used to start testing, unfortunately I still do not have the integrated one physically. Greetings.

  • @poptartmcjelly7054
    @poptartmcjelly7054 3 ปีที่แล้ว +1

    what about making an attiny synth?

  • @andrsam3682
    @andrsam3682 3 ปีที่แล้ว +1

    😭😭😭
    I cry, when I see delay() in interrupts

  • @AQUATICSLIVE
    @AQUATICSLIVE 3 ปีที่แล้ว

    This was a fun one always tossing in random stuff fun listen.

    • @xp8969
      @xp8969 3 ปีที่แล้ว

      Honestly, I never have a clue what Ben is talking about or doing when it comes to any of the tech stuff he works on but he's still one of my favorite TH-camrs just because of his personality, been subscribed for nearly a year now and I watch most of his vids just for his sense of humor and all the random hysterical things he says while he's working

  • @victorvodka
    @victorvodka 2 ปีที่แล้ว

    eeeeeeeeeeeeeeeeeeeeeeeeee... I'm with the angels now! lol

  • @MatthewHarrold
    @MatthewHarrold 3 ปีที่แล้ว

    Liked and sub'd, been watching a heck of a time.

  • @heinzkreutziger2218
    @heinzkreutziger2218 6 หลายเดือนก่อน

    Great intro for new ATtiny 1 series. Do you have the code snippets available somewhere?

  • @dinkc64
    @dinkc64 3 ปีที่แล้ว

    nice tip: analogx pcalc (search it, it's free), it lets you put in c expressions for hex/bit manipulation. Other than my gcc, this is the most used tool on my machine. (doesn't contain adware/bulls*, I have no relation to the author whatsoever - but I can imagine he's a great dude!)

  • @strayling1
    @strayling1 3 ปีที่แล้ว +5

    @4:54 that's a square wave of life, not a sine.

    • @deskpro256
      @deskpro256 3 ปีที่แล้ว +1

      Sign of life

  • @justingilmore6417
    @justingilmore6417 3 ปีที่แล้ว

    HAHAHA Sams choice I2C love it!

  • @mfryer100
    @mfryer100 3 ปีที่แล้ว

    Steve1989 reference. Nice.

  • @cheaterman49
    @cheaterman49 3 ปีที่แล้ว

    26:07 We come for the tech, we stay for the silly Disney parodies hahahahaha :-D
    EDIT: 30:55 We also stay for the funny Canadian impressions hahaha, sounds like some sort of Aussie pirate that lived in rural Canada for a few years hahahahaha!

  • @siberx4
    @siberx4 3 ปีที่แล้ว

    4:55 "Looks like we have a sine of life"
    Looks more like a square (wave) of life to me ;)

  • @Ray-ej3jb
    @Ray-ej3jb 3 ปีที่แล้ว +1

    Hi Could you explain and show the programming interface you used -thanks

  • @ninjamaster3453
    @ninjamaster3453 3 ปีที่แล้ว +1

    I got started with atmel

  • @john_hind
    @john_hind 3 ปีที่แล้ว

    Wow! The chips themselves are nice and affordable, but that ATMEL ICE is a bit of a gouge!

    • @kensi170
      @kensi170 ปีที่แล้ว

      have PickKit4

  • @stephanemuller7032
    @stephanemuller7032 2 ปีที่แล้ว

    What's the name of the tool you used at 14:40 to generate the wave signal as an array?
    Great video! I love seeing the process of going through the datasheet and figuring out how the MCU works.

  • @ovalteen4404
    @ovalteen4404 3 ปีที่แล้ว +1

    If you're using the free version of AVR Studio and the GCC compiler, you still have to use PROGMEM 😭

    • @0LoneTech
      @0LoneTech 3 ปีที่แล้ว

      Not on all chips. It's because you need different instructions to read program or data space. Some models have program memory accessible by data instructions.

  • @Jonas_Keunecke
    @Jonas_Keunecke 3 ปีที่แล้ว

    Thanks for the video, I'm not sure if I remember this right, but can't you Ctrl+Click on a variable or define to get to the definition ? Maybe not :)
    It's been a long time but I hope to get back to this kind of stuff soon! I made a little 3 button controller with an ATTiny85 for my monitor which would let you select VGA/DVI/HDMI without going through the menu by simulating button presses. Just as I was about to get the timing perfectly right, I somehow lost the code, but it still works most of the time.

  • @bsmithril
    @bsmithril 3 ปีที่แล้ว

    "I already did a couple tests off camera to make myself look smarter" 😂🤣. And everyone else but they won't admit it.

    • @BenHeckHacks
      @BenHeckHacks  3 ปีที่แล้ว +2

      The first step to being intelligent to is know how dumb you are.

  • @ferencszabo3504
    @ferencszabo3504 3 ปีที่แล้ว

    I hope that the ISA is intact, bastard Microchip...

  • @twobob
    @twobob 2 ปีที่แล้ว

    was the Canadian guy from Ireland? Nice chip

  • @Manderion
    @Manderion 3 ปีที่แล้ว +8

    It is so painful to listen to you, when you have a lump in your throat :-(

  • @Eekieookie
    @Eekieookie 3 ปีที่แล้ว +6

    Guess I'm here early also man this is cool never knew about this

  • @game-f-un-limitedgamer8958
    @game-f-un-limitedgamer8958 3 ปีที่แล้ว +1

    That awkward moment when you do a bunch of calculation live on camera and the answer is 69.

  • @coxsj
    @coxsj 3 ปีที่แล้ว

    RRRripper!! Thx!! ;-)

  • @IndellableHatesHandles
    @IndellableHatesHandles 3 ปีที่แล้ว

    Unfortunately, there is no Linux version of Atmel Studio. There is an Eclipse plugin, but Eclipse has shown itself to be unreliable on my machines.

  • @SodAlmighty
    @SodAlmighty 3 ปีที่แล้ว

    I wasn't aware microcontrollers had so many "pereferals"...

  • @scharkalvin
    @scharkalvin 3 ปีที่แล้ว

    Hey Microchip, if you're going to keep Atmel Studio, please PORT IT TO LINUX!! (Or make it work under WINE). MPLAB IDE may suck at the moment, but at least it runs on Linux.
    You might not have to use 12v programming to recover the reset/updi function if the pin is used for I/O, provided the fuse isn't the ONLY way to get pin io function. Not sure if the pin mux can override the fuses on that one.
    I've started fooling with the atmegaAVR128 series processors. They are similar to the new tiny series (Xmega / ARM CortexM derived).
    BTW Ben, can you put your code from this video up on Github or someplace? I'd like to steal (I mean BORROW) some of it. Thanks!

  • @khatharrmalkavian3306
    @khatharrmalkavian3306 3 ปีที่แล้ว

    I wonder what all those squiggly red lines and dropdown list boxes are about?
    Oh! Another syntax error. How'd that happen?

  • @republique7525
    @republique7525 3 ปีที่แล้ว +1

    Tiny84 and Tiny85 have debugwire IIRC

  • @YoutubeBorkedMyOldHandle_why
    @YoutubeBorkedMyOldHandle_why 3 ปีที่แล้ว

    Quick question:
    I have some ATTiny412 chips. My Atmel Ice from Atmel Studio 7, is reporting 256 bytes of EEPROM. Also, I notice that Ben, using ATTiny212 chips, is getting a reading of 128 Bytes. HOWEVER, the datasheet (© 2019 Microchip Technology Inc.), clearly shows "64/128B EEPROM" respectively for these controllers.
    Anyone know why there is a discrepancy? And what the actual value should be?

    • @BenHeckHacks
      @BenHeckHacks  3 ปีที่แล้ว

      Well there's RAM, flash (the code) and EEPROM. Perhaps you're getting them mixed up?

    • @YoutubeBorkedMyOldHandle_why
      @YoutubeBorkedMyOldHandle_why 3 ปีที่แล้ว

      @@BenHeckHacks Thanks for the response.
      I didn't think that I'd make a mistake like this, so I looked again.
      The ATtiny212/412 datasheet quite clearly states on page 1:
      Memories
      - 2/4KB In-system self-programmable Flash Memory
      - 64/128B EEPROM
      - 128/256B SRAM
      ....
      And for my ATTiny 412s, in the 'Device programmer' window of AtmelStudio7, (read with my Atmel-ICE), the 'Device Information' tab clearly states:
      Flash size: 4k
      EEPROM size: 256 bytes
      SRAM size: 256 bytes
      I'm inclined to believe the datasheet, though I haven't tried programming the "256 bytes" of EEPROM ... maybe I should.

  • @floydfix420
    @floydfix420 3 ปีที่แล้ว

    Winner winner chicken dinner!!!

  • @besotoxicomusic
    @besotoxicomusic 3 ปีที่แล้ว +1

    WoordiZle

  • @jody5661
    @jody5661 3 ปีที่แล้ว

    I'm kind of curious, how much banging your head against the wall trying to figure out weird things do you do? Maybe It wasn't an issue in this project, but what about all of your projects generally speaking? The way you portray your work in video it seems you rarely run into an issue that isn't something you can fix in short order. How often do you spend 15 minutes, 30 minutes, 4 hours trying to figure out why something doesn't work? Maybe that'd be a cool idea for a video.

    • @jody5661
      @jody5661 3 ปีที่แล้ว

      Just to kind of clarify a bit, I'm not talking about coming up with a method on how to complete a project, I'm talking about when you do something that you think should work without an issue but it's not producing the outcome you want. Just a dumb example say you hooked up an 8 pin IC with power on pins four and eight as is common (I could be getting those numbers wrong but I believe I'm not) but it turns out that you're supposed to apply power on say pins one and eight. Again it's a dumb example as I would imagine you would realize that almost instantly but that concept of doing something the way you believe is correct but turns out isn't and you have to go back and figure out why it's not.

    • @BenHeckHacks
      @BenHeckHacks  3 ปีที่แล้ว +3

      Well with this project took me about 45 minutes to realize I was pulling Write Protect wrong. The magic of video editing works wonders! Usually most problems are "dumb problems" like that and I feel like "well there's an hour of my life I won't get back"

  • @JasonPullara
    @JasonPullara 3 ปีที่แล้ว

    hmm I guess I could ask here, but I doubt I'll get a response. Anyone have any idea how I could control a 34v-ish motor from something like a raspberry pi or arduino?

    • @ijaygee1
      @ijaygee1 3 ปีที่แล้ว +1

      Sure, you need an H-Bridge to supply the 34V to the motor and some optocouplers to hook it up to the Pi. You can then use a couple of 3V outputs from the Pi to control the motor direction and, if you use PWM outputs, you can control the speed too.

  • @nguyenthinh6188
    @nguyenthinh6188 3 ปีที่แล้ว

    I dont know why avr 1 series not available in my country, no one buy,no one sell it. Atmega market only for m8,m328p,m128,m2560,t10,t13,t85, ...

  • @JernD
    @JernD 3 ปีที่แล้ว +1

    Me gusta gutsa

  • @rimmersbryggeri
    @rimmersbryggeri 3 ปีที่แล้ว

    Did anybody try the fish?

  • @machmar
    @machmar 3 ปีที่แล้ว

    How did you make it so you have Atmel Studio and not Microchip Studio? My Atmel Studio said "hey! I'm Microchip Studio now".

    • @BenHeckHacks
      @BenHeckHacks  3 ปีที่แล้ว +5

      By the magic of having installed it years ago!

    • @machmar
      @machmar 3 ปีที่แล้ว

      @@BenHeckHacks Oh lol

  • @Shawario
    @Shawario 3 ปีที่แล้ว +1

    hi

  • @demonsty
    @demonsty 3 ปีที่แล้ว +1

    whats a microcontroller?

    • @xp8969
      @xp8969 3 ปีที่แล้ว

      Trump's baby hands

    • @SpektralJo
      @SpektralJo 3 ปีที่แล้ว

      A small computer on a single chip that is designed to be embedded into a system or product

  • @dionelmejia8093
    @dionelmejia8093 3 ปีที่แล้ว +2

    Well I'm not into stuff like this so idk why this was in my TH-cam recommendations lol

  • @McTroyd
    @McTroyd 3 ปีที่แล้ว

    Hmm... 128 bytes RAM and 2K flash... a couple of shift registers, and you've got most of an Atari 2600 console right there... 🤔😁

  • @Jimfowler82
    @Jimfowler82 3 ปีที่แล้ว

    Mix between Indian and Irish (Canadian)

  • @ignatiocabron
    @ignatiocabron 3 ปีที่แล้ว +1

    6

  • @HorochovPL
    @HorochovPL 3 ปีที่แล้ว

    4:48 Nooo! You said You'll use decimal here!

  • @besotoxicomusic
    @besotoxicomusic 3 ปีที่แล้ว

    I’m a master butcher and an amateur comp geek. Still not offended by your appropriate comment.

  • @waltercomunello121
    @waltercomunello121 3 ปีที่แล้ว

    light attracts bugs.