𓁟 host1.bitchan.one

Here we discuss microcontrollers (MCUs), single board computers (SBCs), and their accessories, such as Atmel mega and tiny AVRs (Arduinos), PICs, ARM boards such as blue/black pill STM32, ESP8266/32s, RP2040, Raspberry Pi, and others. For general electronics questions (power supplies, level shifting, motor driving, etc.) please ask /ohm/. >where can I find verified quality microcontrollers and other electronic sensors or parts digikey.com mouser.com arrow.com newark.com >but that's too expensive aliexpress.com (many parts here are fake, particularly specific parts out of stock in the above sites) lcsc.com >I need a part that does X and Y, with Z specifications. How can I find it? use DigiKey's or Octopart's parametric part search. Then purchase from one of the sellers listed above. >how do I get started with microcontrollers, where should I start? There is no defined starting point, grab a book and start reading or buy an arduino off ebay/amazon and start messing around. There are a plethora of examples online to get started. >resources: https://github.com/kitspace/awesome-electronics >RISC-V microcontroller list: https://codeberg.org/20-100/Awesome_RISC-V/raw/branch/master/RISC-V_MCU_development_boards.pdf

⧖expiring ~28d0/25 kept2d ago

𓀐 @p~KvvCyw

⏱ 1w 👍 0

⬆ upvote 0

[⇥] sort oldest ⏱
filter [-]
𓀐 @Y?vAX8Zo: Idk. The fact that Arduino anything has become a standard is nothing but a hindrance. >bootloaders >using any programming interface that doesn't also allow for debugging >paying for programming hardware on each dev-board >UART printf debugging >dumbed down and non-performant programming abstractions >fuses being an afterthought And somehow they managed to release a dev-board with a socketed microcontroller, while having a native USB microcontroller on that same board explicitly to act as a programmer, while still requiring a bootloader on the socketed microcontroller. What the fuck?+ 1

⬆ upvote 0↩ reply 1

𓀐 @tGZti8yu: Is the CH32V003 still the top choice for a dirt cheap microcontroller, with decent hobbyist-tier support? People still say it's 10 cents, but I'm finding at least double the price in most places (for 2 to 3 digit quantities). I've seen passing mention of a few other chips in the years since but don't know if any have seen wide adoption.+

⬆ upvote 0↩ reply 0

𓀐 @ph*isWrS: Hey I’ve been googling my way through arduino projects this whole time anyhow. Now it’s just faster. I think there’s still a lot of room to use your discretion to write efficient code, minimising clock cycles and/or memory usage, where the AIs trained on pajeetcode need to be really coached into doing so. Max this out by going to assembly language, or just specialising in an obscure architecture or subdomain. Perhaps getting the most out of the Parallax Propellor, or learning a specific RTOS, or going for state machine bullshit. End-game is VDHL or whatever.+

⬆ upvote 0↩ reply 0

𓀐 @XR*vXEfZ: What's this talk about state machines? I only did explicit state machines in verilog.+ 1

⬆ upvote 0↩ reply 1

𓀐 @ewFV2WHj: >But can you ask a better question? My question is just what they mean by using a "state machine bullshit" as if it's some novel, unusual concept. State machines are a fundamental concept, but just look at the conversation above and how it's in the context of AI. >The C Programming Language uses an FSM by the way in one of its lessons on writing C. Which chapter?+

⬆ upvote 0↩ reply 0

𓀐 @MkvsUZE*: sorry if this is the wrong place but what's the cheapest possible sbc that can run linux, even if slowly/without a GUI? also what happened to /csg/? I'd be posting this there otherwise.+

⬆ upvote 0↩ reply 0

𓀐 @4JJ=e=~S: Did Arduino kill off clone support while I was away?? A few years ago, I bought a nano off a secondhand site. Got it working, and built some pretty neat projects with it. Now, 5 years later, I'm trying to use it with the 2.0 IDE and it's completely unrecognizeable. Did something change? Is there a workaround for this?? I downloaded the CH340 drivers and everything but it's still unable to upload code. What do??+

⬆ upvote 0↩ reply 0

𓀐 @ttnBeCZL: Maybe some of the ESP32 micros? Maybe the C5? Seemed to be one of the most recent ones last time I checked. Disclaimer: I took a quick look at the datasheet and the 1000+ page reference manual, looks like a handful. Maybe some open-source code shows ways to play with bluetooth 6.+

⬆ upvote 0↩ reply 0

