Search found 10 matches

by photomankc
Thu Jan 18, 2018 7:06 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 832647

Re: What would you like to see in The Next Chip?

I could use: More GPIO. No fixed input or output pins. More RAM is never a bad thing. Another core or two is always helpful. built-in RTC with battery backup pins would be very useful. Keep on doing: No fixed peripheral pins - That's fantastic. FPU onboard... that's a big help. Speed... 240Mhz is re...
by photomankc
Wed Jan 10, 2018 3:42 pm
Forum: ESP32 Arduino
Topic: Can't get a response from external interrupt.
Replies: 2
Views: 5776

Re: Can't get a response from external interrupt.

Well, It appears this is not an easy one. My only guess is that it has to do with setting the pin back and forth from input to output when handling the single pin Ping))) sensor? Looking into the guts of the attachInterrupt() function I can't see anything obvious that I would be doing wrong here. I'...
by photomankc
Mon Jan 01, 2018 10:24 pm
Forum: ESP32 Arduino
Topic: Can't get a response from external interrupt.
Replies: 2
Views: 5776

Can't get a response from external interrupt.

I'm working on an implementation of a Ping))) sonar sensor. The electrical aspects are working and I've been able to get 5V to 3V interface worked out. The scope is showing the correct behavior is occurring. The 20 usec trigger pulse is being generated and the echo pulse is returning. What I can not...
by photomankc
Wed Dec 20, 2017 5:45 am
Forum: General Discussion
Topic: NVS Read/Write Over Usage
Replies: 4
Views: 16572

Re: NVS Read/Write Over Usage

Nice to see wear-leveling is implemented. That will definitely greatly extend endurance. I recall once where I was supposed to write 12 bytes once every 30 minutes to a static location on an EEPROM, but a bug in the timing code caused it to actually occur at the main loop cycle frequency of 20 times...
by photomankc
Tue Dec 19, 2017 9:00 pm
Forum: General Discussion
Topic: NVS Read/Write Over Usage
Replies: 4
Views: 16572

Re: NVS Read/Write Over Usage

In general it's not a great idea to write to a single location constantly. EEPROM and FLASH both have limited write cycles before they can start to show errors reading back. I believe the NVS is implemented using some of the device's FLASH space. Much depends on the implementation under the hood. If...
by photomankc
Tue Dec 19, 2017 6:07 pm
Forum: General Discussion
Topic: BNO055 I2C Intermittent Problems
Replies: 5
Views: 9777

Re: BNO055 I2C Intermittent Problems

Here's a copy of the project if anyone has a chance to take a deeper look. I stripped it down to just the stuff used in this example but there are some support headers that had to come with it.

Just set the sketchbook location to the top level folder and it should compile for "Node32s".
by photomankc
Mon Dec 18, 2017 9:11 pm
Forum: General Discussion
Topic: BNO055 I2C Intermittent Problems
Replies: 5
Views: 9777

Re: BNO055 I2C Intermittent Problems

Code: void setup() { Wire.begin(21, 22, 400000); Serial.begin(115200); pinMode(13, OUTPUT); // Error flag pin pinMode(2, OUTPUT); // Activity LED delay(1500); // Setup OLED display oled.init(); oled.setFont(font8x8_spc); // Set special 8x8 font oled.clearDisplay(); // Clear screen oled.setTextXY(0,0...
by photomankc
Thu Dec 14, 2017 6:38 pm
Forum: General Discussion
Topic: BNO055 I2C Intermittent Problems
Replies: 5
Views: 9777

Re: BNO055 I2C Intermittent Problems

I figured out the external issue I mentioned before I completely verified the new code to flag errors on GPIO. A case where the device went missing then returned zeros. Static - gotta love winter. I caught it when I sat down, touched the laptop and got a little snap to earth ground. The trigger fire...
by photomankc
Wed Dec 13, 2017 7:24 pm
Forum: General Discussion
Topic: BNO055 I2C Intermittent Problems
Replies: 5
Views: 9777

BNO055 I2C Intermittent Problems

I have been fighting with an I2C based IMU unit, the BNO055 from Adafruit. After running into random issues reading results in an larger application I decided to create a test application and board just for the BNO055 object I'm writing. That has allowed me to zero in on two problems that seem to re...
by photomankc
Tue Dec 05, 2017 2:26 pm
Forum: General Discussion
Topic: Slow ramping voltage hangs esp32 / BOR - Brownout misbehavior or not ?
Replies: 5
Views: 9523

Re: Slow ramping voltage hangs esp32 / BOR - Brownout misbehavior or not ?

I'm far from an expert on this chip, but in general, that is a situation to avoid with digital electronics. Operating them in the no-mans-land of 1 or 2 volts can cause a lot of unwanted behavior. Most regulators need a certain level of voltage to provide regulation. Below that they simply follow th...

Go to advanced search