GDR Forum Index
Podcast Podcast
Dev Dev Logs
Search Search
RSS RSS
Register Register
Log in Log in
Reply to topic GDR Forum Index -> Game Developer's Refuge -> Arduino and Microcontroller Fun Times Page Previous  1, 2
View previous topic :: View next topic  
Author Message
PoV
Moderator

Joined: 21 Aug 2005
Posts: 10709
Location: Canadia
PostPosted: Thu Nov 05, 2015 2:48 pm    Post subject: Reply with quote

The parts I ordered about a month ago have started trickling in. Nothing for my December project, but some of the extras.

Such as this CPU chip used in a NES.



I haven't had the time to finish my homework on RAM and Flash Memory, so I wont be using this.
_________________
Mike Kasprzak
'eh whatever. I used to make AAA and Indie games | Ludum Dare | Blog | Tweetar
View user's profile Send private message
PoV
Moderator

Joined: 21 Aug 2005
Posts: 10709
Location: Canadia
PostPosted: Mon Feb 01, 2016 9:45 am    Post subject: Reply with quote

Unfortunately I never got around to my project. End of last year, I ended up working on my new non-Ludum Dare project instead.

* * *

That said, a recently did a small gig. I wrote some of the binding code that lets you use these



with the Arduino IDE.

I'll just steal the specs from the Kickstarter page.

Quote:
32-bit 80mhz (160mhz overclockable) microprocessor
802.11 b/g/n Wi-Fi radio built-in - FCC/CE Modular Approval
1MB of ROM, 64KB RAM (~300kb available for user code)
512 bytes of EEPROM type storage
11 Digital I/O Pins (interrupts on 10 digital pins)
1 Analog Pin (Analog Read)
PWM on all Digital Pins (up to 6 active at a time)
Sleep and Deep Sleep modes for low power usage
Ability to read the voltage of its power source (for battery monitoring)
Board dimensions: 0.92in (23.4mm) x 1.18in (30mm) or about 1 sq/in

So IMO not a bad little board.
_________________
Mike Kasprzak
'eh whatever. I used to make AAA and Indie games | Ludum Dare | Blog | Tweetar
View user's profile Send private message
PoV
Moderator

Joined: 21 Aug 2005
Posts: 10709
Location: Canadia
PostPosted: Sat Sep 03, 2016 9:39 am    Post subject: Reply with quote

I made something real.



It's a 4-channel moisture sensor for my plants. Basically, to tell me when I need to water them.

Here's a pair of videos:

https://twitter.com/mikekasprzak/status/772119593536094208

https://twitter.com/mikekasprzak/status/772141871527264257

All channels are working just fine. I mistakenly swapped Channels Left 1 and 3, and didn't realize that plant was just SUPER thirsty. I've since corrected this in software. ;)

I'm using:
- an Arduino Pro Mini clone (i.e. it has no USB connector, designed to implementations like this)
- 4x moisture (resistance) sensors, and boards that actually understand the data, and reading that data via 4x Analog pins (A0-A3)
- a 128x64 LCD screen, via I2C (A4-A5)
- USB Type B port as a power connector (only the 5v and GND pins are used)

Along the top I added what I'm calling an expansion connector, so I can add a buzzer.

I don't actually know what values mean wet or dry yet, so I'm going to leave it as-is for a few days, and watch.
_________________
Mike Kasprzak
'eh whatever. I used to make AAA and Indie games | Ludum Dare | Blog | Tweetar
View user's profile Send private message
PoV
Moderator

Joined: 21 Aug 2005
Posts: 10709
Location: Canadia
PostPosted: Sun Sep 04, 2016 2:01 pm    Post subject: Reply with quote

24 hours later, things are starting to make more sense.

https://twitter.com/mikekasprzak/status/772533183329873920

After I turned off the camera, I actually nudged the sensor (pushed it slightly deeper), and the value dropped to under 200. So clearly there's a bit of playing I need to do with the probes themselves to find the right way to use them.
_________________
Mike Kasprzak
'eh whatever. I used to make AAA and Indie games | Ludum Dare | Blog | Tweetar
View user's profile Send private message
PoV
Moderator

Joined: 21 Aug 2005
Posts: 10709
Location: Canadia
PostPosted: Mon Sep 12, 2016 1:23 pm    Post subject: Reply with quote

Haha, not even 1 week later, my probes have corroded/dissolved to the point there's no metal left on one side. Oops!



And yes, that was probably the side I was running a voltage though. Hehe.

Ah well, it was a fun project. I enjoyed it while it lasted. Proud of what I did, but clearly I need better probes. Probes that can actually take contact moisture.

Scientifically speaking these were resistive probes, probes that measured the resistance of current through the soil (water/moisture being the conductor). The fix is either to switch to a better fully-metal probe (i.e. a pair of nails), or a capacitive probe (one that effectively creates a capacitor by using the water as a dielectric). Fun fun.
_________________
Mike Kasprzak
'eh whatever. I used to make AAA and Indie games | Ludum Dare | Blog | Tweetar
View user's profile Send private message
PoV
Moderator

Joined: 21 Aug 2005
Posts: 10709
Location: Canadia
PostPosted: Wed Dec 21, 2016 1:38 pm    Post subject: Reply with quote

I'm trying to find a way to make circuit boards w/o a chemicals or making a big mess.

I was suggested this recently:



Seems a decent option, using photo paper in a laser printer (likely to act as a shiny low adhesive surface). I'll have to check on my liquid solder, see what the melt temperature is.
_________________
Mike Kasprzak
'eh whatever. I used to make AAA and Indie games | Ludum Dare | Blog | Tweetar
View user's profile Send private message
sonrisu
Moderator

Joined: 31 Aug 2005
Posts: 4970
Location: Silicon Valley!
PostPosted: Thu Dec 22, 2016 3:02 pm    Post subject: Reply with quote

Water sensor for the plants? What happened to the age old "take a look at the soil" method? Only sensor you need is eyeballs.

Joking aside, pretty neat. You could hook that up to an auto-watering system and be plant-stress free. :]
_________________
loomsoft :]
View user's profile Send private message Visit poster's website
PoV
Moderator

Joined: 21 Aug 2005
Posts: 10709
Location: Canadia
PostPosted: Fri Dec 23, 2016 4:48 am    Post subject: Reply with quote

I have a pump and tubing, so I could make an auto watering system. But again, I need a better/moisture resistant probing solution.
_________________
Mike Kasprzak
'eh whatever. I used to make AAA and Indie games | Ludum Dare | Blog | Tweetar
View user's profile Send private message
PoV
Moderator

Joined: 21 Aug 2005
Posts: 10709
Location: Canadia
PostPosted: Tue Jul 04, 2017 2:58 pm    Post subject: Reply with quote



Good use of solder-mask. I totally want to do this (i.e. art on a board).

The key thing to understand is you have 4 colors (5 if you're willing to pay for it):

- copper (shiny)
- board (dull, potentially difficult to differentiate between mask colors)
- light color of mask (on copper)
- dark color of mask (on board)
- white (silkscreen, again, if you're willing to pay for it)
_________________
Mike Kasprzak
'eh whatever. I used to make AAA and Indie games | Ludum Dare | Blog | Tweetar
View user's profile Send private message
Reply to topic GDR Forum Index -> Game Developer's Refuge -> Arduino and Microcontroller Fun Times Page Previous  1, 2

Use this link to get a Sign-On Bonus when you get started!

All trademarks and copyrights on this page are owned by their respective owners. All comments owned by their respective posters.
phpBB code © 2001, 2005 phpBB Group. Other message board code © Kevin Reems.