Search found 83 matches
- Tue Apr 14, 2020 11:15 pm
- Forum: General discussion
- Topic: Various problems with bluepill, stlink and serial
- Replies: 18
- Views: 18665
Re: Various problems with bluepill, stlink and serial
If you are hung-up on the "blue-pill", you are going to need to validate several know good boards from a number of boards you ordered. But, even at $2 per board, you are going to spend $20 for 10 boards and know that a percentage will go to the trash. Depends on what you use them for and ...
- Tue Apr 14, 2020 2:36 am
- Forum: General discussion
- Topic: Wobbly resistance readings
- Replies: 15
- Views: 9302
Re: Wobbly resistance readings
Updates: 1. I opened my hardware up, and I am using 30K pots, not 400K as stated before. My mistaken. 2. While I don't have any noticeable wobbling on my Windows laptop with all my changes, I have lots of wobbling on my Raspberry PI, mainly on the second pot. I wonder if this is due to the PI's powe...
- Mon Apr 13, 2020 9:46 pm
- Forum: General discussion
- Topic: Wobbly resistance readings
- Replies: 15
- Views: 9302
Re: Wobbly resistance readings
I don't know how exactly to check if USB is finished transmitting, though I suppose I could just add a simple delay(13) (I know that the transmission takes about 12ms). However, the cost of waiting for USB to finish transmitting is that I introduce more latency, and so I wouldn't be able to afford a...
- Mon Apr 13, 2020 3:28 pm
- Forum: General discussion
- Topic: Wobbly resistance readings
- Replies: 15
- Views: 9302
Re: Wobbly resistance readings
1. Pulling down the other pins doesn't seem to do anything in my testing. 2. In further testing, turning off interrupts during acquisition doesn't seem to matter much. 3. I found that the limiting factor in my project is USB sending, which happens in the background. That means that I can increase th...
- Sun Apr 12, 2020 6:43 pm
- Forum: General discussion
- Topic: Wobbly resistance readings
- Replies: 15
- Views: 9302
Re: Wobbly resistance readings
That's a nice idea. Disabling interrupts for the read does seem to help a little bit. But doesn't solve the problem entirely. UPDATES: 1. I've also noticed another weird thing: there is a kind of "afterimage" from the first pot reading. I did this experiment: keep pot 2 unmoved and turn po...
- Sun Apr 12, 2020 3:51 pm
- Forum: General discussion
- Topic: Wobbly resistance readings
- Replies: 15
- Views: 9302
Wobbly resistance readings
In my USB paddle game controller project (https://github.com/arpruss/paddlecontrollers), I was initially getting a lot of wobble in reading the controller pots (which were 400K pots): the paddles in the Pong game were shaking very visibly. This seems to be especially bad when the paddles are plugged...
- Tue Apr 07, 2020 12:45 am
- Forum: General discussion
- Topic: Arduino compile to .bin?
- Replies: 5
- Views: 6505
Arduino compile to .bin?
Is there a way to get the Arduino IDE with Roger's core compile to a .bin file that could be uploaded to a device by a user using the STM Demonstrator, without bothering with a bootloader?
- Sat Apr 04, 2020 9:05 pm
- Forum: Projects
- Topic: Paddle controllers
- Replies: 4
- Views: 3902
Re: Paddle controllers
And full build instructions are here: https://www.instructables.com/id/USB-Pa ... ontroller/
- Wed Apr 01, 2020 1:25 pm
- Forum: Projects
- Topic: Paddle controllers
- Replies: 4
- Views: 3902
Re: Paddle controllers
I've change the firmware so that in single-joystick mode (where X=paddle 1 and Y=paddle 2) it emulates a Stelladaptor.
I also made a game very close in gameplay to Pong in pygame for this.
I also made a game very close in gameplay to Pong in pygame for this.
- Sun Mar 15, 2020 5:04 pm
- Forum: Projects
- Topic: Paddle controllers
- Replies: 4
- Views: 3902
Paddle controllers
I made 3D-printable Atari-style paddle controllers that either show up as a USB joystick (X and Y controlled by two paddles), or two USB joysticks, or an absolute mouse. Firmware is here . It needs the latest version of my USB Composite library and the libmaple-based core. Printable files are here ....