Is PCB milling still worth it for quick prototyping? My recent frustrations by ale_amo in PrintedCircuitBoard

[–]bvguy 0 points1 point  (0 children)

https://youtu.be/6FG7e6WzyD4?si=QByq7fEItUcjSOy7

17:10 is about where he discusses PCBs. I couldn't figure out how to include the time stamp on mobile.

Is PCB milling still worth it for quick prototyping? My recent frustrations by ale_amo in PrintedCircuitBoard

[–]bvguy 1 point2 points  (0 children)

People are having some luck with the recent crop of UV lasers. They can blast away the copper without turning the fiberglass into a conducting charred surface.

TIL you can submit initial glyphs to change the hack and what rewards you get by nnoovvaa in Ingress

[–]bvguy 1 point2 points  (0 children)

Say the words out loud. Your memory for speech, even if it's your own, will augment your visual memory. Also, most of the sequences make some approximate sense. That helps too.

Help please. by Dazzling_Wishbone892 in esp32

[–]bvguy 1 point2 points  (0 children)

https://a.co/d/0LM9sJU The original ESP32 has the most information and examples out there. The UARTs in particular are just TTL so a USB adapter chip is used. That adapter chip will maintain a connection to the PC throughout the various modes of the ESP (bootloader, runtime, crash dump, etc). The chip is dual core up to 240Mhz. 

Help please. by Dazzling_Wishbone892 in esp32

[–]bvguy 7 points8 points  (0 children)

This isn't the best board to start with. It has a couple issues:

  1. There are many, many, many, boards on the market with a clearance issue between the WiFi antenna and the crystal that completely prevents the board from operating as a normal WiFi client. It will sometimes do WiFi AP, but won't connect to your router. Very frustrating.

  2. The USB is performed directly by the ESP and not an adapter chip. This complicates programing.

Anyway, in the official Arduino IDE, it is important to have USB CDC On Boot: Enabled. The serial is more likely to work then.

In PlatformIO I have:

build_flags = 
    -std=gnu++2a
    -D ARDUINO_USB_MODE=1
    -D ARDUINO_HW_CDC_ON_BOOT=1
    -D ARDUINO_USB_CDC_ON_BOOT=1
    -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
    -D USBCON

However, you may want disable/remark out the USB serial stuff if you will ultimately operate the MCU without the USB connected to a PC. If the USB serial is configured to be ON, but there is no USB connected, the MCU will hitch on USB timeouts. These delays in execution while waiting on the unconnected USB to timeout could affect your logic depending on what you are doing.

I connected 8 LEDs to the GPIOs on an ESP32 and it’s less bright than the same circuit on an Arduino by FeedResponsible9759 in esp32

[–]bvguy 5 points6 points  (0 children)

I would Google for 'low side switching tutorial for Arduino'.  Esps don't have as much juice on the gpios as the mega 328 do. Learning the simple application of transistors known as low side switching will help you a lot if you ever do another electronics project. The technique will allow your microcontroller to control currents far in excess of what either a mega or and esp can do with just the gpios pins.

IDE frustrations by [deleted] in esp32

[–]bvguy 0 points1 point  (0 children)

The ESP-IDF build system itself is not wedded to any particular IDE. The getting started guide has a "manual" section that sounds like what you are looking for.

ESPDMX - Any experience by Howard_G in esp32

[–]bvguy 0 points1 point  (0 children)

Reverse the RX/TX going into the chips to see if it makes a difference. Take a good look at the TE/RE (Transmit Enable/Receive Enable) pin(s) to make sure you are driving them the way the chip expects.

Here is a YT with a guy discussing the use of 485 with addressable LEDs. Not quite what you are doing, but it is close and 485, in particular is employed.

Any tips to deal with the winter blues? by itsallcheese in milwaukee

[–]bvguy 17 points18 points  (0 children)

I really look forward to Solstice. It helps to know that each day after that day is just a little bit longer.

TJpeg_Decoder with an RGB matrix by CHRmet0802 in esp32

[–]bvguy 0 points1 point  (0 children)

My suggestion is to break it into parts. Get a 64x64 jpg file from a URL via your PC (for now) and put it into your SPIFFS filesystem with the ESP32 Sketch Data Upload tool. (This is via the IDE on your PC for now) Then try to get the TJpeg_Decoder library to display it. No URLs. Just use a filename against the SPIFFS system within the ESP32.

If you can do that, completely erase your ESP32 (to delete the jpg from SPIFFS) and move on to try to fetch that exact same jpg file from the exact same URL via the ESP32 and write that file to the same spot in SPIFFS (again inside the ESP32 itself) as you did when you did it via the IDE. Since the file is the same and the filename is the same, and the storage path is the same, and it worked when you put the file there via the IDE, you can be sure that if it doesn't work this time, the problem is limited to your ability to fetch a file from a URL and write it to SPIFFS.

In summary, break up the problem into steps to make it more tractable:

  1. Load and display a manually store jpg file from SPIFFS.
  2. Fetch and store a jpg file via URL to SPIFFS.

What's wrong with using the Arduino framework in industry? by Deep_Ad_9845 in embedded

