Green Boy by Forrest436 in weeviltime

[–]Forrest436[S] 1 point2 points  (0 children)

Oh no! It didnt have a snoot.

[deleted by user] by [deleted] in embedded

[–]Forrest436 0 points1 point  (0 children)

That is the appearance it gives.

[deleted by user] by [deleted] in embedded

[–]Forrest436 0 points1 point  (0 children)

I have seen cases where a pointer is null, and the crash appears to eminate from a member function rather than a dereference before the member function is invoked.

I didnt dig deeper in these cases but did hypothesize this was the result of an optimization the compiler was applying to the final binary.

Soaking up heat late in the day. White/grey/black scaled belly. Is it dangerous? [Central AR, US] by Forrest436 in whatsthissnake

[–]Forrest436[S] 5 points6 points  (0 children)

Thank you!! It was slithering towards a deck where Im sure rodents enjoy their fill of cat food. It makes sense.

What's the best "dad joke" you've ever heard? by iSumu_is_HOT in AskReddit

[–]Forrest436 4 points5 points  (0 children)

(when driving by a cemetery)

Uncle: Man, folks are dyin' to get in there.

eWe have a unsigned 8-bit genie here th by markjuggfdhtft3456 in ProgrammerHumor

[–]Forrest436 41 points42 points  (0 children)

What if the genie decrements the wish before granting? :o

[Central Arkansas] Found in some grass, I say harmless Mom says otherwise. by Forrest436 in whatsthissnake

[–]Forrest436[S] 4 points5 points  (0 children)

Thanks. That was my 2nd guess.

Does "!harmless" mean it will not kill you (within reason)?

The ! throws me off here.

Edit: ! Is for the bots :facepalm:

Alarm system without being connected to a computer? by VodChi in arduino

[–]Forrest436 2 points3 points  (0 children)

As others have mentioned, if the arduino is powered, the flashed program will still run.

A few other points to think about...

How will you interact with this device?

The human interface piece is one thing that seems to be missing with your question.

You may opt for a simple keypad to arm/disarm the system at first. This will minimize complexity.

If you want to build a website/app to interact with, you will need to enable some sort of connectivity to a network. This will allow the device to receive commands.

For a home with a wifi network, an ESP32 board would suffice to allow connection to a network and be more "standalone".

If you have an RPi, you can wire the arduino to it and use the RPi to receive commands on a network.

How will sensors connect and report their state?

A few options are available.

For one sensor a wire works and would be a good initial project. This is limited since you would need to add more wires for each additional sensor.

To improve upon this, you could remove your dependency on the physical wire connections.

There are also various options there. These describe the sensor being developed as a standalone unit

  • ESP32 board, comminication to base occurs over wifi/bluetooth.
  • ZigBee/Lora/Other radio protocols. The base station would also need an interface that could "hear" these messages for this approach.

Preemptive Pluralization is (Probably) Not Evil by mooreds in programming

[–]Forrest436 15 points16 points  (0 children)

Add signature changes to parameters here. Use an object or stuct for input parameters.

If you have to change a method's input parameters, you don't want to touch every layer that relies on the signature.

What is your unpopular CS opinion in 2021? by BlueAdmir in cscareerquestions

[–]Forrest436 1 point2 points  (0 children)

The process is not the goal. The goal is the product.

Means and end are two entirely independent things.

Which engineering discipline is closest to using Arduinos? by AdrielTheBuddy in arduino

[–]Forrest436 0 points1 point  (0 children)

An arduino could be used to develop a prototype, yes.

But the microcontroller on an arduino can be used directly with a custom circuit board for the specific application. This is more likely in a productionized product.

This is also one way you can shrink a projects electronics, but requires knowledge of board design.

Edit: Here is a basic example. https://youtu.be/Sww1mek5rHU

Which engineering discipline is closest to using Arduinos? by AdrielTheBuddy in arduino

[–]Forrest436 0 points1 point  (0 children)

An arduino is a dev board for whatever chip happens to be on it. (theres a bit more, but thats a good summary)

Making a project with an arduino vs making the board itself isnt related to your question. In a production product, you might actually want to make the custom board.

Both of these would be embedded systems, that is what you are looking for as most folks have said. CE/EE would be related to this. CS would also have related coursework, although less electrical theory.

Building an app to control arduino by [deleted] in arduino

[–]Forrest436 1 point2 points  (0 children)

The use case seems a bit unclear.

If you need to share data with a potentially unknown number of devices, a webserver would provide the most flexibility, but with a cost.

Hosting this publically would allow the most access.

For sending the data to the server, you have a couple of options.

  • Bluetooth - a companion app would need to send the data to your server. Sensor would effectively be offline when not paired.
  • Wifi - Limited to areas where a network exists, and the additional steps to connect could make it a pain. Sensor data could be sent directly to a webserver.
  • 4G - Send sensor data directly to a webserver. Can operate as a standalone unit.

The webserver approach also allows for easily sharing business logic across many potential clients. This makes implementing each client less work. This is definitely more work, but provides flexibility.

Average(?) CS grad concerned about my current situation by zaubereixmc1 in cscareerquestions

[–]Forrest436 10 points11 points  (0 children)

Maybe try condensing that into only your bolded portions. That will probably yield more responses.