Page 2 of 3 [ 37 posts ]  Go to page Previous  1, 2, 3  Next

Echo1030
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

User avatar

Joined: 15 Jul 2012
Age: 35
Gender: Female
Posts: 53

17 Jul 2012, 12:27 pm

I'm working on creating a program to read binary data collected with a sonar camera, display the data as an image (one image per frame, x number of frames...scroll through as a movie) as well as display the file attributes, and be able to autonomously select the target within the image and export the target location. I'm using python and Qt... it's been an adventure, since I've never programmed prior to this.



RazorEddie
Veteran
Veteran

User avatar

Joined: 18 Jan 2012
Age: 53
Gender: Male
Posts: 610

17 Jul 2012, 2:11 pm

I've just finished one project to control bus disabled access ramps. If you live in the UK and you use the access ramp on a new bus beware, your life could be in my hands :twisted:

The next project is a bit less scary - controlling automatic gluing machines for packaging. At least I'll get to design the electronics as well as the software on this one.


_________________
I stopped fighting my inner demons. We're on the same side now.


amboxer21
Deinonychus
Deinonychus

User avatar

Joined: 23 Jun 2011
Age: 37
Gender: Male
Posts: 350
Location: New Jersey

17 Jul 2012, 4:57 pm

RazorEddie wrote:
I've just finished one project to control bus disabled access ramps. If you live in the UK and you use the access ramp on a new bus beware, your life could be in my hands :twisted:

The next project is a bit less scary - controlling automatic gluing machines for packaging. At least I'll get to design the electronics as well as the software on this one.


How did you accomplish this? Embedded system programming with assembly? Interacting directly with hardware is always fun!



RazorEddie
Veteran
Veteran

User avatar

Joined: 18 Jan 2012
Age: 53
Gender: Male
Posts: 610

17 Jul 2012, 5:10 pm

amboxer21 wrote:
How did you accomplish this? Embedded system programming with assembly? Interacting directly with hardware is always fun!


The ramp controller uses a pic micro *spit* programmed in C. I don't like pics - they are too noise sensitive and often rather buggy. The glue controller will probably be an Atmel AVR or AVR32 programmed in C++.

In my opinion assembly is best avoided these days. C/C++ is much easier to maintain and if your particular chip goes obsolete it is easy to port to a different micro. It is also a lot easier to keep a library of C/C++ routines that can be reused on different projects.

I do use assembly where speed is really critical. Programming DSPs in assembler is a good way to make your brain melt...


_________________
I stopped fighting my inner demons. We're on the same side now.


amboxer21
Deinonychus
Deinonychus

User avatar

Joined: 23 Jun 2011
Age: 37
Gender: Male
Posts: 350
Location: New Jersey

17 Jul 2012, 6:06 pm

RazorEddie wrote:
The ramp controller uses a pic micro *spit* programmed in C. I don't like pics - they are too noise sensitive and often rather buggy. The glue controller will probably be an Atmel AVR or AVR32 programmed in C++.

I know nothing of PIC's and AVR's. I am unfortunately only familiar with Arduino.

I love assembly but you do have a good point here.
Code:
 In my opinion assembly is best avoided these days. C/C++ is much easier to maintain and if your particular chip goes obsolete it is easy to port to a different micro. It is also a lot easier to keep a library of C/C++ routines that can be reused on different projects.



Quote:
I do use assembly where speed is really critical. Programming DSPs in assembler is a good way to make your brain melt...
What's a DSP?



RazorEddie
Veteran
Veteran

User avatar

Joined: 18 Jan 2012
Age: 53
Gender: Male
Posts: 610

18 Jul 2012, 1:17 pm

amboxer21 wrote:
I know nothing of PIC's and AVR's. I am unfortunately only familiar with Arduino.


The Arduino uses the Atmel ATMega series chips. The AVR is just the next step up in the product range, still 8 bit. The AVR32 is a 32 bit version with an amazing amount of power for the price.

Quote:
I love assembly but you do have a good point here.

Assembly does have it's appeal. Optimizing code down to the last byte so it will fit into one or two k bytes of ram can be very satisfying. I remember one project that among other things ran a LCD display. In the end I had to compress the text to get everything in. The decompression algorithm took up space but it was still more memory efficient overall. If I remember correctly I ended up with only 4 bytes of spare rom. These days memory and processing power are so cheap I can't justify the extra development costs of using assembler.
Quote:
What's a DSP?

A Digital Signal Processor. Basically they are microcontrollers that are stripped down and optimized for high speed number crunching. They are heavily pipelined so you have to be very careful of the order of the instructions. For instance if you add two numbers together the results may only available 4 clock cycles later. Some instructions execute in 1 clock cycle so you could execute several instructions before your data is ready. It is VERY easy to end up making mistakes and using stale data. Finding bugs like that can keep you occupied for hours.


_________________
I stopped fighting my inner demons. We're on the same side now.


FJP
Sea Gull
Sea Gull

User avatar

Joined: 1 Jul 2010
Age: 48
Gender: Male
Posts: 228
Location: Northern Michigan

18 Jul 2012, 11:12 pm

I am currently working on a solid state guitar amplifier. I have breaboarded the design and now I am wiring it up on to perfboard . The power amp section is done and tonight I will work on the tone control and preamp. It puts out about 15 to 20 watts. The breadboard version sounded really nice. Can't wait to get it done! I still haven't decided what kind enclosure I will put it in.



amboxer21
Deinonychus
Deinonychus

User avatar

Joined: 23 Jun 2011
Age: 37
Gender: Male
Posts: 350
Location: New Jersey

20 Jul 2012, 1:52 am

