Don't like ads? Help support the Mercs by becoming a Supporter or Auxiliary Member today! (You will need to be logged into the store)
Official Members also get to use the forum ad-free - so kit up and join us!


 Lion's electronics corner

  • 54 Replies
  • 23018 Views

LightningLion


    *
  • 282
  • Electronics are my thing
Lion's electronics corner
« on: Jul 07, 2017, 10:25 AM »
Lion's electronics corner
As you might know, I'm a bit into electronics, and decided to publish all my projects on one thread.

I'm not a very inventive person, so any ideas you have or something you'd like to see built I'd love to hear an attempt them. Also if you need help with anything, I can help you too.


Displays

Recently I got an OLED display and I've been playing with some ideas. My main goal would be to integrate it on a rangefinder stalk.
For these I'm using a cheap 128x64 display, with Adafruit SSD1306 libraries.
Important note: I have yet to make a lot of tests, but for some reason these very simple interfaces consume A LOT of Arduino's memory.

TRAMP copycat
Like I said, I'm not very creative. TRAMP display is what made me interested on these little screens and so my project was to replicate it.

X-Wing instrument panel display
Not entirely happy with it, movement should be smoother.

Blaster ammo counter and light kit
I think this might be a cool project for all those converted nerf guns. Would be even better if it had sound. I'll work on that.

Rangefinder display screen

Decorative display for the rangefinder of my future Mandalorian helmet. Bit useless 'cause it's too close to my face and my eyes can't focus the screen properly. The distance indicator needs a lot of work to look realistic.

LED effects

Jynn Erso's NERF gun sequence
Copied the Jynn Erso's NERF gun light effect (referene here). When shooting, theres a light sequence moving forward along the barrel of the blaster. I don't know what it does when you press the trigger multiple times, but what I wanted to do was to concatenate shots and be able to shift multiple lights.

Same concept, but with a WS2812 LED strip.

LED Ammo counter
An ammo counter, (4 green, 2 yellow and 2 red LEDs) idea by Hik'aari Kelborn.

Wireless Rangefinder controller


This is a Boba/Jango Fett rangefinder, controlled wirelessly by two buttons: one up, and one down. It can achieve 3 positions:
Vertical (starting point). Facing backwards, as Jango Fett does. Facing forward, with custom blink sequence (I have no clue on which sequence is the correct one, so I made one I like).

Transmitter has a "power saving" mode, it's on stad by until you push one of the buttons. Next thing would be add that for the receiver too. And then a channel selector so one Mando control doesn't move other Mandos rangefinders .

*Mod Edit to remove external sales link*

« Last Edit: Oct 15, 2017, 02:35 PM by LightningLion » Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #1 on: Jul 11, 2017, 08:30 AM »
Small improvement. Added a "loading" animation when it's switched on, and moved the remaining shots counter a bit to the bottom. Now I think it needs more Aurebesh, but that might be difficult to implement on the counter.

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews
Re: Lion's electronics corner
« Reply #2 on: Jul 11, 2017, 10:27 AM »
Next thing would be add that for the receiver too. And then a channel selector so one Mando control doesn't move other Mandos rangefinders .
But imagine the reactions when everyone's rangefinders activate at the same time!  :o

Logged

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #3 on: Jul 11, 2017, 10:31 AM »
Mmm, if I ever mass-produce them I'll leave a backdoor in the code so I have a ahve a masterkey to control al servos mwahahaha.

I wonder if that ever happened, but I try to be ten steps ahead.

« Last Edit: Jul 11, 2017, 10:38 AM by LightningLion » Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #4 on: Jul 14, 2017, 06:35 PM »

Decorative display for the rangefinder of my future Mandalorian helmet. Bit useless 'cause it's too close to my eye to focus on the screen correctly. The distance indicator needs a lot of work to look realistic.

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews
Re: Lion's electronics corner
« Reply #5 on: Jul 14, 2017, 07:50 PM »
Sooo cool!!!

Logged

