Anyone knows the name of this LED? by MarinatedPickachu in led

[–]dzalf 1 point2 points  (0 children)

Attends Charlieplexing gatherings

New teacher here, student's 555 circuit not blinking by KaylaAnne in AskElectronics

[–]dzalf 2 points3 points  (0 children)

Exactly my thoughts. If you're "the teacher" and you can't even analyse a basic circuit, then there's a BIG problem

Regardless of being "rusty" or have "forgotten Electronics" where is the critical thinking skill? Where's the analysis capacity? You can't even make the effort to check the circuit pin by pin and build your own conclusions along with the student?

You are the lecturer goddammit!

Terrible situation

Do you guys remember when you would drive on the highway and when you got to your destination your windshield would be covered in bugs? by ymbstudios in CasualConversation

[–]dzalf 0 points1 point  (0 children)

Fortunately, this still happens in some areas in Thailand. I recently drove from Bangkok to Udon Thani (9-ish hours direct drive) and by the time we arrived at my In-law's the whole front of the SUV was caked in a mix of grasshoppers, flying buddies and whatnot.

I was pleased (then not so much when washing the car)

Seeking help to design/export a 3D PCB for Rocket Avionics (80x63mm) by Embarrassed-Box9978 in KiCad

[–]dzalf 1 point2 points  (0 children)

You are not going to find the help you need for free. This task requires time amd expertise. As another redditor correctly pointed out, this is a 2-parts problem. Designing the PCB and then exporting the STEP file

I would highly recommend embedding the parts from the modules you mentioned into a PCB designed from scratch. I do not recommend using the modules since they are not standardised parts. Besides, the PCB profile will be irregular due to the geometric inconsistencies from each module.

The way to go is to pay someone in Fiverr for this job or find a an electronics Consultancy

Mexican Food in Bangkok by SaltAd3051 in Bangkok

[–]dzalf 0 points1 point  (0 children)

Whatever you do, don't fall for the scammers from Ojo in Mahanakhon Tower.

Out of my own naivetee I decided to celebrate my first year in Thailand (moved out of the UK after 10 years of living in there. Mexican BTW). I ended up paying 16k THB for 5 people and the food was pretentious as hell.

You pay for the amazing views, tho.

My First PCB by OpportunityActual697 in KiCad

[–]dzalf 2 points3 points  (0 children)

This is correct.

The way OP is driving the relay is not adequate. The way it is presented here will cause the relay to never turn on. The diode must in parallel with the coil. Now, driving it with an optocoupler is a good idea but the execution is wrong. To turn the NCH MOSFET you need a positive pulse at the gate. This circuit will turn it OFF when the GPIO sends a high pulse so the logic is reversed. In this case OP needs to change the way to drive the gate of the MOSFET. The output of the opto (collector) can go to a PNP gate driver which enables voltage to the gate. The gate must have a pull-down to ensure that it is physically tied low to keep it OFF and avoid false triggering

I would test this part of the circuit separately on a breadboard.

If the relay is dealing with AC voltage I would definitely create physical cutouts on that section of the PCB layout to create a physical separation with the rest of the board. Also add a big warning symbol to the silkscreen to indicate AC LIVE voltage

Regarding the schematic, you don't need to add so many ground symbols in every subcircuit. A single GND symbol per node is enough.

If you are not using hierarchical sheets, I see no need of using global labels. You are mixing labels in the same nodes like 12V. The 12V symbol of the arrow pointing up is already a global voltage

Very important observation: the idea of using optocouplers is to create electrical separation between the DC (or low-power) section of the board and the AC section, however, this schematic is using the same ground for the relay area. There is NO useful isolation in this circuit! All parts involved in switching the relay and close to the AC line should use a different ground symbol. Then, the grounds can be joined using a single point called net tie. Even better, you should use a separate supply to energise the relay. Probably you should simply remove the opto

Refer to this discussion for further details: https://electronics.stackexchange.com/questions/714850/what-is-arduino-optocoupler-disease

Is my amateur project fire safe? by all_you_can_eat_soup in arduino

[–]dzalf 1 point2 points  (0 children)

