Categories
Ask Engineering

Pitfalls in charging a supercapacitor from a small solar panel

I’m designing a circuit which occasionally requires small amounts of power (it’s switched off most of the time). I want to use small solar panels to charge a supercapacitor, and the cap then serves as an energy reservoir in the absence of full sunlight. I have already set up a basic circuit with a EDLC […]

Categories
Ask Engineering

Pitfalls in charging a supercapacitor from a small solar panel

I’m designing a circuit which occasionally requires small amounts of power (it’s switched off most of the time). I want to use small solar panels to charge a supercapacitor, and the cap then serves as an energy reservoir in the absence of full sunlight. I have already set up a basic circuit with a EDLC […]

Categories
Development

Scaling a 2d game object with mouse drag in unity

So I have had a few attempts and posts about this but have still not been successful. The behaviour I want is this: There is a circle (sphere) I want the player to be able to click and drag it outwards to make it larger, or drag inwards to make it smaller. Previously, I was […]

Categories
Development

Canvas is Blank After Making Draw() Calls

Following up with my problem I describe here i’m trying to draw some shapes to a canvas that isn’t associated with any view/layout (it’s totally in memory & never drawn to the screen) and then use the bitmap I drew in my activity. The problem: It seems like my draw method never gets called. I […]

Categories
Development Unity

Unity C# Sockets callback that triggers an event logs to console but can’t change gameobjects properties

I have written the following sockets class to handle the communication between the client and the server, the class simply connects to server and raise an event when a message is received from the server. public class socketsFunctionality : MonoBehaviour { Socket socket; public const int BufferSize = 16384; public byte[] buffer = new byte[BufferSize]; […]