-
Good News
09/03/2024 at 02:28 • 0 commentsTurns out I just have alot of bad microcontrollers. My programmers all work, I did brick my last attiny13 though. Working on putting code onto a work attiny2313. Theres no adc, but keeping the potientometers as my paddles so they work the same way. Will also keep code under 1k so it could in theory work on an attiny13 in the future. Almost done with a point system, updates to come in the next few days.
-
Frustration
09/02/2024 at 22:35 • 0 commentsWell I was making great progress. I switched displays and got most of coding done this morning. I'll leave log of the code and where i was at. Its needs so major cleaning up of various functions and old comments and just randomness that was never meant for someone other than me to see. As of this morning the only sections left to code where the right paddle movement and scoring. I was working on getting a potientometer for the paddles so I could get away with only using two pins for the paddles along with 2 pins for the sda and scl lines for the display. I was running into problems with this because of a noisy breadboard and too small of a screen to making an accurate position of the paddles. The paddles jumped around the screen and failed to respond. So i switched to a set of 4 switches. But last night I was having problems with the right paddle function interferring with the reset pin, putting the whole program into a reset. So thats when I decided to start today off with converting the switches back to potientometers. However I would center the paddle at the start and the if the ADC values were under 512, it would inch the paddle down or over 512, inch the paddle up. I think i got the left one to work until everything went up in smoke.
When i started this morning, everything on the screen was moving alot faster than it was last night. Making sure the fuses were set correct, I went to write the clock cycle, clicking CKSEL fuse 0, but meant to select CKSEL 1 and accidently wrote both fuses to zero for an external clock effectively bricking my last attiny13 i have on hand. So i spent was should have been a finishing up day into also bricking (I think) my programmer when i tried to make a High Voltage programmer, searching every last box for a crystal oscillator and basically pulling out my hair trying to find some way to reset my attiny and even if i could, fix the programmer that very well may have had a short overvoltage or current, making it useless. I tried to use other microcontrollers to see if the programmer works but to little luck.
So now I plan to switching to a 12f683 microchip and seeing if i can convert the whole thing over to that microcontroller since I wouldn't have new attiny's or a programmer with enough time to complete the game before the sept. 10th deadline.
-
Display Update
08/29/2024 at 02:43 • 0 commentsIt turns out the display I wanted to use is just not working. After ALOT of research along with trial and error, I've found that its current state is just not usable. For starters, the driver chip seems to a UPD645 variant, not the ST7735 I was expecting to find. The driver ic is also on the other pcb that I had removed. I do plan on making the display a new project and continuing the reverse engineering to see if I can do something useful with this board and post for others to hopefully learn off of. However I dont feel I would be able to complete something before the contest deadline.
Therefore, I am going to switch to a small OLED display instead. I will begin working on that tonight and update the project in the next day or two to a new setup.