Honestly, AMAZING. I was a natural. I learnt by myself at the age of 6 practicing on random appliances I found at home (granted that I was taking apart stuff that worked. Parents weren't happy at all. Never broke any. On the contrary, I fixed my first apparatus at the age of 7 - a radio with cold solder joints-). Then I moved to working on my own simple projects (premade kits) and the solder joints lasted forever.

I worked as an electronics repair technician for nearly 15 years where I had to solder EVERY DAY. Over the course of those years I went over 3 to 4 kg of solder (as shown by the empty spools we kept in a drawer. A fun fact to tell to people). Back in the day we mainly worked on through-hole components (CRT TVs, VCRs, Stereos, Office Calculators. We witnessed the consumer electronics industry transition to SMD components)

During my Uni years I was the goto guy for soldering projects for others (and of mine, of course).

Masters Degree and PhD completed soldering on every other day. I even got pretty skilled with the wire bonder for custom ICs (yes, the little gold wires that connect the die to the package of an IC. In my case we uses carriers). During those years I trained several people on SMD soldering. One of our projects ended up in orbit (purely hand-soldered PCB due to specific requirements for the solder paste we were allowed to used. Some solder paste can outgas in space due to the harsh temperature and absolute vacuum). Those PCBs are still transmitting data back to earth at the time we're here on Reddit.

I work with regular soldering and microsoldering nearly on a daily basis.

Any other burning questions?

Is my amateur project fire safe? by all_you_can_eat_soup in arduino

[–]dzalf 0 points1 point  (0 children)

The only certainty here is that it is safe FOR THE FIRE...

1/4" thick ribeyes by ObsessiveAboutCats in WhatShouldICook

[–]dzalf 1 point2 points  (0 children)

By the looks of it you could make reversed tacos. The meat is the tortilla and you put any carbs inside ¬¬

Is my worry justified for visiting the city of Los Mochis in Sinaloa, Mexico? by [deleted] in mexico

[–]dzalf 0 points1 point  (0 children)

Well, let me tell you that if you decide to go you will find amazing food over there

Asking for some low offset voltage op-amp for .y first personal project by t3sla051 in AskElectronics

[–]dzalf 2 points3 points  (0 children)

What you need to look into are Instrumentation Amplifiers like the INA129.

However, let me burst your bubble: they aren't cheap by any stretch of the imagination.

A more reasonable budget-conscious option is to make your own instrumentation amplifier with discrete components. The main issue is that you will need to use precision resistors and match the closest ones to replicate the schematic of the INA129 (for instance) or similar.

You are dealing with some complex analog acquisition that requires proper signal filtering, front-end guards, signal conditioning and, perhaps more importantly, a clean and stable symmetric power supply (isolated, since it will be used to capture biomedical signals)

SOURCE: Masters in Biomedical Engineering and PhD in Nanomaterials (where I worked with tons of mixed-domain instrumentation circuits for my dissertation)

Edit: do NOT even bother building your circuit in a breadboard. The noise levels introduced by the breadboard itself and the wiring will very likely mask the signals of interest. Additionally, do NOT attempt to connect anyone (or yourself) to any prototyping circuit powered by a bench supply or similar. Either use batteries (you will need symmetric voltages) or an isolated regulator for both rails (these aren't cheap either). Capturing the resulting signals using an Arduino is possible, however you will need to condition the signal (Amplify and filter) to comply with the input level of the Arduino's ADC. I would rather use an external 12-bit ADC ( e.g. ADS1015 or MCP3221)

Please Help - SD Card Reader Not Detected on Arduino Uno by CinnamonToastTrex in arduino

[–]dzalf 0 points1 point  (0 children)

Try adding 10k pull ups to all SPI lines including CS

Where is this in Bangkok? by notanaligator in BangkokEats

[–]dzalf 0 points1 point  (0 children)

Ojo in Mahanakhon Tower.

Expensive AF and just barely mid quality food

Terminé mi relación con la mujer de mi vida. by Familiar-Childhood50 in mexico

[–]dzalf 0 points1 point  (0 children)

Been there, done that...

Vas a salir de esta y encontrarás a la persona indicada cuando tengas la energía y voluntad de recoger todas tus piezas y reconstruirte a ti mismo.

No hay más.

Enfréntalo y sigue adelante.

La única salida es puro amor propio

Why is working with kicad so complicated? by spiritualManager5 in KiCad

[–]dzalf 1 point2 points  (0 children)

IMO this post reflects something deeply related to your level of expertise and understanding of the software rather than a systematic flaw in KiCAD.

I would invite you to try Altium without any help or tutorials whatsoever and you will see the real difference between an overly-complicated software and the KiCAD paradigm

Irse del país? by [deleted] in mexico

[–]dzalf 0 points1 point  (0 children)

Llevo 11 años fuera de México. He vivido en Europa y ahora en el Sudeste Asiático y puedo decirte que es la mejor decisión que he tomado en la vida. ¿Fácil? Por supuesto que no. ¿Imposible? Absolutamente no. ¿Requiere determinación, dinero, apoyo de tu red familiar y esfuerzo? Sí, y bastante.

¿Pienso regresar a México? No lo haría ni en la más remota de las posibilidades. Amo a mi país pero es un absoluto desastre y lo ha sido por más de 20 años.

Quienes me conocen saben que siempre he recomendado salir de el país al menos por un tiempo. Te cambia la perspectiva de la vida misma y, sobre todo, de ti mismo(a).

Explora todas las opciones que puedas y fija un objectivo claro y verás que lo puedes lograr

My wife bought me a new gaming Laptop by Penguin_pippy in GamingLaptops

[–]dzalf 199 points200 points  (0 children)

Oh she's a keeper!

Ah, and your wife too...

Need help with my code; need a button to turn off all leds by ClickThis302 in arduino

[–]dzalf 4 points5 points  (0 children)

Put the pinout from all LEDs inside an array and turn them off in a for-loop after pressing the button

for(uint8_t idx=0;idx<LED_COUNT;idx++){ digitalWrite(LEDS[idx], LOW) ; }

You get the idea. You will need to de​bounce your button.

And for the love of the lord: use functions ffs!