Embedded Systems and Power Electronics

Total Pageviews

About Me

My photo
I am currently a PhD student at UC Berkeley, following a 6-year journey working at Apple after my undergrad years at Cornell University. I grew up in Dhaka, Bangladesh where my interest in electronics was cultivated, resulting in the creation of this blog.

BTemplates.com

Powered by Blogger.

Oct 10, 2012

Smart Sine - Software to generate sine table


There is an updated Python version of this now available, along with source code: https://tahmidmc.blogspot.com/2023/11/smartsinepy-and-example-of-gui.html

Here is the software Smart Sine, that I created and now use to generate sine tables.

It is the improved and more developed version of the software I had previously created with a few more useful features. It is relatively simple to use and gives results quickly as opposed to manually calculating the table.

If the software asks for .NET Framework Installation, you can download it from:


or


Download the software from :

Recommended:
https://drive.google.com/file/d/0B4SoPFPRNziHWVdLYVFKeHlsWjQ/view?usp=sharing


Here are a few screenshots:






47 comments:

  1. Replies
    1. You're welcome. I hope it's been helpful.

      Regards,
      Tahmid.

      Delete
    2. hei bro can u mail me ??? i m from aiub eee intrested about ur project my mail nahideeeaiub@gmail.com me in fb https://www.facebook.com/EEEnahid please give ur contac mail/cellno in my mail or fb id

      Delete
  2. Allah bless u....

    ReplyDelete
  3. PROFESSIONAL,I LIKE IT.ALL THE BEST.
    DELIVIO

    ReplyDelete
  4. this is very helpful.. thanks a lot tahmid..

    ReplyDelete
  5. I'm overwhelmed by your generosity. Thank you for sharing your knowledge. It mean so much :)

    ReplyDelete
  6. hi Mr. Tahmid, am new to programming PIC, just let me say i just started,
    I love electronics so much and PIC,
    please assist me with e-book that can increase my potential. i really love this great blog.
    my email is kibbutz4success@gmail.com

    ReplyDelete
  7. hello
    very good your project, you can mail me the soft sine smart because I can not download it from the network.
    tallerseinel@hotmail.com.
    thanks

    ReplyDelete
  8. hei bro can pls mail me. (shijimusic@yahoo.com)

    ReplyDelete
  9. Thanks bro! You are a lifesaver.

    ReplyDelete
  10. I'd like to use your program but when I downloaded it and ran it, it seemed to be infested with crapware that I don't want or need. Can you just have a copy of the executable on a virtual server or web space, rather than "free" file storage that is full of ads and add-ons and other junk? I think I'll just write my own program or use a spreadsheet. Nuch better and faster than dealing with this junk, IMHO.

    ReplyDelete
  11. Congratulations Tahmid, I'm using your software and I'm very satisfied with it. Have you ever been asked to include a starting angle or, at least, to choose between sine or cosine? I know one can achieve this using a index offset, nevertheless, it would be great to have this feature in the software. The software is great, I am a huge fan.

    ReplyDelete
  12. Hi Tahmid,

    Thanks a lot for the very useful tutorial!
    Is it possible to generate a faster Sin with dsPic33 ? So about 50KHz Sin Frequenz?

    ReplyDelete
    Replies
    1. It is possible. You'll need to keep in mind the PWM resolution you get and if that is satisfactory. In most cases, you'll probably be fine.

      Delete
  13. Hi Tahmid,
    I would like to download your software , but raphid share have closed down any and 4share also any other link
    regards
    johann
    boomslang@mweb.co.za

    ReplyDelete
  14. Sir,
    I work with a 8 bit microcontroller. now for generating a sine wave , the values that i shall send to the DAC from the microcontroller , varies between '00' hex to 'ff' hex.... so how shall i get the negative part of the sine wave?

    I mean the output of the DAC will be between 0 volt to 5 volt.... I shall get the sine wave pattern but how shall i get the negative part...

    Should i use a negative clamper to get it???

    Hope u shall help me sir..

    ReplyDelete
  15. Hello,

    Is there any way to download the software without having to use that crap website 4share or similar? there's like 400 ads on the page trying to trick people into downloading other junk software. Perhaps move it to your google drive? I just spent an hour cleaning all unwanted crap off my PC.

    ReplyDelete
    Replies
    1. Noted! 4shared used to be much better than this. I guess I'll just start transitioning everything to Google Drive. Thanks for the feedback!

      Delete
  16. Hi BOSS,
    i have tried to download the software several times but its no longer on the link pls help me out on how to go about it. thanks

    ReplyDelete
  17. Replies
    1. Try again now and let me know if you're still facing issues.

      Delete
    2. hello sir could please tell me how to implement this code with 3-phase ?

      Delete
  18. Nice program. I would suggest to add hex data format

    ReplyDelete
  19. Very nice software!

    ReplyDelete
  20. Nice one Tahmid! I downloaded the software successfully. I appreciate ur good works, may God bless u mightily.

    ReplyDelete
  21. I have download smart sine. it shoing "application cannot be start , contact application vendor."
    please help

    ReplyDelete
    Replies
    1. Sorry Boss. I was installing it on win7 32 bit. so it has error.
      i have tried your smart sine on windows XP. And it's work fine.
      Thanks a lot. and sorry.

      Delete
  22. Thanks Tahmid, very useful the software for te sine Table.
    Your site is also easy to use too, I’ve bookmark it in my folder and will tell my students of it.
    Corné van Dijk

    ReplyDelete
  23. AoA.
    I m confused about how to create 8 bit sine table because I am using atmega8 timer2. Your smart sine generating values are greater than 255 if I increasing peak values greater than 250 v.plz help me I will thank full to you.

    ReplyDelete
  24. Kudos for this application. Just what I needed. Thanks man!

    ReplyDelete
  25. Hi Tahmid, great job.
    any consideration to open source and github holding those release?

    ReplyDelete
  26. Tahmid, Thanks, I used the sine table generated by your software to produce a waveform generator (square wave, triangle, sawtooth and sine wave) based upon PIC18F248 microcontroller allowing user input via PC/RS232 to select waveform, frequency and amplitude, and then use a MCP4921 DAC to output the desired waveform.
    For those interested, check it out here http://www.fadstoobsessions.com/Learning-Electronics/Component-Testing/MCP4921-DAC.php

    ReplyDelete
  27. Dear Tahmid,
    Greetings! Great job indeed!
    I have been also referring to your Sine Wave generation implementation using dsPiC33Fj publication. I have a small query as I too use the similar algorithm for my thesis but with dsPIC33FJ32MC202 very similar to yours controller. I would like to create a V/Hz control to vary my frequency linearly as a ramp function starting from a low volatge. Could you please provide me some valuable inputs or idea ont he same. I am using sine table with 4K values(one period) and 20Khz PWM, 20Mhz- Fosc.
    Thank you in advance. Keep up the good work!

    ReplyDelete
  28. Thank you a lot.
    Dziękuję bardzo.
    Bogdan

    ReplyDelete
  29. Can You add the calculation by RMS (each value * 0.707) & calculation by Average (each value * 2PI=0.637)?

    ReplyDelete