Hello
I looking for the best unit options to do the following tasks.
- control or activate a solenoid (Relay Unit I think)
- read from a 9 pin serial port (RS485 to TTL)
if there are any other or better options I would like to hear them
thanks
Hello
I looking for the best unit options to do the following tasks.
if there are any other or better options I would like to hear them
thanks
I have been able to get it working with the correct wiring using the grove port in a Core Basic Gray unit.
No I will start to use the io pins in the bottom of the unit so I can use the grove port for other things.
thanks for all your assistance.
@ajb2k3 When the servo is attached and then plugged in, it does not start. When the servo is removed and then plugged in it starts..
@teastain Thanks for the info. I hope you got something out of this adventure :). The StickC does not have a battery. I'll try with the Core Grey I have, it has a battery and see I can get it to work with the pins and not the Grove.
It does seem odd though.
thanks again
cheers Kyle
@teastain Thanks, I tried what you mentioned and same shut down...
curious
Hi,
I'm trying to connect a Servo Kit 180 to a M5StickC. However when I try the Stick shuts down when I connect the red pin.
See images below.
Do I need a separate connector or are the pins mixed up.
Best method for sending large sets of data back to api as a file.
I have tried urequests and the post does not like the keyword files.
does anyone have a method they would like to share.
thanks
Kyle
Not sure if this will help.
I made a quick reader based on a [project I'm working on this also works on m5Paper as well it's nothing complex simple read and display, this is on a Basic Core unit
A quick video showing it working
https://youtu.be/qvtr6Vy-HwY
The Tags I use are these ones
make sure the port is correct otherwise the bytes out of range error pops up
I hope it helps
from m5stack import *
from m5ui import *
from uiflow import *
import unit
setScreenColor(0x222222)
uhf_rfid_0 = unit.get(unit.UHF_RFID, unit.PORTA)
uhf_rfid_0.set_region(uhf_rfid_0.REGIN_US)
uhf_rfid_0.automatic_freq_hopping(0xFF)
uhf_rfid_0.set_channel_freq(924.25)
epc_bool = 0
uhf_rfid_0.set_select_mode(0x01)
label0 = M5TextBox(128, 59, "Tag #", lcd.FONT_Default, 0xFFFFFF, rotate=0)
label1 = M5TextBox(22, 106, "waiting ... ", lcd.FONT_Default, 0xFFFFFF, rotate=0)
while True:
# while not temp:
temp = uhf_rfid_0.single_polling()
if temp:
# label10.setText(str(temp))
print("-----")
print(temp[0])
print(temp[1])
print("-----")
label1.setText(temp[0])
wait(.5)
I have noticed it drains the battery of the M5Paper quite quickly. I have not tested that specifically as it was not a requirement for my project. The range is quite good at 50-70 cm.
I think there is a way to change the power and read strength, though I have not investigated too deeply. I am using other methods to alter read time. When I get to a stable point I will refine some more.
I made a quick reader nothing special and this is on a Basic Core unit
quick video showing it working
https://youtu.be/qvtr6Vy-HwY
The Tags I use are these ones
make sure the port is correct otherwise the bytes out of range error pops up
from m5stack import *
from m5ui import *
from uiflow import *
import unit
setScreenColor(0x222222)
uhf_rfid_0 = unit.get(unit.UHF_RFID, unit.PORTA)
uhf_rfid_0.set_region(uhf_rfid_0.REGIN_US)
uhf_rfid_0.automatic_freq_hopping(0xFF)
uhf_rfid_0.set_channel_freq(924.25)
epc_bool = 0
uhf_rfid_0.set_select_mode(0x01)
label0 = M5TextBox(128, 59, "Tag #", lcd.FONT_Default, 0xFFFFFF, rotate=0)
label1 = M5TextBox(22, 106, "waiting ... ", lcd.FONT_Default, 0xFFFFFF, rotate=0)
while True:
# while not temp:
temp = uhf_rfid_0.single_polling()
if temp:
# label10.setText(str(temp))
print("-----")
print(temp[0])
print(temp[1])
print("-----")
label1.setText(temp[0])
wait(.5)