Search found 5545 matches

by RogerClark
Wed May 24, 2017 10:37 am
Forum: General discussion
Topic: Interfacing MPX4250AP
Replies: 7
Views: 87

Re: Interfacing MPX4250AP

stevestrong wrote:Seems so, but 10x those values would be also good, to reduce the current.


Those values are definitely , tool low and will draw a lot of current from your input.

Try 1k and 2k, or even 10k and 20k.
by RogerClark
Wed May 24, 2017 10:32 am
Forum: Generic STM32F103
Topic: Blue pill and SD card
Replies: 6
Views: 86

Re: Blue pill and SD card

It looks like the level converter chip just takes MOSI and SCLK and converts them to 3.3V, its hard to see if it does MISO by looking at the photos You could try unsoldering the level converter and carefully soldering the inputs to the outputs for MOSI and SCLK. But as @ag123 said, there may also be...
by RogerClark
Wed May 24, 2017 4:23 am
Forum: Generic STM32F103
Topic: Blue pill and SD card
Replies: 6
Views: 86

Re: Blue pill and SD card

Looks like it has a level converter to work with 5V AVR hardware.

It may not work with 3.3V STM32 hardware, as the level converter is not required (and most likely will cause incorrect voltage levels to be sent to the SD Card)
by RogerClark
Wed May 24, 2017 12:02 am
Forum: Off topic
Topic: Wur doomed... I tell you... aye... doomed...
Replies: 3
Views: 59

Re: Wur doomed... I tell you... aye... doomed...

I came across the original port to the F4 a few weeks ago



But it looks like it was ported 2 years ago.
by RogerClark
Tue May 23, 2017 11:37 pm
Forum: Generic STM32F103
Topic: USB Observations
Replies: 53
Views: 524

Re: USB Observations

I could reproduce the error with this modification. void setup() { delay(500); - Serial.begin(9600); + Serial.begin(); while (!Serial); Serial.println("Hello!"); You still didnt call Serial.end() before calling Serial.begin() again Also remember, Serial USB is not like hardware serial, th...
by RogerClark
Tue May 23, 2017 10:20 pm
Forum: Generic STM32F103
Topic: USB Observations
Replies: 53
Views: 524

Re: USB Observations

Why it cause problem when you call Serial.begin() twice with some delay() :| ? No idea... But calling Serial.begin() twice is incorrect in the first place. Feel free to spend you time analysing the USB bus and the host driver code etc to see why if you call it in quick succession it works for you. ...
by RogerClark
Tue May 23, 2017 9:53 pm
Forum: Generic STM32F103
Topic: USB Observations
Replies: 53
Views: 524

Re: USB Observations

if you need the perpetual bootloader for uploads to work on your system, there is a way system where a magic number is put into a BKP register ( NV RAM) just prior to the sketch when reboot for upload is requested via serial. From what I recall, I think I added the BKP register checking into the boo...
by RogerClark
Tue May 23, 2017 10:29 am
Forum: Generic STM32F103
Topic: USB Observations
Replies: 53
Views: 524

Re: USB Observations

Windows 7 sometimes has this problem The thing is... Serial.begin() is already called in boards_setup.cpp in board_setup_usb() which is called from boards.cpp in init(); So if I have void setup() { // put your setup code here, to run once: Serial.end(); delay(1000); Serial.begin(); } int c=0; void l...
by RogerClark
Tue May 23, 2017 1:55 am
Forum: General discussion
Topic: blue pill prototyping board with tft adapter
Replies: 11
Views: 214

Re: blue pill prototyping board with tft adapter

BTW. I found this adaptor for the Teensy on PJRC's site https://www.pjrc.com/store/display_ili9341.html https://www.pjrc.com/store/display_ili9341.jpg It seems to be a cute minimal implementation, albeit doesn't handle the SD card, or even the touch sensor. It should be fairly simple to design a boa...
by RogerClark
Tue May 23, 2017 12:02 am
Forum: Working / ported libraries
Topic: USB HID
Replies: 147
Views: 12130

Re: USB HID

the catch is probably that you need to enumerate as a different VID/PID e.g. 1eaf:0005 the host would then think that it is a new device and initiates that accordingly I've not checked what VID/PID are used, but I thought it was a generic code for the HID and keyboard and mini devices. Hence not an...

Go to advanced search