#181

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024
  • A small development board for the ATTiny13 (and ATTiny85) for initial R&D.
    FIVE PCBs for $5 www.pcbway.com
    *Free face masks* can be redeemed for our customers, we are here with PCBWayers.
    www.pcbway.com...
    PCBWay UPDATE: Good news that orders for PCB, SMT and Stencil with all options are acceptable now. Now PCB orders can basically achieve 1 days for prototype and 4-5 days
    for small batches.
    All this information plus more (pictures, prices, code, links etc) in my GitHub:
    github.com/Ral...
    I discovered this *small microcontroller development board* on Banggood (link below, available elsewhere too, eg Amazon, AlieXpress) and was impressed at how easy it was to use as well as being so very useful.
    So useful, in fact, that *I bought another**, removed the ATTiny13 chip and **soldered on an ATTiny85* chip in its place! Fantastic!
    Now, instead of having to get out a breadboard and struggle to get various components placed on it with umpteen DuPont cables I just whip out this board and **start uploading code immediately**.
    *ATTiny13 Dev Board* $7.66
    www.banggood.c...
    *USBASP programmer* for all Arduinos, product link $2.66
    www.banggood.c...
    USBasp (libusbk) *Windows Driver* by Thomas Fischl
    including circuit diagram and full instructions
    www.fischl.de/...
    *10 Pin To 6 Pin Adapter* Board Connector For Arduino connection $1.41
    www.banggood.c...
    All this information plus more (pictures, prices, code, links etc) in my GitHub:
    github.com/Ral...
    #### OTHER STUFF mentioned in the video
    Nerd Ralph's amazing touch Switch code for ATTiny13/85 in just 40 bytes
    github.com/ner...
    My *amended code* of Nerd Ralph's in my GitHub (**momentary action** instead of toggle)
    github.com/Ral...
    Original Arduino playground *Touch Sensor*
    playground.ard...
    *Sergiy Gryb's reworked on/off ATTiny85/13 code*
    ShaggyDog18 Single-Smart-Button-PowerOnOff-control
    github.com/Sha...
    Also add link to previous video
    Nerd Ralph *PICO core* (work in progress)
    github.com/ner...
    List of all my videos
    (Special thanks to Michael Kurt Vogel for compiling this)
    bit.ly/RUclipsV...
    If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey
    My channel, GitHub and blog are here:
    ------------------------------------------------------------------
    / ralphbacon
    ralphbacon.blog
    github.com/Ral...
    ------------------------------------------------------------------
    All this information plus more (pictures, prices, code, links etc) in my GitHub:
    github.com/Ral...

