Tips on how to use an ardunio

I am planning to get an Arduino soon, and I was wondering if any one have any tips in learning it or how to preserve it so it doesn't just stop working.

  1. 2 weeks ago
    Anonymous

    >how to preserve it so it doesn't just stop working.
    are you a retard?
    don't short VCC to GND
    don't short pins (input or output) to VCC or GND, use resistors
    use resistors for LEDs

    >tips in learning it
    -2. learn C and C++
    -1. learn low level memory management, C-strings, pointers
    0. install Linux
    1. install Arduino IDE
    2. program some sample things
    3. ???
    4. PROFIT!

    • 2 weeks ago
      Anonymous

      >Install Linux
      It's a microcontroller not a SBC

      • 2 weeks ago
        Anonymous

        He clearly meant installing Linux on the computer you're working from. It's good advice in general for writing software.

    • 2 weeks ago
      Anonymous

      >don't short pins (input or output) to VCC or GND
      you can short input pins to vcc/gnd
      input pins have high impedence. just dont short them to voltages higher than vcc (or lower than gnd)

  2. 2 weeks ago
    Anonymous

    LULZ has a general for stuff like this, and they're nicer

    • 2 weeks ago
      Anonymous

      I like the harshness its more real you know what I mean

      • 2 weeks ago
        Anonymous

        but Ill ask them next thou

  3. 2 weeks ago
    Anonymous

    Use platformIO
    platformio.org

  4. 2 weeks ago
    Anonymous

    Don't plug it in with a coin over the diodes and you should be fine, did this once with my esp32 and it expeled the magic smoke, somehow it still works.

    • 2 weeks ago
      Anonymous

      >magic smoke
      >it still works
      is this the power that you're bestowed upon once you become a wizard?

      • 2 weeks ago
        Anonymous

        yes, but you have to make sure you breathe in the magic smoke or else your chance goes away

    • 2 weeks ago
      Anonymous

      > Realizes that you're not supposed to let the smoke out
      Impressive.

      • 2 weeks ago
        Anonymous
  5. 2 weeks ago
    Anonymous

    you won't learn anything from it you blinking led homosexual

  6. 2 weeks ago
    Anonymous

    chinese uno ripoffs are perfect for 99% of uses of an arduino and cost next to nothing. you can get big ass arduino kits with lots of other stuff you can put on a breadboard and experiment with for very cheap these days.

    get a big 'arduino kit' from aliexpress and 1-2 extra arduinos (all ripoffs not originals) and fuck around with those.

    here's the manual for a kit whose early version i bought many years ago
    https://learn.sparkfun.com/tutorials/sparkfun-inventors-kit-experiment-guide---v41

    if you finish all the projects it gives you you can get into other controllers like esp32 (has wifi and can host webpages , can input camera feeds, shit like that)

    • 2 weeks ago
      Anonymous

      i recently got one after not touching them for years since i got a kit to control servo motors with an arduino ,same sort of motors you have on a 3d printer, theyre much stronger than i expected.

      i wanna use em to build some general purpose tilt pan/turret thing for fucking around mostly

    • 2 weeks ago
      Anonymous

      >chinese uno ripoffs are perfect for 99% of uses of an arduino
      Pretty much this. The one time I had one that was just fucked it didn't matter because it cost nothing I buy a bundle for the same prices as one actual arduino.

  7. 2 weeks ago
    Anonymous

    just fucking play with it and buy another if you manage to break it (impossible)

    The only thing you should be scared off is that you do nothing with it, thus learn nothing.

  8. 2 weeks ago
    Anonymous

    Don't do too many uploads. These allegedly have a life span of 10k writes. The clones have a lot less, but maybe I was just unlucky.

    The smaller version, Arduino Nano, might be better. For one Uno you can get 3 Nanos. You can use the Nano on a breadboard so much less jumpers needed.

    • 2 weeks ago
      Anonymous

      >Don't do too many uploads. These allegedly have a life span of 10k writes. The clones have a lot less, but maybe I was just unlucky.
      eh who cares, those things are dirt cheap

  9. 2 weeks ago
    Anonymous

    I would recommending using VSC over the default sketch app
    more complicated to setup but not by much, and it's more noob friendly than sketch

  10. 2 weeks ago
    Anonymous

    >how to preserve it so it doesn't just stop working
    Treat it like a lady and take it out to dinner every now and then.
    Tell it it's performing particularly well when they're having a rough day.
    Cuddle it sometimes.
    I do all of this and not once has any Arduino given up on me.

  11. 2 weeks ago
    Anonymous

    >how to preserve it so it doesn't just stop working.
    >what the fuck is an anti-static bag?

  12. 2 weeks ago
    Anonymous

    >don't short pins (input or output) to VCC or GND, use resistors
    check the datasheet for maximum current at any pin, normally something like 20/40mA
    some people have an idea this means the pin will only supply 20mA, it actually means you can very easily draw more than 20mA but it will harm the silicon, the more it happens and the further over the limit you go the worse it gets and once you start it off it gets worse by itself too until the circuit inside shorts onto something else and its fucked.
    but really arduino is dogshit aids, the software for dev is unusable garbage its an awful compromise between a simple notepad with highlighting and a full env and gets absolutely nothing right and im sure its made in java (looks like it is anyway)
    the hardware is also awful and all the bay area startups that sell you a 2$ ic on a breakout board for 10x markup are demonic lizard entities.
    if you want to learn anything, get any other platform.
    if you have zero brain, have too much money, and cant follow wiring diagrams, only pictorials, can't write code can only import libraries, arduino is perfect for you
    inb4 gcc support
    the serial console is useful but its not worth bypassing learning anything at all about embedded ic lifecycle, programming, registers, fuses etc.
    then again with stuff like esp and raspizero (LOL) embedded as it was in its prime (90s-10s) is pretty much dead

  13. 2 weeks ago
    Anonymous

    before the thread close wanted to say thank everyone for the advice

  14. 2 weeks ago
    Anonymous

    one time i plugged an attiny85 the wrong way into my DIY programmer
    nothing happened to it

  15. 2 weeks ago
    Anonymous

    If you don't already have a stash of arduinos, I highly recommend getting a Raspberry Pi Pico instead (or at least as well). Similar price, far more powerful in every way, and compatible with the arduino ecosystem if you still want to use that.

    • 2 weeks ago
      Anonymous

      Or just any ARM Cortex M0, the RasPi version is probably going to be the most prieciest.
      Also, the Arduino UNO is just a generic ATmega328P, it's not programmed with "C alike" it's programmed with straight C the Arduino IDE repurposes for you.
      If you skip void setup() and void loop() and just use int main(), the Arduino IDE becomes nothing more than an interface to upload C code to an ATmega328P.

    • 2 weeks ago
      Anonymous

      Main problem with the Pico is there are way less libraries for it compared to Arduino and most of the libraries are in Python. You can't really take advantage of the higher specs when the common language used for it is Python.

      • 2 weeks ago
        Anonymous

        Arduino runs on Picos, so you can use Arduino libraries (except for the few that specifically target AVRs and don't support other MCUs)

  16. 2 weeks ago
    Anonymous

    Get the big packages that have motors, wires, sensors and a lot of other shit in them. They're dirt cheap and you can reuse all of it for future project.
    Then, move on to esp32 that are cheaper and do the same job.

  17. 2 weeks ago
    Anonymous

    You can either buy the whole development kit or just buy the individual parts. Either way, you will need the board itself (doesnt have to be uno. nano will be fine), a bread board, some male to male jumpers, some leds, some resistors and some capacitors. In case of nano or similar boards you will most likely need to solder the pins manually, so in this case consider getting a decent soldering station (would recommend OSS T12X) and some solder (get one with lead. solder without one sucks).

    As long as you will not short certain pins and use proper resistors, you should be fine. If you need any additional modules, just order them separately. Good luck and have fun!

    • 2 weeks ago
      Anonymous

      Also, make sure to check the voltage on that soldering station, since it might output 90V , which we dont want ( its a common factory fault). You can fix it with a piece of ground wire connected internally.

  18. 2 weeks ago
    Anonymous

    Yay or nay?

    • 2 weeks ago
      Anonymous

      I'm considering using one for a project. I wonder if the supposed low perf/$ of risc is actually because of the hardware or if it's the low quality compilers? I haven't actually looked into that too much but I do know most C compilers output terrible riscv code.

      • 2 weeks ago
        Anonymous

        It kinda makes sense that risc would be slower since it might need a lot of cycles to do something that other chips have specialized instructions to do instantly.
        But afaik no one has made a high power riscv chip yet for comparison

        • 2 weeks ago
          Anonymous

          That's not really how modern CISC work, instead they use microcode over a pretty small instruction set. The cycle count should be about the same on that basis.

        • 2 weeks ago
          Anonymous

          Compared to what? ARM micros?

Your email address will not be published. Required fields are marked *