New Life Games LLC
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News:

Welcome to the NewLifeGames.com message forum! 

 


NLG Site Navigation Menu


Archives of old posts can be found at...... Newlifegames.net/nlg/

Author Topic: [SOLVED] My Last Fix and I'm STUMPED!  (Read 2888 times)

0 Members and 1 Guest are viewing this topic.

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
[SOLVED] My Last Fix and I'm STUMPED!
« on: December 14, 2020, 06:27:41 PM »
I thought I would come here before I clip off the pins on my RS232-TTL adapter for Pins 0 & 1 (Serial0) and connect leads to Pins 18 & 19 (Serial1) and assemble this as one unit.  I'm having one hell of a time getting SoftSerial to work and I could really use some pointers.  Logically, I would say it sounds like it should be possible.  How, I don't know.  I've tried different examples and applied them, I've tried writing some code that by the documents is SUPPOSED to work, but I'm unsuccessful.


Like I mentioned, I'd really like to get this into one assembly and get rid of the blue and white leads.  Thanks.
« Last Edit: December 18, 2020, 07:02:40 PM by peasoup49 »

Offline marcdavis

  • NLG Member 101 to 250 Posts
  • ***
  • Posts: 175
  • Reputation Power: 13
  • marcdavis New User has no influence.
  • Gender: Male
  • NLG
Re: My Last Fix and I'm STUMPED!
« Reply #1 on: December 15, 2020, 09:56:39 AM »
I had same problem - same serial shield - except for my design I had to clip pins 2 and 3 on shield to get it to work on my prototype; for the final version I just used a MAX3232 serial port; https://www.amazon.com/gp/product/B083L99CGZ
I liked the idea of stacking everything but it didn't work reliably.

Font after "...serial port;" was changed to 1pt!
Changed back to readable size by moderator.
People: please refrain from changing the default fonts. Otherwise portions of your post will be nearly invisible.
Thank you.  :)
« Last Edit: December 15, 2020, 04:50:15 PM by shortrackskater »

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: My Last Fix and I'm STUMPED!
« Reply #2 on: December 15, 2020, 04:37:00 PM »
I had same problem - same serial shield - except for my design I had to clip pins 2 and 3 on shield to get it to work on my prototype; for the final version I just used a MAX3232 serial port; https://www.amazon.com/gp/product/B083L99CGZ
I liked the idea of stacking everything but it didn't work reliably.

Font after "...serial port;" was changed to 1pt!
Changed back to readable size by moderator.
People: please refrain from changing the default fonts. Otherwise portions of your post will be nearly invisible.
Thank you.



I'm thinking that's going to be the route, clip pins 2 & 3.  I've read that I can change the pin assignment in the "pins_arduino.h" file, but I'm not sure if I want to attempt that since I haven't dealt with .h and .cpp files in quite some time.  Probably would help having a little extra testicle fortitude to do it. HAHAHAHA


I also stumbled on a board someone designed with a 328 on it that had pins 2 & 3 as another UART port as well as pins 0 & 1.  But it seems that company is out of business now.  It would've been perfect for this project.  This also tells me that one is able to modify the pin layout.  Everywhere I've read, pins 2 & 3 were PWM only on the 2560.  The 'tinker-er' in me is calling BS.  If I get the gumption to modify the pins file and it works without turning my Mega into a brick, I'll let you know.
Steve


p.s. @sayoutdabunker, I've noticed that the fonts get changed between preview and posting occasionally.  I've seen it change when using the '[ code ]' tags as well, just as a note.

Offline Stayouttadabunker

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 5424
  • Reputation Power: 404
  • Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: My Last Fix and I'm STUMPED!
« Reply #3 on: December 15, 2020, 04:57:27 PM »
p.s. @sayoutdabunker, I've noticed that the fonts get changed between preview and posting occasionally.  I've seen it change when using the '[ code ]' tags as well, just as a note.

 :24: :rotfl: ...Peasoup!   I'm NOT a moderator on this website!

I'm a member - just like you!  :fryingpan: haha


I think it's a website glitch....I 've seen thousands of sideways photographs!
Cellphones pics are the worst!
Website is designed for widescreen laptops maybe.
Remember, the more you tell us - the better we can help you!

Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: My Last Fix and I'm STUMPED!
« Reply #4 on: December 15, 2020, 05:49:44 PM »
p.s. @sayoutdabunker, I've noticed that the fonts get changed between preview and posting occasionally.  I've seen it change when using the '[ code ]' tags as well, just as a note.

 :24: :rotfl: ...Peasoup!   I'm NOT a moderator on this website!

