Search found 1656 matches

by mnfisher
Thu Feb 05, 2026 10:28 pm
Forum: General
Topic: Update project to F10
Replies: 9
Views: 56

Re: Update project to F10

Whoosh - not just faster - better broadband too!!!

Looking at Skylink - and 100Mb/s is described as suitable for 'light browsing' (for the heavy stuff upgrade to 200Mb/s)

Wonder what BT's offering is good for???
by mnfisher
Thu Feb 05, 2026 9:55 pm
Forum: General
Topic: Update project to F10
Replies: 9
Views: 56

Re: Update project to F10

Just re-downloading v7...

I'd like to reciprocate Iain's comment - so more likely he knows twice as much.... (or is that the reciprocal?)
by mnfisher
Thu Feb 05, 2026 9:28 pm
Forum: General
Topic: Update project to F10
Replies: 9
Views: 56

Re: Update project to F10

Iain types much faster than I swipes :-)

Martin
by mnfisher
Thu Feb 05, 2026 9:27 pm
Forum: General
Topic: Update project to F10
Replies: 9
Views: 56

Re: Update project to F10

You need someone with version 7 to convert (last version that can load the old v5 format) - if you PM your file to one of the VCs (myself, chipfryer27, medelec for example) we would do it for you - or post here? There have been some changes to components etc, so it might take a little work after fil...
by mnfisher
Wed Feb 04, 2026 3:38 pm
Forum: Projects - Embedded
Topic: 2x 74HC595 via SPI interface, driving 8x 7-segment display
Replies: 1
Views: 100

Re: 2x 74HC595 via SPI interface, driving 8x 7-segment display

The 74HC595 devices are daisy-chained - so writing values will 'push' the data to the second chip... So you just need to write sufficient data for both devices before latching the data. I haven't used this - but the MAX7219 works in a very similar manner.
Martin
by mnfisher
Tue Feb 03, 2026 9:56 pm
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 6
Views: 335

Re: 16f18877 internal Zero Cross Detector

Found the issue - unplugging the PICKit and the speed increase at which it works is dramatic - I changed to using 32MHz internal - and running happily at 100kHz (with mods as per previous post)

Martin
by mnfisher
Tue Feb 03, 2026 6:50 pm
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 6
Views: 335

Re: 16f18877 internal Zero Cross Detector

Sounds an interesting project - let us know how it goes.

I just tested changing the ISR to just toggle the state of 'on' - and in the main loop have pin = on - still reflects the right time period, but still doesn't gp above 5kHz :-(

Martin
by mnfisher
Mon Feb 02, 2026 9:40 pm
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 6
Views: 335

Re: 16f18877 internal Zero Cross Detector

Something to try: The ZCD should be capable of much higher speeds than this (although maybe not toggling a pin - which will take quite a few cycles) - try incrementing a counter in the ISR instead of the pin set - then output the count every 1s to a UART (via a FTDI convertor) or a display. A capaci...
by mnfisher
Mon Feb 02, 2026 9:24 pm
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 6
Views: 335

Re: 16f18877 internal Zero Cross Detector

I wired up a PIC16F18877 to a signal generator and tried the ZCD hardware. Note - I tested with a 20MHz external crystal - if you have use the internal oscillator at 32MHz you will need to set OSCCON. (I did a blinkie first to test settings correct!) This very small sample code - I enable the ZCD in...
by mnfisher
Mon Feb 02, 2026 6:54 am
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 6
Views: 335

Re: 16f18877 internal Zero Cross Detector

Yes, you would need to use some C to enable the ZCD module - this would be in either a code block or in a custom interrupt. See section 21 of the datasheet. It looks relatively straightforward - but if using it to measure mains zero crossing then great care is needed with the wiring (not something f...