Search found 1727 matches

by mnfisher
Wed Apr 08, 2026 9:23 pm
Forum: General
Topic: EB-006 drivers
Replies: 3
Views: 224

Re: EB-006 drivers

Have you tried Zadig (with libusb-win32)

It's available from https://zadig.akeo.ie/

I've used it several times in the past - and it seems safe and reliable.. Usual provisos apply though.

Martin
by mnfisher
Wed Apr 08, 2026 8:51 am
Forum: General
Topic: Parity bit
Replies: 4
Views: 100

Re: Parity bit

Rather than using an if .... statement to calculate the parity bit (and brackets might change the result here if (.x == 1) || (.x == 3) etc (you have if x==1 && x= 3 && x=5... which can't ever be true) Depending on whether you need odd or even parity: Use .parity = .x & 1 Returns...
by mnfisher
Wed Apr 08, 2026 6:49 am
Forum: General
Topic: Parity bit
Replies: 4
Views: 100

Re: Parity bit

I would probably count the bits in both MSB and LSB. If a byte (LSB or MSB) is 0 - it won't affect the parity value - but if there is an error in transmission then it might not be 0 - and will affect the final result (if you use (MSB << 8) + LSB) Alternatively - if LSB must be 0 - ignore it - and us...
by mnfisher
Wed Apr 08, 2026 6:33 am
Forum: General
Topic: MCP320x 16-bit to Nano
Replies: 12
Views: 517

Re: MCP320x 16-bit to Nano

No I didn't use SPI here...

Just bit-bang the pins....

Martin
by mnfisher
Tue Apr 07, 2026 8:06 pm
Forum: General
Topic: Replace component: how to?
Replies: 3
Views: 104

Re: Replace component: how to?

... I posted a python script that does this at viewtopic.php?t=3279&hilit=Replace+component

It's not as smart - so you might need to tweak parameters afterwards - but it does work...

Martin
by mnfisher
Tue Apr 07, 2026 12:05 pm
Forum: General
Topic: MCP320x 16-bit to Nano
Replies: 12
Views: 517

Re: MCP320x 16-bit to Nano

Looks though it's working reasonably....

I've done a version - but haven't been able to test yet.... Just toggles CLK and reads the 12 bits of data...
I think - the loop count might need changing - I have 15 (2 undefined, 1 null and 12 data)

Martin
by mnfisher
Tue Apr 07, 2026 9:19 am
Forum: General
Topic: ESP32 WROOM serial port woes
Replies: 9
Views: 227

Re: ESP32 WROOM serial port woes

That looks very like the one i have... Like some PIC MCUs - most functions can be directed to (nearly) any pin. There are a few reserved(connected) to things like the wi-fi module - however generally if it is broken out to a pin you can use it. The only 'fixed' pins are SPI if you need the highest s...
by mnfisher
Mon Apr 06, 2026 9:05 pm
Forum: General
Topic: ESP32 WROOM serial port woes
Replies: 9
Views: 227

Re: ESP32 WROOM serial port woes

The esp32 does offer a remarkable amount of 'bang' for the buck.... The programming paradigm ( :-) ) - is slightly different to most MCUs - for the most part because of the (co-operative) multi-tasking system used. It's worth playing along though - because the performance for such a low-price device...
by mnfisher
Mon Apr 06, 2026 7:11 pm
Forum: General
Topic: ESP32 WROOM serial port woes
Replies: 9
Views: 227

Re: ESP32 WROOM serial port woes

Hi Bob, I did a quick demo program - and the UARTs seem to work okay. I use two UARTs one (connected to UART1 - and thus to USB) and one to UART2 (I connected an FTDI convertor). Note that I also connected the Tx pin - and output a message here - as a sanity check. It looks for data at UART2 (I used...
by mnfisher
Mon Apr 06, 2026 2:09 pm
Forum: General
Topic: ESP32 WROOM serial port woes
Replies: 9
Views: 227

Re: ESP32 WROOM serial port woes

I have used a second UART successfully - for example viewtopic.php?t=3542&hilit=LiDAR - however i did this in C...

Can you upload a code snippet and a bit more detail what's going wrong...

Martin