Комментарии • 153

  • @flemmingchristiansen2462
    @flemmingchristiansen2462 4 года назад +2

    Good to hear from you, seems that you are getting over your pneumonia well. Sorry to hear your appointment got canceled , I will keep supporting your channel the best I can. I hope you get your eyes sorted soon, for a guy like you, and whose who follow you, it must be frustrating to lose your eyesight and not being able to do what you like.
    The ATTiny boards is a good find,and good to know about the accessories, might get me some of those.
    I was planning to keep this short and easy on your eye, I didn't succeed well. 😜
    Until next time.

    • @RalphBacon
      @RalphBacon  4 года назад

      I was discharged by the consultant at the hospital yesterday, Flemming, my pneumonia has gone! Just a couple of blood tests for my liver to go. Trying to get my eye sorted out privately now, it seems everyone else has had the same idea. Ho hum.

  • @tomgeorge3726
    @tomgeorge3726 4 года назад +1

    Hi Ralph, take your time mate, there is lots of content for myself and others to browse on your channel.
    I like the ATtiny projects..👍👍👍👍

    • @RalphBacon
      @RalphBacon  4 года назад

      Yes, they are nice chips, Tom. I might get an ATTiny84 (more pins) soon and ensure it runs as expected (ie like an ATTiny85).

  • @vonries
    @vonries 4 года назад +4

    Don't worry my friend, we have all turned on notifications by ringing the bell. You can't hide.
    Take care of yourself! Don't over stress your eyes(either the good or the bad). It's not worth it. Besides we have to stick around, you have us as your extended RUclips family. You can't get rid of family, no matter how hard you try sometimes. Besides your the good part of our extended family we want to keep you Ralph!
    I still like the idea of your board, because it was so easy to take the tiny## out after we were done shook we could add it to our projects. Keep healthy, don't worry about your loyal audience, and fine someone to pamper you(good luck with the last one).

    • @RalphBacon
      @RalphBacon  4 года назад

      Thanks for your concern and good wishes, Steven. I might be doing further videos on the _new_ ATTiny range in the future. It's all go!

  • @Ilikeridin
    @Ilikeridin 4 года назад +3

    Another excellent video. I’m yet to use an ATtiny but I do have plans for an led project with one. The board will make life easier in the prototype phase, as you said.
    Hopefully all appointment will be rescheduled in the not to distant future.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      I'm afraid the appointments have no resume date, I'd be surprised if I get it seen to this year now. But in the meantime do play with this board (or the other one on Aliexpress that has a DIP socket. I've one on order to see if it's the same.

    • @Ilikeridin
      @Ilikeridin 4 года назад

      Ralph S Bacon that is a massive shame. Sorry to hear that, Ralph. I’ll have a look for the other board.

  • @stevehallam0850
    @stevehallam0850 4 года назад +2

    Stick with it Ralph, do what you can and stay safe and well.

    • @RalphBacon
      @RalphBacon  4 года назад

      Will do, Steve, thanks for the support.

  • @ronen124
    @ronen124 4 года назад +2

    hi Ralph thanks for your efforts showing us your ideas 👍😄🛠

    • @RalphBacon
      @RalphBacon  4 года назад

      You are most welcome, Ronen!

  • @RalphDoncaster
    @RalphDoncaster 4 года назад +2

    The t13 and t85 are both available in .15" wide JEDEC SOIC and .208" wide EIAJ
    packages. The part numbers ending in SU are the bigger EIAJ version, and SSU is for the smaller SOIC. (see the "Ordering Information" section of the datasheet)

    • @RalphBacon
      @RalphBacon  4 года назад +1

      The part numbers are so confusing, Ralph. I tried to get the wider bodied ATTiny13 from both LCSC and RS Components with no luck. Then I got confused over the SU vs SSU sizes.
      Hence why my Stop/Start/Kill PCB got the narrow bodied ATTiny13 outline, which is tight squeeze for the ATTiny85 (as you saw in the video) but it is very doable. I will have a look around for the SU ATTiny13s, thanks for the explanation (I knew you would know).

  • @Tsnafu
    @Tsnafu 4 года назад +4

    Hello Ralph, I'm pleased to get any content from you, but if you'd like a suggestion for vids to make without close in work?
    I still class myself pretty much as beginner, I understand what the various components are and what they do but I don't really know how the various components were picked, I just follow instructions e.g. I can understand why a certain capacitance was used when it is being used as a timer or as a filter but beyond that I have no clue. I know the difference between NPN and PNP transistors but not the differences between the various PNP (or NPN) transistors, so I would welcome vids that discussed these choices and how the decision to use one over another was made.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Good suggestions, Snafu, and aligns well with my declared aim of getting beginners up to speed. I shall most definitely bear this in mind, thanks for the idea (which I will now claim all as my own!!!).

  • @gregwmanning
    @gregwmanning 4 года назад +1

    Gday Ralph, From Aust I immediately thought of you when I heard the BBC news report that mentioned all British operations were stopping. Mate you are cetainly getting the rough end of the pineapple. I hope your operation's delay does not affect your longterm full recovery. I'll patiently await all your videos.
    All the best Greg

    • @RalphBacon
      @RalphBacon  4 года назад

      This is all uncharted territory, Greg, for us all. I did think of doing some very short (max 15 min) videos on Arduino electronics fundamentals. We shall see.

  • @SergiyGryb
    @SergiyGryb 4 года назад +1

    Hi Ralph! Thank you so much for sharing link to my Single-Smart-Button-PowerOnOff-control code!
    I am very pleased! :-)

    • @RalphBacon
      @RalphBacon  4 года назад +1

      My pleasure, Sergiy, I will be trying out your code soon.

  • @MYNICEEV
    @MYNICEEV 4 года назад +4

    RALPH. PLEASE PLEASE DON'T WORRY ABOUT YOUR SCHEDULE. WE WILL BE HERE WAITING. EVEN IF WE DON'T GET AN UPLOAD FROM YOU FOR MONTHS. AS LONG AS YT DOESN'T UNSUBSCRIBE US, WE WILL BE NOTIFIED YOU HAVE UPLOADED. WE WILL THEN RUSH OVER HERE TO SEE WHAT YOU ARE DOING FOR US. MANY THANKS MY FRIEND. ALSO WOULD ONE OF THOSE FLIPDOWN/UP MAGNIFYING ATTACHMENTS TO YOUR GLASSES HELP? REMEMBER. WE ARE HERE. YOU JUST TAKE IT EASY.

    • @RalphBacon
      @RalphBacon  4 года назад

      I have one of those flip up/down sets and they worked for a while but no longer, my vision is not good enough. But several fires are in the iron, so stay tuned!

  • @michaelhyde9971
    @michaelhyde9971 4 года назад +1

    Thanks for all the hard work. Best of luck stay safe.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Thanks MIchael, keep tuned!

  • @fredflintstone1
    @fredflintstone1 4 года назад +1

    Great video, sorry that you were pushed back on the op, but glad you are doing well and keep up the great videos, as we all stay locked in it is good to watch your vids

    • @RalphBacon
      @RalphBacon  4 года назад

      I have a captive audience, Fred! Stay tuned!

    • @fredflintstone1
      @fredflintstone1 4 года назад

      @@RalphBacon well at least 1 :-)

  • @MrJozza65
    @MrJozza65 4 года назад

    Thanks for keeping up the content Ralph, sorry to hear your treatment has been postponed. No worries if there is no or little content in the next few months, I think we all have other things to concentrate on at the moment anyway, and it's good to be able to go over some of your older videos for projects that I have been meaning to do for some time. Perhaps with more time at home I might even get around to doing some of them now!

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Yes, do those projects! Now is the time! Well, go on, stop reading this and start project-ing!

  • @bipolarchemist
    @bipolarchemist 4 года назад

    Glad that you are back in good health. The times, they are crazy and I feel your pain on non-essential surgeries/procedures being canceled. For us here in the Seattle area, it looks like May 18th is the tentative date that things might go back to normal but I'm not holding my breath. Do what you can, when you can, and we'll be here, most of us probably starving for any sort of outside stimulus to keep the brain cells healthy and functional.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      It might be May 18th, but which *year* that is the question! I'm not holding my breath either. I'll see what I can do on the video front.

  • @programmingtips404
    @programmingtips404 3 года назад

    Thanks so much for putting this together! You are so helpful!

  • @jjab99
    @jjab99 4 года назад +1

    So sorry to hear about your op being cancelled, but hopefully this crappy virus will get sorted out sooner rather than later and you can get back up and running again. Don't worry, we will be here waiting for your videos once you are well enough to make them.
    Stay safe and have fun,
    Joe

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Thanks, JOe, stay tuned though, as I have a Plan B.

  • @Hasitier
    @Hasitier 4 года назад +1

    Thanks for the Video Ralph. Bad that they do not surge your eyes now but we all can understand that the car owners are more critical now. I’m sure you will find some projects that do not need such good eyesight. If I have an idea I’ll let you know. And no: we won’t run away from your channel if you skip one or another fridays video.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Good to know that you will still be there, Michael.And yes, I will find something to tell you all about. I still have my phone charger to complete.

  • @crazyg74
    @crazyg74 9 месяцев назад

    I bought a 'stick' of ATTiny13s years ago, without knowing their very modest capabilities. They were only about 20c each though, so why not!
    Eventually, I managed to make use of some of them as a hardware watchdog, running alongside various ESP8266 projects. I couldn't do what I wanted using pure Arduino code, so I had to do some googling and write it in assembly language. Obviously, a slightly 'bigger' chip is still cheap, but there's a lot of satisfaction that comes with making something out of almost nothing. :-)

    • @RalphBacon
      @RalphBacon  9 месяцев назад

      And if you were working in a commercial environment, your boss could well insist on using the cheaper ATTiny13 to save those 5 cents on each chip! When you're producing hundreds of thousands, if not millions, of products it can really add up!

  • @SpeccyMan
    @SpeccyMan 4 года назад +1

    I have a couple of these little blue dev boards myself but mine have 12F675 PIC microcontrollers on them. Yes, I'm a glutton for punishment and occasionally I play with the PIC instead of AVR. As for your situation just stick to what you can do whenever you can do it. We fully understand. The world has decided to go mad for the time being and we're all having to endure changes to our normal routines - even those of us who really hate change.

    • @RalphBacon
      @RalphBacon  4 года назад

      Did you replace the ATTiny13 chip with a PIC chip or did they come like that? As you know, I used to play with PICs too (see www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.Articles, first two articles) but I find the Arduino (and related) chips much better supported (or perhaps I just like them better!). Stay tuned, Nick, I have some video ideas now.

    • @SpeccyMan
      @SpeccyMan 4 года назад

      @@RalphBacon They came with the PIC and as 8 pin DIL (socketed) and not the surface mount variety so I can replace them with either a 12F629 or a 12F683 if I so wish. Like this i.ebayimg.com/images/g/iDQAAOSw44BYLVjt/s-l640.jpg I usually code for them using Great Cow BASIC as PIC assembler is a pain, all that bank switching nonsense!

  • @OsoPolarClone
    @OsoPolarClone 4 года назад +1

    I’ll be glad to see your videos when you are able to produce them. Get well soon.

    • @RalphBacon
      @RalphBacon  4 года назад

      Cheers, Bruce, fingers crossed.

  • @JuanPab521
    @JuanPab521 Год назад

    Hi Ralph
    In the latest version of this development board, the Attiny13 is inserted in a socket. You can easily exchange the Attiny13 for an Attiny85, if necessary.

    • @RalphBacon
      @RalphBacon  Год назад

      Yes, indeed, that is progress!

  • @techman2471
    @techman2471 4 года назад +1

    Ralph, we will bear with you as all of us love your videos. Stay safe and healthy. have you thought about doing projects with ATTiny 261/461/861?

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Not until I read another comment here about UPDI (Universal Programmer and Debugger Interface) and the fact this was required for the newer ATTiny series. Stay tuned, David.
      www.technoblogy.com/show?2OJT)

  • @superdau
    @superdau 4 года назад +2

    I doubt you can use an USB-to-serial converter to program the tiny (unless you use some software bitbanging upload protocol, that's highly dependent on the converter chip used). The USPASP "speaks" the native programing protocol of AVRs, USB-to-serial converters need the Arduino bootloader.
    Btw. it's well worth getting multiple of the USBASPs including the adapter. You can use one to update the firmware on another (it's just an AVR after all). And for some projects, where you don't have a 6- or 10-pin header on the board, but connect the programming wires one by one, it saves a lot of hassle when you can just leave one connected until the end of the project and not have to reconnect every time you programmed some other board in between.

    • @RalphBacon
      @RalphBacon  4 года назад +3

      Oh dear. You are correct. Without a *bootloader* it won't be possible to upload code with a standard FTDI USB-to-Serial device.
      Most ATTiny85s don't have a bootloader pre-installed either, so you would have to install one using the ICSP method (which I've described many, many times!). I'm not even sure an ATTiny13 has enough room for a bootloader, let alone that and a sketch too.
      Personally, I never use a bootloader on either of these chips, memory is too precious, and I upload using the ICSP pins (from an Arduino programmer or dedicated programmer).
      My mini ATTiny13/85 breadboard friendly PCB with built in 6-pin header shows this quite clearly. Ho hum. Let's hope everyone gets a USBASP then! Thanks for alerting me to my faux pas.

    • @Roy_Tellason
      @Roy_Tellason 4 года назад

      Does this mean that the other adapters shown wouldn't work? Will the one shown work under linux, does anybody know? I'm bothered by it wanting to run its own software, there...

  • @TheEmbeddedHobbyist
    @TheEmbeddedHobbyist 4 года назад +1

    Keep them comming as and when. Currently fighting with a 8 digit dispaly, which is part serial and part parallel. 8 digits, 7rows * 5 columns per digit. you need to shift in a complete 8 digit row, then cycle through the 5 columes. Arduino debugging with serial is throwing all sorts of delays in the serial data stream to the display. Even just having a serial.begin in the code buggers the timing. having to use a 8bit logic analyser to try and see whats going on. Your video was a nice break thanks.

    • @RalphBacon
      @RalphBacon  4 года назад

      Part serial, part parallel. How boring. Let's jazz it up a bit and have some parts updated OTA via bluetooth, some via WiFi (authenticated, obviously) and the rest by ESP. That's when you _really_ have a challenge!!! Good luck with that project, sounds like you won't be bored any time soon (even without the stuff I suggested).

    • @TheEmbeddedHobbyist
      @TheEmbeddedHobbyist 4 года назад

      @@RalphBacon Well got the display to work, now i got a new issue. The display draw an average current of 400mA's or so. So it's getting too hot to touch!! :( looks like i'm going to need a heatsink if i want to run them for more than a few min's. Who thought that they would need to so much power just to read them in sunlight. it was the reason that we never finished the project we were going to use them on. there must have been 20 or more displays and you needed gloves to press the button. Good in bright sunlight, but shit hot, the LCD;s we tried good in bright sunlight but stopped working when it got cold. happy days. Got an ESP32 maybe that need to be interface to it next to control the fans. :)

  • @bostedtap8399
    @bostedtap8399 4 года назад

    Great vlog as per normal, always great info and photography.
    Post new videos on your timeframe, for me it takes several weeks to understand each post, ref as a newbie 🤔.
    Thanks for sharing and stay safe all.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Glad you liked it and I have some new ideas for videos!

    • @bostedtap8399
      @bostedtap8399 4 года назад

      @@RalphBacon Thank you for replying, quality is better than quantity, no rush. Stay safe all.

  • @McTroyd
    @McTroyd 4 года назад +1

    Thanks for the video! If someone were looking to do a lot of ATTiny13/etc. development, that ~$8 would be well worth the money, it seems. (I make my own coffee anyhow!) Sorry to hear about your appointment. I do hope the human malware blows over quickly (and with as few casualties as possible).

    • @RalphBacon
      @RalphBacon  4 года назад +1

      I think it is a nice board, agreed, Ted. I'm looking at getting my eye done privately but it seems I am not the only one thinking of this solution.

    • @McTroyd
      @McTroyd 4 года назад +1

      @@RalphBacon Best of luck in any case! Here's hoping neither side of this conversation sees enough demand to completely overwhelm health care....

  • @BogdanSerban
    @BogdanSerban 4 года назад

    I too was excited about the attiny chips until I discovered stm8 microcontrollers. It's amazing what you can get for $1, you've got timers with any prescaler value, complementary outputs, deadtime, i2c, uart and even can. You should try them, atmega chips will seem childish compared to them.

    • @RalphBacon
      @RalphBacon  4 года назад

      You may have seen my STM32F103C videos, very capable. I've not used the STM8 chips, however, But watch the video when it comes out and you can compare!

  • @gavinsmalley1513
    @gavinsmalley1513 4 года назад +1

    Disappointing news about the op Mr B. I hope you'll be high on the list when things begin to settle down a bit.
    Absolutely no worries about content, impressed you've carried on weekly this long! I'm subscribed and have that bell ticked so whenever you return I'll be back to watch.
    In the interim, maybe there is scope for videos without code or demonstrations? Maybe something like a journey through the projects you've built and a discussion about which have stood the test of time and which ultimately same to nothing (we all have those!) or how you'd change them after using them for a while. Just talk and maybe the little whiteboard needed. Or possibly a walk through the list of projects you'd like to do if you had the time/resources. It's fascinating to hear what others have done and would like to do.

    • @RalphBacon
      @RalphBacon  4 года назад

      Er, slightly confused here, Gavin, you wrote "[projects] which ultimately same to nothing". I don't understand that sentence at all. I'm thinking of doing some short (10-15mins), basic videos for real beginners, on say Transistors, Capacitors and other components, Ohms Law etc. Might be useful. What say you?

    • @gavinsmalley1513
      @gavinsmalley1513 4 года назад

      @@RalphBacon Sorry the "same" was a typo. It should have read projects which "came" to nothing. Those black holes we sometimes go down that seem like a good idea at the time but end up being too difficult to make or too cumbersome to use or don't receive wife/husband/Benny approval.
      Definitely with you on the idea of a basics series. It never ceases to amaze me on the forums and Reddit how many Arduinites have little or no understanding of electronics.

  • @cheetahkid
    @cheetahkid 4 года назад

    About the hospital appointment, mine too been cancelled, it is for my neurosurgery test on my memory. I will hang onto you too. My eyesight is getting worst as well, it just my age (almost same age as Julian...) .

    • @RalphBacon
      @RalphBacon  4 года назад

      I don't think Julian is _that_ old, early 60s maybe? Anyway, I'm disappointed for you, too, about the cancelled appointment. We can but wait now.

    • @cheetahkid
      @cheetahkid 4 года назад

      @@RalphBaconHe is slightly older than me within a year, I'm 58, I might retire early because of my health and aware of the CV.

  • @TheWareek
    @TheWareek 4 года назад +1

    you may have mentioned it else were but what are those white feet on the boards called. will wait patently for your next video. they are worth the wait.

    • @RalphBacon
      @RalphBacon  4 года назад

      They came with the board, but of course can be used in other boards too. Jannie is correct, Nylon Standoffs sounds right. You can get push-in (like these), screw in and self-adhesive ones. I've only ever seen and used square feet ones but these are smaller, round feet, so maybe AliExpress might be a good place to search for them.

    • @UpcycleElectronics
      @UpcycleElectronics 4 года назад +1

      I ordered these awhile back:
      US $1.49 | 50pcs Rohs Nylon Plastic Reverse PCB Board Circuit Support Spacer Pillar Standoff for Hole Dia. 4.5-5.0mm
      a.aliexpress.com/_d6kAqm9
      ...those are more solid for use as bench stands.
      I also got several different varieties of standoff's from the same seller. This one:
      a.aliexpress.com/_dUGIvHn
      ...is similar to the one Ralph had here. They come in sizes ranging from 3mm to 18mm. This measurement is the distance between the first panel clip set and the second (where the board connects). I have the 5mm and 18mm sizes. The 5mm is good for separating a single sided through hole board from an enclosure surface. The 18mm is long enough to clear most small through hole components on both sides of a board. This is also a good way to line up flush mounted female Dupont headers on the bottom of a board, if you get the right size.
      The seller also has some options that match the distance of a standard Dupont male/female stack, with end to end board clips. These are handy for projects that use a display module like the 1602's. IIRC I got the 13mm version of these:
      a.aliexpress.com/_dTYY1o5
      ...for that purpose, but measure your stuff to be sure.
      Links are not affiliated or anything. Just something I ordered and paid for.
      -Jake

    • @TheWareek
      @TheWareek 4 года назад

      @@RalphBacon thanks for that ebay can be tricky some times you know what you want but if you dont have the right name you keep coming up with the wrong stuff. thatnks for the help

  • @adabill295
    @adabill295 4 года назад

    Another great video. My eyes aren't what they used to be either. As others suggested, talk about when and why you would use various electronic parts. ALSO... I'm very interested in your Smart Charger. I manually keep trying to catch it at 85 to 90% charge, usually unsuccessful. If you have it ready, or at least almost ready PLEASE make a video. I've been holding off buying the BLE boards until you decide on which is best 05 or 06!

    • @RalphBacon
      @RalphBacon  4 года назад

      I hear you, Bill. My phone charger is doing great. Get both an HC06 and an HC05, they are cheap enough. HC05 gives you an additional feature (not essential but useful). Maybe I should do this next video... Anyway, yes, the videos of why/when/how we use various components could be done, and ideal for beginners. Hmmm, there is hope yet then!

    • @adabill295
      @adabill295 4 года назад

      @@RalphBacon Thanks for the quick response. I have ordered 2 of each from Banggood. Should be here in a couple weeks. I tried to get to your BLOG on the Battery Protector and it asked me for Protected Postage Password! Whats Up?

  • @newburypi
    @newburypi 4 года назад

    I'm not going anywhere :) Particularly can't now, due to stay-at-home orders :( At least I'm getting some coding/testing time 👍
    Here's to you getting your procedure, sooner than later. Not sure want I'd do under such circumstances.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      I'm trying the private sector, Dale, to see if I can it done that way. Trouble is, everyone else has thought of that too.

  • @Ed19601
    @Ed19601 4 года назад

    Lovely chips. 2 old loves of mine. Still trying to implement i2c on the 13

    • @RalphBacon
      @RalphBacon  4 года назад

      I2C on the Tiny13 - did you see my video #82 on I2C and SPi on the ATTiny85? Would the same code work (fit into memory) on the ATTiny13? Also, check out Ralph Doncaster's GitHub/Website he has great ideas for the small chips.

    • @Ed19601
      @Ed19601 4 года назад

      @@RalphBacon thanks Ralph, i have done many i2c projects on the 85 already but the 13 is a different ballgame. No native i2c so i need to go bit banging. Have done a bit already but lack time
      I ll make sure to check out Doncaster' s web site

  • @davidcarroll1891
    @davidcarroll1891 4 года назад +3

    Hey Ralph, Why don't you look for an intern to help you (for free)? Maybe a college student or high school (US term) student? You could offer some free mentoring since you have loads of practical experience - and it would look great on their resume.

    • @RalphBacon
      @RalphBacon  4 года назад

      I've got a feeling that no-one wants to be in that close a proximity with anyone else, right now, David, and my workshop is compact! But it's a great idea for when the restrictions get relaxed a bit. I shall bear in mind.

  • @wires4auto
    @wires4auto 4 года назад

    Hello Ralph, long time fan 3years in April actually 😳 I plan on it been a lot more 😉 no one minds waiting for you to upload content. We all get a "buzz" when we see new content from yourself.
    I would love a development board for the tiny85 so much faph when trying to move chips from programmer to breadboard 😩. Not sure I would pay that tho 🤔 mite if I am in isolation for a long time.
    If that happens I have 34,543 projects that mite get finished or attempted 😝.
    Keep safe good sir and will see you in the future

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Just 34,543, Gordon? I think you underestimate how many you have! I have some ideas for videos, so keep tuned.

  • @skriptico
    @skriptico 4 года назад +1

    lovly board, not free but u can bring it to camping and code by a bonfire at nite :) u just bring a couple of pots.

    • @RalphBacon
      @RalphBacon  4 года назад

      Why not, you should not be tied to a PC to code your Arduino!

  • @ElieWar
    @ElieWar 4 года назад +1

    Thank you

    • @RalphBacon
      @RalphBacon  4 года назад

      You're most welcome, Elie.

  • @RoterFruchtZwerg
    @RoterFruchtZwerg 4 года назад

    Be aware that most cheap 5V/3V selectable USB-UART converters only switch VCC, not logic levels. May be also the case for some programmers...

    • @RalphBacon
      @RalphBacon  4 года назад

      Yes, good point, always best to double check with a multimeter.

  • @jeffortne3862
    @jeffortne3862 4 года назад

    Ralph, really enjoying your educating me now, especially since we all suddenly have time on our hands to learn properly so we'll make the best of it :) I noticed that you appear to be using a different IDE other than the official one, and it appears really useful. Could you share what it is? Thanks, and be well!

    • @RalphBacon
      @RalphBacon  4 года назад

      It's Eclipse, Jef, the Sloeber version:
      eclipse.baeyens.it/
      The new Arduino IDE is also built using Eclipse so it won't be too different from this.

    • @jeffortne3862
      @jeffortne3862 4 года назад

      @@RalphBacon Thanks for the prompt answer! Looks really functional to work in, especially when you have multiple things going at once. I've toyed with the Pro IDE but have found enough bugs to put me off at least for now. Wasn't happy with VSCode/Platform I/O and the Java issues with the standard IDE have left me stuck at 1.8.10, and even it is still buggy with High DPI displays. Love to know how it goes for you, and me thinks me gonna try it ...

    • @RalphBacon
      @RalphBacon  4 года назад +1

      It's what I have used for the past 3-4 years, Jef, so I guess I find it pretty good. Bit of a pain on one upgrade where every single project had to be manually updated but, hey, I now know more about Eclipse/Sloeber.
      When you install it, and it goes without error, you are safe. It's when things go wrong that you wish you hadn't started it!
      And, just to be clear, I don't offer any support because I don't advocate users using it unless they are confident (and competent) in fixing it themselves (or Googling the answer). Sounds harsh but I could do 6 videos on this and still not cover all bases! If you have a go, good luck!

  • @a-job7276
    @a-job7276 4 года назад

    I recomend "Dark Reader" addon for the web browser. It is to have the dark mode on the web you visit. With the exception of some websites that already have them like RUclips and some more.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      I've just installed it, Aj. I like it. It's all dark and eye soothing. Thank you so much!

  • @oncledan8509
    @oncledan8509 4 года назад

    Good Day, Ralph.
    Great video and great subject, as always. Your efforts making these are greatly appreciated, for sure.
    I'll catch you on private mail. I just thought of something you could probably help me with.
    Have a great day and see you later, my Friend !

    • @RalphBacon
      @RalphBacon  4 года назад

      Good to hear from you Daniel, I'll keep an eye out for your email.

  • @7skies246
    @7skies246 4 года назад

    I have an arduino Uno which i need to burn bootloader onto, How could i use an Attiny85 board (lilytiny attiny85) as master to do it?

    • @RalphBacon
      @RalphBacon  4 года назад

      I'm not sure how you would do it without looking into it in much more detail. Can you not use a Nano or another UNO to do this? Load up the ISP sketch onto that device and connect 4 wires plus power to the one you want to burn a bootloader to. Theoretically, the Tiny85 has enough pins but I'm not sure the the sketch to burn a bootloader to another device will run on it.

  • @waltmetcalf5354
    @waltmetcalf5354 4 года назад

    Hi Ralph they make one with an 8pin socket also.

    • @RalphBacon
      @RalphBacon  4 года назад

      I've just been reminded by Scott that this was the case, Walt, in his link (I missed that difference) and have one on order to see if an ATTiny85 can also fit into that socket.

    • @Roy_Tellason
      @Roy_Tellason 4 года назад

      I was wondering if it were possible to fit an 8-pin socket on that board so that you could just plug chips in...

  • @alexandrosachilleas7162
    @alexandrosachilleas7162 8 месяцев назад

    SOS please help. Hello friends. I designed a program with my Arduino to run a 5 to 9v dc motor forward, stops and backwards for a few seconds. Then stops and waits for sensor again. The code was put into an IC ...the AtTiny85 to shrink the project. Here are the component's...9vdc battery, .i used a sensor to detect motion as input. Im using a LM7805 (100 nf electrolytic cap at input and 0.1 nf ceramic cap at output) regulator to reduce voltage to supply IC with 5vdc so it can go into program. The outputs of the program are .. light up an LED ( with a 200 omhs resistor) and start the motor by giving signal to small MX1616 Motor Driver. Also , during this operation, the system can be shut if a Microswitch is pressed. MY PROBLEM: the code, and this system works perfectly on breadboard. But when i solder it on card...it works for a few minutes and the motor starts spinning only fwd non stop AND ITS LIKE THE SYSTEM DOES NOT GO INTO PROGRAM FROM THE ATTINY85 or not enough current to start it. Everything (sensor, driver, motor) takes power from the 9v battery , only the AtTiny85 is supplied with regulated 5vdc but that input to the regulator also comes from 9v battery. Could my capacitors be the problem? Is 100 nf too much at that input and dissipates all the energy?? Should i also separate the grounds of the circuit. The 9vdc circuit and the AtTiny85 circuit SHARE the same grounds. Thank you

    • @RalphBacon
      @RalphBacon  7 месяцев назад +1

      Are you sure your 9v battery is capable of supplying enough current for the entire project? It's not usual to do this (unless you 9v battery is huge).

    • @alexandrosachilleas7162
      @alexandrosachilleas7162 7 месяцев назад

      @@RalphBacon Hi Ralph. Thanks for the reply. Yes it does enough current for the whole project. I restarted another soldered card and now works fine. I reduced my entry ceramic capacitor to 0.33uf as spécified in the LM7805 datasheet. I think my problem was a bad soldering connection..... on the IC or anything else. It was very hard to figure it out. But I did the mirror trick and bought a smaller soldering point...was careful on flux. Circuit is working fine now and goes into program. Question still remains... Is it ok to share different DC voltage grounds back to source? Or keep them separate?

    • @RalphBacon
      @RalphBacon  7 месяцев назад +1

      All grounds, for all parts of the circuit, should be COMMON (or shared, as you put it). Known as a common ground. But the positive rails can (and should) be completely and entirely separated.

  • @JerryEricsson
    @JerryEricsson 4 года назад

    I can't believe what this virus thing is doing to us, world wide. I hope the doom say'rs are wrong, but I fear they may be right. Being a relatively old fart, I worry for our future. Luck with your projects and I hope this virus dies off quickly so you can have your operation. My daughter must go for surgery on a torn ligament on Monday, she is worried about the whole trip since she must go to a distant city for the operation, and while there are no cases near us, there are up there. Thanks for the video's we need them to keep give us something to look forward to every week.

    • @RalphBacon
      @RalphBacon  4 года назад

      I wish your daughter good luck. She should confirm on the day, if possible, that it is still going ahead to avoid a wasted trip. Crazy times, Jerry, that's for sure. I mean, they are now rationing loo roll at our supermarkets, all the pubs (bars), clubs, gyms are closed. Where will it all end?

  • @johncrawford1242
    @johncrawford1242 4 года назад

    I am sure that all of your viewers are disapointed about the delay you have in getting your OP, I also now have to suffer not being able to go down to the pub on a Friday evening, BUT not getting our regular Ralph video is going too far! We need to sort this virus out dam quick.

    • @RalphBacon
      @RalphBacon  4 года назад

      Fear not John.
      Firstly, I am trying the private eye clinic sector to see if I can get in that way.
      Secondly, several viewers have suggested and requested videos on the how/why/when of Arduino-related electronics. I am considering it as a short (15 mins max) series of videos.

  • @daviddoidge1252
    @daviddoidge1252 4 года назад

    Take care of yourself Ralph

    • @RalphBacon
      @RalphBacon  4 года назад

      I'll try, David, thanks for posting.

  • @seditiousmonkeyart
    @seditiousmonkeyart 4 года назад

    Hello from Australia Ralph. Disappointing news about the op. I'm glad you are doing these videos on the ATtiny chip. I've been looking into better ways to program and debug them and came across UPDI (Unified Programming and Debugging Interface. This allows two way communication with a single USB dongle, and it will be neccessary if you want to use the newly released upgrade chips (www.technoblogy.com/show?2OCH). Also fould this nice USB programming stick (www.technoblogy.com/show?2OJT). I look forward to your feedback and hope to see a video or two on it.
    Keep well and I hope you get a rescheduled appointment soon.

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Well, well. UPDI. Another something for me to investigate. NIce article too with access to the PCB files (or via PCBWay). I shall look into this, Adrian, it looks very interesting, thanks for the idea and the links.

  • @TheUnofficialMaker
    @TheUnofficialMaker 4 года назад

    i thought I smelled a custom pcb here!

    • @RalphBacon
      @RalphBacon  4 года назад

      Oh yes, I haven't done a PCB in a while and my sponsors are keen too!

  • @georgestewart5879
    @georgestewart5879 4 года назад

    Sorry to hear your op has been cancelled Ralph. Aa to your videos, just come on and talk about some thing that interests you, as I'm sure it will interest us. Stay safe and well.

    • @RalphBacon
      @RalphBacon  4 года назад

      I'm trying the private eye surgery sector now, George, but it seems everyone else has had the same idea. Yes, I'm considering a different type of video, going forward. Keep tuned!

  • @andymouse
    @andymouse 4 года назад +1

    Bad news on the appointment old chap, make as many as you can comfortably and stiff upper lip !

    • @RalphBacon
      @RalphBacon  4 года назад +1

      Many have requested and suggested a beginners video series on how/why/when which I might do, as I now have a captive audience! What to you think, Andy? 15 mins *max* per video on a specific electronics/Arduino topic? Eg why do we need caps, transistors, protection diodes and so forth.

    • @andymouse
      @andymouse 4 года назад

      @@RalphBacon that sounds like a great idea Ralph, yeah " Bacon Bites " explanations on the basics, perhaps small snippets of code with little breadboard examples, as you say just quarter hour, maybe pick a module like an INA current module or perhaps the MAX6675 temp module and so on. There are loads of cheap modules out there to do or as you say transistors and caps, i think that would be very well received.

    • @seditiousmonkeyart
      @seditiousmonkeyart 4 года назад

      @@RalphBacon : Take a look at learnelectronics classic circuits. I have learned a lot from them and they are a good format. Or maybe a follow-along project where you do a short video on each stage and we build it as you go. We could then share our projects fails and successes.

    • @RalphBacon
      @RalphBacon  4 года назад

      All great ideas, we shall see what I end up with!

  • @PauloAlcobia
    @PauloAlcobia 28 дней назад

    The c and c++ compiler is just bloatware in most tiny applications, assembly is better for this.

    • @RalphBacon
      @RalphBacon  27 дней назад

      A bit harsh, bloatware! Certainly writing code in assembler might result in a tight bit of code, but how many developers know assembler (well enough)?
      And, to be fair to modern compilers, they create some pretty tight code, especially if some of the compiler optimisations are used.
      Like most things in life, it's always horses 🐎 for courses.

    • @PauloAlcobia
      @PauloAlcobia 27 дней назад

      ​@@RalphBacon Oh sorry Ralph, I was not trying to be harsh in any way, and I'm not saying C and C++ are bad, I use them too and Rust as well. it makes my life easier in most cases. I was just talking about the 40 bytes of effective code from *Pico Core* Ralph turning into 106 bytes generated by the compiler. Which is about a 265% increase in code size. In assembly it's even less than 40 bytes. I understand that assembly has a certain reputation but in tiny microcontrollers it allows us to fit a lot more in a low-cost chip, but maybe it only makes sense in high volume production where cost a problem.

  • @greyhnd001
    @greyhnd001 4 года назад

    When you can get a ardunio nano for a dollar why not just use that. This thing cost too much for what it is.Clip the pins or dont even use a pinned version and a nano is thin enough to go alot of places.

    • @RalphBacon
      @RalphBacon  4 года назад

      I can't get a Nano for $1! I can get the 328P (or even the 168) chip used in the Nano for less but not the full blown board, with USB-to-Serial converter and PCB and everything. Funnily enough, my fridge alarm (from whence this whole ATTiny13 topic stems) has been running on a Nano for some years (see videos #41/#42). The challenge for video #177 was whether I could replicate all the functionality in a Tiny13. And, then I found this development board which would have been ideal whilst I did that challenge (and still use it now) albeit with an ATTiny85! So that's the raison d'etre for this video and board!

    • @unacceptableonanon2655
      @unacceptableonanon2655 4 года назад

      As I understand it, getting a Nano to emulate any kind of HID is more painful. Keyboard.h is not compatible with atmega328p. It works with attiny and atmega32u4 tho.

  • @TuttleScott
    @TuttleScott 4 года назад +2

    channels that put out tons of crap content are the ones I unsubscribe from. its not a problem if you're slow.

    • @RalphBacon
      @RalphBacon  4 года назад

      Sorry to see you go Scott. Before you do, I'd appreciate why you think I put out "tons of crap content", given my current eyesight limitation?

    • @TuttleScott
      @TuttleScott 4 года назад

      @@RalphBacon I didnt, you really do need glasses! :) I was referring to any channel in general I would unsubscribe from, not yours.

    • @RalphBacon
      @RalphBacon  4 года назад

      Well, that's a relief, I'm so glad you're still here. 😃 (I couldn't possibly comment about other channels, but I know what you mean)