MadCelt


    *
  • 369
  • Just a little man trying to stay in God's plan.
  • Awards Award for 10 official invasions. 11+ Invasion Report Appearances Hard Contact - Clan with the most recorded invasions 15+ clan level invasions Award for 25 official invasions.
Re: Lion's electronics corner
« Reply #6 on: Jul 15, 2017, 08:01 PM »
SHUT UP AND TAKE MY CREDITS!!!

The rangefinder screen and ammo counter are brilliant!
I see upgrades incoming...

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #7 on: Jul 15, 2017, 09:02 PM »
Thanks! Any ideas you have, I'd love to hear them.

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

Tycho Kymeri


    *
  • 41
  • Tycho Kymeri
Re: Lion's electronics corner
« Reply #8 on: Jul 17, 2017, 05:23 PM »
What are you using to program these?

Logged

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #9 on: Jul 17, 2017, 05:43 PM »
What are you using to program these?

Arduino IDE, Adafruit SSD1306 libraries, Arduino Nano and a cheap 128x64 OLED display.

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

Tycho Kymeri


    *
  • 41
  • Tycho Kymeri
Re: Lion's electronics corner
« Reply #10 on: Jul 17, 2017, 05:59 PM »
So the display is designed by IDE and the SSD1306 Libraries? Or do you use something like Illustrator?

Logged

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #11 on: Jul 17, 2017, 07:12 PM »
So the display is designed by IDE and the SSD1306 Libraries? Or do you use something like Illustrator?

Ah, no. I draw the interface with MS Paint and convert it to an array of bytes with LCDAssistant. Then you can put it on your Arduino memory and draw the bitmap with one of the commands of the SSD library.

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

aforklikeutensil


    *
  • 1556
  • Porgiatrician
Re: Lion's electronics corner
« Reply #12 on: Jul 19, 2017, 11:14 AM »
 :o  Looks great.  Nice work, vod.

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #14 on: Aug 08, 2017, 02:13 AM »
First time using PORT manipulation instructions with an Arduino. Copied the Jynn Erso's NERF gun light effect (referene here). When shooting, theres a light sequence moving forward along the barrel of the blaster. I don't know what it does when you press the trigger multiple time, but I wanted to do was to concatenate shots and be able to shift multiple lights.

I'm so in on this, my credits you shall have.
Thanks for the interest. I'd really like to "monetize" some of my ideas so I could have some extra money to invest on my Mando/Arduino builds, but I haven't figured a "fair" way to do it yet.

« Last Edit: Aug 08, 2017, 02:46 AM by LightningLion » Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

Hik'aari


    *
  • Nick'aari
  • *
  • 6681
  • Awards Donated four quarters of 2023. Order of the Ori'Ramikad Special Weapons 6 or more Education Points in a single year. Family events
Re: Lion's electronics corner
« Reply #15 on: Aug 09, 2017, 12:44 PM »
Have you given any consideration to using things like WS2812B LED strips? Could then adjust the colour through the pulse and completely controllable via arduino.

If interested I shall share some work I did with them earlier in the year.

Logged
Hik'aari WIP  |  Cat #1319  |  Akii'su WIP
Need Help? Rules and Guides

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #16 on: Aug 09, 2017, 01:04 PM »
For this last idea, or in general terms? In any case, I didn't even think on them  so I'll read about it. Thanks!

EDIT: Ok, I've read a bit and they seem easy to use, will get some.

« Last Edit: Aug 10, 2017, 09:39 AM by LightningLion » Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

Hik'aari


    *
  • Nick'aari
  • *
  • 6681
  • Awards Donated four quarters of 2023. Order of the Ori'Ramikad Special Weapons 6 or more Education Points in a single year. Family events
Re: Lion's electronics corner
« Reply #17 on: Aug 11, 2017, 04:36 AM »
Just in general terms. They are really easy to use and would be perfect for the scrolling light.

