SQLITE3 on STM32 FreeRTOS and FATFS - sqlite

I am trying to port SQLITE3 on top of FatFs supported by the STM32Cube using the FreeRTOS and MicroSD Card on STM32F429-EVAL1 board.
Could you please share the source if anyone is successful with this implementation?
I see that I can use test_demovfs.c file from sqlite3, but need to figure out how to integrate it with the FatFs-based project. Any support in this regard is highly appreciable.

Related

Using Arduino Uno for my hardware AI assistant Project

I would like to know if I can use a Arduino Uno R3 for my Project.
Project Details: An AI assitant in an embedded system.
The AI is already written in Python
I tried to get a Raspberry Pi 0 but it is quite scarce in my location.I will like to know if there is a way for me to embed my python code on my Arduino UNO R3,SD card module and speaker
No, there's no way that will all fit into an Arduino Uno (or any AVR-based Arduino). They all have not enough RAM. And there's (as far as I know) no python interpreter for the uno as well, for the same reason. You could try an ESP32 instead. Much more RAM, much more powerful CPU, micropython support (and typically even cheaper).

Login Form With Fingerprint Sensor Using VB6 And Arduino UNO

How can I interface my Fingerprint Sensor using VB6? I've already made a login form but I need help using the fingerprint sensor for the security. Please help me, thanks in advance.
Here's a good starting point: Getting Started with Optical Fingerprint Reader – R305. It's for the 305 but the overall setup should be very similar if not identical. Most importantly you will find an SDK for R30X modules in the Resources section of this page. It includes drivers, demos (with source code), SYNO API, user manual, etc.
Also, Vishnu M Aiea wrote a C++ library to handle communication with the R307 sensor: R30X Arduino Library. You should consider using this to handle the communication aspect since it's already been built for you. You might need to get it compiled into a DLL to use with VB6.
There's also an article he wrote about the whole setup process: Interfacing R307 Optical Fingerprint Scanner with Arduino
These links thoroughly explain how to set everything up. I think with all this information you should be able to make a lot of progress and come back to Stack Overflow with more specific questions.

How to edit or modify Kaa sandbox demo app

I am thinking of doing further work on kaa projects but i have few questions. I actually want to modify the source code of the GPIO control esp and GPIO control android. Is this posible? I mean downloading the demo source code fromm Kaa sandbox and editing them.
What IDE do i use for the GPIO control esp and GPIO control android? How do i compile them. How do i run them again on my android phone and on ESP8266 device?
I will appreciate a guide to doing this or a better way of doing this.
Thank You,
You can download code of Kaa Sample Applications from Kaa Sandbox (or GitHub), but changing the code embedded on Kaa Sandbox is not trivial and long procedure.
Should you want to contribute your code changes, you may open a pull request on GitHub's Kaa Sample Applications repository.
Regarding your question about IDE. Kaa project does not limit or recommend using (or not using) of any IDE. That means you can use any one suitable for you. Also, you would normally use different IDE of Android and ESP8266. You should check the appropriate platforms recommendations and documentation on how to develop, debug and program the respective devices.

Arduino Uno debugging

I'm absolutely new to microcontroller development and currently want to:
Understand a typical process of the development
Set I/O and tune all tools for the development.
Currently I'm using Arduino Uno (ATmega328 based)
I found PlatformIO. It looks useful for me to work with microcontrollers on different platforms
Qt Creator is a favorite IDE, and I'd prefer to continue using this for AVR programming (PlatformIO can also generate Qt Creator's project template)
I've tried to build and run first sketch there, it works. So the only question is still there is a debugging.
Correct me if I'm wrong, two primary ways to do this is a JTAG and debugWire, and both ones are "hardware" debug, correct? And, of course, require additional devices.
In other hand, Qt Creator has a "bare metal" plugin which can work (debug) with a devices who can "behaves" as gdbserver.
I also found this article where the author suggests own implementation for a library for an Arduino project, which emulates gdbserver for a PC GDB client via the usual serial connection. Of course, I'll try this way as a preferable in my case.
So the question is - please confirm that all assumptions are correct.
And probably someone uses this way (maybe without this IDE).

Using Google 'Protocol Buffers' in Arduino

Is it possible to make Google Protocol Buffers work in Arduino?
I have been trying for about a week and can't make it work, and I would like to know if it's even possible.
This should fit on an Arduino:
https://github.com/nanopb/nanopb
I've managed, after several attempts, to compile google protocol buffers for Arduino (using lite runtime), and still, the resulting code size was way over the 32k limit. So, for now, GPB isn't a viable option for Arduino projects. (maybe on Arduino Mega?)
I suggest you look at MQTT for a suitable replacement (I'll do that).
Looking at the link provided it says it has bindings for C++. This is essentially what the arduino is programed in. I see no reason why it wouldn't work. If you were to post some details (the data object your trying to process and the C++ code the system generated) we might be able to help. What exactly isn't working?
If you are looking for a tutorial on using Protobuf on Arduino, you can check out my article: A simple Arduino IoT example with Protobuf. The code is available on Github.
The tutorial uses my library Embedded Proto. You have to copy the Embedded Proto to the Arduino library folder, and it will build. Full details in the tutorial.
If you have any questions, let me know.

Resources