Search found 502 matches

by stevestrong
Thu Mar 18, 2021 1:21 pm
Forum: General discussion
Topic: I2C timeout for STM32F103C8
Replies: 13
Views: 8630

Re: I2C timeout for STM32F103C8

I do not know any parts of your code, so I cannot tell you what might be the problem.
But I own some BT HC05 modules, so if you write a simple sketch I could eventually try to reproduce your problem.
by stevestrong
Thu Mar 11, 2021 2:58 pm
Forum: General discussion
Topic: PlatformIO and Arduino IDE compilation results are different
Replies: 24
Views: 13630

Re: PlatformIO and Arduino IDE compilation results are different

Obviously, you are measuring the time to send data to Serial instead of setting bits. In this case you have to consider the properties of USB serial which works based on periodic interrupts which take place at fastest each millisecond. That is what your results mirrors, if the Serial USB does not bu...
by stevestrong
Thu Mar 04, 2021 2:01 pm
Forum: Projects
Topic: STM32f103c8t6 (Blue Pill) IR Communication
Replies: 7
Views: 8403

Re: STM32f103c8t6 (Blue Pill) IR Communication

There are examples for Tx and Rx using SPL here: https://github.com/JoeMerten/Stm32/tree ... USART/IrDA
You may try to adapt them to actual STM core.
by stevestrong
Thu Mar 04, 2021 8:55 am
Forum: IDE's
Topic: board manager for RogerClark's version + arduino IDE2.0
Replies: 19
Views: 11812

Re: board manager for RogerClark's version + arduino IDE2.0

IMHO, the best method, even if not the most comfortable, is the manual installation, since the IDE can eventually change the board manager from one version to another, then you have to adapt the JSON file. The manual installation works for every IDE version. And you save a lot of time avoiding to un...
by stevestrong
Tue Mar 02, 2021 9:46 am
Forum: General discussion
Topic: Strange failure with W5500 shield
Replies: 1
Views: 1401

Re: Strange failure with W5500 shield

Maybe OS related? Have you tried in non-OS environment?
Or the UDP datagram you send is not correct?
If you post a simple (non-OS) example showing the effect I could eventually try to reproduce the problem and support you.
by stevestrong
Mon Mar 01, 2021 2:33 pm
Forum: Off topic
Topic: Throttle wireless sensor
Replies: 16
Views: 10620

Re: Throttle wireless sensor

Well, for a throttle you do not necessarily need an extra circuit, a simiple e-bike throttle (like this ) uses a magnetic band which goes from 0 to middle position in the proximity of a HAL sensor. The reading is pure analog, you can use any magnet, and you can scale it in software according to your...
by stevestrong
Sun Feb 28, 2021 12:05 pm
Forum: General discussion
Topic: STM32F103ZET6 Board hack
Replies: 10
Views: 6586

Re: STM32F103ZET6 Board hack

If only the flash and RAM size is the difference, you take the ld file for ZE variant and copy it as ZG variant in which you adapt the RAM and ROM LENGTH parameters. Then edit the boards.txt file by copying this section to the next following lines in which you change the name, the parameters accordi...
by stevestrong
Sat Feb 27, 2021 8:17 am
Forum: General discussion
Topic: STM32F103ZET6 Board hack
Replies: 10
Views: 6586

Re: STM32F103ZET6 Board hack

Which STM32F103 core? Arduino_STM32 (Libmaple) or STM32duino (STM official core)?
by stevestrong
Thu Feb 25, 2021 2:26 pm
Forum: General discussion
Topic: I2C timeout for STM32F103C8
Replies: 13
Views: 8630

Re: I2C timeout for STM32F103C8

I have tested out with solely the IMU and displaying in the serial monitor, the same happens. Again, I need a simple sketch in order to reproduce the problem. Try to write one. In my experience, the issue gets understood by simplifying the software, or by using a simple working version and trying t...

Go to advanced search