RFID Toys Homepage
Holy crap, check out the Dangerous Things store!
Forum Home Forum Home > Projects and such > Book Projects
  New Posts New Posts RSS Feed - CH6-Smart Shelf
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CH6-Smart Shelf

 Post Reply Post Reply Page  <1 23456>
Author
Message
Wakka View Drop Down
Newbie
Newbie
Avatar

Joined: 16 June 2006
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wakka Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2006 at 6:31pm
Hey Amal,

EDIT: I just realized my problem... I don't have the V5 and GND power wired up. I didn't see it on your diagrams, so i didn't do them, lol. I guess reading is truly fundamental

Where did you wire your gnd/5v power sources to? I'm thinking simply to an extra 4 pin power connector in the pc: http://pinouts.ru/Power/BigPower_pinout.shtml


Edited by Wakka - 17 September 2006 at 9:46pm
Back to Top
amal View Drop Down
Admin Group
Admin Group
Avatar

Joined: 22 November 2005
Location: United States
Status: Offline
Points: 2061
Post Options Post Options   Thanks (0) Thanks(0)   Quote amal Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2006 at 1:13pm

Heh.. cool you figured it out. I'm on the road (currently moving from Washington State to Georgia for the winter... thank you GPRS!), so that's why I've been late in responding. I got my 5v power source from an 12v AC adaptor and a radio shack 5v power regulator (12v in, 5v out) but you can use any 5v source as long as its stable and won't exceed 5v.

Amal ;)

Amal ;)
www.amal.net
Back to Top
Wakka View Drop Down
Newbie
Newbie
Avatar

Joined: 16 June 2006
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wakka Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 8:23pm
No worries on the delay! We all have lives outside of the computer 

Goodluck with the move


Edited by Wakka - 19 September 2006 at 9:55pm
Back to Top
Wakka View Drop Down
Newbie
Newbie
Avatar

Joined: 16 June 2006
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wakka Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2006 at 11:17am
Another Q for the master...

On the DB9 connector, pin 2 is RxData and pin 3 is TxData. They're connected to the opposite pins on the M1 reader. is this right? I figure it is, but wanted to confirm it with you.
Back to Top
amal View Drop Down
Admin Group
Admin Group
Avatar

Joined: 22 November 2005
Location: United States
Status: Offline
Points: 2061
Post Options Post Options   Thanks (0) Thanks(0)   Quote amal Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2006 at 11:27am

Yes, opposite is correct. That's because with any serial device, data is sent out on the TX pin and the device listens for data on the RX pin. If you connect RX to RX, then you'll have two devices listening for data on the RX line with nobody talking. As well, if you connect the TX pins together, both devices will be sending data out on the same line with neither listening on that line.

Data needs to flow from the TX pin on one device to the RX pin on the other, and vice versa... and that's how you need to wire them up. Make sense?

We've arrived in our new town, and we'll be moving into our new place tomorrow! Sittin pretty in a hotel room right now though. Thank god for free wireless!

Amal ;)



Edited by amal - 24 September 2006 at 11:30am
Amal ;)
www.amal.net
Back to Top
Wakka View Drop Down
Newbie
Newbie
Avatar

Joined: 16 June 2006
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wakka Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2006 at 2:47pm
Yeah, figured that's how it worked. Just trying to figure out what i did wrong with this thing that it's still not reading my tags, grr 
Back to Top
Wakka View Drop Down
Newbie
Newbie
Avatar

Joined: 16 June 2006
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wakka Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2006 at 11:51am
I'm still trying to weed out possible issues... I even tried a second pc and no go...

What OS did you have installed on your system for the example of this project in your book? And what version of access?

I just purchased the 9v 300ma adapter from radioshack (the one you mention here: http://www.rfidtoys.net/forum/forum_posts.asp?TID=27&PN= 1 ). I'm goign to wire it up and see what happens. What did you use for the ground power to the M1? Did you use the ground off of the adapter with the 5v regulator in between? Or did you ground it with the serial cable?

Also, you don't happen to have a pic of the completed chip wired up do you? I would love to compare yours to mine to see if i made an obvious mistake. I can't believe i can't get this thing working...


Edited by Wakka - 26 September 2006 at 7:35pm
Back to Top
amal View Drop Down
Admin Group
Admin Group
Avatar

Joined: 22 November 2005
Location: United States
Status: Offline
Points: 2061
Post Options Post Options   Thanks (0) Thanks(0)   Quote amal Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2006 at 9:15pm

I had Windows XP Pro, with Access 2003 I believe.

All grounds are common, which means they are all tied together with nothing inbetween. The regulator goes between the +9v from the adaptor and the 5v input on the M1.

I'm still working from the road, but I should have access to some stable (and fast) internet soon. I can check out the pics of your wiring job then and see if I can't see something obvious.

Have you tried testing with Hyper Terminal instead of the RFID software? HyperTerminal will just give you raw direct access to the M1 and allow you to see if the communications port is really working with the M1 or not. Check the M1 documentation to see how to send raw commands to the module and see what to expect in return. Also check the docs for port settings like baud (speed) and such.

 

Amal ;)
www.amal.net
Back to Top
Wakka View Drop Down
Newbie
Newbie
Avatar

Joined: 16 June 2006
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wakka Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2006 at 10:42pm
No worries on looking at the pics. Whenever you get in and settled is fine. I appreiciate the help as always I moved cross country last year so i know it takes awhile to get yourself in order

I don't have any paperwork for the M1... Only what i find on the net. I didn't get them through skyetek directly (they wanted a boatload of $$ for the developer kit). I'll try to find atleast one command i can run to test it...

So, the ground is all tied together. Basically what you're saying is that the ground from the serial cable is enough and that i only need to run a wire from the ground on the 5v regulator to the ground next to the 5v pin on the M1? That's how i re-wired it with the 9v charger, but the 5v regulator is cold and not heating up like before so i'm not sure if it's working or not...

When i finally get this working, i'm sending you a 12 pack!! lol
Back to Top
amal View Drop Down
Admin Group
Admin Group
Avatar

Joined: 22 November 2005
Location: United States
Status: Offline
Points: 2061
Post Options Post Options   Thanks (0) Thanks(0)   Quote amal Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 7:58am

Hmm... if your 5v reg was getting hot then it might be possible you wired it wrong to start with. The 5v reg should not get hot as the M1 doesn't pull enough power to really cause the thing to heat up. The 5v reg from Radio Shack can handle up to an amp, and the M1 doesn't pull nearly that much power. How hot was the reg getting? Chances are, if it was wired wrong, both the M1 and the voltage reg might be toast because I think the reg will output straight source voltage when wired backward.

Try using a volt meter on it to test the output of the voltage regulator before hooking up the M1. If it shows as outputting 5v then hook up the M1 and test again.. it should still be 5v.

Also, make sure your M1 module is not the kind with the voltage regulator built in. Some M1 modules already have a 5v voltage regulator built in and do not need an external voltage regulator. If you use an external voltage reg, the M1's internal voltage regulator will cause a slight drop in the voltage given to the M1 module and it won't have enough power to function correctly. What is the exact model number of the M1 module you're using?

 

Amal ;)
www.amal.net
Back to Top
 Post Reply Post Reply Page  <1 23456>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.172 seconds.