I'm a member - just like you!  :fryingpan: haha


I think it's a website glitch....I 've seen thousands of sideways photographs!
Cellphones pics are the worst!
Website is designed for widescreen laptops maybe.


Shortstack, Stayouttadabunker.  Same, same. LOL  My apologies, I must've just been reading a post you made and the name stuck.

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: My Last Fix and I'm STUMPED!
« Reply #5 on: December 15, 2020, 06:20:27 PM »
So this just came in the mail from Santa @ Amazon.  It's a 328, Wi-Fi (w/optional external antenna), and claims to have 32Mb on board.  I wish it had an SD card for 'just in case' situations, but obviously not a deal breaker.  And I thought I'd try out a different style RS232 Shield.

Offline Stayouttadabunker

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 5424
  • Reputation Power: 404
  • Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: My Last Fix and I'm STUMPED!
« Reply #6 on: December 15, 2020, 07:19:30 PM »
Santa Claus came early!  :drool04: :rotfl:
Remember, the more you tell us - the better we can help you!

Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

Offline shortrackskater

  • Mark
  • NLG Site Administrator
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 3945
  • Reputation Power: 263
  • shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: My Last Fix and I'm STUMPED!
« Reply #7 on: December 16, 2020, 10:32:54 AM »
Shortstack, Stayouttadabunker.  Same, same. LOL  My apologies, I must've just been reading a post you made and the name stuck.

No no no ... "Shortrackskater" not ShortSTACK...that was my ex girlfriend!  :24:
And to make things more confusing, my name is Mark, and so is Stayouttadabunker.  :Tongue_Out:
Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: My Last Fix and I'm STUMPED!
« Reply #8 on: December 16, 2020, 10:49:54 AM »
Shortstack, Stayouttadabunker.  Same, same. LOL  My apologies, I must've just been reading a post you made and the name stuck.

No no no ... "Shortrackskater" not ShortSTACK...that was my ex girlfriend!  :24:
And to make things more confusing, my name is Mark, and so is Stayouttadabunker.  :Tongue_Out:


Hahaha, that's funny stuff.

Offline Stayouttadabunker

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 5424
  • Reputation Power: 404
  • Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: My Last Fix and I'm STUMPED!
« Reply #9 on: December 16, 2020, 12:48:57 PM »
Yeah ....STS is the moderator....not me! 
I'm the nice guy and he's the grumpy one! :rotfl:
« Last Edit: December 16, 2020, 01:07:49 PM by Stayouttadabunker »
Remember, the more you tell us - the better we can help you!

Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

Offline shortrackskater

  • Mark
  • NLG Site Administrator
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 3945
  • Reputation Power: 263
  • shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!shortrackskater Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: My Last Fix and I'm STUMPED!
« Reply #10 on: December 16, 2020, 04:01:46 PM »
Yeah ....STS is the moderator....not me! 
I'm the nice guy and he's the grumpy one! :rotfl:

It's the surgery... really it is!!!  :lol:
It's awful to be stuck at home for a month! Send wine/whiskey please to aid in my recovery.  :love_whiskey: :drinking_wine:
Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: My Last Fix and I'm STUMPED!
« Reply #11 on: December 18, 2020, 07:02:15 PM »
It's complete.  Ugh.  Been a long couple of months.  Below is a video I did of some of the features it does on the bigger of the two programs.  Some of the stuff you see here I programmed into the smaller card. I've got a little more room that I'm going to try and squeeze the hopper status on the smaller card.  No audio, sorry.  Forgot to enable, plus the mic was across the room anyhow.  Hum your favorite tune and pretend there's background music of your choice. LOL  I did a screen capture of the PC clicking thru some buttons.  Waiting for a friend that's proficient in Photoshop to make my logo for the top of the screen.

https://drive.google.com/drive/folders/1YC-gzykXhShVJDvUZsqzu7UDFLpdqsL5?usp=sharing

Steve

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: [SOLVED] My Last Fix and I'm STUMPED!
« Reply #12 on: December 18, 2020, 07:12:23 PM »
Look, ma!! No wires!  :drool04:

Offline Stayouttadabunker

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 5424
  • Reputation Power: 404
  • Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: [SOLVED] My Last Fix and I'm STUMPED!
« Reply #13 on: December 18, 2020, 07:17:38 PM »
very nice....will it do my taxes? lol

