Monday, December 21, 2009

NES - Arduino shield bit shift / potentiometer test


The potentiometer test worked without a hitch. The first video is running a diagnostic tool I found on nesdev (nestress). The problem was that the test would end when you hit select and start on either controller, so as I was testing the full range of values it would just quit! So I wrote up my own code in the second video to spit out the values. I had to make a few adjustments to the Arduino code to ensure that all of the outputs would be changed simultaneously, otherwise it's possible that the NES could latch halfway through a change. I'll post all code/schematics once I sort everything out, until then feel free to contact me if you have any questions!

I've also been working on additional input via the second port to GlitchNES. Right now I have the potentiometer cycle the first color of the palette, it's not much different than changing the hue on your TV, but it's still pretty cool. I'll take some pictures of it tonight.

29 comments:

  1. Being the ignorant one that I am, I'm a bit unsure of how you are communicating with the NES from the 4021. Once you upload the .pde, I may have to dig out my old system and test this out! Glad to see you're seeing this one through, yeah?

    ReplyDelete
  2. Not ignorant, I just didn't put enough detail!

    I'm using a development cartridge from www.retrousb.com. I wrote up a simple program (assembly) for the NES to spit out the status of the gamepad. The Arduino sketch simply gets the value from ADC0 and puts the byte out on the digital line (PORTD). Checkout http://wiki.nesdev.com/ if you're interested in NES hardware. Let me know if you need any help. If you decide to pickup the hardware I'll gladly send the source.

    Thanks for the link by the way! I like the site! (poweredbynerd.com right?)

    ReplyDelete
  3. Thanks for the info! Unfortunately the PowerPak is a bit out of my price range at the moment. Being an EE student, I'm almost always flat broke. If you'd be willing to write a post describing your setup, and how you got started, I'd be more than glad to write about it!

    Yep, we're just starting out from an old blog of mine. No need for thanks, you've got some good reads, and we're always happy to help out!

    ReplyDelete
  4. Hopefully your website becomes the first and best in the eyes of google search
    Agen Bola Terpercaya

    ReplyDelete
  5. Very nice and always successful.
    This is a very good article.
    I’m waiting for you the other article.

    Misteri Dunia

    interesting articles and this is my first first reading a very interesting article thanks for this article that fits with the theme news.

    Prediksi Togel Hongkong

    ReplyDelete
  6. Very nice and always successful.
    This is a very good article.
    I’m waiting for you the other article.

    Konspirasi Hitam

    interesting articles and this is my first.
    first reading a very interesting article.
    thanks for this article that fits with the theme news.

    Prediksi Togel Jitu Pasti Tepat

    ReplyDelete
  7. given article is very helpful and very useful for my admin, and pardon me permission to share articles here hopefully helped : walatra sehat sendi jelly gamat qnc obat benjolan di kepala obat benjolan di payudara obat polip hidung

    ReplyDelete
  8. Finally find the info someone asked the other day about Daniel Craig on Celeb Networth I was looking for it all over the web and luckily found it!

    ReplyDelete
  9. Good day! I could have sworn I've been to this blog before but after browsing through a few of the articles I realized it's new to me.
    Anyways, I'm certainly delighted I stumbled upon it and I'll be bookmarking it and
    checking back frequently!


    토토사이트
    토토
    먹튀검증

    ReplyDelete
  10. magnificent put up, very informative. I'm wondering why the opposite
    experts of this sector don't notice this. You must
    continue your writing. I am confident, you have a huge readers' base already!


    토토사이트
    안전놀이터
    프로토

    ReplyDelete
  11. Everything is very open with a precise explanation of the issues.
    It was really informative. Your website is useful. Thank
    you for sharing!


    카지노사이트
    바카라사이트
    카지노사이트홈

    ReplyDelete
  12. Fantastic beat ! I would like to apprentice while you amend your website,
    how could i subscribe for a blog website? The account helped me a acceptable deal.
    I had been a little bit acquainted of this your broadcast
    provided bright clear idea

    카지노사이트
    바카라사이트
    홈카지노

    ReplyDelete
  13. Nice Information are there in it! Thank you for some information. You give me some idea's. Keep posting. 야한동영상

    ReplyDelete
  14. Thanks for ones marvelous posting 오피헌터! I truly enjoyed reading it, you might be a great author. I will make sure to bookmark your blog and will come back in the future. I want to encourage that you continue your great job, have a nice evening!

    ReplyDelete
  15. Great delivery 횟수 무제한 출장. Sound arguments. Keep up the great effort.

    ReplyDelete
  16. Thank you so much for giving everyone such a splendid opportunity to discover important secrets from this site.
    It is always very sweet and full of fun for me to see the fresh guidance you will have.
    And definitely, I'm so always amazed for the fabulous creative
    ideas served by you. Some points in this posting are absolutely the most effective we've had.

    Visit my site :: 사설경마

    ReplyDelete
  17. King Solomon compares his beautiful bride to a garden: "Your plants are... KANAH-Bos (Marijuana)... with every kind of Incense Tree..
    경마

    magosucowep

    ReplyDelete
  18. I will recommend your website to everyone. You have a very good gloss. Write more high-quality articles. 룰렛

    ReplyDelete
  19. I am filtering for and I have to post a remark that "The substance of your post is stupendous" Great work! 카지노사이트

    ReplyDelete
  20. The matter you we highlighted above is surely value able for anyone to workout. the concept of your article is very true and It will result in a positive way. 카지노

    ReplyDelete
  21. 온라인카지노 I am definitely enjoying your website. You definitely have some great insight and great stories.

    ReplyDelete
  22. I wanted to say Appreciate providing these details, you're doing a great job with the site...

    텍사스홀덤

    ReplyDelete
  23. I am sure this article has touched all the internet viewers, its really really nice post on building up new website. 카지노

    ReplyDelete
  24. Catawbas break ground on $300M Vegas-like 스포츠중계 메이저사이트목록 안전토토사이트 in Kings Mountain

    ReplyDelete