I used them to create "stars" for a friend who was making a dress with a "stars" theme. We put them into the dress so they randomly lit up a random number of lights for a random amount of time behind the fabric. 300 LEDs being driven from a  Nano Arduino clone. Arduino is powered from a 9V battery and the two strings of LEDs from 2x USB power bricks


Logged
Hik'aari WIP  |  Cat #1319  |  Akii'su WIP
Need Help? Rules and Guides

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #18 on: Aug 11, 2017, 06:59 PM »

3D printed the Boba Fett rangefinder to continue working on the display. As you can see, it fits inside of what should be the perspex block. Will probably use a small Li-ion battery to power everything because 4 wires are a bit too much.

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #19 on: Oct 12, 2017, 10:40 AM »
Have you given any consideration to using things like WS2812B LED strips?


Finally received my strip of WS2812 LEDs for testing. They're cheap, apparently easy to use and offer tons of possibilities. Thanks for the suggestion!

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

Hik'aari


    *
  • Nick'aari
  • *
  • 6681
  • Awards Donated four quarters of 2023. Order of the Ori'Ramikad Special Weapons 6 or more Education Points in a single year. Family events
Re: Lion's electronics corner
« Reply #20 on: Oct 12, 2017, 12:57 PM »
Glad to see you like them :)

With a bar like that you could do something like


[Green]
[Green]
[Green]
[Green]
[Yellow]
[Yellow]
[Yellow]
[Red]
[Red]


Then as you click the "trigger" every X clicks turns off a light (top to bottom) to simulate an energy pack depleting. Then with a secondary button (perhaps at the bottom of the stock) it refills as if reloaded.

This has been on my list of things to try, and I really should order some more LEDs.... hmm I think I know what my next project will be come payday

Logged
Hik'aari WIP  |  Cat #1319  |  Akii'su WIP
Need Help? Rules and Guides
Re: Lion's electronics corner
« Reply #21 on: Oct 14, 2017, 03:27 PM »
Lion, I would love to know how you did the rangefinder display, do you have any info or tutorials on how it works? I know a bit about using arduino, but stuff like your rangefinder display is new to me.

Logged

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #22 on: Oct 14, 2017, 04:41 PM »
How good are you at coding?

I use and OLED display (128x64 pixels resolution, I2C protocol) and an Arduino Pro Mini.

For programming, the Adafruit SSD1306 library (I think). Download, read examples and read how the library works internally. Then find some tutorials on your language. And read how to use LCAssistant. There are basically a bunch of commands to learn if you use Adafruit's library.

The thing is, Arduino's memory is really low. You'll need to be creative to  make everything fit and work.

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

LightningLion


    *
  • 282
  • Electronics are my thing
Re: Lion's electronics corner
« Reply #23 on: Oct 15, 2017, 02:23 PM »
Then as you click the "trigger" every X clicks turns off a light (top to bottom) to simulate an energy pack depleting. Then with a secondary button (perhaps at the bottom of the stock) it refills as if reloaded.


Something like this you mean?  :P
Sorry for the aweful quality, was the only way I could get the camera to "see" the LEDs.

Logged
Lion's electronics corner

Rionu Custom Electronics for your Mandos
--->> Sales thread

WIP's: Post-Imperial costume. Nite Owl helmet.

Mundo Airsofter - Airsoft news & reviews

Hik'aari


    *
  • Nick'aari
  • *
  • 6681
  • Awards Donated four quarters of 2023. Order of the Ori'Ramikad Special Weapons 6 or more Education Points in a single year. Family events
Re: Lion's electronics corner
« Reply #24 on: Oct 16, 2017, 03:08 PM »
Exactly something like that :P
I actually ordered up my LED strip the other day after posting it to do this very endevour

Logged
Hik'aari WIP  |  Cat #1319  |  Akii'su WIP
Need Help? Rules and Guides
 


Don't like ads? Help support the Mercs by becoming a Supporter or Auxiliary Member today! (You will need to be logged into the store)
Official Members also get to use the forum ad-free - so kit up and join us!



Powered by EzPortal
SMF spam blocked by CleanTalk