Search found 153 matches

by arpruss
Sat Feb 17, 2018 4:46 pm
Forum: General discussion
Topic: Has anyone tried using the APDS-9960 gesture sensor modules ?
Replies: 8
Views: 273

Re: Has anyone tried using the APDS-9960 gesture sensor modules ?

Thanks! Nice work! I'm waiting for my APDS9960 in the mail.
by arpruss
Fri Feb 16, 2018 8:19 pm
Forum: General discussion
Topic: analog watchdog in adc
Replies: 17
Views: 478

Re: analog watchdog in adc

Looking at the core code, one would have to override the irq handler vector, and unfortunately the core defines __irq_adc() as a strong symbol. I suppose I could just make a second copy of the interrupt vectors somewhere in RAM (so I can ensure the requisite alignment) and call nvic_set_vector_table...
by arpruss
Fri Feb 16, 2018 6:13 pm
Forum: General discussion
Topic: analog watchdog in adc
Replies: 17
Views: 478

Re: analog watchdog in adc

It looks like the current version only supports ADC1 interrupts. ADC2 does not even have ISR handler table defined. https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/STM32F1/cores/maple/libmaple/adc_f1.c I assume you mean the current version of the core, but one can still do it by di...
by arpruss
Fri Feb 16, 2018 2:11 pm
Forum: General discussion
Topic: analog watchdog in adc
Replies: 17
Views: 478

Re: analog watchdog in adc

Can I tell in the handler which one was triggered?
by arpruss
Fri Feb 16, 2018 5:53 am
Forum: STM32F103 Boards
Topic: "WAVGAT" black pill pull up resistor
Replies: 4
Views: 256

Re: "WAVGAT" black pill pull up resistor

On the plus side, the delivery was reasonably quick, and they look well made, and very cheap. :D I might order a couple. Unless you need the few extra pins that this unit has, I'd order the more standard black pills , as they have the right resistor in place, are well made and cost a few cents less.
by arpruss
Thu Feb 15, 2018 11:02 pm
Forum: Projects
Topic: Lightpen
Replies: 5
Views: 157

Re: Lightpen

My plan is a much simpler circuit: just plug the composite out from the TV into an analog pin (and watch for the sync pulses), and then use a phototransistor or photodiode and a resistor and another analog pin (and watch for attack, with an adjustable threshold).
by arpruss
Thu Feb 15, 2018 10:59 pm
Forum: STM32F103 Boards
Topic: "WAVGAT" black pill pull up resistor
Replies: 4
Views: 256

Re: "WAVGAT" black pill pull up resistor

Well, there was only one way to find out. I ordered it. Alas, R10 is 10K. It's basically just a recolored blue pill. :-(
by arpruss
Thu Feb 15, 2018 7:50 pm
Forum: General discussion
Topic: analog watchdog in adc
Replies: 17
Views: 478

Re: analog watchdog in adc

Does anyone know if I can have two analog watchdogs, one on each ADC, each watching for a different condition on a different channel?
by arpruss
Thu Feb 15, 2018 7:48 pm
Forum: Projects
Topic: Lightpen
Replies: 5
Views: 157

Lightpen

I'm in the preliminary planning stages of a classic-style light pen project for drawing on a CRT TV screen, so our 5-year-old can scribble on the TV with Tuxpaint on a PC. The current plan is to use either a phototransistor or a photodiode and the analog watchdog on the STM32F1 to see when the elect...
by arpruss
Wed Feb 14, 2018 8:11 pm
Forum: Projects
Topic: STM32F1/F4 3d Printer board. Worth a kickstarter?
Replies: 17
Views: 562

Re: STM32F1/F4 3d Printer board. Worth a kickstarter?

What's the practical benefit to the enduser from a faster controller board? Would the actual printing be faster? Or would control over movements be more precise?

BTW, some printers are already based on 32-bit ARM (e.g., my DaVinci 1.0a uses the SAM3X8E, I think).