Hello,
Anybody here to help me on this blocking point?
Thank you
Best regards
jerome83136
@jerome83136
Posts made by jerome83136
-
RE: Don't know what to use
-
RE: SoftwareSerial, how do I convert those projects to use the hardware serial on the M5?
Hello,
I'm also trying to make the same RFID reader work with my ExtPort by using the port C and UART
But I cannot get any value from the reader.
Can somebody help me in this ?Here are the details of my setup.
Thank you very much
Regards -
RE: Don't know what to use
Hi guys,
New problem here: I'm unable to use this RFID reader from Seeed studio
The reader is able to communicate by serial (9600 baudrate, 8 data bits, 1 stop bit, and no verify bit)
I connected it with my Ext port Blue port PortC (stacked with my M5 Core Basic)
- Reader Yellow wire (TX) --> Ext port (Port C) / PIN13
- Reader White wire (RX) --> Ext port (Port C) / PIN14
On UI Flow I tried this:
When I put an RFID tag on the reader; a red led seems to indicate it detects the tag; but I get nothing printed on my M5 Core Basic screen.
What did I wong ?
Thank you for your help
Best regards
-
RE: Don't know what to use
Hello all,
Last part done (single power supply for M5 core + DC motor)
I was also able to remove the PaHub by using the ExtPort (Port D). I had to change the dip switch value to:- Port D-1[2] = ON (to use GPIO22)
- Port D-2[2] = ON (to use GPIO21)
I then had to change the TOF module's port config in UIFlow to use the Port D:
Final diagram:
NB: DC(12v) to USB(5v) converter link
Now let's get physcal parts printed and test it !
Best regards
-
Scales kit reports unstable weight
Hi,
I'm using M5 scales kit for a pet dispenser project.
When I print the weight on the screen of my M5 core basic; it is not stable.
I mean that the reported weight is displaying changing values over time.
I reset the scales kit (so it shows "0") and I don't touch or move it for several minutes and I can see the weight value is changing over time.What did I miss ?
At the moment I didn't put a cover plate on top of the scales kit. Can it be the reason ?Thank you for your help.
Best regards
-
RE: Don't know what to use
Hi all,
Another report here.
Almost everything is ready.
I'm quite sure the RFID2 reader won't do the job because of its short reading range; let's try and improve if required.
I will certainly have to give this reader a try. (already ordered)1 question I had while testing: TOF and RFID2 seems to need Ports A or E. But Port E never worked (the unit is seen as "not connected" by the Core); forcing me to use a PaHub which is a pity because I have plenty of available ports with the ExtPort extension.
Someone able to help me understanding why ? (If I could use port E; I could completely remove the PaHub)Here is the current setup:
Last thing to do to complete the prototype: get a 12v --> 5V USB connector in order to power the M5 Core + 12v DC motor with a single source.
Here is a simple UIFlow to check every component works correctly:
Best regards
-
RE: Don't know what to use
Hi,
I finally got the relay working with M5 Core Basic !
I think my mistake was to power the relay with 5v rather than 3.3vHere is my wiring:
And here is the example UIFlow that works for me:
Now I need to find a way to power the M5 Core Basic by using a DC 12V --> USB 5V connector and connect it to the DC 12V power supply I already use.
Next step will be the hardest: understanding how PaHub works to interconnect the M5 Core Basic with:
- RFID reader
- M5 Scales kit
- M5 Ultrasonic Distance Unit
I will report progress here
Thank you again for your help
Best regards
-
RE: Don't know what to use
Hello,
Thank you for your feedback.
As I'm quite new on this kind of stuff (using pins to interact with an external component); I need some tips :)
When I do this on UIFlow:
I understand it activates the pin n°2 (LOW), when the "switch0" is activated. Am I right ?
How can I identify the pin n°2 on my M5 Core basic with a base core bottom ?
I think I need some documentation/tutorial to understand the correspondance between the pins used into UIFlow and the the pinmap on M5 Core Basic. Can I find this somewhere ?
Thank you for your help
Best regards
-
RE: Don't know what to use
Hello all,
Some news here.
I ordered an RFID reader and am still waiting for it to be delivered. So, I will share some news about this part later.
For the 12v DC motor control; I have some troubles.
I ordered a GoPlus2; but it tidn't feet because even if it has a 12v input; it can't deliver 12v output to my DC motor.So I switched to another option: using a 5v relay to power the 12v DC motor.
The problem I have is: how to use the M5 Core to control the 5v relay ?
I tried this example but I'm just unable to understand what are the pins used by this guy on the M5 core ?
The guy uses the pins 2, 27, 32 and 13; but where are these pins on the M5 core basic I own ?
Do I have to remove the M5 core bottom (received with the M5 core basic) ?I don't really understad the pin map of the M5 core basic. Is there some reference somewhere for wiring ? And is there a description about the colours used on the M5 core basic product sheet pinmap section ?
Or some example telling "if you are using digitalWrite(2, 0) on UIFlow; you have to use this specific pin on the core"Thank you for your feedback
Best regards
-
RE: Don't know what to use
hi @wsanders
If I can drive the motor with tha Atom and H-driver; that's fine for me.
I plan to extend it with a PaHub in order to get additional grove ports and connect the Scales kit + RFID2 reader.
But I wonder if it will work because I'm not sure M5 Scales kit is using I2CI choosed the RFID2 reader because of its price (as you said: the UHF reader is quite expensive)
I see 2 options to solve the range issue:
- Using 3 RFID2 readers on each side of my object (see red arrows on enclosed picture)
- Try to extend the RFID2 range with a custom antenna with magnetic wire, around the food dispenser
- Use this cheap 125KHz RFID reader and make a custom antenna with magnetic wire, around the food dispenser. But can I make it talk to M5 stuff ? (it uses a grove connection and output format is Uart and Wiegand)
Do you think it could work ?
Thank you for your feedbackBest regards