FJP wrote:
I am currently working on a solid state guitar amplifier. I have breaboarded the design and now I am wiring it up on to perfboard . The power amp section is done and tonight I will work on the tone control and preamp. It puts out about 15 to 20 watts. The breadboard version sounded really nice. Can't wait to get it done! I still haven't decided what kind enclosure I will put it in.


Was just scrolling and seen this last post. I have a question though; how much do you know about SPDT NPN BJT's? I wanted to make something with an MCU that required one but found the topic a tad fuzzy!

Maybe RazorEddie could help too. He seems to know a whole lot about MCU's.

I always have a hard time getting the BJT'S working. I figure I place a resistor to the base and tone down the volts to .75 to saturate the BJT but cannot figure out how to draw a current across the the iCE if I were trying to control 12v with only 3.5 on output.



FJP
Sea Gull
Sea Gull

User avatar

Joined: 1 Jul 2010
Age: 48
Gender: Male
Posts: 228
Location: Northern Michigan

21 Jul 2012, 10:08 pm

MY theory with BJT is pretty hazy. For switching applications I would usually go with a small signal mosfet, much less hassle. On the rare ocassions I have used NPN for switching I usually just copied a circuit that I knew worked. I seem to remember Darlington transistors working well in a stepper motor driver I made years ago.



amboxer21
Deinonychus
Deinonychus

User avatar

Joined: 23 Jun 2011
Age: 37
Gender: Male
Posts: 350
Location: New Jersey

21 Jul 2012, 11:28 pm

FJP wrote:
MY theory with BJT is pretty hazy. For switching applications I would usually go with a small signal mosfet, much less hassle. On the rare ocassions I have used NPN for switching I usually just copied a circuit that I knew worked. I seem to remember Darlington transistors working well in a stepper motor driver I made years ago.


Mosfets are good in applications that need amplification. I think BJT's are better for using them as switches. More of a pain though!



AdmiralCrunch
Sea Gull
Sea Gull

User avatar

Joined: 18 Apr 2010
Age: 47
Gender: Male
Posts: 227
Location: CT, USA

24 Jul 2012, 9:37 am

RazorEddie wrote:
The ramp controller uses a pic micro *spit* programmed in C. I don't like pics - they are too noise sensitive and often rather buggy. The glue controller will probably be an Atmel AVR or AVR32 programmed in C++.


I'm in the process of designing a POC on a portable electronics device to analyze social signals in realtime. I had planned on eventually using a PIC32, but I just recently happen upon a super-awesome ARM Cortex A9 (the i.MX6 Quad) board. It's so amazing that I'm thinking I might be able to create a partially-functional POC right now.

I had planned on using stereo cams (projective geometry FTW!) to generate PCL data which I would pass through an AI filter (SVM of classified culture-specific social signals), but that would take too long. I figure maybe a Haar cascade on 2D data might be good enough, since it's so much easier to classify.

I don't know ARM programming at all. (I'm really a mathematician with some MSP430 and PIC8 experience.) Do you happen to know much about coding those 3D and 2.5D GPUs? Could I assign each core to a particular cascade to look for results?

I'm using OpenCV for the desktop test (linking it with OpenKinect to simulate the PCL data) but am having trouble getting the Haar classifier to get good results. Do you have experience with other tech that might be helpful?

Thanks!


_________________
Dum vita est, spes est.


braiden
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

User avatar

Joined: 19 Jul 2009
Age: 34
Gender: Male
Posts: 50

25 Jul 2012, 8:32 pm

MyFutureSelfnMe wrote:
I don't believe there is any really good GUI for Linux.


What about gnome 3 or gnome 2? They rock!



ruveyn
Veteran
Veteran

User avatar

Joined: 21 Sep 2008
Age: 87
Gender: Male
Posts: 31,502
Location: New Jersey

26 Jul 2012, 8:34 am

I am working to resolve the Collatz Conjecture. It was introduced around 1950 and no one has been able to resolved it or prove that it is undecidable.

ruveyn



amboxer21
Deinonychus
Deinonychus

User avatar

Joined: 23 Jun 2011
Age: 37
Gender: Male
Posts: 350
Location: New Jersey

27 Jul 2012, 12:35 am

My latest project is a bash script that changes run levels in the inittab file. I wrote it with bsd init style framework in mind. Disregarding sysvinit.

The only way the fix it is if you chroot into your box and return the run levels back to 5 for the desktop environment. I also wrote a server for the script so it can be executed remotely. ALL you have to do is type bootloop and hit enter lol

I am going to make a new post with the full info.



HenryKrinkle
Sea Gull
Sea Gull

User avatar

Joined: 19 Nov 2005
Gender: Male
Posts: 201

28 Jul 2012, 2:37 pm

This thread needs more pictures.

I've written a tagged bookmark manager. It's like delicious.com but stores all your data locally in a JSON file for those who don't feel like sharing their bookmarks with the rest of the world or depending on a company to take care of their data. I should probably change the "Search" JLabel to "Filter" because it's updated in real-time.

[img][800:750]http://i.imgur.com/lP0vG.png[/img]



morslilleole
Veteran
Veteran

User avatar

Joined: 17 Dec 2011
Age: 35
Gender: Male
Posts: 511
Location: Norway

08 Apr 2014, 1:58 pm

This thread needs more posts!

I am currently working on a DXBall clone using C++11 and SDL2. I'm having a lot of fun doing it, and have gotten to a point where it's more than playable. Though I still consider it an alpha. You can check it out on github : https://github.com/olevegard/DXBall

[img][800:744]http://s15.postimg.org/pgxik9lej/screenshot1.png[/img]