tips of easy to start tutorials/guides - micropython

I want to try out Micrpopython (as a beginner) and I want some tips for some easy tutorials to get started. What I have in mind of something fun, to begin with, would be a temperature sensor that activates a LED light when a certain temperature is exceeded (or other type of warning).
Any tips?

A good start will be through the official doc, They provided you with all the information needed to use it, whether you want to use esp32 or esp8266 and if you need more information about coding or anything else you can visit GitHub here, there's also a lot of courses on Udemy if you want, but for me, GitHub was great.

Related

How to connect HC-05 to MSP430

I am trying to use Bluetooth module HC-05 with MSP430 by Texas Instrunments.
I want the bluetooth module to collect data wirelessly from an android phone via bluetooth. Can anyone please help me?
You will find an answer and the end. But first I need to write a few introducing words.
You are new to SO and, you might wonder why no one answered your question.
If I should guess: IMHO there could be two main reasons for this.
Your question is not specific enough:
What kind of TI MSP430 do you intend to use? I suppose you use a launchpad G2(?).
What have you tried so far? You can not expect someone else to invest some time if you did not try so solve your problem yourself. Perhaps it easy, if you only try. The people here love to help, but they expect you to be interested in the problem.
What is your backgroud: Are you a programmer but do not know how to connect the hc05 to the MSP or are you fit in electronics and connecting MCUs? Are you a complete beginner?
There are so much cases and I would not have the time to handle all.
I used google to search "MSP430 HC-05" and found a lot of usefull stuff. The first hit is a project working with a Energia IDE, a HC-05 module, a G2-Launchpad and even an Android phone. I and probably other people do not understand why you did not try to search the internet for information.
Ok! enough wise words! ;-)
Here is the promised answer:
You find an example project with the following URL: http://www.electronicwings.com/ti-launchpad/hc-05-bluetooth-module-interfacing-with-msp-exp430g2-ti-launchpad
More results can be found: including (Youtube) Videos
- Keywords: HC-05 MSP430
Please try to work with that material and feel free to ask furter questions here.
But please be sure to be a bit more specific. (Code examples, error messages, your configuration and hardware and what you've tried so far.)
Cheers PPK

I want to make a small co-op 3D RPG. Where do I begin?

I know how to program although I haven't done much in C# yet. But I understand every code snippet I read. I mostly script at my job. I have little to no experience in graphical design or animations.
The only thing I have done so far in Unity 3D is the ball rolling tutorial.
I have some questions though as I have a hard time understanding where I should begin. I know co-op 3D RPG is a project with a HUGE scope, but this is what I would like to accomplish to begin with:
Mini world (half the size of a WoW zone)
Populate world with terrain, trees and some buildings. Maybe a cave.
Have a playable character that can move around and interact with some objects.
Could anyone guide me into the right direction? What documentation should I read? Are there any RPG packs or plugins that can help me achieve this? Any nice tutorials you know of?
If 3D is too complicated to start with, I'm also willing to try an isometric game.
PS: Are there any free (or reasonably priced) HD asset packs that include animations? Or will I have to provide those myself as well?
Co-Op RPG's are quite large; Infact most people have tools that would help this speed up production; Although you're asking where to start. Most of my programming knowledge comes from theory and pretty basic knowledge; But I have an idea on where you should start!
A big factor on Co-Op is well.... Of-course CO-OP so something you should play around with first is data and how it's stored but even though you have knowledge of this factor Unity has a good way of storing it from Host to Client!
https://docs.unity3d.com/Manual/UNetStateSync.html?_ga=2.98238303.1333003911.1509902124-1740889112.1506544791
Another factor of -Co-Op is the dynamic spawning that is going to be pretty heavy although their are quite a few ways of doing this I'm sure their are plenty of correct as-well as incorrect ways of doing it!
Personally I would develop a database and call-Events with SQLite though this would be a heavy and complex job to do correctly and efficiently
but unity3d has UNetCustomSpawning documentation that seems to work pretty well for it's inteded use although it takes some heavy tinkering to get right so I would suggest once you get synchronization done you should check out some Spawning
https://docs.unity3d.com/Manual/UNetCustomSpawning.html
With Every Co-Op Action it must be handled and heres how!
https://docs.unity3d.com/Manual/UNetActions.html
How about the actual connection?
https://docs.unity3d.com/Manual/UNetDiscovery.html
Although reading alot of this may help; I would suggest rading through this and giving it a shot.
https://docs.unity3d.com/Manual/UNetSetup.html
and if you find no help or it's doing you some trouble
https://unity3d.com/learn/tutorials/s/tanks-tutorial
You may hear about "Tanks", alot though I personally am quite stubborn so I couldn't bear to look into it untill I did just earlier this month; It shows a correct way of doing things from Shooting, to spawning, and may other things.
I am un-certain this is a good or bad answer for you as this I believe is quite a personal question but as their are about a thousand and a thousand more ways of doing this I think what I have shown is a great way of starting just to get an idea of how the ball should start rolling!
-Thanks!

Need help with openfeint integration

I am trying to integrate openfeint with my app.. though it's not actually the integration I am stuck on, successfully able to open the leader-board, but actually the development flow. I mean what is the least we need to do... When to submit score and how? Achievements are bit ambiguous:( .. was searching all around then figured out it'd be the best way to get exact answers to my question. Kindly help.
EDIT:
My main question is that what least should be done in an app to say that it's openfeint integrated.
At a minimum, achievements and leaderboards. But I'd recommend using OpenFeint because it solves a specific problem for you, rather than to simply check off a feature. If you don't have a clear idea, you may not have a clear idea of the game's overall design. If so, you might be better served to come back to the integration half-way in, after you've made more decisions.
Then you can say things like "Oh, I have three different play modes. I'll make a leaderboard for each." Or "This level is really hard – I'll definitely award an achievement if they complete it in x time." And so on.
But you should really reach out to OpenFeint's dev support if you have questions like this – they'll be able to give you good advice on integration.

Need help: Forum for Receiver Design queries

As much as I love this forum for my programming related questions, I am finding little or no help here. I am working on designing a Receiver for WLAN and have have lot of queries and I am looking for a forum where I can ask someone who are working in the same area.
I would be glad if you could suggest me where I can post my questions.
Thanks
For basic receiver design, you may want to have a look at our sister site, electronics.stackexchange. Also, Signal, Image & Video Processing might be of help once it gets off the ground.
Also, when you're working in a specific field with which programmers in general are not very familiar, you have to explain your questions very well in terms that everybody understands. To give you an example:
In 802.11b, Barker Code is used for spreading.
is completely incomprehensible for me, and, sorry, I don't have the time to fire up Wikipedia and order textbooks from our library to teach myself the specifics of how WLANs work.

understanding an API

I know that there are many API's like json,Facebook,twitter etc for developing related applications on iphone....but how to understand an API?This might be scilly question but I want to know how? what would you suggest for for a beginner?
You should find relevant documentation and read through some code examples utilizing the API.
If you are looking for information about the iphone, as the tag suggests, then read through the information here. There is an entire section dedicated to sample code. If you really can't understand how to make something work after some effort and some googling, then you can always ask on StackOverflow.
When ever I came through adding new API in my project I usually scan though documentation to find relevant topic to my project then after looking at the some sample code I usually start experimenting with the code to get the desired results and thats it because API is for short term use, you should not waste your precious time on just one API. So steps are, 1) find the relevant topic then 2) read sample code and 3) write your own code to get the desired results. 4) through away that API.
Cheers
Ayaz Alavi
If it's open source, read the code from beginning to end. Or to see why things were designed in a certain way, maybe try reimplementing parts of the API.