use GROVE cables for the sensors one comes with every sensor. The MBus interface at the bottom of the core2 is not intended to connect by Dupont lines. If you want to tinker additional hardware to M-Bus then one of the PROTO module might be useful. It adapts the Bus to 2.54mm (0.1") spaced solder points. You are free to use Dupont from there.
Best posts made by holofloh
-
RE: What is the best Dupont cable size to use with ESP32 Core and Core 2 controllers?
-
RE: Limit to 2 Decimals in labels in UIFLOW
in the section "Text" is a piece that calls "Reduce ... to ... decimal places"
-
RE: m5go World Clock Problem
Hi,
your question reads like "my car will not start, what shall I do?". The standard answer to that question is "buy a new car" even if the solution would be as easy as "turn the key" or "fill some gasoline".
From your description we know you want to have a world clock and you have a m5go. What is missing:- The environment you use to code your clock
- Your code which seems to be the problem
- the exact error message or a picture of what you call "overloaded"
please read this post first: https://forum.m5stack.com/topic/535/forum-rules-read-this-first-before-posting
-
RE: Smart Applications of Holography and Robotic Arms myCobot 320 M5Stack-Basic
Just my comment about the missuse of the words "hologram" and "holography":
Displaying a stereoscopic or augmented reality image that seems to be floating in the room has nothing to do with holograms or holography. It is impressive YES, but it is NOT a hologram. Why do I know this? Look at my nickname! I have made my own REAL optical holograms for many years. They are made by interfering high-coherent wavefronts coming for a laser source and recording the resulting pattern in a 2D surface. There are different types of setup but all have in common the interference of a reference-beam with a object-beam. See https://en.wikipedia.org/wiki/HolographyHowever, mounting a real hologram on a robot arm and move it around is also possible. In case of a hologram that changes its displayed content by the angle of the light source it can be very impressive!
-
RE: Webserver with UIFlow?
EZData is just one of the possible data storages. With M5 products it is very easy to use. It is also possibe to use other cloud services. Cloud means "some storage somewhere on the internet". It requires a connection to the internet anyway.
Some ideas:
- Use a separate non interupted connection such as LoRa or mobile internet for your battery measurement. Depends on what is possible at your location and what/how you need to communicate.
- log to a cloud like storage in the local network, powered by battery on mains loss. No access during power loss but all data saved
- Detect the internet connection loss and log to SD card until the connection is back, then upload all missing.
-
RE: Atom Lite not connecting as local Access Point on WiFi
If you compile the example WiFiAccessPoint then it means the Atom turns into a WiFiAccessPoint. If you entering the same SSID and PW as your home Wifi then it means you are creating an additional access point on the Atom with the same name as the existing one. This may be confusing. The IP Address of 192.168.4.1 is the local address of the Atom now. Change the SSID on the Atom to something else to avoid the confusing.
To connect your Atom to the existing wifi you need a WifiClient sketch or any firmware like UIFlow that has one included. After connection to your home Wifi the Atom gets an IP Adress from your home DHCP Server which is running on the Wifi Router in most cases. This should be one in the 10.0.0.xxx range if this is your home network. -
RE: DMX Addressing
I don't see your problem. Just send the data to the according address of your light.
Maybe you do not understand the addressing of DMX lights?
You need to configure an individual start channel (address) for every light with a spacing of at least the number of channels your light support. E.g. your RBGW light is set to 4-channel-mode and its start channel is set to 1, then it listen to the channel 1, 2, 3 and 4. The next light can have the start channel 5 and so on. Some more complex lights like moving heads can have more than 30 channels. It is possible to have up to 512 channels per physical bus (called DMX universe)
You may set several identical lights to the same address but then they all do the same.
Also very important: The last light in the bus should have a terminator plug/resistor. It may work without but often a missing terminator cause strange effects on the DMX bus. -
RE: Hall effect Unit SKU:U084 programming
Here you find the information about this module: https://docs.m5stack.com/en/unit/hall
According to the schematic it contains three A3144 Hall-sensors and a 74HC08 AND-Logic.
The datasheet of the A3144 tells me that it has an open-collector output and the schematic that they are pulled up to 3.3V by resistors.
So the function is: as long as all three sensors are not in a magnetic field that is higher than the level for switching (see datasheet), the AND gate output is HIGH. If one or more of the sensors are triggered by magnetic field, the output goes LOW.
There is nothing to configure or program inside the module. The decission if the module fits to your project is up to you. By the way, if you plan to use a Arduino compatible controller it might be an option to use one that is based on ESP32. The controller already contains a Hall-Sensor.Just that you know: M5Stack does not make a mystery about the inside of their modules. You always find a schematic and all the datasheets that tells you everything about the hardware and its function. It is a big benefit if you learn to read and understand this informattion.
-
RE: Read PWM Signal from Device
there are 2 variants:
A) the PWM signal can be captured by measuring the time ratio between 1 and 0:
- Put the PWM signal into one of the GPIO. Make sure the voltage is not too high, use a voltage divider and if possible a additional Z-diode for protection).
- Set the input to an interrupt source for both edges
- in the INT-routine put the current time stamp into a variable and wait for an oposite edge appears. If you do this in a clever way, the controller can do other things in the mean while (e.g.sending the value over ESPnow)
- once you have a high and a low time you can calculate the ratio.
B) integrate the PWM and measure the analog voltage
- use a R-C circuit to integrate the PWM into a analog voltage
- divide the voltage by a trimmer potentiometer so that 100% equals full scale of the analog input. If possible use a Z-diode to protect the input
- measure the analog value by M5Atom
-
RE: Alte Software auf neuem V1.1 läuft nicht.
Deine Frage hilft leider nur wenig bei der Fehlersuche.
- Gibt es Fehlermeldungen, Fehlfunktionen oder wie kommst du darauf, dass das Programm nicht mehr funktioniert?
- Hast du den Quellcode zur Verfügung oder ist der mit dem Programmierer zusammen verschollen?
- Welche Art Programm ist es? Ein UIFlow bzw. Python Script oder eine kompilierte Software in C (z.B. über die Arduino Umgebung)
Ein Script könnte auch von der UIFlow Version abhängen, ältere Scrips laufen nicht immer mit der neuesten Firmware und umgekehrt.
Versuche herauszufinden was zwischen den Versionen der Hardware geändert wurde (z.B. Zuweisung von Ports, I2C Adressen von verwendeten Komponenten usw.). Damit kann man dann den Grund für das Verhalten erklären und nach möglichen Lösungen suchen.
Latest posts made by holofloh
-
RE: How to use RF Unit RF433T and RF433R
@tspycher
AFAIK: this are very simple transmitter/receiver modules. No protocol, no encryption, no guarantee for transmit/receive the correct data. You have to make your own protocol and data integrity functions.Try to send something out from UART (not faster than 10kbps) and receive it on the other side. Be aware that disturbance could be possible as 433.92MHz is used in a wide range of applications like wireless thermometers, garage door opener, car keys, wireless doorbells, wireless power switches...
As you get the raw pulses out of the receiver it should be possible to receive and decode data from e.g. the thermometer oder switches. There are several protocol descriptions in the web.
If you want to send simple data from one to the other device, ESPnow could be the better option.
-
RE: Can i run M5stack paper while connected to the battery?
@ScheduleDisplay
Connecting to always ON USB Power will permanent charge your battery and hold it at fully charged level. Not the best state to store a lithium battery over longer time. Best will be to remove it (or at least disconnect). -
RE: UHF-RFID data not visible with other reader
@pete-manzel
As kuriko mentioned before the ID you wrote by M5UHFRFID might be on a different place in the memory (different address) as the sparkfun library try to read it. Are you able to read the raw data and search for your ID?
Anyway, there should also be a read only unique Tag ID (TID) that is given by the manufacturer. Can you get that on both readers? -
RE: K210 M12 Camera issues
- The UnitV/StickV (K210) Devices are serial devices. You need the MaixPy IDE to program and preview.
- The UnitV2 Devices are small Linux Computers and have a USB- and WiFi Network interface.
-
RE: How do I mount all this to a panel in presentable aesthetically pleasant way?
@mgrouch
Some suggestions:- Hot glue
- Scotch Tape
- Brick/Lego tiles
- wooden panel with carved indentation
- 3D-printed brackets like https://www.thingiverse.com/thing:5419887
-
RE: ATOM Motion, if DC Motor is running- disturbance on Servo I2C Interface
It might be the PWM that makes problem but often its the brushes in the motor that causes the disturbance (sparks during operation). Test if you still have the problem with a resistor instead of the motor. If the problem is gone with resistor then it's the motor. And YES, this is a EMC issue.
Try some filtering on your DC motor by adding 100nF capacitors on it. That means from DC+ to motor case and from DC- to motor case (known as Y configuration). Very important: As close as possible to the motor with leads as short as possible! Solder them direct on the motor. If this not help add another 100nF between + and - (known as X configuration) and also a inductivity of a few µH in the DC+ and DC- wire (this can be a wire that goes a few times trough a small ferrite torroid).Edit:
"As my teachers always said, EMC is magic......."
-> capacitors and inductors are the magic spells! -
RE: how to store variables persistant M5 Dial
Try with the "NVS" functions which stands for "non volatile storage" to write your values into the flash memory.
-
RE: blackbox
Der Atom S3 lite kann (fast) alles was deine Phantasie hergibt.
- Sensoren einlesen
- Daten verarbeiten
- Daten weiterleiten
-
musst du deine Sensoren kennen und wissen was die für eine Schnittstelle haben. Die Ausgabewerte resistiver Folien müssen vermutlich erst mit einer Schaltung so angepasst werden, dass der Controller sie als Digital- oder Analogsignal auswerten kann. Es kommt darauf an ob du den aktuellen Druck wissen möchtest und wie genau oder ob es reicht bei einer bestimmten Schwelle "Ein/Aus" zu detektieren. Muss diese Remote einstellbar sein? Da ich keine Ahnung habe was du für Foliensensoren hast und was du genau damit machen willst (Raum überwachen? Auf was? Luftdruck, Fussmatte, Produktionsprozess...?) wird eine Antwort schwierig.
-
Die eingelesenen Daten müssen auf dem Controller verarbeitet werden. Da kommt es wieder daruf an was du genau willst. Anzahl Events pro Zeiteinheit zählen? Ab einem bestimmten Messwert einen Alarm senden?
-
Die Daten müssen irgendwo hin. Der S3 hat WiFi, kann also problemlos mit einem Netzwerk kommunizieren. Es ist aber auch möglich ein LoRa-Modul anzuschliessen. Wie das ganze dann aber genau auf dein Smartphone kommt ist wieder eine weitere Geschichte. Da musst du z.B. eine passende APP und eine Cloudanbindung haben oder ein Email-/SMS Gateway.
-
Stromversorgung: Akku, Netzteil...? Muss es Ausfallsicher funktioneren oder spiel das keine Rolle?
Du siehst, es gibt viele Fragen die erst geklärt werden müssen. Je nachdem was du genau willst, sind deine Sensoren und/ oder der S3 vielleicht geeignet oder auch nicht.
-
RE: [Product Revision] Color Sensor (U009) - Ability to turn off LEDs
According to the schematic the LEDs are hard connected between VCC and GND (with a 1k Resistor in serie). It may be an option to misuse the sensors INT pin and its limit threshold settings to switch the LEDs on and off. It is a open-drain with a max of 20mA. Or spend an extra I2C output driver (one Output for white LED or more if you want different LED colors - deep blue or ultra violet may be helpful to identify e.g. fluorescence).
Anyway, it will never be a spectrometer like device as there are only 3 colored sensors with a more or less wide spectral bandwith but still gaps between. -
RE: Alte Software auf neuem V1.1 läuft nicht.
Falls du das Gerät für kommerzielle Zwecke einsetzt: Du musst dir immer bewusst sein, dass ein Hersteller etwas ändern kann oder eine Abkündigung vornimmt. Es kann also sein, dass du es von einem auf den anderen Tag nicht mehr kaufen kannst.
Wenn dein Business davon abhängt, dass die Geräte in einer ganz bestimmten Version/Konfiguration vorliegen so solltest mit dem Händler bzw. Hersteller entsprechende langjährige Verträge abschliessen. Irgendwann wird der Hersteller dich allerdings informieren, dass ein Produkt abgekündigt wird. Idealerweise hast du dann aber Vorlaufzeit um eine Alternative zu finden und kannst noch eine ausreichend grosse Menge für den geschätzten Bedarf bis eine neue Lösung bereit ist an Lager legen.Weiter solltest du dich nicht auf Programmierer verlassen die irgendwann "nicht mehr greifbar" sind. Entweder gibt es auch hier einen (Wartungs-)Vertrag über eine bestimmte Laufzeit oder du bekommst die Softwarequellcodes inkl. Dokumentation in einer Form mit der sich ein anderer Programmierer innerhalb nützlicher Zeit einarbeiten kann. Wenn du die Softwareprogrammierung in Auftrag gegeben und dafür Geld bezahlt hast, dann "gehört" dir der Code sowieso.