Troubleshooting error in Thonny

Hello,

Hope I did not make mistakes in my English, try to do my best.

What would/am I making a warning system.
A good friend has the disease MS and is sitting in a wheelchair.
Her legs fell out a while ago, and now her arms aren’t doing well.

I initially made a button program with a Raspberry Pi3, which sends a text message to her wife with Twilio. But that can’t work now because of the circumstance. She has now been given a professional system, but due to her poor coordination with her arms, an incorrect alarm is now often sent.

I think I now have a better solution with NFC, she just has to pass the tag along the sensor.
And if I give her two tags, the one with a red tag sends a different message but with the blue one sends a different message.
I think it could easily be done with ( the program ) and unauthorized user.

I am getting the error message below when I run my program.

I try to do it on another way, working with to command prompt.

With “Libnfc”, and so I know I connect my card the right, but maybe not for the program Thonny.

I used Pin 1 2 3 and 5 may that is the problem.

1 Like

Hi Wim,

Welcome to the forum!!

Have you enabled I2C through the Raspberry Pi? And would it be possible to send through a photo of how you have everything connected?

Pins 1 and 2 are 3.3 and 5V, if you connected the GND pin to pin 2 you might have fried the RFID module.

Once you get that photo sent through we can take a closer look!
Liam

Hi Liam

Two pictures for how I did and how I used.

I started my project on the command line on my Raspberry PI3.

Download from github.com libnfc-1.8.0

Then I modified the libnfc.conf in the directory /etc/nfc/lib…

When I used the command line see picture.

But first: ./configure –prefix=/usr – syscomfdir=/etc

Than nfc-scan-device -v and nfc-poll -v

And you see on the picture IT WORKS !!

Than I saw the YouTube which “send” us to the Core Electronics with a item from Michael.

Aand I saw a lot off programs which looks easy to use, and then it does not work.

So I send a mail message.

Hope you have now enough information, and ……

Greetings Wim

Verzonden: dinsdag 12 september 2023 03:55





|

Liam
12 September

|

  • | - |

Hi Wim,

Welcome to the forum!!

Have you enabled I2C through the Raspberry Pi? And would it be possible to send through a photo of how you have everything connected?

Pins 1 and 2 are 3.3 and 5V, if you connected the GND pin to pin 2 you might have fried the RFID module.

Once you get that photo sent through we can take a closer look!
Liam

Picture from Pi.jpg

1 Like

Hi Wim,

Unforunately the PiicoDev libraries wont work for the module you have.
https://www.aliexpress.com/item/1005004912473348.html
vs

To get it working in thonny you’ll have to find another python library for the IC used (PN532).

Keen to see what you make!

After number two put to ground.

But …in “your program “ he want to see a TAG, but no answer.

After a lot off messages but the did not stay on the screen and as you I have an other module.

Greetings Wim

Verzonden: dinsdag 12 september 2023 03:55





|

Liam
12 September

|

  • | - |

Hi Wim,

Welcome to the forum!!

Have you enabled I2C through the Raspberry Pi? And would it be possible to send through a photo of how you have everything connected?

Pins 1 and 2 are 3.3 and 5V, if you connected the GND pin to pin 2 you might have fried the RFID module.

Once you get that photo sent through we can take a closer look!
Liam

The link you send mee connect wth Aliexpress and the one I have look nearly the same.

This is the one I have:

The one I have : Makerfabs PN532 NFC Module V3

Greetings

Wim

Hope this one is oke and I have to connect in an other way !!!

Because whit working with the command line is oke when nr,2 is connected.

Is it possible nr 2 must be nr 14 ?? it is difficult to see

Is it possible to send me the pin numbers I must connect ?? Most off all where SDA and were SCL
When i connect Pin GPIO 2 to the ground the program wans to get an answer from the module.
So this was one step further.I hink the program get no answer from then module but the program came to the point have never has been.

Some more info !! As you can see on the picture I enclosed
No mistakes
So the program works perfect !!! NO ERRORS !!
The only poblem is that SDA is now not conneted. And the unit gives.no cannot give a response !!

I rely think that one of the mumbers of the forum can solve this issue !!!

Hi Wim,

Since the chips are different between modules the Piicodev library won’t work.

There ought to be other Python Libraries available for the chip you have!

1 Like