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.

47 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. I think this article done a great job.What a best way to describe your view. Thanks for sharing with us. Really like your informative article.
    run3.me
    Basketballlegendsgame.com

    ReplyDelete
  8. 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
  9. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share
    obat benjolan di pergelangan tangan
    cara menyembuhkan tumor rahang
    walatra zedoril-7
    cara mengobati gagal ginjal
    cara mengobati luka diabetes

    ReplyDelete
  10. It really is truly complicated to see out this type of fantastic articles with a few useful data and facts
    Handlessmillionaire.com Snakeis.com balloonsio.org

    ReplyDelete
  11. The post is written in very a good manner and it contains many useful information for me. Thank you very useful information admin, and pardon me permission to share articles here may help :

    cara menghilangkan benjolan di bawah rahang
    cara mengobati amandel bengkak
    cara menghilangkan benjolan di ketiak
    cara menyembuhkan tumor ginjal
    cara mengobati lambung bocor
    cara menyembuhkan borok di kepala

    ReplyDelete
  12. 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
  13. 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
  14. 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
  15. Everything is very open with a precise explanation of the issues.
    It was really informative. Your website is useful. Thank
    you for sharing!


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

    ReplyDelete
  16. 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
  17. Nice Information are there in it! Thank you for some information. You give me some idea's. Keep posting. 야한동영상

    ReplyDelete
  18. 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
  19. Great delivery 횟수 무제한 출장. Sound arguments. Keep up the great effort.

    ReplyDelete
  20. 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
  21. King Solomon compares his beautiful bride to a garden: "Your plants are... KANAH-Bos (Marijuana)... with every kind of Incense Tree..
    경마

    magosucowep

    ReplyDelete
  22. The blog was actually fantastic! Lots of abundant advice and inspiration, both of which we all need!파워볼


    ReplyDelete
  23. This article is an appealing wealth of informative data that is interesting and well-written. 슬롯머신

    ReplyDelete
  24. Appreciate it for helping out, excellent info. 토토사이트

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

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

    ReplyDelete
  27. i love reading this article so beautiful!!great job! 바카라사이트

    ReplyDelete
  28. Super site! I am Loving it!! Will return once more, Im taking your sustenance in addition, Thanks. 카지노사이트프로

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

    ReplyDelete
  30. 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
  31. Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed browsing your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon 온라인카지노사이트 I would like to write an article based on your article. When can I ask for a review?!

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

    ReplyDelete
  33. 스포츠토토 This post is very simple to read and appreciate without leaving any details out. Great work!

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

    텍사스홀덤

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

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

    ReplyDelete