@teastain I made an #Issue on the GitHub repository and got patient, expert advice on how to edit the libraries and select the options in the .ino sketch!
Got it working!
Posts made by teastain
-
RE: UnitCamS3 Trouble programming in Arduino IDE and getting 2mp image
-
RE: [Product Revision] Tube/Air Pressure Unit with I2C
@maethaxi Good info!
The Adafruit must be an older design, as the I2C pins are not in the Grove signal order and would require cutting the end from a Grove cable and crossing wires and soldering!
The Sparkfun unit is 'micro-grove' JST 1.0mm but wired correctly for grove. You would need a JST 2.0 (Grove) to JST 1.0 (qwiic) adapter cable. Mine is homemade but opens up another world of sensors to my faithful M5Stack equipment!
added:
Sparkfun qwiic to Grove converter cable
https://www.sparkfun.com/products/15109 -
UnitCamS3 Trouble programming in Arduino IDE and getting 2mp image
I just received my new UnitCamS3 and I was dissatisfied with the built in app, so I tried to program it in Arduino IDE.
(The camera only showed a series of lo-res images of an increasingly perplexed and annoyed old man)
The specs say 2 megapixel, but the supplied app is only 640x480 (0.3 megapixel).
I cannot find an Arduino sketch that will compile and run and output a 2mp image.
The demo firmware is written for Platformio and I am not interested in installing that and the learning curve.
Is it possible to program with Arduino IDE and achieve 2mp? -
RE: New Core2 not turning on
@rikarddoms What firmware did you try to burn? What program language IDE are you using?
-
RE: M5 Dial Port B both Pins needed to be outputs
@felmue Yes! That's it!
GI vs G1!!!
Thanks. -
RE: M5 Dial Port B both Pins needed to be outputs
@felmue I have been following this issue for a week or so and trying to figure it out.
I see three things in the documentation that don't make sense, both Dial and DIN Meter.
I still have the cute Demo sketches running and have not tried this myself, but it looks confusing?
-
RE: How do i display images in my m5stickcplus2?
@maxking9 It is an ESP32, so the sky's the limit. TFT_eSPI and LVGL are very popular, but the M5Stack graphics library is suited to the device and easy to use.
https://github.com/m5stack/M5StickCPlus2 -
RE: My M5DINMeter is not working.
@camille-chomant That IS good news!
I would like all users to know that the ESP32 is VERY hard to 'brick' i.e. destroy the bootloader, as it is buried deep inside ROM.
M5Burner is a great way to load a known good demo program that is pre-compiled, from the original C, C++ language source.
The newer 'S3' chips are finicky to get a USB connection sometimes.
Also some non-M5Stack programs can cause CPU crashes which are hard, but not impossible to cure.
The various point of sale 'Demo' programs are not an operating system and do not reset anything, as I said they are a great relief to see your unit functioning again! -
RE: M5 BugC2 default software functions
@俺がガンダムだ You are probably just seeing the Product Demo and test firmware. Almost all M5Stack products are 'ready to be programmed' but do very little outside the box.
Use UIFlow or Arduino IDE to add functions of your own choice and your own design.
https://docs.m5stack.com/en/app/BUGC2
https://github.com/m5stack/M5Hat-BugC -
RE: EXT. I/O 2 Unit ADC Input Problem
@ghettokon Sounds like you have an 'audio curve' non-linear volume control pot!
If it is a linear pot, then you either use a voltage divider or add resistors to the top pin or bottom pin as required to get centre.
If 'volume control pot' then you will have to characterize the signal in your code. -
RE: Unable to read temperature value from SHT30
@surya You need a PaHub:
https://docs.m5stack.com/en/unit/pahub2https://shop.m5stack.com/products/i2c-hub-1-to-6-expansion-unit-pca9548apw
They are easy to set up and work very well.
-
RE: Unable to read temperature value from SHT30
@surya The alternate I2C address is 45, some suppliers set it to this by default.
Alternately you could try an sketch called an I2C scanner to see what devices are hooked up.
This little sketch works on my AtomS3:#include "M5UnitENV.h" SHT3X sht3x; void setup() { //runs once on start up Serial.begin(115200); //open the serial port for USB cable delay(500); Serial.println("in setup"); delay(1000); //wait for a second } void loop() { if (sht3x.begin(&Wire, 0x44, 2, 1, 400000U)) { Serial.println("Address 44 detected"); } else if (sht3x.begin(&Wire, 0x45, 2, 1, 400000U)) { Serial.println("Address 45 detected"); } else { Serial.println("No ENV detected"); }
-Terry
-
RE: Oh dear. Cardputer2 coming
@otis68 It was an early April Fool's joke!
But the actual cardputer does have an I2C port!
left side is a general purpose Grove Port. -
RE: M5 Dial 3D STL File
@gordsh Would simple installation dimensions suffice?
https://docs.m5stack.com/en/core/M5Dial
-
RE: Anyone using PlatformIO? Unable to get serial terminal to work.
@lukes In Arduino IDE you need to set the comm settings to USB CDC on Boot "Enabled", with S3 boards.
-
RE: Need help for M5Burner and how to compile a firmware file
@initix Are you still having trouble installing Nemo?
-
RE: Unit v2 / Unit v2 m12 power consumption
@mshepard67 Well, it draws a lot of power , so I don't think solar is a good power source. They run Linux and power an TF card!
These are AI cameras and the 'teaching' period is very long and difficult.
What is your end-use, if I may ask?
also see here:
https://community.m5stack.com/topic/5300/unitv-wifi-networkinghttps://community.m5stack.com/topic/3480/my-unitv2-camera-overheats-within-5-minutes-is-that-normal
-
RE: KmeterISO vs Kmeter
@davelondon The ISO unit is electrically isolated. The thermocouple converter is isolated from the Unit and your M5Stack controller by a SPI isolation chip.
see schematic:
https://docs.m5stack.com/en/unit/KMeterISO UnitThe standard Kmeter is not.
-Terry -
RE: M5 stack c+ 2
@minipousse01 What will you use hacker tools like Marauder and Nemo (A Flipper clone) for?
There is mounting evidence that it cannot be installed on StickCPlus2, which would be good.