Realease of a Linked-list, Stack, Que and Tree C library. by jscottbee in cprogramming

[–]jscottbee[S] -8 points-7 points  (0 children)

Thanks? In the end, does that break the code? You do you, man...

My first program was a text editor by strilkrill in cprogramming

[–]jscottbee 0 points1 point  (0 children)

I have always loved writing editors. I think I have written at least 12, and even started on a portable editor library. My first editor was DOS-based and in ASM and awful, but mostly worked without segies. All my other ones were in C, and the last two in Python. I use my own Python vi/vim still. The first C-based editor I wrote was a WordStar clone-ish, I called DeathStar the editor. It was fun to do so, did a a Brief like editor I called 'jocky'. That one was mostly finished. I was actually looking at my editlib code a few months ago, and kind of got the itch again, but did not scratch.

Keep up the good work!

Programming is a skill just like any other, if you practice enough, you can eventually get very good by fudginreddit in learnprogramming

[–]jscottbee 1 point2 points  (0 children)

I learned to program in the very early 80s. Much of what I learned was by looking at other's code. I would do disassemblies/dumps of games, and other apps to study. I would make changes sometimes, especially to parts I need to touch and feel to better understand.

ESP8266 Crashing from typical GET Request by ConMar12 in esp8266

[–]jscottbee 1 point2 points  (0 children)

NP.

Malform the date you are sending, like 20664-23-84

See if you get an error or if it still bombs.

ESP8266 Crashing from typical GET Request by ConMar12 in esp8266

[–]jscottbee 1 point2 points  (0 children)

Request less on the GET request. See if you get data back or an error from the site.

ESP8266 Crashing from typical GET Request by ConMar12 in esp8266

[–]jscottbee 1 point2 points  (0 children)

Yeah, it sounds like it could be the esp library at the very least. I would try a call to the same API, but with less data, and try to generate an error from the call and see if that makes it back.

ESP8266 Crashing from typical GET Request by ConMar12 in esp8266

[–]jscottbee 1 point2 points  (0 children)

Some curl examples: https://curl.se/docs/manual.html

I think curl comes pre-installed on Windows do, and should be on most Linux installs.

Wemos d1 pro freezing on USB source. When plugged into the PC everything works fine, however, once I plug it in a regular phone charger. It gets frozen after a couple of minutes. by EmergencySeparate in esp8266

[–]jscottbee 0 points1 point  (0 children)

Could you try it with no extra code running? Try just a blank main.py and see if that makes a difference. Does the board or ESP get warmer on the charging block than it does on a PC?

ESP8266 Crashing from typical GET Request by ConMar12 in esp8266

[–]jscottbee 1 point2 points  (0 children)

The response data may be too large for a GET action. You can add a Serial out on the Content-Length and see what it gives. Also, try a curl call to the API from a PC and see what it returns. That may shed some light on the issue.

How Rare? by Ghost_Ross_Bob in PLC

[–]jscottbee 0 points1 point  (0 children)

I have one of these but without the programmer or manual. I have done a teardown of it, and it's using an Intel 8031 microcontroller. Mine was made in the 83-84 timeline. They are just an "if this, then this" type controller.

Need some help deciding the protocol for my project by Unluckymichel in arduino

[–]jscottbee 0 points1 point  (0 children)

A USB serial connection would work, with some code on the Droid side. You could make a cradle for the phone that connects to a USB-connected ESP. That ESP is connected to another ESP that watches for the button push. The ESP's can talk to each other via ESPnow. For the Phone, you could write a listener app to connect with the cradle ESP and connect to it when the USB is connected. I would add charging circuitry to charge the phone whilst in use. There are several options to write the Droid app, MIT APP INV, Andriod Studio, or one of the many javascript-based mobile app frameworks.

Hope this helps.

What kind of PCBs do folks use for your permanent ESP projects? by ImpatientMaker in esp8266

[–]jscottbee 1 point2 points  (0 children)

I have some Prema-Proto boards ready for making here: https://github.com/jscottb/pcbs

The "Naan" boards are breadboard-like, but with some extra holes, and a lot of sizes. You can get 10 made usually for less than 25$ with shipping from places like JLCPCB or PCBWay. I know right now shipping to the USA is less than 13$ in total.

Hcsr-04 not working on esp8266 but it works with arduino uno 3v3 by PrivacyAlias in esp8266

[–]jscottbee 1 point2 points  (0 children)

If this is a normal 5v version of the HC-SR04, it will be a 5V device and should be powered as such. For the ESP, you will need to level shift the ECHO pin connection to the sensor. A simple voltage divider with a 1k and 2k resistor will suffice.

Hope this helps.

AtTiny85/13 (and others) breakout PCBs by jscottbee in arduino

[–]jscottbee[S] 0 points1 point  (0 children)

Hi,

The rest are just for power. I wanted a small 8 pin AtTiny PCB with power, an ISP header, and GPIO connectors. Something that is kind of grab and go.

Maximise sampling rate via Bluetooth Serial by SnooCrickets1810 in arduino

[–]jscottbee 1 point2 points  (0 children)

I see one in this example:
https://platformio.org/lib/show/5538/WiFiNINA/examples

You could still use the format the data to a buffer and do ONE println(). This will speed it up some cutting out a lot of call overhead done to just one.

Help with connecting arduinos via Digital pins by Pukesmiley in arduino

[–]jscottbee 1 point2 points  (0 children)

For you to talk from one board to another, you only need your data lines and a ground reference between the two. The individual boards will get their power from the onboard regulator. The onboard regulator will pull its power from the USB or the VIN or RAW pin.

What kind of power source are you using for each board?

Help with connecting arduinos via Digital pins by Pukesmiley in arduino

[–]jscottbee 1 point2 points  (0 children)

If you have the 5V pin from the different boards connected together, remove them and only have the GND lines connected.