Search found 53 matches

by stanleyseow
Thu Jan 18, 2018 6:10 pm
Forum: Working / ported libraries
Topic: Readonly Serial Multiple Ports
Replies: 3
Views: 59

Readonly Serial Multiple Ports

I need to do a full-duplex "Y tap" on 4 RS-232 serial connection on both Rx, Tx pins and READ those data sending between the wires .. Which library should I use ? For 4 RS-232 serial, I would need like 8 Rx Serial/UART pins ... or should I use something different as I just need to READ ONLY, and I d...
by stanleyseow
Tue Dec 05, 2017 3:36 pm
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 11
Views: 532

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

Good idea, will plug into power supply into MOSFET and slowly increase the voltage ...
[edited]

I turns on at 3.1V and turn off at 0.9V as per my power supply voltage readings ..
by stanleyseow
Tue Dec 05, 2017 9:45 am
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 11
Views: 532

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

Thank you ... I tested it and it is working for the PWM 15 pins with different duty cycle .... I m using the following MOSFET, IRLZ34N with the following specs for my PWM 12V LED dimm/glow Vgs(th) - 1-2v, Rds(on) 35mΩ BUT when it is fully ON at 3.3V, analogWrite(xx, 255) or digitalWrite(xx,HIGH) the...
by stanleyseow
Sat Dec 02, 2017 8:17 am
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 11
Views: 532

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

Here are more details... I plans to drive a n-channel logic level MOSFET using PWM pins ( either software or hardware ) ... Usually to control the brightness of the LED , in 2 levels ... says 30% brightness in some pins and 90% brightness in other pins ... I didn't knew about the software based PWM ...
by stanleyseow
Fri Dec 01, 2017 2:54 pm
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 11
Views: 532

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

I probably only need all the pins to be on 2 unique PWM values only ... so does it means I can use all the 15 PWM pins ?

Thanks
by stanleyseow
Fri Dec 01, 2017 6:03 am
Forum: STM32F103 Boards
Topic: Driving LED dim/glow using PWM pins and MOSFET
Replies: 11
Views: 532

Driving LED dim/glow using PWM pins and MOSFET

Hi,

I calculated the red/blue pill have a total of 15 PWM pins and I would like to use ALL of them to drive a 12V LED using a logic level MOSFET...

Is there any restrictions on using ALL the PWM pins using analogWrite ?

Any conflict of timers ?

Thanks

Stanley
by stanleyseow
Tue Oct 31, 2017 4:25 pm
Forum: STM32F103 Boards
Topic: Red Pill or Blue Pill?
Replies: 239
Views: 42238

Re: Red Pill or Blue Pill?

We are able to order like 30 pcs of red pill from taobao easily ...

Here is the picture of the red pill with my version of MMDVM HAT ...

ImageSVT MMDVM HAT by stanley_seow, on Flickr
by stanleyseow
Sat Oct 14, 2017 7:01 am
Forum: IDE's
Topic: [SOLVED] Error compiling STM32duino on PlatformIO
Replies: 7
Views: 431

Re: Error compiling STM32duino on PlatformIO

After readings docs on platformio on build-flags http://docs.platformio.org/en/latest/projectconf/section_env_build.html#projectconf-build-flags I added build_flags = -I/home/mqtt/.platformio/packages/framework-arduinoststm32/STM32F1/cores/maple to platformio.ini AND rename the main.c to main.ino th...
by stanleyseow
Sat Oct 14, 2017 3:36 am
Forum: IDE's
Topic: [SOLVED] Error compiling STM32duino on PlatformIO
Replies: 7
Views: 431

Re: Error compiling STM32duino on PlatformIO

Thanks for pointing me to the right directions... I shall figure out what is wrong n post the fixes/solution here for others in the future.. Edit, I replaced the below lines, the compile error was gone but new errors shows up ... CPPPATH=[ # Manually changed join(FRAMEWORK_DIR, "cores", board.get("b...
by stanleyseow
Fri Oct 13, 2017 3:44 pm
Forum: IDE's
Topic: [SOLVED] Error compiling STM32duino on PlatformIO
Replies: 7
Views: 431

Re: Error compiling STM32duino on PlatformIO

$ pio run -v [Fri Oct 13 23:43:06 2017] Processing genericSTM32F103C8 (platform: ststm32; board: genericSTM32F103C8; framework: arduino) -------------------------------------------------------------------------------- Collected 26 compatible libraries Looking for dependencies... Project does not ha...