Awesome job!  :applause:
Remember, the more you tell us - the better we can help you!

Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: [SOLVED] My Last Fix and I'm STUMPED!
« Reply #14 on: December 18, 2020, 07:22:41 PM »
very nice....will it do my taxes? lol

Awesome job!  :applause:


Thanks!  Hell, I hate doing my own. LOL  Had H&R Block do mine for 2018 and found a mistake by the Title company when I sold my house.  Got a letter from the IRS saying I owed $131,000 for 2018 last weekend.  Thank gawd that's cleared up.  :duh:

Online 474lsa

  • Contributing NLG Member
  • NLG Member 251 to 500 Posts
  • *
  • Posts: 265
  • Reputation Power: 27
  • 474lsa New User barely matters.474lsa New User barely matters.
  • Gender: Male
  • NLG
Re: [SOLVED] My Last Fix and I'm STUMPED!
« Reply #15 on: December 19, 2020, 12:16:25 PM »
Awesome job on the no wires look!  Could you post the links to which shields you used?  Any other info on your design or program would be awesome too!

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: [SOLVED] My Last Fix and I'm STUMPED!
« Reply #16 on: December 19, 2020, 01:33:00 PM »
Awesome job on the no wires look!  Could you post the links to which shields you used?  Any other info on your design or program would be awesome too!


Thanks!


Boards I used:
Sunfounder atMega2560 and also the Sunfounder mega328 (Uno copy)
Sunfounder Ethernet Shield
TinySine RS232-TTL Shield
Acrylic case for the 2560 and 328 were just for looks.


I'm sure any replacement can be used.


I found it easier to program on the 2560 because it has extra Serial ports to utilize.  That way I wouldn't have to flip the switch on the RS232 Shield every time I uploaded to the card and just connected through jumper wires from Pins 19 & 18 on the 2560 to Pins 0 & 1 on the shield that sat off to the side.  Going to the final setup (as in the picture) just need to remember to change everything in the code associated with Serial1 (Pins 19 & 18) to Serial (Pins 0 & 1).  When it came time to program the Uno, I just removed some features (code) to fit in the 32kb space.  If you're stuck at a point, I'm willing to assist to get you past your roadblock.  It was a difficult relearning process since I hadn't written any code in about 20 years.  I spent tons of hours Googlin' to find what needs to be done to make a certain part work the way I wanted.  Normally, I would share my code, but I haven't decided if I want to make these for others since I've been unemployed since March (tired of eating raman noodles, LOL).  A lot of work was put into the 251kb of typing and it compiles down to 114kb to fit on the 2560.

Online 474lsa

  • Contributing NLG Member
  • NLG Member 251 to 500 Posts
  • *
  • Posts: 265
  • Reputation Power: 27
  • 474lsa New User barely matters.474lsa New User barely matters.
  • Gender: Male
  • NLG
Re: [SOLVED] My Last Fix and I'm STUMPED!
« Reply #17 on: December 19, 2020, 02:29:10 PM »
 :thank_you: For sharing!  Awesome job!  Times are tough for a lot of people right now.  If you decide to start making these I am sure you will find some buyers on this forum! 

 

Cell Phone and Pad Mode

imode wap wap2

NLG Archives

Archives @ newlifegames.net Wayback Machine

Contact Us

NLG Shop 928 754-4147 Email Us 1788 Highway 95 30 BHC City AZ 86442
If you find this site helpful, please consider becoming a Contributing NLG Member with a monthly subscription to help cover the cost of pizza, coffee, aspirin, hosting, and bandwidth.
Contributing Members: get unlimited personal messages, can save topics and replies as drafts,
can post to the Classified ads, get unlimited access to the downloads, and also get this minty badge:



**Subscription Link** (Click Here) **Subscription Link**



           
If you would rather remain anonymous Thank You or just want to help support the site, please use this "make a donation" button:




From your entire NLG staff, thank you for supporting NLG.


New Life Games LLC 1788 HIGHWAY 95 UNIT 30 BULLHEAD CITY AZ 86442




Newlifegames.com     Newlifegames.net     Newlifegames.org

Newlifegame.com     Newlifegame.net     Newlifegame.org    Newlifegames.us

   New Life Games     NewLifeGames  NLG

 We Bring new Life to old Games    1-888-NLG-SLOTS

Are all Copyright and Trademarks of New Life Games LLC 1992 - 2022


FAIR USE NOTICE:



This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml
If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.




The NewLifeGames.com website is optimized for use with Firefox and a minimum screen resolution of 1600 x 900 pixels.

SimplePortal 2.3.5 © 2008-2012, SimplePortal