btsimonh

Results 130 comments of btsimonh

you COULD re-purpose SWDIO/SWCLK to software serial, but then not sure how you would re-program, so did not dare; you would also be forever plugging and unplugging the STLINK. I...

HAL_GPIO_Init is called once for each pin (RX and TX). Yes, data is sent in the TX timer if available (one interrupt per bit). should be n81.... I'm not going...

p.s. just moved everything to a new branch https://github.com/btsimonh/hoverboard-firmware-hack/tree/pidcontrol - implements PID based control for Speed and Position (separately). So now you can ask it for 95 mm/s, and it...

they are pretty un-tuned at the moment. It struck me that the current PWM input is not Speed at all, but instead 'Power to the wheels'. For position, I figured...

yes. just done a load of mods to enable the PID constants to be adjusted and stored in flash; but no time to commit now; must work on urgent 'real...

ok, pushed into my pidcontrol branch. This allows you to use 'f' commands to set variables (e.g. fpkp100 to set the Position P values to 1.00), allowing the PID values...

Hi walterinho, since I don't have access to the USARTs (occupied with sensor boards...), I've not specifically kept the functionality. One of the issue you will face is that the...

Like this: :) ![rpizeroinstallation](https://user-images.githubusercontent.com/3137332/45356337-e8423e00-b5ba-11e8-8353-7cb1740fb748.jpg) I take 12v from the sensor board, through a DC-DC (a bit worried if the pot gets knocked!). I use a USB-serial for the serial, and...

@MoogleTroupe - thanks for posting :). I had a quick look at TAS DeviceGroup - it's basically a multicast protocol to share values? I've never used in it TAS, but...

You could probably dig into the tuya integration code in HA to find out what it's doing. Also, it may be logging into your tuya cloud account, and not seeing...