[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/diy/ - Do It Yourself

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


Previous thread:>>2862495

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
>>
>>2880131
love how they trimmed the value of the current shunt by mauling it with sidecutters
>>
>>2880249
Wait, why doesn't the device on the left need a shunt?
>>
>>2880266
that's the newer one (uses AAAs instead of a 9V), it probably uses a pcb trace of approximately known resistance instead
>>
>>2880249
> mauled shunt
Marketing can call that a laser-trimmed resistor.
The beand of sidecutters is called “laser” like thise knifes from wallmart.
Sometimes you see the opposite, the put blobs of solder on it to bring the value down rather than up.
>>
>>2880266
>>2880301
pair of smt resistors from the 10A terminal to the COM terminal, no attempt at trimming, no fucks given
>>
>>2880335
I guess it was kinda obvious.
Do these weird wheel-like traces on the right one act as last resort fuse?
>>
>>2880335
They may have chosen the first resistor, measured it, then put the second resistor in. Or done parts binning. Or just corrected for it in firmware. Screw tempco.

>>2880340
No I think those are thermal reliefs, but with more spokes for lower resistance.
>>
>>2880359
>No I think those are thermal reliefs, but with more spokes for lower resistance

no, nigger
it says hfe - and what has hfe?
transistors - and how do they connect?
female transistor sockets
guys will ''bone' but girls will ''socket''
>>
>>2880402
He said star-shaped traces, looks like the traces surrounding the current shunt solder joint to me. The hFE plug doesn’t have star-shaped traces, but star-shaped holes.
>>
I was wondering, is it worth to put a reclamed LiIon battery and the circuit in one of these, or will it be even worse than with batteries?

>>2880340
Not last resort fuse.
It's thermal bridging.
That way you don't have to heat your whole copper ground plane when you want to solder the "resistor".
>>
>>2880510
Depends on the unit and what power it can take. 2.5-4.2V is too low for one designed to run at 9V, but too high for one designed to run at 3V. If the 3V one can handle 4.2V, then no problem, otherwise you could do so using an ultra-low-dropout regulator. The 9V one probably already has a linear regulator circuit, but I doubt it would run down to 3.2V or lower.

It’s definitely not worth doing though, these meters are worth less than $5.
>>
>>2880530
Yeah I know I bought the 3.3V one for less than $5.
But I have Li cells that I don't use a some pcb with cell protection, cell charging and step up/down all in one. So, I can just tune it to ~3.3V and never have to buy batteries again.

Also, are these circuits known to have a serial output? I know some older ones had...
>>
>>2880539
>So, I can just tune it to ~3.3V and never have to buy batteries again.
Why not. The only problem might be noise from the switching converter's output, not that you'd notice. And you'd likely want a seperate power switch.
>serial output
Do you have an example? That sounds cool.
>>
>>2880539
batteries need more voltage than rated to charge
>>
>>2880678
The charge/boost/protection boards just use USB for charging. Probably a TP4056.
>>
>>2880661
>Noise
Wep, I will think about that. but nothing a capacitor and a coil couldn't filter indeed.
And you are correct too, with the speed of reading of those multimeters, it won't be a proble either I think.
>Serial port
I had one with an IrDa port outputing serial data. I used it once or twice thith the good software to graph temperature (it had direct temperature reading from probe).
Some other have a direct connector (so no isolation):
https://www.forward.com.au/pfod/pfodDataLogging/highAccuracyDataLogging.html

>>2880678
It's okay, the LiIon battery will be charging by USB. And I can tune the buck convertor to 3.3V or whatever I want to simulate new AA batteries.
>>
>>2880868
Actually my Hioki DMM has an infrared socket on the back, it’s intended for use with their clamp meter addon but my meter doesn’t have that capability so it’s got to be used by something else. I should 3D print a fitting to slot into the receptacle with an IR LED and phototransistor held in place.

Funny how this thread is most active when it’s not talking about microcontrollers. I’ll be sure to pick a less stimulating OP pic next time.
>>
>>2880872
> not talking about microcontrollers
I like to think of the chips used in DMMs as special-purpose microcontrollers.
>>
>>2880881
That is why I posted it, but most of the discussion about the surrounding circuitry (current sense resistor, thermal vias, battery conversion) would be better suited to /ohm/.
>>
If you had resources to create anything (that is an electronic device with a MCU), what would you create?
>>
>>2880335
Kek
>>
How do i make a midi keyboard from a dinky toy with arduino/raspberry pi pico that isn't too complicated
>>
>>2881230
I'd check out oskitone@github, I know he has some synth with a mcu, perhaps the one called Scout
>>
>>2881195
Probably more of an FPGA thing, but a tacticool ball full of sensors. Mainly visible and thermal cameras, microphones, and a wide-band SDR. You throw a bunch about the place, and they'd communicate back to a base station via laser comms or some shit. With them you can build up a 3D model of the environment, and create a dynamic map of heat, sound, and RF sources via triangulation. This information is processed by a centralised computer and fed from the navigator's nearby station to an overlay on the operator's AR headset. For airsoft, of course.
>>
>>2881195
I'd do air quality, noise, traffic flow/speed at intersections. The signal timings in my city are deliberately wasteful, and if I had data to back it up it would be easier to change.
>>
>got my ch32v003 blinking
welp, guess i'm using vscopium and platformio now
>>
>>2881360
What's next?
>>
>>2881396
Getting comfortable with the hardware enough to ditch AVRs. Then I'll get to using them for all sorts of shit, like CAN comms and motor driving, maybe a digital CC/CV benchtop PSU. The chips are cheap and in supply at LCSC, so I can order boards from JLC with them pre-soldered. Maybe pre-programmed too, if I try hard enough.
Oh and getting a RISC-V t-shirt.
>>
File: 1684338684067107s.jpg (7 KB, 250x215)
7 KB
7 KB JPG
Hi /mcg/,

Any ideas on how I should drill accurate holes for a pi pico in my self etched pcb?
>>
>>2881406
wait shit now i gotta learn pointers
and dma
and connect to the hive mind in order to know what bitmasks i need for each register
>>
>>2880131
What's the difference between GND and DGND? I'm fidgering replacing a damaged front panel from a audio car head unit, but
the pines are not exactly the same.
I'm guessing is ground and digital ground, but after all digital ground isn't just a reference that can be whatever (not 0,5 V, just a reference for your system)?
Is this related to CMOS/TTL/FET logic?
Thanks
>>
When there's AGND and DGND, that's to keep the different grounds separate so that noise doesn't cross between them. They only meet near the power supply. Usually it's to keep the analog ground clean so you don't hear a bunch of digital trash in your speakers.
>>
>>2882113
As the other anon said, the GND and DGND are almost certainly connected together at something like a star grounding point. Though there’s a small possibility they have an isolated voltage converter, which helps you not fry your phone when you plug it in to charge and plug in the aux cable at the same time. They may also have a choke or other noise filtration circuit between the rails.

Also the DGND might not be in contrast to AGND, but PWRGND.
>>
This is driving me crazy. So I am trying to get Serial.Monitor working for an attiny85. Unfortunately, I only have an Arduino Uno right now and I am using this to flash the ATtiny. The baud rate is set to 9600 in both Serial.Begin and Platformio.ini but holy fucking shit, all I get is garbled text and this is driving me nuts and I've been troubleshooting for like four fucking hours
>>
>>2881460
You don't need to drill holes. Either solder the dev board on directly or use a smd socket.
>>
A box of DIP sockets is probably cheaper, but it's more work to cut the rows apart and bend the wires 90°.
>>
>>2882114
>>2882136
Thanks I have learned a lot today, I really appreciate it anons!
>>
File: rgbduino-uno-v12-jenny.jpg (307 KB, 1600x1710)
307 KB
307 KB JPG
>>2882175
The problem with SMD headers is you need to align them before soldering. I bought an RGBduino before (pic related) and I beilve they needed to use SMD components everywhere because the colour silkscreen looks to have been applied after soldering. Despite it being in the Uno form-factor, shields don't fit on it because the socket headers are misaligned.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.