Hello all you wonderful people,
So, I'm here to learn and I've got goals I'd like to achieve but I need a bit of a kickstart.
I'm a diabetic and I recently got to play around with a Dexcom G6 which is a little sensor that measures my bloodsugar.
I have the sensor attached and connected to my phone through something called Xdrip.
When Xdrip received my bloodsugar value I send that value to a MongoDB.
On my windows machine I made a small python script that gets the latest entry in the MongoDB and displays the value in my toolbar.
All that works and it's awesome!
Now, I'd like to have a little display next to my bed where that exact same value is displayed.
My girlfriend's boss gave me a ESP32S and a little monitor. I managed to (or so I believe) flash the chip, connect it to my computer and through Visual Studio Code using the extension DeviceScript.
But, I'm pretty much lost there. I have the chip and I have the display but I have never fiddled around with these types of things.
How would I proceed with simulating or deploying something to the chip and maybe more importantly, what equipment do you guys use to connect the display to the chip, I need to solder or whatever it's called but I'm afraid og connecting the two devices wrongly and having to, buy new ones?
Lots of questions but I'm a completely newborn to all of these chips and stuff
Is there a "beginners guide to what to purchase and use"?
I hope I'm not too vague here and please bear over with me.
Much love,
Mike
Where to start?
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Where to start?
DeviceScript is fairly new and from what I hear doesn't have too many drivers yet. Probably a better idea to use something tried and true; e.g. the Arduino support for ESP chips is pretty good.
Depending on the hardware, you may be able to make the connection with so-called 'DuPont wires'. Those can simply be plugged onto headers, no need for soldering.
Depending on the hardware, you may be able to make the connection with so-called 'DuPont wires'. Those can simply be plugged onto headers, no need for soldering.
Re: Where to start?
If you want to start with Arduino on your ESP32, this link is very useful: https://randomnerdtutorials.com/install ... tructions/
- DiabeticProgramming
- Posts: 3
- Joined: Sat Jul 22, 2023 3:11 pm
Re: Where to start?
That is awesome! Thank you so much guys! I got my ESP32 connected to Arduino and successfully made the LED blink.
It took a while before I figured out I had to press the BOOT button upon uploading the code, luckily that was described in the post mentioned by Agree007.
I do have one final question: Is it possible to simulate the code somehow? The thing is, I don't have my LCD connected to my chip so I can't verify if the board had internet access and if it's able to receive the latest entry in my MongoDB.
Is there a way to write my code, execute it and simulate the result?
/ Mike
It took a while before I figured out I had to press the BOOT button upon uploading the code, luckily that was described in the post mentioned by Agree007.
I do have one final question: Is it possible to simulate the code somehow? The thing is, I don't have my LCD connected to my chip so I can't verify if the board had internet access and if it's able to receive the latest entry in my MongoDB.
Is there a way to write my code, execute it and simulate the result?
/ Mike
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Where to start?
There's a very good online simulator that can also simulate simple hardware and Internet connectivity.
- DiabeticProgramming
- Posts: 3
- Joined: Sat Jul 22, 2023 3:11 pm
Re: Where to start?
You guys rock! Thank you so much for the swift help and guidance.
I'll be off trying to build something. Thank you!
I'll be off trying to build something. Thank you!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 111 guests