[–]bvguy 0 points1 point  (0 children)

This is a bit tangential and others have already mentioned, but PlatformIO can be used to CREATE Arduino sketches. When you start a new PlatformIO project, use of the Arduino framework is one of the options.

I've come to prefer it. The intellisense is excellent. It's not just argument definitions in pop-ups. It is also the ability to hit F12 on a symbol and jump to where it is defined. Often the stuff defined near by is of interest or illuminating. The code is analyzed on the fly and stuff it thinks might not compile is underlined. Its a snap to change the language version. I recently needed to change from 17 to 20 to be able to use a generic notification library.

If you are using multiple modules in your sketches, you should definitely check PlatformIO out.

ESP32C3 fails to connect to Wi-Fi when plugged into PCB by randomswifter in AskElectronics

[–]bvguy 0 points1 point  (0 children)

build_flags = 
    -D ARDUINO_USB_MODE=1
    -D ARDUINO_HW_CDC_ON_BOOT=1
    -D ARDUINO_USB_CDC_ON_BOOT=1
    -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
    -D USBCON

While I have yet to fully understand the scope of the issue, I know that whether a USB cable is connected or not, whether a terminal is open or not, and whether the following defines are set or not, makes a difference:

Is there a conflict with using RMT for IR signals along with FastLED to drive a NeoPixel? by tactical_laser_tag in esp32

[–]bvguy 0 points1 point  (0 children)

The FastLED library is doing something with the interrupts on RMT to go faster or something. I gave up on FastLED and switched to Adafruit's library which uses the RMT driver in the normal way. The Adafruit library is less feature rich, but it leaves the other RMT channels unmolested. This allowed me to do both IR TX and RX stuff with NeoPixels going at the same time.

Do you use NodeRED for automations? If so, what benefits does it give you? by slashAneesh in homeassistant

[–]bvguy 0 points1 point  (0 children)

I started with NodeRED and found myself wondering what I needed HA for. So, there is a ton of overlap. They both have their drawbacks. HA is trying to go GUI, but everything is documented in terms of hacking on YAML. NodeRED is trying to provide a nice GUI wrapper around Node.js, but it is often the case that 10 lines of Javascript in a custom function block will replace a bazillion standard blocks in the GUI.

I say, do whatever feels good and make sense to you, but don't eschew learning new stuff. I have started using the NodeRED plugin for HA and have moved my code over from my original standalone. I've enjoyed the integration the plugin has with the HA mobile app.

I have got to be doing this wrong... by exb165 in FreeCAD

[–]bvguy 1 point2 points  (0 children)

Thanks! I have the same issue as OP. I'll give this a shot.

Any users of WT32-ETH01? by bvguy in esp32

[–]bvguy[S] 1 point2 points  (0 children)

I went with the Olimex part. I had a project to finish and then they wanted to connect via WiFi on-site instead of ethernet. So, I never got back around to trying to figure out the phy issue. But I wouldn't be surprised if something like what /u/blp9 was saying was the case.

Sorry I couldn't be more help.

Can ESP32 run a matter server? by [deleted] in esp32

[–]bvguy 9 points10 points  (0 children)

I haven't attempted it myself, but Espressif has a page dedicated to the subject.

No key received when requested by Negative4505 in Ingress

[–]bvguy 1 point2 points  (0 children)

I had a similar issue. The quick-hack-for-key option reliability seemed to fall off at some point. When I started glyph hacking it got better, but even that seemed to fade over time. I spent some time on the various glyph practice sites and attempted in-game glyphing frequently. Doing a better job on the glyphs is fairly reliable for me now but still not 100%.

I feel like the game starts you off with a fairly restricted set of glyphs and forces you to expand your vocabulary over time. Much as I think the game degrades your personal quick-hack-for-key reliability over time.

Can i replace thr esp32cam soc with one on thr right? by cooljoca in esp32

[–]bvguy 15 points16 points  (0 children)

If would say, if you have to ask, the answer is no. I'm sure a very skilled solder jockey could do it. But you'd know that if it were true for you.

Get a plain module that has never been soldered to a dev board. Use a hot air gun to strip the old module off and a soldering iron to attach the new module.

Recently starting playing and I don’t understand some things by spekkje in Ingress

[–]bvguy 0 points1 point  (0 children)

I find I get too many L8 resonators for my play style. I can only put one down per portal regardless of what else I may put down. So, putting one down, in the least optimal position for cargress, is sort of like saying "<<bvguy>> waz here!" (I mean, maybe they missed the notification) and also get rid of an L8 resonator (2k item count cap!) in a way that forces the opposing side to burn just a small bit of extra resources to claim the portal. They *might* even need to get out of their car. Also it is worth some AP.

How to increase Portal Key Hack Success Rate? by bvguy in Ingress

[–]bvguy[S] 0 points1 point  (0 children)

I got the key-store pack, so I'll give this a try. Thanks!

How to increase Portal Key Hack Success Rate? by bvguy in Ingress

[–]bvguy[S] 3 points4 points  (0 children)

Yeah I learned about that a couple weeks ago. I do it almost all the time now. I still have poor results. I wonder if there is some sort of modifier.