Search found 1742 matches

by Pito
Sun Feb 11, 2018 11:25 am
Forum: USB to Serial adaptors
Topic: FT232H - setting DTR high or to input
Replies: 5
Views: 149

FT232H - setting DTR high or to input

Any idea how to set DTR (active low output) of the FT232H (working in UART mode) to "high" or to "input mode"?
PS: Without writing some low level drivers or apps..
by Pito
Sun Feb 11, 2018 11:19 am
Forum: General discussion
Topic: Timer "One-Pulse" mode
Replies: 14
Views: 309

Re: Timer "One-Pulse" mode

Off topic: I think you triggers the load "on" at zero crossing, and at specific time you switch off the load (with the pulse). Based on the timing you manages the power. Does it creates EMI as well when switching off during an active period (off the zero)? Would not be better to regulate the power b...
by Pito
Sat Feb 10, 2018 3:22 pm
Forum: Projects
Topic: Metal detector dc42 improvment
Replies: 35
Views: 937

Re: Metal detector dc42 improvment

.. #include "SampleFilter.c" .. int32_t signal; // the actual ADC signal sample int32_t fsig; // internal FIR filter variable setup() { .. SampleFilter_init(&fsig); // you have to init the FIR filter .. } HERE IS A 400Hz SAMPLING LOOP >>>>> signal = readAnalog(PA4); // get 12bit signal sample Sampl...
by Pito
Sat Feb 10, 2018 2:57 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 771
Views: 15833

Re: F405 & F411 versions of the BluePill

is the crystal shows a CL of 8pF .. but in the schematic we are using 20pF caps.
CL is a serial combination of the 2 capacitors - 20pF ser 20pF is 10pF which is the ~same value as the 8pF..
2x18pF would give you 9pF.. But with pF values and tolerances of the ceramics it does not matter basically..
by Pito
Sat Feb 10, 2018 2:14 pm
Forum: Custom design boards
Topic: STM32-UNO(ARMDuino)
Replies: 10
Views: 303

Re: STM32-UNO(ARMDuino)

Is the PA12 usb resistor wired properly?
by Pito
Sat Feb 10, 2018 1:53 pm
Forum: Projects
Topic: Metal detector dc42 improvment
Replies: 35
Views: 937

Re: Metal detector dc42 improvment

60Hz bandstop: with an FIR filter you can get for example this (click on "Source Code", select ie. Number format: Integer and 32bit int precision and copy/paste the source) - LINK is in the picture below: 60Hz bandstop_minus 90db.JPG . Look at this my source how the FIR filter source shall be integr...
by Pito
Sun Feb 04, 2018 11:16 am
Forum: Projects
Topic: BluepillF4 PCBs
Replies: 37
Views: 812

Re: BluepillF4 PCBs

Assembling such a board is fun for us who work with 0603/bga/qfn and are equipped with tools and with skills :) 99% of people who want to pay and play are unhappy when ie. even the pin-header is not soldered in already.. This board to assemble at home would require some experience, however. Thus for...
by Pito
Sun Feb 04, 2018 10:57 am
Forum: STM32F103 Boards
Topic: the right bootloader for this blue pill
Replies: 11
Views: 352

Re: the right bootloader for this blue pill

I would recommend to create a simple sketch which will show you all works fine after the bootloader has been flashed in. For example this one: // Basic test for BluePill and friends #define LED PC13 void setup() { delay(5000); // Wait till the USB Serial will be available at the PC side Serial.begin...
by Pito
Sat Feb 03, 2018 1:04 pm
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 15
Views: 827

Re: Driving LED dim/glow using PWM pins and MOSFET

You need mosfets with 1.0-1.5V threshold (called "logic level" - you have to double check the Vgs(th) in the datasheet). Mind the threshold is not sharp, it is rather a knee (the threshold voltage does not mean the mosfet is fully "on" running the full Ids current). For example Vgs(th) of the BSS223...