Search found 12 matches

by Koep
Tue Aug 13, 2024 5:41 pm
Forum: IDE's
Topic: Port not working on old arduino ide
Replies: 5
Views: 6609

Re: Port not working on old arduino ide

Hi All!

It turned out to be the 2.8.0 core. Deleting it brought the ports back

Rgds,
Tapio
by Koep
Tue Aug 13, 2024 4:20 pm
Forum: IDE's
Topic: Port not working on old arduino ide
Replies: 5
Views: 6609

Re: Port not working on old arduino ide

Hi everyone!

I have a weird problem with Ports missing(greyed out in tools).

Few days ago connecting usb cable caused my win7 pc to blue screen and ports in 1.8.18 got greyed out.

I deleted 1.8.18 and put in a fresh download of 1.8.19 but no help.

I am using STM blue pill with rogers core ...
by Koep
Wed Mar 13, 2024 4:05 pm
Forum: Custom design boards
Topic: Shrinking BluePill?
Replies: 0
Views: 17571

Shrinking BluePill?

Hello All!

I am thinking about testing an idea for motor control where I'd need a pcb smaller than blue pill.

Which functions/functionalities in Roger's core stop working if I omit the
32khz oscillator
reset button
boot pin headers ?

I need:
timer1
adc
hardwareCAN
few IO's

Programming with st ...
by Koep
Sun Mar 03, 2024 6:15 pm
Forum: General discussion
Topic: Properly handling timer overflow ?
Replies: 6
Views: 7167

Re: Properly handling timer overflow ? - SOLVED

Hello everyone!

This indeed turned out to be this exact issue viewtopic.php?t=1080

I removed the overflow interrupts from timers 2 and 4 (ie encoder and pulse counter)
and moved the checking of overflow to the beginning of the pid loop.

All errors are now gone :D

Rgds,
Tapio
by Koep
Mon Feb 19, 2024 5:25 pm
Forum: General discussion
Topic: Properly handling timer overflow ?
Replies: 6
Views: 7167

Re: Properly handling timer overflow ?

Hi and thank you for taking time to reply.

Following is what I at least think I'm doing:

Timer1 runs PWM in complementary mode with dead time enabled.
Timer1 configured to overflow at 5560 for app. 13kHz PWM freq.

Timer2 (enc) is hardware quadrature encoder connected to HEDS optical encoder ...
by Koep
Sun Feb 18, 2024 6:02 pm
Forum: General discussion
Topic: Properly handling timer overflow ?
Replies: 6
Views: 7167

Properly handling timer overflow ?

Hi everyone!

I am/have been building a small router with dc servomotors based on blue pills and cheap h-bridges,
using arduino 1.8.18 and Roger's core
I already have excessive hair thinning caused by head scratching trying to find the cause for infrequent movement errors.

Last week I finally ...
by Koep
Sat Sep 09, 2023 8:33 am
Forum: General discussion
Topic: How Close is too close?
Replies: 0
Views: 17032

How Close is too close?

Hi all!

I helped my friend to build a small cnc router with blue pills and IBT-2 boards as servo drives.

Otherwise simple project is suffering random movement errors due to electrical noise.

Attached pic shows control enclosure with cover removed.
I have 3 blue pills and a pokeys board spaced app ...
by Koep
Sat Nov 27, 2021 3:31 pm
Forum: General discussion
Topic: Hardwaretimer encoder DMA?
Replies: 1
Views: 2890

Hardwaretimer encoder DMA?

I understand reading the user manual for F103 that DMA can be used with timers.
Am I correct in thinking that encoder over/underflow event could be handled in DMA instead of interrupt?
Or have I got this wrong?

If correct then does anybody have/know of an example?

Rgds,
Tapio
by Koep
Tue Nov 23, 2021 5:45 pm
Forum: General discussion
Topic: [ SOLVED ] Trying to add modbus to serialcommand??
Replies: 7
Views: 7679

Re: Trying to add modbus to serialcommand??



The Windows driver has always been problematic. On W7 it was acceptable, on W8.0 it was a bitch, on W8.1 it could be tamed but would often go on a tangent, and W10 with current patches is somewhat working OK.

Linux just works... all the time once permissions are correctly set.


This got me ...
by Koep
Sat Nov 20, 2021 8:40 pm
Forum: General discussion
Topic: [ SOLVED ] Trying to add modbus to serialcommand??
Replies: 7
Views: 7679

Re: Trying to add modbus to serialcommand??



I believe Op is wishing to drive ModBus to Mach3. The interface is well documented:
http://www.homanndesigns.com/pdfs/Using_Modbus_with_Mach3.pdf


Yes, this is my intent. I need to get info / pin states from blue pill to Mach3 and modbus is only feasible way.



If I were attempting to do ...

Go to advanced search