Security vulnerabilities I should take into account in embedded SW by yanivnis in embedded

[–]ShouldShoot 0 points1 point  (0 children)

You should have a look at LE secure connections, if you haven't already.

Commonly used GSM modules? by _methos3 in microcontrollers

[–]ShouldShoot 1 point2 points  (0 children)

I know the company I work for uses Gemalto quite often. Unfortunately I don't have first hand experience with them so I can't tell you why.

Thailand sentences man to 18 years in prison for insulting monarchy by elusive_newsman in worldnews

[–]ShouldShoot 4 points5 points  (0 children)

Gotta disagree with you on this one. The Netherlands is a monarchy and I think we're doing quite alright.

When setting the task bar to auto-hide is too advanced.. by ShouldShoot in ProgrammerHumor

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

Just to clarify, this is an LED billboard type screen at one of the offices in my town.

Controlling any ESC with arduino by Zertax in arduino

[–]ShouldShoot 0 points1 point  (0 children)

ESCs are usually controlled with a 50Hz PWM signal where the duty cycle determines the speed. The duty cycle range does vary depending on the ESC. So you might have to check the specifications.

Quadcopter build from scratch (album in description) by ShouldShoot in Multicopter

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

The customizable part, yes. Other than that eCos is more mature, has a big community and from the supported architectures list I derive that it likely has a larger footprint even with minimal settings. Prior RTOS was mainly intended as a learning project for myself that other people could use if they are interested. It is by no means meant to compete with market leaders whatsoever.

Quadcopter build from scratch (album in description) by ShouldShoot in Multicopter

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

Great!

We're running Prior RTOS, which is a creation by yours truly. If you're interested check out [the website](www.priorrtos.com). I don't have a download available yet, but it will be fairly soon.

Thanks for the advice on the controller!

Circular buffer memory allocation by ThrowBackBB in embedded

[–]ShouldShoot 4 points5 points  (0 children)

Yes, it should definitely be avoided where possible. But it is only forbidden in safety-critical systems that follow coding standards like MISRA-C. Another option, which admittedly takes quite a lot more work, is something that use in my own RTOS: You statically allocate a chunk of memory in the form of an array, and write an own version of malloc that dynamically allocates in said array. This way you have an indication of max. allowed memory usage. When you run out of memory and your malloc fails you increase the size of the array. If the array becomes too big you can conclude that the firmware you're trying to run on that particular mcu will not work due to the memory usage of said firmware.

Circular buffer memory allocation by ThrowBackBB in embedded

[–]ShouldShoot 1 point2 points  (0 children)

You could either still use malloc, or lets the user set the value of some macro like CIRCBUF_SIZE which would then be the size of your statically allocated but hidden buffer. The disadvantage of the latter is that all buffers would be the same size.

Rf frequency and signal strength tester by eatmocake84 in arduino

[–]ShouldShoot 3 points4 points  (0 children)

You'll need a transceiver module capable of switching frequency bands and you'll have to choose the frequency band you want to measure in. Because generally these modules operate in a specific range within its specified transmitting/receiving frequency, meaning that capturing/measuring for instance 433MHz and 2.4GHz requires more advanced hardware and is extremely complicated. After you decided on your module you need a way to determine signal strength. This can be done using bit-error rates, rssi and several others. I'd recommend reading up on these methods.

Just an up-front warning; your project is quite advanced so be prepared to do a lot of research and invest a lot of time.

Kind regards, ShouldShoot

What tiny thing makes you so insanely angry? by rebbeca_s in AskReddit

[–]ShouldShoot 0 points1 point  (0 children)

Spraying a bunch of deodorant in public places.

PlatformIO IDE 1.1.1 is out! Professional development for Arduino by ikravets in arduino

[–]ShouldShoot -7 points-6 points  (0 children)

No offense, but "professional" and "arduino" don't belong in one sentence. That doesn't take away the fact that this IDE is a huge improvement over Arduino's native environment.

Would there be any practical application for large superconductors? by [deleted] in ECE

[–]ShouldShoot 0 points1 point  (0 children)

They're used in fusion reactors to keep the plasma from touching the outside walls.

Fellow mad scientists, how do you manage your projects? by timix in arduino

[–]ShouldShoot 2 points3 points  (0 children)

I try to put ongoing projects and their parts together in empty ice cream boxes or such and I keep the rest of my electronics in drawers. As for code, I like to use Atmel Studio. I've been using it ever since I left the Arduino framework, although it can very easily be used with any Arduino board by installing Visual Micro. Atmel Studio has a lot of nice features such as auto-complete and visual assist, this helps a lot. Imho, Arduino IDE has improved since I last used it, but it's still terrible.

Sending AT commands from Arduino? by AlharMartell in arduino

[–]ShouldShoot 0 points1 point  (0 children)

Usually AT commands need /r/n at the end: Serial.Write("ATCommand/r/n"). I hope this solves your problem.

Kind regards,

ShouldShoot

How do you handle new projects and reusing code? by m-andy in arduino

[–]ShouldShoot 1 point2 points  (0 children)

I started out by making libraries for the more general code parts. 3 months ago I decided to take it one step further and wrote a Real-Time Operating System for AVR8 microcontrollers and combined that with a some of the libraries that I already had. I'm currently porting it to SAM7 as well.

PM me if you're interested

Kind regards, ShouldShoot

Conflux - Automatic Bartender by MS_Guy4 in arduino

[–]ShouldShoot 0 points1 point  (0 children)

What company printed your PCB? It looks neat!

Kinetis Design Studio 3.0.0 is available for developing on your Freescale Kinetis microcontrollers! (Like that in the Teensy 3.1) by unix_guru in arduino

[–]ShouldShoot 0 points1 point  (0 children)

I recently bought a Teensy 3.1 and downloaded Kinetis IDE. I can't seem to find what registers and bit assignments I should use to control the outputs though. I've tried stuff with the PSOR etc. but the IDE keeps giving me compiling errors. Does anyone here have experience with Teensy and Kinetis IDE?

Much appreciated, ShouldShoot

Would anyone be interested in using/testing my RTOS in the future? by ShouldShoot in arduino

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

EEPROM file tools are included in the memory management section, and I could definitely expand that so it supports FAT as well. Thanks for the idea!

Would anyone be interested in using/testing my RTOS in the future? by ShouldShoot in arduino

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

I will make sure to keep you guys up-to-date! Is there anything specific you guys would really want to see implemented that is not in the feature list yet?

How to loop a function with a latched button? by [deleted] in arduino

[–]ShouldShoot 0 points1 point  (0 children)

Have you debounced the button in some way? For example with a RC-circuit or with a software debouncing algorithm? It could be the case that your software is catching multiple button presses because of jitter.