𓀐 @QW=Uts8w: Finished my envelope generator a week ago. It is based on the Attiny1604, it was a bad choice it just barely works due to doing floating math for the log curve to calculate voltage level for curve parts of the envelope. I did enjoy the challenge in optimization.+

⬆ upvote 0↩ reply 0

𓀐 @aE2zByTy: >a bit of thermal matching A tale as old as digital electronics. The limiting factor for analog electronics is how well manufacturing can match two transistors. Turns out with digital we just have to add bits. What's the underlying physical principle? Does the standard require a response to a probe with a precise and fixed delay so the round trip can be measured? Attenuation wont work as it depends on everything else besides distance.+ 1

⬆ upvote 0↩ reply 1

𓀐 @w6=raix3: Do car ECUs from the 90s fit in this thread's subject?+

⬆ upvote 0↩ reply 0

𓀐 @Y~LS5YaV: Can someone help me parse what this datasheet means by: >To open the relay, the ON pin must be driven to a logic high state. To close the relay, the ON pin must be driven to a logic low state. Does that mean if you driven ON to high the relay will be "open" in that electricity will flow, or does it mean it wlil be "open" in that the switch is open, electricity will not flow? I think (and am hoping) it's the first one.+

⬆ upvote 0↩ reply 0

𓀐 @P8hGAYwf: Retarded lurker here... I do not have the funds yet to get into at least starting to make stuff with these microcontroller deals... how do I explain to my boomer parent who WAS an Electrical Engineer who worked for SONY way back compact disks released, that getting a proper workstation and work on this will further my cyber security degree route.... I can only think of how these could further my understanding of hardware and software security... I just do not know how to explain it so I am not getting chastized for seeking out knowledge.... other than saying hey the chinese are able to get into your net and finances through your unsecured printed btw+

⬆ upvote 0↩ reply 0

𓀐 @T=7DDcp~: I meant for a whole hot air station, and everything, I only have one old soldering iron. My current idea to start learning about reverse engineering and beyond base level programming knowledge is make a bluetooth keyboard and program it from an old keyboard i have, rather than just go for piecing together a reddit teir cyberdeck, right now the extent of what I know about servers, desktops, laptops, appliances, is simply REPLACE THE WHOLE THING IF BROKE(the board at most). Fuck trying to fix anything... I could say that this sentiment has been crushing me into avoiding learning about how BASE level motherboards works, like yeah theory teaches how to read the motherboard, but I have zero experience in fixing boards, and everyone says doing that is a waste of time..... which I do not understand....+

⬆ upvote 0↩ reply 0

𓀐 @6MePL4wd: both, I intend to get an old keyboard, slap a sneed controller to it, and then use it for pen testing, though before I begin anything I want to see that I can make a board, that can connect to things, and not be as hugee as this 5" thick phablet with a shitty membrane silicone keyboard because I absolutely abhor thar keyboard. So far what I know is, I need to figure out which pin from which key leads to what on a tiny ribbon cable, to then find a way to attach it to a microcontroller, with likely having an expansion board so that it can have a battery, and then put it in the thinnest vs durable 3 printed case, with maybe a display, though again not as big and chunky as this, and without any of the useless extra flavor "cyberpunk" colored plastic and ridges https://youtu.be/bvV9h5kAPXw?is=gIxHsJauL9ZmSPkn+

⬆ upvote 0↩ reply 0

𓀐 @emP4NGew: ESPs have CAN, I’d want to use that. Wireless might work if it’s a reliable protocol or if the vehicle has no spark plugs.+

⬆ upvote 0↩ reply 0

𓀐 @vwMrbJyr: >People learning to use microcontrollers start at arduino, By the way, I hope with LLMs Arduino finally can be killed off. Because non-programmers don't need to rely on libraries made for retards anymore. They can just tell the LLM to write proper code.+

⬆ upvote 0↩ reply 0

𓀐 @ab?kMNC*: >got my first microcontroller, an ESP32 >the toolchain is a schizophrenic mess of various python and bash scripts held together with glue and cotton candy >you HAVE to use cmake >you HAVE to use a python script to build your project >if you make one change to cmakelists then the ENTIRE toolchain is rebuilt Are all microcontroller toolchains this dogshit?+ 2

⬆ upvote 0↩ reply 2

𓀐 @_Dxf-9a+: >Though there’s more out there Thumby is another one that has some adoption, it's not bad as a novelty+

⬆ upvote 0↩ reply 0